summaryrefslogtreecommitdiff
path: root/src/print.c
diff options
context:
space:
mode:
authorPreston Pan <preston@nullring.xyz>2023-01-04 12:03:26 -0800
committerPreston Pan <preston@nullring.xyz>2023-01-04 12:03:26 -0800
commit4fc423446c5f093483a4f20094904fa8b4ff88ba (patch)
tree54d07d80c6de6c661d8fa6397ccbdb3b9d97cbad /src/print.c
parent2fe28946e426e241e87e8381d7a62e73b9278385 (diff)
parsing mostly works
Diffstat (limited to 'src/print.c')
-rw-r--r--src/print.c2
1 files changed, 1 insertions, 1 deletions
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 <stdio.h>
-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); }