Skip to content

Commit bacbd74

Browse files
adapt comment
1 parent 05208f6 commit bacbd74

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

gherkin.berp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ DocString! := #DocStringSeparator #Other* #DocStringSeparator
3232

3333
Tags! := #TagLine+
3434

35-
// we need to explicitly mention comment, to avoid merging it into the description line's #Other token
36-
// we also eat the leading empty lines, the tailing lines are not removed by the parser to avoid lookahead, this has to be done by the AST builder
35+
// descriptions should be allowed to be interspersed with comments and empty lines
36+
// if only comments and empty lines are encountered, the description text will be empty
3737
DescriptionHelper := Description?
3838
Description! := (#Empty | #Comment | #Other)+

0 commit comments

Comments
 (0)