1.1 --- a/generator.py Mon Nov 28 18:20:44 2016 +0100
1.2 +++ b/generator.py Mon Nov 28 23:51:45 2016 +0100
1.3 @@ -960,13 +960,16 @@
1.4 }
1.5 __Catch(__tmp_exc)
1.6 {
1.7 - fprintf(stderr, "Program terminated due to exception: %s.\\n",
1.8 + fprintf(stderr, "Program terminated due to exception: %%s.\\n",
1.9 __load_via_object(
1.10 - __fn___builtins___str_str((__attr[]) {{0, 0}, __tmp_exc.arg}).value,
1.11 - __pos___data__).strvalue);
1.12 + %s((__attr[]) {{0, 0}, __tmp_exc.arg}).value,
1.13 + %s).strvalue);
1.14 return 1;
1.15 }
1.16 }
1.17 -"""
1.18 +""" % (
1.19 + encode_function_pointer("__builtins__.str.str"),
1.20 + encode_symbol("pos", "__data__")
1.21 + )
1.22
1.23 # vim: tabstop=4 expandtab shiftwidth=4