We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ba73f67 commit 560ff9fCopy full SHA for 560ff9f
src/engine/compiler.cpp
@@ -18,6 +18,7 @@ Compiler::Compiler(Engine *engine) :
18
/*! Compiles the script. Use bytecode() to read the generated bytecode. */
19
void Compiler::compile(std::shared_ptr<Block> topLevelBlock)
20
{
21
+ m_bytecode.clear();
22
// Add start instruction
23
addInstruction(OP_START);
24
0 commit comments