X-Git-Url: https://git.xonotic.org/?p=xonotic%2Fgmqcc.git;a=blobdiff_plain;f=main.c;h=498386cc0129e7b578fc59fcd6aee95280114e47;hp=0a22b1bada1716cdf55a6d389f71dd9294a27701;hb=68ca2c496298573553f0cf98d2cf556c25b591ee;hpb=462c06d56bfab0e0c430e3910d9fcba88cca19da diff --git a/main.c b/main.c index 0a22b1b..498386c 100644 --- a/main.c +++ b/main.c @@ -173,6 +173,7 @@ static bool options_parse(int argc, char **argv) { opts_set(opts.flags, INITIALIZED_NONCONSTANTS, true); opts_set(opts.werror, WARN_INVALID_PARAMETER_COUNT, true); opts_set(opts.werror, WARN_MISSING_RETURN_VALUES, true); + opts_set(opts.flags, EXPRESSIONS_FOR_BUILTINS, true); OPTS_OPTION_U32(OPTION_STANDARD) = COMPILER_GMQCC; @@ -643,9 +644,6 @@ int main(int argc, char **argv) { } } - if (OPTS_FLAG(TRUE_EMPTY_STRINGS)) - type_not_instr[TYPE_STRING] = INSTR_NOT_F; - util_debug("COM", "starting ...\n"); /* add macros */