Updated the lexer to pick out some more language specific grammar.

This commit is contained in:
2022-02-02 19:18:27 +00:00
parent 7a88d6e34d
commit d39e37b078
3 changed files with 30 additions and 48 deletions
+3 -2
View File
@@ -23,8 +23,9 @@ typedef enum {
TK_Hex,
TK_Opcode,
TK_Register,
TK_Label,
TK_Directive
TK_Directive,
TK_Symbol,
TK_Comma
} TokenType;
typedef struct {