Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
support closures
  • Loading branch information
FROGGS committed Apr 5, 2013
1 parent 75830f5 commit e550174
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
2 changes: 1 addition & 1 deletion lib/Perl6/P5Actions.pm
Expand Up @@ -4382,7 +4382,7 @@ class Perl6::P5Actions is HLL::Actions does STDActions {
$DEBUG && say("circumfix:sym<« »>($/)"); make $<nibble>.ast; }

method circumfix:sym<{ }>($/) {
$DEBUG && say("circumfix:sym<{ }>($/)");
$DEBUG && say("circumfix:sym<\{ }>($/)");
# If it was {YOU_ARE_HERE}, nothing to do here.
my $past := $<sblock>.ast;
if ~$/ eq '{YOU_ARE_HERE}' {
Expand Down
6 changes: 0 additions & 6 deletions lib/Perl6/P5Grammar.pm
Expand Up @@ -3110,12 +3110,6 @@ grammar Perl6::P5Grammar is HLL::Grammar does STD5 {
}

token circumfix:sym<{ }> {
<?before '{' >
<block>
<O('%term')>
}

token statement_control:sym<{ }> {
<?before '{' >
<sblock>
<O('%term')>
Expand Down

0 comments on commit e550174

Please sign in to comment.