perf(expression): define TokenType.STRING as "string literal" for clearer errors

This commit is contained in:
lovetheguitar
2024-06-22 20:44:50 +02:00
parent 540ede3439
commit dd57196953
2 changed files with 2 additions and 1 deletions

View File

@@ -51,7 +51,7 @@ class TokenType(enum.Enum):
IDENT = "identifier"
EOF = "end of input"
EQUAL = "="
STRING = "str"
STRING = "string literal"
COMMA = ","