}
}
} else {
+ if (OPTS_OPTION_U32(OPTION_STANDARD) == COMPILER_FTEQCC && param->name[0] == '<') {
+ parseerror(parser, "parameter name omitted %s %d", param->name, vec_size(params));
+ goto on_error;
+ }
vec_push(params, param);
if (param->expression.vtype >= TYPE_VARIANT) {
char tname[1024]; /* typename is reserved in C++ */
// builtins. I no event shall you even consider adding
// these individually per test.
-void (string, ...) print = #1;
-string (float) ftos = #2;
-entity () spawn = #3;
-void (entity) kill = #4;
-string (vector) vtos = #5;
-void (string) error = #6;
-float (vector) vlen = #7;
-string (entity) etos = #8;
-float (string) stof = #9;
-string (...) strcat = #10;
-float (string, string) strcmp = #11;
-vector (vector) normalize = #12;
-float (float) sqrt = #13;
-float (float) floor = #14;
-float (float, float) pow = #15;
+void (string str, ...) print = #1;
+string (float val) ftos = #2;
+entity () spawn = #3;
+void (entity ent) kill = #4;
+string (vector vec) vtos = #5;
+void (string str) error = #6;
+float (vector vec) vlen = #7;
+string (entity ent) etos = #8;
+float (string str) stof = #9;
+string (...) strcat = #10;
+float (string str1, string str2) strcmp = #11;
+vector (vector vec) normalize = #12;
+float (float val) sqrt = #13;
+float (float val) floor = #14;
+float (float val1, float val2) pow = #15;
-void nbva(float a, string...count) {
+void nbva(float a, ...count) {
print("You gave me ", ftos(count), " additional parameters\n");
print("First: ", ...(0, string), "\n");
print("You chose: ", ...(a, string), "\n");