Redid lex process
This commit is contained in:
parent
c52391da07
commit
640dbb183e
3 changed files with 123 additions and 34 deletions
2
debug.go
2
debug.go
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue