diff options
author | Thomas Voss <mail@thomasvoss.com> | 2024-09-05 22:27:43 +0200 |
---|---|---|
committer | Thomas Voss <mail@thomasvoss.com> | 2024-09-05 22:27:43 +0200 |
commit | f76f7eaf0a41449a2e3c88c1a240e37e2d741ec2 (patch) | |
tree | 570fe95de899746fdd4037fc934b4ae7f2cbd3a5 | |
parent | 6d763a8cf765c8acdd6673ae2f7be81cbdd3586c (diff) |
Match the empty-line case
-rw-r--r-- | src/lexer.l | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lexer.l b/src/lexer.l index 55db1a5..5242af0 100644 --- a/src/lexer.l +++ b/src/lexer.l @@ -52,6 +52,6 @@ ws [ \t] BEGIN(error); return YYerror; } -<error>.* { BEGIN(0); } +<error>.*|\n { BEGIN(0); } %% |