From 4fc423446c5f093483a4f20094904fa8b4ff88ba Mon Sep 17 00:00:00 2001 From: Preston Pan Date: Wed, 4 Jan 2023 12:03:26 -0800 Subject: parsing mostly works --- src/print.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/print.c') diff --git a/src/print.c b/src/print.c index 49b6ec9..9339549 100644 --- a/src/print.c +++ b/src/print.c @@ -2,7 +2,7 @@ #include "./include/ast.h" #include -void print_string(ast_t *str) { printf("=> %s\n", str->string_value); } +void print_string(ast_t *str) { printf("=> \"%s\"\n", str->string_value); } void print_int(ast_t *i) { printf("=> %d\n", i->int_value); } -- cgit