Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Add unspace parsing
  • Loading branch information
perlpilot committed Jan 4, 2010
1 parent f7ad5dc commit a867b39
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions src/Perl6/Grammar.pm
Expand Up @@ -166,6 +166,20 @@ token ENDSTMT {
]?
}

token unsp {
\\ <?before [\s|'#'] >
# :dba('unspace')
[
| <.vws>
| <.unv>
]*
}

token vws {
#:dba('vertical whitespace')
\v
}

token ws {
|| <?MARKED('ws')>
|| <!ww>
Expand Down

0 comments on commit a867b39

Please sign in to comment.