We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3cdf714 commit 0d5086eCopy full SHA for 0d5086e
src/express/expscan.l
@@ -195,7 +195,10 @@ id_char = [A-Za-z0-9_];
195
196
/* Added * at the end of next rule (to make lexer faster) - DEL */
197
<*>[\t ]* { IGNORE_TOKEN; }
198
-<*>'\n' { NEWLINE; }
+<*>'\n' {
199
+ NEWLINE;
200
+ IGNORE_TOKEN;
201
+}
202
203
<code>"--"[^\n]*'\n' {
204
NEWLINE;
@@ -318,7 +321,10 @@ integer {
318
321
319
322
<comment> {
320
323
-'\n' { NEWLINE; IGNORE_TOKEN; }
324
+'\n' {
325
326
327
328
[^*()\n]* { IGNORE_TOKEN; }
329
[*()] { IGNORE_TOKEN; }
330
0 commit comments