Minor changes to test.nim

This commit is contained in:
Mattia Giambirtone 2022-04-06 20:29:51 +02:00
parent 2756030b6d
commit e82ef02772
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: