@@ -228,6 +228,10 @@ whitespace :: String
228whitespace = "WHITESPACE"
228whitespace = "WHITESPACE"
231keyword :: String -> String
235keyword :: String -> String
232keyword kwd =
236keyword kwd =
233 "KEYWORD=" ++ kwd
237 "KEYWORD=" ++ kwd
@@ -263,7 +267,12 @@ parseErrorReport messages =
271+ -- Our parser looks for tab so it can throw a custom tab error message.
272+ -- Exclude tabs from the list of expected tokens so that no one thinks they are supported.
266− hint { _expected = Set.insert msg' (_expected hint) }
275+ hint { _expected = Set.insert msg' (_expected hint) }
268 Parsec.Message msg ->
277 Parsec.Message msg ->
269 hint { _messages = msg : _messages hint }
278 hint { _messages = msg : _messages hint }