From: Siraaj Khandkar Date: Wed, 23 May 2018 21:51:28 +0000 (-0400) Subject: Stop indiscriminate eating X-Git-Url: https://git.xandkar.net/?a=commitdiff_plain;h=dd245b34bf95b84454067b025f72b206be84fa50;p=tiger.ml.git Stop indiscriminate eating --- diff --git a/tiger/src/lib/tiger/tiger_lexer.mll b/tiger/src/lib/tiger/tiger_lexer.mll index 86bf0f8..c19eabf 100644 --- a/tiger/src/lib/tiger/tiger_lexer.mll +++ b/tiger/src/lib/tiger/tiger_lexer.mll @@ -85,11 +85,6 @@ rule token = parse | "while" -> WHILE | _ -> ID id } - - (* Eat unimplemented. FIXME: stop indiscriminate eating *) - | _ { - token lexbuf - } and string_literal = parse (* Keep escaped quote marks as part of the string literal *) | '\\' '"' {