If statements

This commit is contained in:
2025-11-01 10:30:03 +11:00
parent 5e9c2273a9
commit 4bcbc6c650
5 changed files with 76 additions and 6 deletions

View File

@@ -19,7 +19,7 @@ def preprocess(code: str) -> list[list[str]]:
token += i
if (i == '\"'):
isString = not(isString)
else:
elif token != '':
tokenise[-1].append(token)
token = ''