Fixed the lexer so that it will give an error about pragmas rather than an internal failure

This commit is contained in:
Neil Brown 2009-03-24 02:14:51 +00:00
parent e269efe388
commit b100b828e1

View File

@ -164,6 +164,7 @@ instance Show TokenType where
TokRealLiteral s -> quote "real literal" s
TokPreprocessor s -> quote "preprocessor directive" s
IncludeFile s -> quote "file inclusion" s
Pragma s -> quote "pragma" s
Indent -> "indentation increase"
Outdent -> "indentation decrease"
EndOfLine -> "end of line"