X-Git-Url: http://de.git.xonotic.org/?p=xonotic%2Fgmqcc.git;a=blobdiff_plain;f=parser.h;h=54f93b29acae7d9f848bd118ba1341c55a54f941;hp=c34d39baba108d68808873630651d5230a3cbaaf;hb=15b0555546a64bb208fbb72b3edabc51c0b60085;hpb=c2cf41baf95c7a45789e4c73202928baf9e9b650 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);