| changeset 143 | 393f1b8ac8c3 |
| parent 142 | a000bafece09 |
| child 145 | e9d804821c48 |
1.1 --- a/src/BytecodeCompiler.cpp Mon Jul 30 12:13:22 2012 -0700 1.2 +++ b/src/BytecodeCompiler.cpp Mon Jul 30 22:24:57 2012 -0700 1.3 @@ -675,6 +675,15 @@ 1.4 } 1.5 1.6 void 1.7 +BytecodeCompiler::visit(BooleanLiteral *node) 1.8 +{ 1.9 + if (node->token() == TOK_TRUE) 1.10 + __ true_(); 1.11 + else 1.12 + __ false_(); 1.13 +} 1.14 + 1.15 +void 1.16 BytecodeCompiler::visit(FloatLiteral *node) 1.17 { 1.18 __ float_((float)node->value());