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

Commit

Permalink
Some whitespace tweaks in prefix and postcircumfix rules.
Browse files Browse the repository at this point in the history
  • Loading branch information
pmichaud committed Oct 28, 2009
1 parent e226b2b commit 5ccfc54
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/HLL/Grammar.pm
Expand Up @@ -20,7 +20,7 @@ grammar HLL::Grammar;
token term:sym<circumfix> { <circumfix> }

token infixish { <OPER=infix=infix> }
token prefixish { <OPER=prefix=prefix> }
token prefixish { <OPER=prefix=prefix> <.ws> }
token postfixish {
| <OPER=postfix=postfix>
| <OPER=postcircumfix=postcircumfix>
Expand Down
4 changes: 2 additions & 2 deletions src/NQP/Grammar.pm
Expand Up @@ -280,12 +280,12 @@ token nulltermish {
}

token postcircumfix:sym<[ ]> {
'[' <EXPR> ']'
'[' <.ws> <EXPR> ']'
<O('%methodop')>
}

token postcircumfix:sym<{ }> {
'{' <EXPR> '}'
'{' <.ws> <EXPR> '}'
<O('%methodop')>
}

Expand Down

0 comments on commit 5ccfc54

Please sign in to comment.