Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

[Yapsi] small aesthetics fix

I prefer quantifier + as a postfix without whitespace. :)
  • Loading branch information...
commit 5e9107991c970773f89d7bb7501c4404c2b59c84 1 parent 52304de
@masak authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/Yapsi.pm
View
2  lib/Yapsi.pm
@@ -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>
Please sign in to comment.
Something went wrong with that request. Please try again.