X-Git-Url: https://git.xonotic.org/?a=blobdiff_plain;f=parser.h;h=54f93b29acae7d9f848bd118ba1341c55a54f941;hb=48211572e529c37fb2be9ac05c7e810e690757f3;hp=c34d39baba108d68808873630651d5230a3cbaaf;hpb=a50635bcd70c542def692e796e27eed40f18693a;p=xonotic%2Fgmqcc.git diff --git a/parser.h b/parser.h index c34d39b..54f93b2 100644 --- a/parser.h +++ b/parser.h @@ -133,7 +133,8 @@ bool fold_generate (fold_t *, ir_builder *); ast_expression *fold_op (fold_t *, const oper_info *, ast_expression **); ast_expression *fold_intrin (fold_t *, const char *, ast_expression **); -int fold_cond (ir_value *, ast_function *, ast_ifthen *); +int fold_cond_ifthen (ir_value *, ast_function *, ast_ifthen *); +int fold_cond_ternary (ir_value *, ast_function *, ast_ternary *); /* intrin.c */ intrin_t *intrin_init (parser_t *parser);