Fixed a visual bug in the tokenizer's print_token_list function. Updated the user interface in the main program demo.

This commit is contained in:
2020-04-26 18:45:36 -05:00
parent dcf8a50f34
commit 917b58ee87
2 changed files with 12 additions and 1 deletions
+2
View File
@@ -123,6 +123,8 @@ def print_token_list(tokens):
if tk.type == token.TokenType.variable:
if tk.is_negative_variable:
print("-%s " %(tk.value), end = "")
else:
print("%s " %(tk.value), end ="")
else:
print("%s " %(tk.value), end = "")
print()