twrite YYARG def to ftable (fdefine might be null, and is not the right place anyway) - plan9port - [fork] Plan 9 from user space
 (HTM) git clone git://src.adamsgaard.dk/plan9port
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) README
 (DIR) LICENSE
       ---
 (DIR) commit 35368876ebfd1eb9f4e5eddec86cf0176d607386
 (DIR) parent c2ab969ecafadef496845a525c7f19fa0ce7f42f
 (HTM) Author: rsc <devnull@localhost>
       Date:   Mon, 29 Jan 2007 16:46:16 +0000
       
       write YYARG def to ftable (fdefine might be null, and is not the right place anyway)
       
       Diffstat:
         M src/cmd/yacc.c                      |       2 +-
       
       1 file changed, 1 insertion(+), 1 deletion(-)
       ---
 (DIR) diff --git a/src/cmd/yacc.c b/src/cmd/yacc.c
       t@@ -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;