16 lines
247 B
C
16 lines
247 B
C
#include "token.h"
|
|
|
|
static cstr TokenType_str[] = {
|
|
"Unset",
|
|
"SingleLineComment",
|
|
"MultiLineComment",
|
|
"Label",
|
|
"Instruction",
|
|
"Argument",
|
|
"Data",
|
|
};
|
|
|
|
cstr TokenType_toString(TokenType t){
|
|
return TokenType_str[t];
|
|
}
|