File:  [MW Coherent from dump] / coherent / d / bin / yacc / Changes
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Wed May 29 04:56:39 2019 UTC (7 years, 2 months ago) by root
Branches: MarkWilliams, MAIN
CVS tags: relic, HEAD
coherent

/usr.src/cmd/yacc/Changes 1/23/90
Changes to yacc source

Tue Jan 23 12:31:31 1990 PST
makefile
	Added -n flag for i8086.
yacc.h
	Changed #include <mdata.h> -> <sys/mdata.h>.
y2.c
	Changed line 455:
		fprintf(tabout, "struct yytname yytnames[%d] =\n{\n", nterm);
	to
		fprintf(tabout, "struct yytname yytnames[%d] =\n{\n", nterm+1);
	The code writes a NULL-terminated array with nterm members
	plus a NULL terminator.  The most recent version of the compiler
	complained (e.g. when compiling the yacc'ed grammar for bc) because the
	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.