Smoothbrain indeed...
This commit is contained in:
+1
-1
@@ -21,7 +21,7 @@ Token* CreateToken(char* lexeme, void* value, int lineNumber, TokenType type) {
|
||||
|
||||
TokenClass GetTokenClass(TokenType type) {
|
||||
if (type >= R1 && type <= R8) return Reg;
|
||||
if (type >= COPY && type <= OUT) return Nmomic;
|
||||
if (type >= COPY && type <= OUT) return Mnemonic;
|
||||
if (type >= DB && type <= ORG) return Directive;
|
||||
|
||||
switch(type) {
|
||||
|
||||
Reference in New Issue
Block a user