Permalink
Browse files

[Yapsi] small aesthetics fix

I prefer quantifier + as a postfix without whitespace. :)
  • Loading branch information...
1 parent 52304de commit 5e9107991c970773f89d7bb7501c4404c2b59c84 @masak committed Aug 5, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/Yapsi.pm
View
@@ -25,7 +25,7 @@ grammar Yapsi::Perl6::Grammar {
{ push @blockstack,
FUTURE::Block.new( :name(unique-block()) ) }
<.ws> <statementlist> <.ws> '}' }
- regex statementlist { <statement> +% <eat_terminator> }
+ regex statementlist { <statement>+ % <eat_terminator> }
token statement { <statement_control> || <expression> || '' }
regex eat_terminator { <?after '}'> \n || <.ws> ';' }
token statement_control { <statement_control_if>

0 comments on commit 5e91079

Please sign in to comment.