Created
January 22, 2012 17:33
-
-
Save cognominal/1657774 to your computer and use it in GitHub Desktop.
fixes the problem with --target=parse #nqp
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
--- a/src/Perl6/Grammar.pm | |
+++ b/src/Perl6/Grammar.pm | |
@@ -428,7 +428,7 @@ grammar Perl6::Grammar is HLL::Grammar { | |
unless pir::defined(%*COMPILING<%?OPTIONS><outer_ctx>) { | |
$*SETTING := $*W.load_setting(%*COMPILING<%?OPTIONS><setting> // 'CORE'); | |
} | |
- $/.CURSOR.unitstart(); | |
+ Perl6::Actions.unitstart($/); | |
try { | |
my $EXPORTHOW := $*W.find_symbol(['EXPORTHOW']); | |
for $EXPORTHOW.WHO { |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment