From f76f7eaf0a41449a2e3c88c1a240e37e2d741ec2 Mon Sep 17 00:00:00 2001 From: Thomas Voss Date: Thu, 5 Sep 2024 22:27:43 +0200 Subject: Match the empty-line case --- src/lexer.l | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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; } -.* { BEGIN(0); } +.*|\n { BEGIN(0); } %% -- cgit v1.2.3