Website Summary Files Commits Branches @commit @diff @stats
path: root / spasm / src / asm / token.cpp
diff options
context:
space:
mode:
1 files changed, 2 insertions, 2 deletions
-rw-r--r--spasm/src/asm/token.cpp4
diff --git a/spasm/src/asm/token.cpp b/spasm/src/asm/token.cpp
index 6c88bef..4f298cf 100644
--- a/spasm/src/asm/token.cpp
+++ b/spasm/src/asm/token.cpp
@@ -22,11 +22,11 @@ Token::Token(Token::Token_type type,
const char* end)
: _type(type), _lineno(lineno)
{
- if (_type == integer || _type == xinteger)
+ if (_type == Integer || _type == XInteger)
{
_value_int = strtol(start, NULL, 0);
}
- else if (_type == ident)
+ else if (_type == Ident)
{
if (end)
{