From ece20a99b55b3bd1dd20598a6640f79d60603805 Mon Sep 17 00:00:00 2001 From: venko Date: Thu, 27 May 2021 14:10:44 -0700 Subject: [PATCH] Fixes printing bug for string literals --- src/ast.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ast.c b/src/ast.c index 9604dbf..d87870b 100644 --- a/src/ast.c +++ b/src/ast.c @@ -705,7 +705,7 @@ void PrintNode(Node *node, uint32_t tabCount) return; case StringLiteral: - printf("%s", node->stringLiteral.string); + printf("%s\n", node->stringLiteral.string); return; case StructDeclaration: