From 28c8d2c07a2dd8140da5ca6464c0eb8887624f34 Mon Sep 17 00:00:00 2001 From: Adam NAILI Date: Wed, 6 Jun 2018 00:09:02 +0200 Subject: It's working --- 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 f35b695..ab3777c 100644 --- a/src/generator.c +++ b/src/generator.c @@ -407,7 +407,7 @@ int gen_value(const char ident[], Scope scope) { case GLOBAL: if (is_read_only(ident, scope)) - fprintf(output, "push QWORD [%s]\n", ident); + fprintf(output, "push QWORD %s\n", ident); else fprintf(output, "push QWORD [globals + %d] ;%s\n", glo_get_addr(ident), ident); -- cgit v1.2.3