We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 05208f6 commit bacbd74Copy full SHA for bacbd74
gherkin.berp
@@ -32,7 +32,7 @@ DocString! := #DocStringSeparator #Other* #DocStringSeparator
32
33
Tags! := #TagLine+
34
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
+// descriptions should be allowed to be interspersed with comments and empty lines
+// if only comments and empty lines are encountered, the description text will be empty
37
DescriptionHelper := Description?
38
Description! := (#Empty | #Comment | #Other)+
0 commit comments