hash_table_t *imm_string_dotranslate; /* map<string, ast_value*> */
} fold_t;
-#define parser_ctx(p) ((p)->lex->tok.ctx)
+#define parser_ctx(p) ((p)->lex->tok.ctx)
+
typedef struct parser_s {
lex_file *lex;
int tok;
ast_expression *fold_constgen_string(fold_t *, const char *, bool);
bool fold_generate (fold_t *, ir_builder *);
ast_expression *fold_op (fold_t *, const oper_info *, ast_expression**);
+
+int fold_cond (ir_value *, ast_function *, ast_ifthen *);
+
#endif