Added symbols/operators to lexer
This commit is contained in:
@@ -47,6 +47,9 @@ int main(int argc, char** argv)
|
||||
if (err.reason == Lexer::LexerError::InvalidCharacter)
|
||||
Util::PrintLn(": {", fileContents.Result()[err.index], '}');
|
||||
|
||||
if (err.reason == Lexer::LexerError::UnknownSymbolOrOperand)
|
||||
Util::PrintLn(": {", err.info, '}');
|
||||
|
||||
else
|
||||
Util::PrintLn();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user