Commit 722e447 1 parent 8008333 commit 722e447 Copy full SHA for 722e447
File tree 2 files changed +4
-6
lines changed
2 files changed +4
-6
lines changed Original file line number Diff line number Diff line change @@ -157,12 +157,12 @@ def peek_word_ahead(self):
157
157
peeked_word = ""
158
158
current_index = self .position .index + 1
159
159
160
- # Skip white spaces
160
+ # Skip leading white space
161
161
if self .input_string [current_index ] == ' ' :
162
162
peeked_word += ' '
163
163
current_index += 1
164
164
165
- # Loop until white space or escape character is found
165
+ # Loop until next white space or escape character is found
166
166
while (current_index < len (self .input_string )) and (self .input_string [current_index ] not in ESCAPE_DICTIONARY ):
167
167
peeked_word += self .input_string [current_index ]
168
168
current_index += 1
Original file line number Diff line number Diff line change 1
- if 2 + 2 is equal to 4
2
- abe42 is 69
3
- 2 is less than 5
4
- 69 is greater than or equal to 42
1
+ (2+3)*2
2
+
You can’t perform that action at this time.
0 commit comments