file operations in stdlib
This commit is contained in:
parent
1802bce604
commit
de3e3e5d4e
3 changed files with 177 additions and 1 deletions
|
|
@ -43,9 +43,9 @@ func not(in *ast.Token, vt ast.VarTable, ft ast.FuncTable) *ast.Token {
|
|||
|
||||
func eq(in *ast.Token, vt ast.VarTable, ft ast.FuncTable) *ast.Token {
|
||||
out := ast.TRUE
|
||||
second := in.Next
|
||||
|
||||
in = in.Eval(ft, vt, false)
|
||||
second := in.Next
|
||||
|
||||
if in.Tag != second.Tag {
|
||||
out = ast.FALSE
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue