Updated the parser to be able to correctly sync via a longjmp. Fixed a few bugs in the tokenizer, like not allowing underscores in symbol / label names and taught it how to detect a label declaration. Fixed the code that gets the register name.
This commit is contained in:
@@ -16,6 +16,7 @@ typedef enum {
|
||||
Register,
|
||||
Mnemonic,
|
||||
Keyword,
|
||||
Label,
|
||||
LineEnd = '\n',
|
||||
Colon = ':',
|
||||
Comma = ',',
|
||||
|
||||
Reference in New Issue
Block a user