if (prog->argc != (num)) { \
prog->vmerror++; \
fprintf(stderr, "ERROR: invalid number of arguments for %s: %i, expected %i\n", \
- __FUNCTION__, prog->argc, (num)); \
+ __func__, prog->argc, (num)); \
return -1; \
} \
} while (0)
parseerror(parser, "expected for-loop condition");
goto onerr;
}
- }
- else if (!parser_next(parser)) {
+ } else if (!parser_next(parser)) {
parseerror(parser, "expected for-loop condition");
goto onerr;
}
if (!cond)
goto onerr;
}
-
/* move on to incrementor */
if (parser->tok != ';') {
parseerror(parser, "expected semicolon after for-loop initializer");
const char *qcflags = nullptr;
task_t task;
+ memset(&task, 0, sizeof(task));
+
found ++;
if (!tmpl) {
con_err("error compiling task template: %s\n", files->d_name);