Remove "EOF-newline" lexer hack

In preparation for an upcoming change
Makes for nicer error messages, complaining about EOF instead of newlines
The hack had to be kept for the lexer raw mode to avoid a bug;
see the relevant code comment for more info.
This commit is contained in:
ISSOtm
2021-02-11 12:48:37 +01:00
parent 76446e6d00
commit b3c0db218d
19 changed files with 160 additions and 131 deletions

View File

@@ -34,6 +34,7 @@ struct Patch {
uint32_t pcSectionID;
uint32_t pcOffset;
enum PatchType type;
bool isOperand;
int32_t rpnSize;
uint8_t *rpnExpression;