X-Git-Url: https://git.tokkee.org/?p=sysdb.git;a=blobdiff_plain;f=src%2Finclude%2Fparser%2Fast.h;fp=src%2Finclude%2Fparser%2Fast.h;h=2ae2912b741884ed7ee2db8e7fa42f077756f8f5;hp=665caf50f174118efb3bd1d30590d301d43e098e;hb=85fa98410c3ef44c2b4ce4e5b2902a70b5932689;hpb=8c60138c3491a844ed2302709763331d1c8375fd diff --git a/src/include/parser/ast.h b/src/include/parser/ast.h index 665caf5..2ae2912 100644 --- a/src/include/parser/ast.h +++ b/src/include/parser/ast.h @@ -189,7 +189,6 @@ typedef struct { typedef struct { sdb_ast_node_t super; int kind; - int op; sdb_ast_node_t *iter; /* exactly one operand of the expression has to be unset and will be * filled in by the iterator value */ @@ -197,7 +196,7 @@ typedef struct { } sdb_ast_iter_t; #define SDB_AST_ITER(obj) ((sdb_ast_iter_t *)(obj)) #define SDB_AST_ITER_INIT \ - { { SDB_OBJECT_INIT, SDB_AST_TYPE_ITERATOR }, -1, -1, NULL, NULL } + { { SDB_OBJECT_INIT, SDB_AST_TYPE_ITERATOR }, -1, NULL, NULL } /* * sdb_ast_typed_t represents a typed value. @@ -336,8 +335,7 @@ sdb_ast_op_create(int kind, sdb_ast_node_t *left, sdb_ast_node_t *right); * ownership of the iter and expr nodes. */ sdb_ast_node_t * -sdb_ast_iter_create(int kind, int op, - sdb_ast_node_t *iter, sdb_ast_node_t *expr); +sdb_ast_iter_create(int kind, sdb_ast_node_t *iter, sdb_ast_node_t *expr); /* * sdb_ast_typed_create: