We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 722e447 commit 891802fCopy full SHA for 891802f
lexer.py
@@ -47,10 +47,10 @@ def tokenize(self):
47
# Digits
48
if self.current_character in NUMERIC_CHARACTERS:
49
tokens.append(self.digit_tokenize())
50
- # Operators (single symbols)
+ # Arithmetic operators (single symbols)
51
elif self.current_character in OPERATOR_DICTIONARY:
52
tokens.append(OPERATOR_DICTIONARY[self.current_character])
53
- # Keywords, identifiers and multi-word operators
+ # Keywords, identifiers and multi-word arithmetic operators
54
elif self.current_character in ALPHABETIC_CHARACTERS:
55
tokens.append(self.keyword_tokenize())
56
# White spaces and escape characters
0 commit comments