Skip to content

Commit 94c1f4f

Browse files
committed
Engine: Print what is being compiled
1 parent 4b0418a commit 94c1f4f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/engine/engine.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ void Engine::compile()
3333
{
3434
// Resolve entities by ID
3535
for (auto target : m_targets) {
36+
std::cout << "Processing target " << target->name() << "..." << std::endl;
3637
auto blocks = target->blocks();
3738
for (auto block : blocks) {
3839
auto section = blockSection(block->opcode());
@@ -67,6 +68,7 @@ void Engine::compile()
6768

6869
// Compile scripts to bytecode
6970
for (auto target : m_targets) {
71+
std::cout << "Compiling scripts in target " << target->name() << "..." << std::endl;
7072
std::vector<Variable *> variables;
7173
std::vector<List *> lists;
7274
std::vector<InputValue *> constInputValues;

0 commit comments

Comments
 (0)