write YYARG def to ftable (fdefine might be null, and is not the right place anyway)
This commit is contained in:
parent
c2ab969eca
commit
35368876eb
@ -1223,7 +1223,7 @@ setup(int argc, char *argv[])
|
||||
openup(stemc, dflag, vflag, ytab, ytabc);
|
||||
fout = dflag?fdefine:ftable;
|
||||
if(yyarg){
|
||||
Bprint(fdefine, "#define\tYYARG\t1\n\n");
|
||||
Bprint(ftable, "#define\tYYARG\t1\n\n");
|
||||
}
|
||||
if((fd = mkstemp(ttempname)) >= 0){
|
||||
tempname = ttempname;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user