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
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue