Skip to content

Commit 891802f

Browse files
committed
A few more small comment corrections
1 parent 722e447 commit 891802f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lexer.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -47,10 +47,10 @@ def tokenize(self):
4747
# Digits
4848
if self.current_character in NUMERIC_CHARACTERS:
4949
tokens.append(self.digit_tokenize())
50-
# Operators (single symbols)
50+
# Arithmetic operators (single symbols)
5151
elif self.current_character in OPERATOR_DICTIONARY:
5252
tokens.append(OPERATOR_DICTIONARY[self.current_character])
53-
# Keywords, identifiers and multi-word operators
53+
# Keywords, identifiers and multi-word arithmetic operators
5454
elif self.current_character in ALPHABETIC_CHARACTERS:
5555
tokens.append(self.keyword_tokenize())
5656
# White spaces and escape characters

0 commit comments

Comments
 (0)