commit 35131343e379d4b1648a4031cae9835b69064c92
parent c4e8dd391eaaf083643f8cf9c94f77604f2bbeb1
Author: Brian Swetland <swetland@frotz.net>
Date: Sat, 14 Oct 2023 12:25:04 -0700
compiler: add missing newline after var def
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/compiler0.c b/compiler0.c
@@ -1341,7 +1341,7 @@ void parse_var(void) {
if (type->kind == TYPE_ARRAY) {
emit_impl("t$%s $%s = { 0, };\n", type->name->text, name->text);
} else {
- emit_impl("t$%s %s$%s = 0;", type->name->text,
+ emit_impl("t$%s %s$%s = 0;\n", type->name->text,
(type->kind == TYPE_STRUCT) ? "*" : "",
name->text);
}