Increment variables
This commit is contained in:
@@ -6,9 +6,9 @@ def preprocess(code: str) -> list[list[str]]:
|
||||
for i in code:
|
||||
if i == '\n':
|
||||
isComment = False
|
||||
if tokenise[-1] != []:
|
||||
if token != '':
|
||||
tokenise[-1].append(token)
|
||||
if token != '':
|
||||
tokenise[-1].append(token)
|
||||
if tokenise[-1]:
|
||||
tokenise.append([])
|
||||
token = ''
|
||||
elif isComment:
|
||||
|
||||
Reference in New Issue
Block a user