Skip to content

Commit 6803ac6

Browse files
committed
Detect blank lines before trying to parse variables.
This makes the parser slightly faster in common files.
1 parent 133a99e commit 6803ac6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/basic.syn

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -652,7 +652,7 @@ SKIP_COMMENT:
652652

653653
PARSE_START: statement or variable assignment
654654
PARSE_LINE_COMMAND SKIP_COMMENT
655-
PARSE_LINE_ASSIGN SKIP_COMMENT
656655
SKIP_COMMENT
656+
PARSE_LINE_ASSIGN SKIP_COMMENT
657657

658658
# vi:syntax=perl

0 commit comments

Comments
 (0)