Fixed the lexer so that it will give an error about pragmas rather than an internal failure
This commit is contained in:
parent
e269efe388
commit
b100b828e1
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue
Block a user