Skip to content

Commit 0d5086e

Browse files
author
Nicholas Reed
committed
another missed ignore
1 parent 3cdf714 commit 0d5086e

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

src/express/expscan.l

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,10 @@ id_char = [A-Za-z0-9_];
195195

196196
/* Added * at the end of next rule (to make lexer faster) - DEL */
197197
<*>[\t ]* { IGNORE_TOKEN; }
198-
<*>'\n' { NEWLINE; }
198+
<*>'\n' {
199+
NEWLINE;
200+
IGNORE_TOKEN;
201+
}
199202

200203
<code>"--"[^\n]*'\n' {
201204
NEWLINE;
@@ -318,7 +321,10 @@ integer {
318321
319322
<comment> {
320323
321-
'\n' { NEWLINE; IGNORE_TOKEN; }
324+
'\n' {
325+
NEWLINE;
326+
IGNORE_TOKEN;
327+
}
322328
[^*()\n]* { IGNORE_TOKEN; }
323329
[*()] { IGNORE_TOKEN; }
324330

0 commit comments

Comments
 (0)