summaryrefslogtreecommitdiff
path: root/com.c
diff options
context:
space:
mode:
Diffstat (limited to 'com.c')
-rw-r--r--com.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/com.c b/com.c
index dc458f9..2c73d67 100644
--- a/com.c
+++ b/com.c
@@ -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)));