Skip to content

Commit

Permalink
Merge branch 'master' into libjit
Browse files Browse the repository at this point in the history
  • Loading branch information
plobsing committed Nov 5, 2009
2 parents e33797b + d0183bd commit f57ee7b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 20 deletions.
20 changes: 1 addition & 19 deletions docs/compiler_faq.pod
Expand Up @@ -780,22 +780,4 @@ Create a new C<Env> PMC and access it like a hash.
See F<config_lib.pasm> for all the keys in the config hash - or iterate over See F<config_lib.pasm> for all the keys in the config hash - or iterate over
the config hash. the config hash.


=head1 Languages =cut

=head2 What files do I need to modify to add my new language compiler?

Aside from the files in your new language directory, you must modify

CREDITS
MANIFEST
config/gen/languages.pm
config/gen/makefiles/languages.in

Inside your language dir, you may consider adding the following:

LICENSE
MAINTAINER
README
STATUS

Look to existing languages for some examples.
4 changes: 3 additions & 1 deletion src/pmc/callsignaturereturns.pmc
Expand Up @@ -308,7 +308,9 @@ necessary.
*(STRING **)ptr = value; *(STRING **)ptr = value;
break; break;
case PARROT_ARG_PMC: case PARROT_ARG_PMC:
*(PMC **)ptr = get_string_pmc(INTERP, value); *(PMC **)ptr = STRING_IS_NULL(value) ?
PMCNULL :
get_string_pmc(INTERP, value);
break; break;
default: default:
PARROT_ASSERT(!"Impossible type"); PARROT_ASSERT(!"Impossible type");
Expand Down

0 comments on commit f57ee7b

Please sign in to comment.