rework eval loop to unwrap lists when function calls return

This commit is contained in:
Aidan 2020-06-21 15:32:47 -07:00
parent 1889942db8
commit 3b0fb09e30
No known key found for this signature in database
GPG key ID: 327711E983899316
3 changed files with 45 additions and 11 deletions

View file

@ -61,6 +61,7 @@ func l_append(input *ast.Token, vars ast.VarTable, funcs ast.FuncTable) *ast.Tok
iter = &((*iter).Next)
}
(*iter).Next = input.Next
input.Next = nil
return src.Inner.(*ast.Token)
return src
}