From 6c559b49b2203c4815d652ab4501099be652f8d3 Mon Sep 17 00:00:00 2001 From: Tucker Evans Date: Sat, 3 Aug 2019 21:40:23 -0400 Subject: Fix Comment parsing --- pc.l | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pc.l b/pc.l index 657f080..509b6cf 100644 --- a/pc.l +++ b/pc.l @@ -17,15 +17,15 @@ id [A-Za-z][A-Za-z0-9_]* %% -. {} -\n {} - ^[ \t]*"{" {BEGIN COMMENT;} "}" {BEGIN INITIAL;} ^[ \t]*"(*" {BEGIN COMMENT;} "*)" {BEGIN INITIAL;} +. {} +\n {} + {whitespace} ; -- cgit v1.1