Index: compilers/imcc/parser_util.c =================================================================== --- compilers/imcc/parser_util.c (revision 47927) +++ compilers/imcc/parser_util.c (working copy) @@ -816,9 +816,6 @@ IMCC_fatal(interp, EXCEPTION_EXTERNAL_ERROR, "imcc_compile_file: couldn't open '%s'\n", fullname); - IMCC_INFO(interp)->cur_namespace = NULL; - interp->code = NULL; - IMCC_push_parser_state(interp); { /* Store a copy, in order to know how to free it later */ @@ -838,6 +835,11 @@ ignored = Parrot_push_context(interp, regs_used); UNUSED(ignored); + Parrot_pcc_set_HLL(interp, CURRENT_CONTEXT(interp), 0); + IMCC_INFO(interp)->cur_namespace = NULL; + interp->code = NULL; + + if (ext && STREQ(ext, ".pasm")) { void *yyscanner; yylex_init_extra(interp, &yyscanner);