Skip to content

Commit

Permalink
[STD] =begin END not eating rest of file
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.pugscode.org/pugs@25660 c213334d-75ef-0310-aa23-eaa082d1ae64
  • Loading branch information
lwall committed Mar 3, 2009
1 parent 6a7daaf commit 32736bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion STD.pm
Expand Up @@ -818,7 +818,7 @@ token pod_comment {
| 'begin' \h+ <identifier> ::
[
|| .*? "\n=" <.unsp>? 'end' \h+ $<identifier> » \N* {*} #= tagged
|| .*? { say "HERE" } {*} #= end
|| .* {*} #= end
]
| 'begin' » :: \h* [ $$ || '#' || <.panic: "Unrecognized token after =begin"> ]
[ .*? "\n=" <.unsp>? 'end' » \N* || <.panic: "=begin without =end"> ] {*} #= anon
Expand Down

0 comments on commit 32736bc

Please sign in to comment.