From e67ece7aab45e3c1968560f8b0c0caf4071e015a Mon Sep 17 00:00:00 2001 From: Stefano Sanfilippo Date: Sun, 23 Nov 2014 20:43:28 +0100 Subject: [PATCH] Comments can now be placed also at ending of line. --- Monicelli.ll | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Monicelli.ll b/Monicelli.ll index 91c4159..5ef34c5 100644 --- a/Monicelli.ll +++ b/Monicelli.ll @@ -19,9 +19,8 @@ CHAR [a-zA-Z_] return NEWLINE; } -^"bituma"[^\n]* { - lineNumber += 1; -} +"bituma"[^\n]* {} + "Lei ha clacsonato" { return MAIN; }