diff options
Diffstat (limited to 'com.c')
-rw-r--r-- | com.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -11,6 +11,10 @@ static void compile_node(Chunk *ch, AstNode a) { printf("can't compile symbol\n"); exit(1); break; + case AST_STRING: + printf("can't compile strings yet\n"); + exit(1); + break; case AST_NUM: chunk_wbc(ch, OP_LOADK); chunk_wbc(ch, chunk_wconst(ch, VAL_NUM(a.as.num))); |