aboutsummaryrefslogtreecommitdiff
path: root/compiler.d
diff options
context:
space:
mode:
Diffstat (limited to 'compiler.d')
-rw-r--r--compiler.d7
1 files changed, 0 insertions, 7 deletions
diff --git a/compiler.d b/compiler.d
index 665fe61..1c9e507 100644
--- a/compiler.d
+++ b/compiler.d
@@ -356,11 +356,6 @@ class Compiler {
}
void compileSymbol(Form form, ValueType expecting = ValueType.ANY) {
- if (form.type != FormType.SYMBOL) {
- writeln("NOT A SYMBOL!");
- } else {
- writeln("it's a symbol");
- }
Symbol sym = cast(Symbol)form;
int arg = this.resolveLocal(sym);
@@ -371,8 +366,6 @@ class Compiler {
this.func.chunk.writeOp(OpCode.OP_GET_GLOBAL, sym.line);
}
- writefln("this is the addr: %d", arg);
-
// get the variable
this.func.chunk.writeOp(to!ubyte(arg), sym.line);