Created
August 7, 2010 12:55
-
-
Save anonymous/512785 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Inside src/Perl6/Compiler.pir | |
.sub 'main' :main | |
.param pmc args_str | |
# Fire any of the setting's INIT phasers before we enter the runloop, so | |
# e.g. $*OUT is available to the actual code's BEGIN blocks. | |
say "from inside main" | |
'!fire_phasers'('INIT') | |
$P0 = compreg 'perl6' | |
$P1 = $P0.'command_line'(args_str, 'encoding'=>'utf8', 'transcode'=>'ascii iso-8859-1') | |
'!fire_phasers'('END') | |
exit 0 | |
.end | |
Build fails with error... | |
/home/mak/UserArea/Perl6/current_dev_snapshot/rakudo/parrot_install/bin/parrot -o perl6.pbc src/Perl6/Compiler.pir | |
error:imcc:syntax error, unexpected IDENTIFIER, expecting $end ('from') | |
in file 'src/gen/core.pir' line 272 | |
included from 'src/Perl6/Compiler.pir' line 1 | |
error:imcc:syntax error ... somewhere | |
in file 'src/gen/core.pir' line 272 | |
included from 'src/Perl6/Compiler.pir' line 1 | |
make: *** [perl6.pbc] Error 1 | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment