Actually there was a glaring omission in the previous few commits

This commit is contained in:
Aidan 2019-11-28 00:43:54 -08:00
parent 4f9663acf0
commit 8a36697002
No known key found for this signature in database
GPG key ID: 327711E983899316
2 changed files with 1 additions and 6 deletions

View file

@ -47,12 +47,7 @@ func Lex(input string) *Token {
// TODO: Pass a pointer out of Lex and store a pointer
*iter._inner = Lex(tok.String())
is_list = false
if (*iter._inner.tag == FUNCTION) {
*iter.tag = CALL
} else {
*iter.tag = LIST
}
*iter._inner = LIST
} else {
*iter._inner = tok.String()