diff --git a/src/etc/lexer.cpp b/src/etc/lexer.cpp index 61c02bd..ee2a83c 100644 --- a/src/etc/lexer.cpp +++ b/src/etc/lexer.cpp @@ -5,7 +5,7 @@ using enum tok::type; tok::type getIdentifierCharType(const char& Char) { if (isalpha(Char)) return IDENTIFIER; else if (isdigit(Char)) return NUMBER; - else if (Char == '"') return STRING; + else if (Char == STRING) return STRING; else return UNEXPECTED; }