aboutsummaryrefslogtreecommitdiff
path: root/asm/lexer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'asm/lexer.cpp')
-rw-r--r--asm/lexer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/asm/lexer.cpp b/asm/lexer.cpp
index 991e551..e2efdfe 100644
--- a/asm/lexer.cpp
+++ b/asm/lexer.cpp
@@ -50,7 +50,7 @@ pair<token_t, lerr_t> tokenise_symbol(string_view &source, size_t &column,
token_t t{};
- if (initial_match(sym, "%CONST"))
+ if (sym == "%CONST")
{
t.type = token_type_t::PP_CONST;
}