Skip to content

Commit

Permalink
Add term:sym<circumfix> as found in STD, which we were missing in the…
Browse files Browse the repository at this point in the history
… Rakudo grammar.
  • Loading branch information
jnthn committed Jul 15, 2010
1 parent 3615ece commit 727782e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/Perl6/Actions.pm
Expand Up @@ -659,6 +659,7 @@ method term:sym<routine_declarator>($/) { make $<routine_declarator>.ast; }
method term:sym<multi_declarator>($/) { make $<multi_declarator>.ast; }
method term:sym<regex_declarator>($/) { make $<regex_declarator>.ast; }
method term:sym<type_declarator>($/) { make $<type_declarator>.ast; }
method term:sym<circumfix>($/) { make $<circumfix>.ast; }
method term:sym<statement_prefix>($/) { make $<statement_prefix>.ast; }
method term:sym<lambda>($/) { make block_closure($<pblock>.ast, 'Block', 0); }
method term:sym<sigterm>($/) { make $<sigterm>.ast; }
Expand Down
1 change: 1 addition & 0 deletions src/Perl6/Grammar.pm
Expand Up @@ -514,6 +514,7 @@ token term:sym<scope_declarator> { <scope_declarator> }
token term:sym<routine_declarator> { <routine_declarator> }
token term:sym<multi_declarator> { <?before 'multi'|'proto'|'only'> <multi_declarator> }
token term:sym<regex_declarator> { <regex_declarator> }
token term:sym<circumfix> { <circumfix> }
token term:sym<statement_prefix> { <statement_prefix> }
token term:sym<*> { <sym> }
token term:sym<lambda> { <?lambda> <pblock> }
Expand Down

0 comments on commit 727782e

Please sign in to comment.