diff options
Diffstat (limited to 'compiler.d')
| -rw-r--r-- | compiler.d | 4 | 
1 files changed, 3 insertions, 1 deletions
| @@ -716,7 +716,9 @@ class Compiler {      Function finish() {          this.func.chunk.writeOp(OpCode.OP_RETURN, current.line); -        disassembleChunk(this.func.chunk, to!string(func)); +        if (DEBUG) { +            disassembleChunk(this.func.chunk, to!string(func)); +        }          return this.func;      } | 
