Redid lex process

This commit is contained in:
Aidan Hahn 2019-11-29 19:02:30 -08:00
parent c52391da07
commit 640dbb183e
No known key found for this signature in database
GPG key ID: 327711E983899316
3 changed files with 123 additions and 34 deletions

View file

@ -30,7 +30,7 @@ func FmtToken(arg *Token) string {
switch arg.tag {
case LIST:
return fmt.Sprintf("(%s, <List>)%s", "LIST", arg._inner, suffix)
return fmt.Sprintf("(%s, [List])%s", "LIST", suffix)
default:
return fmt.Sprintf("(%s, %s)%s", GetTagAsStr(arg.tag), arg._inner, suffix)