Minor changes to test.nim

This commit is contained in:
Nocturn9x 2022-04-06 20:29:51 +02:00
parent 2e4091de1f
commit fe8d1926c9
1 changed files with 3 additions and 2 deletions

View File

@ -47,10 +47,11 @@ when isMainModule:
if i == tokens.high():
# Who cares about EOF?
break
echo token
echo "\t", token
echo ""
echo "Parsing step:"
for node in parser.parse(tokens, "<stdin>"):
echo node
echo "\t", node
except IOError:
break
except LexingError: