1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-10 04:22:20 +02:00

Improved "unexpected character" error

This commit is contained in:
Brian Fiete 2024-01-21 07:01:38 -05:00
parent a8ef67477a
commit 0010b29a98
2 changed files with 23 additions and 2 deletions

View file

@ -234,6 +234,7 @@ public:
void Fail(const StringImpl& error, int offset = -1);
void TokenFail(const StringImpl& error, int offset = -1);
void UnexpectedCharacter();
void SetSource(const char* data, int length);
void MoveSource(const char* data, int length); // Takes ownership of data ptr