diff options
author | Tucker Evans <tuckerevans24@gmail.com> | 2019-08-03 21:40:23 -0400 |
---|---|---|
committer | Tucker Evans <tuckerevans24@gmail.com> | 2019-08-03 21:40:23 -0400 |
commit | 6c559b49b2203c4815d652ab4501099be652f8d3 (patch) | |
tree | 7c88d3f1dca2f65decc7c3894bf4904c45d33183 | |
parent | 8c59ccd6e23ac63d59f5839ad410c04b393ff0c0 (diff) |
Fix Comment parsing
-rw-r--r-- | pc.l | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -17,15 +17,15 @@ id [A-Za-z][A-Za-z0-9_]* %% -<COMMENT>. {} -<COMMENT>\n {} - ^[ \t]*"{" {BEGIN COMMENT;} <COMMENT>"}" {BEGIN INITIAL;} ^[ \t]*"(*" {BEGIN COMMENT;} <COMMENT>"*)" {BEGIN INITIAL;} +<COMMENT>. {} +<COMMENT>\n {} + {whitespace} ; |