Ticket #1694: tt1694.patch
File tt1694.patch, 0.9 KB (added by plobsing, 12 years ago) |
---|
-
compilers/imcc/parser_util.c
816 816 IMCC_fatal(interp, EXCEPTION_EXTERNAL_ERROR, 817 817 "imcc_compile_file: couldn't open '%s'\n", fullname); 818 818 819 IMCC_INFO(interp)->cur_namespace = NULL;820 interp->code = NULL;821 822 819 IMCC_push_parser_state(interp); 823 820 { 824 821 /* Store a copy, in order to know how to free it later */ … … 838 835 ignored = Parrot_push_context(interp, regs_used); 839 836 UNUSED(ignored); 840 837 838 Parrot_pcc_set_HLL(interp, CURRENT_CONTEXT(interp), 0); 839 IMCC_INFO(interp)->cur_namespace = NULL; 840 interp->code = NULL; 841 842 841 843 if (ext && STREQ(ext, ".pasm")) { 842 844 void *yyscanner; 843 845 yylex_init_extra(interp, &yyscanner);