Skip to content

Commit 33ad4d5

Browse files
committed
Perlito5 - parser - add "=cut" pod command special case
1 parent 38cd1da commit 33ad4d5

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src5/lib/Perlito5/Grammar/Space.pm

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,8 @@ token start_of_line {
100100
| 'head' <.pod_pod_begin>
101101
| 'begin' <.pod_begin>
102102
| 'for' <.pod_begin> # TODO - fixme: recognize a single paragraph (double-newline)
103-
| 'encoding' <.pod_pod_begin> # TODO - fixme: recognize a single paragraph (double-newline)
103+
| 'encoding' <.to_eol>
104+
| 'cut' <.to_eol>
104105
]
105106
| '#'
106107
[ ' ' | \t ]*

0 commit comments

Comments
 (0)