Implemented all Lexer errors
This commit is contained in:
1 parent
bb3d8fb13e
commit
a6afeff493
6 files changed
+58
-11
No files matched your search
+2
-2
@@ -40,8 +40,8 @@ namespace LXC::Lexer
|
||||
{
|
||||
static const char* reasons[] =
|
||||
{
|
||||
"Invalid character found in source: ",
|
||||
"Unterminated string literal in source starting at: "
|
||||
"Invalid character found in source",
|
||||
"Unterminated string literal in source"
|
||||
};
|
||||
|
||||
return reasons[reason];
|
||||
|
||||
Reference in new issue
Block a user