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

Commit

Permalink
More defactoring in preparation for <abc=def>.
Browse files Browse the repository at this point in the history
  • Loading branch information
pmichaud committed Nov 13, 2009
1 parent 83c119b commit 4199a71
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions src/HLL/Grammar.pm
Expand Up @@ -19,11 +19,11 @@ grammar HLL::Grammar;

token term:sym<circumfix> { <circumfix> }

token infixish { <OPER=infix=infix> }
token prefixish { <OPER=prefix=prefix> <.ws> }
token infixish { $<OPER>=$<infix>=<infix> }
token prefixish { $<OPER>=$<prefix>=<prefix> <.ws> }
token postfixish {
| <OPER=postfix=postfix>
| <OPER=postcircumfix=postcircumfix>
| $<OPER>=$<postfix>=<postfix>
| $<OPER>=$<postcircumfix>=<postcircumfix>
}

# token quote_EXPR is in src/cheats/hll-grammar.pir
Expand Down
4 changes: 2 additions & 2 deletions src/NQP/Grammar.pm
Expand Up @@ -384,11 +384,11 @@ INIT {


token nulltermish {
| <OPER=term=termish>
| $<OPER>=$<term>=<termish>
| <?>
}

token infixish { <!infixstopper> <OPER=infix=infix> }
token infixish { <!infixstopper> $<OPER>=$<infix>=<infix> }
token infixstopper { <?lambda> }

token postcircumfix:sym<[ ]> {
Expand Down

0 comments on commit 4199a71

Please sign in to comment.