diff options
Diffstat (limited to 'src/generator.c')
-rw-r--r-- | src/generator.c | 2 |
1 files changed, 1 insertions, 1 deletions
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) { | |||
407 | 407 | ||
408 | case GLOBAL: | 408 | case GLOBAL: |
409 | if (is_read_only(ident, scope)) | 409 | if (is_read_only(ident, scope)) |
410 | fprintf(output, "push QWORD [%s]\n", ident); | 410 | fprintf(output, "push QWORD %s\n", ident); |
411 | else | 411 | else |
412 | fprintf(output, "push QWORD [globals + %d] ;%s\n", glo_get_addr(ident), ident); | 412 | fprintf(output, "push QWORD [globals + %d] ;%s\n", glo_get_addr(ident), ident); |
413 | 413 | ||