renamed EOF_ to END_OF_FILE
This commit is contained in:
@ -9,7 +9,7 @@ namespace token {
|
||||
// X-macro list of token types and their string representations
|
||||
#define TOKEN_LIST \
|
||||
X(ILLEGAL, "ILLEGAL") \
|
||||
X(EOF_, "EOF") \
|
||||
X(END_OF_FILE, "EOF") \
|
||||
X(IDENT, "IDENT") \
|
||||
X(INT, "INT") \
|
||||
X(ASSIGN, "=") \
|
||||
|
@ -24,7 +24,7 @@ TEST_CASE("next token") {
|
||||
{token::type::RBRACE, "}"},
|
||||
{token::type::COMMA, ","},
|
||||
{token::type::SEMICOLON, ";"},
|
||||
{token::type::EOF_, ""},
|
||||
{token::type::END_OF_FILE, ""},
|
||||
};
|
||||
|
||||
for (const auto& t : tests) {
|
||||
|
Reference in New Issue
Block a user