Skip to content
This repository has been archived by the owner on Feb 3, 2021. It is now read-only.

Commit

Permalink
Browse files Browse the repository at this point in the history
Revert "add ..."
This reverts commit 89a7459.
  • Loading branch information
cotto committed Jan 4, 2011
1 parent 89a7459 commit 2f2bc9a
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 5 deletions.
4 changes: 0 additions & 4 deletions src/NQP/Actions.pm
Expand Up @@ -311,10 +311,6 @@ method term:sym<regex_declarator>($/) { make $<regex_declarator>.ast; }
method term:sym<statement_prefix>($/) { make $<statement_prefix>.ast; }
method term:sym<lambda>($/) { make $<pblock>.ast; }

method term:sym<...>($/) {
make PAST::Op.new( :pirop('die'), 'Stub code executed', :node($/) );
}

method fatarrow($/) {
my $past := $<val>.ast;
$past.named( $<key>.Str );
Expand Down
1 change: 0 additions & 1 deletion src/NQP/Grammar.pm
Expand Up @@ -232,7 +232,6 @@ token term:sym<multi_declarator> { <?before 'multi'|'proto'|'only'> <multi_dec
token term:sym<regex_declarator> { <regex_declarator> }
token term:sym<statement_prefix> { <statement_prefix> }
token term:sym<lambda> { <?lambda> <pblock> }
token term:sym<...> { <sym> <args>? }

token fatarrow {
<key=.identifier> \h* '=>' <.ws> <val=.EXPR('i=')>
Expand Down

0 comments on commit 2f2bc9a

Please sign in to comment.