enum {
OP_REL,
OP_BOOL,
- JUST_BOOL /* value only in left */
+ JUST_BOOL /* value only in left, no op */
} type;
int op;
struct tree* left;
DELIVER,
CALL_EXT,
NOP,
- CAT
+ CAT,
+ GT
} opcode;
union {
} cat;
struct {
} nop;
+ struct {
+ int l;
+ int r;
+ int res; /* result */
+ } gt;
} u;
};
int cur_const_s;
void init(void);
-void compile(struct tree* t);
+void compile(struct tree* t, struct list* where);
int find_var(char* name, struct list* hash);
int store_const(char* c);
struct list* new_var_hash(void);