Modified to avoid creating a zero-length iargs array, which some compilers

(OSX) do not create a symbol for.
This commit is contained in:
dtrg 2006-07-23 18:29:38 +00:00
parent eed5d461e4
commit 345f4c8978

View file

@ -327,7 +327,7 @@ printnodes() {
for (p=nodes;p<lastnode;p++)
printf("/* %3d */\t%3d,%6u,%6u,\n",
p-nodes,p->ex_operator,p->ex_lnode,p->ex_rnode);
printf("};\n\niarg_t iargs[%d];\n",maxpatlen);
printf("};\n\niarg_t iargs[%d];\n", (maxpatlen>0 ? maxpatlen : 1));
if (patid[0])
printf("static char rcsid[] = %s;\n",patid);
}