Annotation of coherent/d/bin/yacc/Changes, revision 1.1.1.1

1.1       root        1: /usr.src/cmd/yacc/Changes 1/23/90
                      2: Changes to yacc source
                      3: 
                      4: Tue Jan 23 12:31:31 1990 PST
                      5: makefile
                      6:        Added -n flag for i8086.
                      7: yacc.h
                      8:        Changed #include <mdata.h> -> <sys/mdata.h>.
                      9: y2.c
                     10:        Changed line 455:
                     11:                fprintf(tabout, "struct yytname yytnames[%d] =\n{\n", nterm);
                     12:        to
                     13:                fprintf(tabout, "struct yytname yytnames[%d] =\n{\n", nterm+1);
                     14:        The code writes a NULL-terminated array with nterm members
                     15:        plus a NULL terminator.  The most recent version of the compiler
                     16:        complained (e.g. when compiling the yacc'ed grammar for bc) because the
                     17:        array declaration included too many initializers.

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.