diff options
Spasm can assemble programs on with the new instruction set (#47)
* Use checkout as-is, commit as-is
* Spasm can assemble programs based on the new instruction set
1 files changed, 2 insertions, 2 deletions
| -rw-r--r-- | spasm/src/asm/tokenizer.cpp | 4 |
diff --git a/spasm/src/asm/tokenizer.cpp b/spasm/src/asm/tokenizer.cpp index 8694ccf..b394da9 100644 --- a/spasm/src/asm/tokenizer.cpp +++ b/spasm/src/asm/tokenizer.cpp @@ -21,13 +21,13 @@ Tokenizer::Tokenizer(std::istream& istr) void Tokenizer::push_token(const Token& token) { _tokens.push(token); - if (token.type() == Token::endinput) + if (token.type() == Token::EndInput) end_input = true; } Token Tokenizer::next_token() { - Token t(Token::endinput); + Token t(Token::EndInput); if (!_tokens.empty()) { t = _tokens.front(); |
