From 1c1ba0e8cd1f7cb17b04626b7ef3cf9fcbe520ab Mon Sep 17 00:00:00 2001 From: pacien Date: Tue, 5 Jun 2018 22:52:26 +0200 Subject: fix global const decl --- src/generator.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/generator.c b/src/generator.c index 333dd5b..60a2b89 100644 --- a/src/generator.c +++ b/src/generator.c @@ -102,7 +102,7 @@ void gen_const(const char name[], int value, Scope scope) { case GLOBAL: glo_addConst(name); - fprintf(output, "%s: db QWORD %d\n", name, value); + fprintf(output, "%s dq %d\n", name, value); return; } } -- cgit v1.2.3