Skip to content

Commit

Permalink
Unfished work implemented API functions
Browse files Browse the repository at this point in the history
  • Loading branch information
Mariano Wahlmann committed Dec 6, 2010
2 parents 3562b6b + 5a8f955 commit b5a2b99
Show file tree
Hide file tree
Showing 23 changed files with 710 additions and 282 deletions.
4 changes: 2 additions & 2 deletions compilers/imcc/main.c
Expand Up @@ -623,7 +623,7 @@ compile_to_bytecode(PARROT_INTERP,
fprintf(stderr, "error:imcc:%s", error_str);
IMCC_print_inc(interp);
Parrot_str_free_cstring(error_str);
Parrot_x_exit(interp, IMCC_FATAL_EXCEPTION);
Parrot_x_jump_out_error(interp, IMCC_FATAL_EXCEPTION);
}

imc_cleanup(interp, yyscanner);
Expand All @@ -641,7 +641,7 @@ int
imcc_run_api(ARGMOD(PMC * interp_pmc), ARGIN(const char *sourcefile), int argc,
ARGIN(const char **argv), ARGOUT(PMC **pbcpmc))
{
Interp * interp = VTABLE_get_pointer(NULL, interp_pmc);
Interp * interp = (Interp *)VTABLE_get_pointer(NULL, interp_pmc);
return imcc_run(interp, sourcefile, argc, argv, pbcpmc);
}

Expand Down

0 comments on commit b5a2b99

Please sign in to comment.