X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=main.c;h=1dd4976e27a1b474c19fb071cb8c8bf1dc857ed8;hb=9e9141455d9e7a9028d7ffa1d5656b1e9bb25c74;hp=d75333dc58e82816b652d93accb9feff4187770e;hpb=100bc872dbd1c12c1f02e911225807e94d91d425;p=cparser diff --git a/main.c b/main.c index d75333d..1dd4976 100644 --- a/main.c +++ b/main.c @@ -114,6 +114,9 @@ bool strict_mode = false; /** use builtins for some libc functions */ bool use_builtins = false; +/** we have extern function with const attribute. */ +bool have_const_functions = false; + /* to switch on printing of implicit casts */ extern bool print_implicit_casts; @@ -1131,7 +1134,7 @@ int main(int argc, char **argv) } gen_firm_finish(asm_out, filename, /*c_mode=*/1, - /*firm_const_exists=*/0); + have_const_functions); if (asm_out != out) { fclose(asm_out); }