xref: /freebsd/contrib/byacc/CHANGES (revision 3a92d97ff0f22d21608e1c19b83104c4937523b6)
12014-01-01  Thomas E. Dickey  <tom@invisible-island.net>
2
3	* yacc.1: document %token-table, improve presentation of double-quotes
4
5	* VERSION, package/byacc.spec, package/debian/changelog: bump
6
7	* test/calc.tab.c, test/calc1.tab.c, test/calc2.tab.c, test/calc3.tab.c, test/code_calc.code.c, test/code_calc.tab.c, test/code_error.code.c, test/code_error.tab.c, test/error.tab.c, test/ftp.tab.c, test/grammar.tab.c, test/pure_calc.tab.c, test/pure_error.tab.c, test/quote_calc-s.tab.c, test/quote_calc.tab.c, test/quote_calc2-s.tab.c, test/quote_calc2.tab.c, test/quote_calc3-s.tab.c, test/quote_calc3.tab.c, test/quote_calc4-s.tab.c, test/quote_calc4.tab.c:
8	regen
9
10	* output.c, skeleton.c:
11	amend the last change so that yytname is #define'd as needed rather than
12	permanent - to avoid breaking cproto for instance.
13
142014-01-01  Christos.Zoulas
15
16	* output.c, defs.h, main.c, reader.c, skeleton.c:
17	changes to build ntpd using byacc:
18	- rename yyname[] to yytname[]
19	- add YYTRANSLATE() macro
20	- recognize bison's %token-table declaration
21
222014-01-01  Thomas E. Dickey  <tom@invisible-island.net>
23
24	* configure: regen
25
26	* yacc.1: s/EE/XE/ to work around groff bug on Debian 6
27
28	* makefile.in: use CF_MAKE_DOCS
29
30	* aclocal.m4: add CF_MAKE_DOCS
31
32	* configure.in: use CF_MAKE_DOCS
33
342013-12-26  Thomas E. Dickey  <tom@invisible-island.net>
35
36	* config.guess: 2013-11-29
37
382013-11-19  Thomas E. Dickey  <tom@invisible-island.net>
39
40	* aclocal.m4: resync with my-autoconf (fixes for clang and mingw)
41
422013-10-25  Thomas E. Dickey  <tom@invisible-island.net>
43
44	* config.sub: 2013-10-01
45
462013-09-25  Thomas E. Dickey  <tom@invisible-island.net>
47
48	* reader.c: fix two loop-limits found by clang 3.3 --analyze
49
50	* configure: regen
51
52	* aclocal.m4:
53	tweaks to CF_MIXEDCASE_FILENAMES and CF_XOPEN_SOURCE for msys from ncurses
54
55	* package/mingw-byacc.spec: RCS_BASE
56
57	* test/calc.tab.c, test/calc1.tab.c, test/calc2.tab.c, test/calc3.tab.c, test/code_calc.code.c, test/code_error.code.c, test/error.tab.c, test/ftp.tab.c, test/grammar.tab.c, test/pure_calc.tab.c, test/pure_error.tab.c, test/quote_calc-s.tab.c, test/quote_calc.tab.c, test/quote_calc2-s.tab.c, test/quote_calc2.tab.c, test/quote_calc3-s.tab.c, test/quote_calc3.tab.c, test/quote_calc4-s.tab.c, test/quote_calc4.tab.c:
58	regen
59
60	* skeleton.c:
61	Increase default stack-size to match FreeBSD version noted as from
62	"BSD 4.4 Lite Usr.bin Sources".  See
63
64		http://svnweb.freebsd.org/base/vendor/CSRG/dist/usr.bin/yacc/
65		http://svnweb.freebsd.org/base/head/usr.bin/yacc/
66		http://svnweb.freebsd.org/base/vendor/byacc/
67
68	The original 1.9 sources (on which I based development) used 500 for
69	stacksize; the BSD Lite sources (a year or two later) used 10000.
70
71	This is a change to default values; the YYMAXDEPTH and YYSTACKSIZE
72	symbols have "always" been overridable by applications, but rarely
73	needed to do this.  RedHat began using the FreeBSD source in 2000,
74	and switched to this source in 2007 using the 20050813 snapshot.
75
76	RedHat #743343 misattributed the change in default stacksize to
77	a regression in byacc, but did not report the issue upstream.
78
79	* package/debian/changelog, VERSION, package/byacc.spec: bump
80
812013-09-07  Thomas E. Dickey  <tom@invisible-island.net>
82
83	* config.sub: update to 2013-09-15
84
85	* config.guess: update to 2013-06-10
86
872013-03-04  Thomas E. Dickey  <tom@invisible-island.net>
88
89	* package/debian/changelog, VERSION, package/byacc.spec: bump
90
91	* aclocal.m4:
92	adapt tweak from Dave Becket to work around long-ago breakage in "new" autoconf.
93
94	* output.c:
95	fix bogus #include if "-i" is given but not "-d" (report by Richard Mitton).
96	also while testing that, found a case where the union_file is unused; added
97	a check for address that.
98
99	* test/ftp.output, test/ftp.tab.c, test/ftp.tab.h: regen
100
101	* test/ftp.y: fix most compiler warnings for "make check_make"
102
103	* test/calc1.tab.c: regen
104
105	* test/calc1.y: fix most compiler warnings for "make check_make"
106
107	* test/calc.tab.c, test/calc1.tab.c, test/calc2.tab.c, test/calc3.tab.c, test/code_calc.code.c, test/code_error.code.c, test/error.tab.c, test/ftp.tab.c, test/grammar.tab.c, test/pure_calc.tab.c, test/pure_error.tab.c, test/quote_calc-s.tab.c, test/quote_calc.tab.c, test/quote_calc2-s.tab.c, test/quote_calc2.tab.c, test/quote_calc3-s.tab.c, test/quote_calc3.tab.c, test/quote_calc4-s.tab.c, test/quote_calc4.tab.c:
108	regen
109
110	* skeleton.c: quiet a gcc conversion-warning in yygrowstack()
111
112	* configure: regen
113
114	* aclocal.m4:
115	another fix for CF_GCC_VERSION to handle Debian's modification of gcc message.
116
1172013-02-10  Thomas E. Dickey  <tom@invisible-island.net>
118
119	* config.sub, config.guess: update to 2013-02-04
120
1212012-10-03  Thomas E. Dickey  <tom@invisible-island.net>
122
123	* package/debian/changelog, package/byacc.spec, VERSION: bump
124
125	* configure: regen
126
127	* configure.in: moved AC_PROG_CC_STDC call into CF_PROG_CC
128
129	* aclocal.m4:
130	moved AC_PROG_CC_STDC call into CF_PROG_CC and (for other uses than byacc)
131	the CF_PROG_CC macro provides the CF_ANSI_CC_REQD for the 2.13 flavor.
132
133	* aclocal.m4, configure.in:
134	Arian's change dropped my check for misused $CC variable - restore that with
135	alternate macro CF_PROG_CC.
136
1372012-10-03  Adrian.Bunk
138
139	* aclocal.m4:
140	suggested patch: drop CF_ANSI_CC_REQD, CF_ANSI_CC_CHECK, CF_PROG_EXT since
141	they are not needed.
142
1432012-10-03  Thomas E. Dickey  <tom@invisible-island.net>
144
145	* aclocal.m4:
146	split-out CF_CC_ENV_FLAGS from CF_ANSI_CC_CHECK to avoid losing it in
147	Adrian's suggested changes.
148
149	* aclocal.m4:
150	CF_CLANG_COMPILER - check if the given compiler is really clang.
151
152	* aclocal.m4:
153	add check for clang to CF_GCC_WARNINGS.  modify CF_GCC_WARNINGS to work around
154	old gcc warning:  ncurses change to (try to) use gnatgcc exposed gnatgcc 2.8.1
155	on my Sarge system (versus 3.3.5 for the normal gcc).  The 2.8.1's
156	pointer-arithmetic checks fell afoul of gcc's misuse of void* in string.h; work
157	around by excluding that check for pre-3.x compilers.
158
159	* aclocal.m4:
160	modify CF_GCC_ATTRIBUTES so that autoheader is able to see the definitions
161	provided by this macro.  use AC_DEFINE_UNQUOTED() in CF_GCC_ATTRIBUTES rather
162	than appending to confdefs.h, since long-ago concern about the ability to
163	pass-through parameterized macros appears to be not a problem, testing with
164	2.13 and 2.52
165
1662012-10-03  Adrian.Bunk
167
168	* aclocal.m4:
169	add parameter to AC_DEFINE_UNQUOTED() to allow it to be recognized by
170	autoheader, updated macros:
171		CF_CHECK_CACHE
172		CF_DISABLE_LEAKS
173		CF_MKSTEMP
174		CF_MIXEDCASE_FILENAMES
175		CF_NO_LEAKS_OPTION
176
1772012-10-03  Thomas E. Dickey  <tom@invisible-island.net>
178
179	* aclocal.m4:
180	move existence-check for mkstemp out of the AC_TRY_RUN, to help with
181	cross-compiles
182
1832012-10-02  Thomas E. Dickey  <tom@invisible-island.net>
184
185	* config_h.in:
186	Adrian Bunk request - replace this with the output from autoheader
187
1882012-09-29  Adrian.Bunk
189
190	* configure.in:
191	suggested change: replace CF_ANSI_CC_REQD by AC_PROG_CC_STDC (since no
192	check is needed anymore for standard C compilers), drop AC_CONST (same
193	reason), modify AC_OUTPUT to rely upon template generated by autoheader.
194	bump requirement to autoconf 2.52.20011201 and drop check for CF_PROG_EXT
195	as being obsolete with autoconf 2.52x
196
197	* configure.in, main.c: drop check for atexit, because it is standard C
198
199	* makefile.in: add assignment for datarootdir variable.
200
2012012-05-26  Thomas E. Dickey  <tom@invisible-island.net>
202
203	* package/debian/changelog, package/byacc.spec, VERSION: bump
204
205	* reader.c:
206	some versions of gcc may warn that bp is not set in mark_symbol, e.g.,
207	if GCC_NORETURN is not handled; appease the compiler.
208
209	* reader.c:
210	use the declared types Assoc_t and Value_t in some places where compiler only
211	cared about char versus short.
212
213	* reader.c:
214	use TMALLOC() and TREALLOC() macros to simplify allocation/reallocation
215	(no object change)
216
217	* defs.h:
218	add fallbacks for GCC_NORETURN and GCC_UNUSED to make it simpler for *BSD
219	packagers to build without configure script.  Also remove duplicate declaration
220	of pure_parser variable (prompted by patch by Baptiste Daroussin).
221
222	Also define new TMALLOC and TREALLOC macros to simplify/replace MALLOC and
223	REALLOC macros.
224
225	* symtab.c:
226	use TMALLOC() and TREALLOC() macros to simplify allocation/reallocation
227	(no object change)
228
2292012-05-25  Thomas E. Dickey  <tom@invisible-island.net>
230
231	* output.c, main.c, verbose.c, mkpar.c, lr0.c:
232	use TMALLOC() and TREALLOC() macros to simplify allocation/reallocation
233	(no object change)
234
2352012-01-15  Thomas E. Dickey  <tom@invisible-island.net>
236
237	* package/debian/copyright: bump
238
239	* test/run_make.sh: workaround for breakage due to GNU make 3.82
240
241	* test/run_make.sh:
242	tested with Solaris 10 (bison 1.875) and added scripting to exercise
243	the /usr/ccs/bin/yacc executable
244
245	* test/grammar.tab.c: regen
246
247	* test/grammar.y: modify to also build with Solaris yacc
248
249	* VERSION, package/debian/changelog, package/byacc.spec: bump
250
251	* test/calc1.output, test/calc1.tab.c: regen
252
253	* test/calc1.y:
254	undo the change made to appease bison, since it was only a warning.
255
256	* test/pure_calc.tab.c, test/pure_error.tab.c: regen
257
258	* test/run_make.sh: another fix for running from top-level directory
259
260	* makefile.in:
261	ensure that check_make rule depends on having byacc built.
262
263	* test/run_make.sh: fixes for building from parent directory
264
265	* test/pure_error.y, test/pure_calc.y: bison-fixes
266
267	* test/calc2.tab.c, test/calc3.tab.c, test/code_error.code.c, test/ftp.tab.c, test/pure_calc.tab.c, test/pure_error.tab.c:
268	regen
269
270	* test/calc2.y, test/calc3.y, test/code_error.y, test/ftp.y:
271	byacc already declares yyerror
272
273	* test/pure_error.y, test/pure_calc.y:
274	modified to help make the files build with bison
275
276	* test/run_make.sh:
277	supply a "%pure-parser" directive when bison needs it.
278
279	* test/code_calc.code.c: regen
280
281	* test/code_calc.y: modified to help make the files build with bison
282
283	* yacc.1:
284	in testing, found that %expect did not work as documented for bison.
285	do not recommend it for portable code.
286
287	* test/run_make.sh: workaround breakage in bison's %expect directive
288
289	* test/grammar.y: modified to help make the files build with bison
290
291	* test/calc1.output, test/calc1.tab.c, test/grammar.tab.c: regen
292
293	* test/calc1.y: quiet a spurious warning from bison 2.3
294
295	* test/calc1.tab.c: regen
296
297	* test/calc1.y: modified to help make the files build with bison
298
299	* yacc.1: comment on "-y" and "-P" options.
300
301	* yacc.1: comment on portability
302
303	* test/ftp.tab.c, test/quote_calc-s.tab.c, test/quote_calc.tab.c, test/quote_calc2-s.tab.c, test/quote_calc3-s.tab.c:
304	regen
305
306	* test/ftp.y: modified to help make the files build with bison
307	(bison's "-y" option is of no use in providing "yacc" compatibility)
308
309	* test/quote_calc2.tab.c, test/quote_calc3.tab.c, test/quote_calc4-s.tab.c, test/quote_calc4.tab.c:
310	regen
311
312	* test/code_calc.y, test/quote_calc2.y, test/quote_calc.y, test/quote_calc4.y, test/quote_calc3.y:
313	modified to help make the files build with bison
314
315	* test/calc.tab.c: regen
316
317	* test/calc.y: modified to help make the files build with bison
318
319	* test/error.tab.c: regen
320
321	* test/error.y: modified to help make the files build with bison
322
323	* test/calc2.tab.c, test/calc3.tab.c, test/code_error.code.c: regen
324
325	* test/run_make.sh:
326	check for older bisons which (2.3 for instance) do not support pure parsers
327
328	* test/code_error.y, test/calc3.y, test/calc2.y:
329	modified to help make the files build with bison
330
331	* test/run_test.sh: use $opt2 in filenames of the generated files
332
333	* test/quote_calc2-s.tab.c, test/quote_calc3-s.tab.c, test/quote_calc4-s.tab.c, test/quote_calc-s.tab.c, test/quote_calc.tab.c, test/quote_calc2.tab.c, test/quote_calc3.tab.c, test/quote_calc4.tab.c:
334	regen
335
3362012-01-14  Thomas E. Dickey  <tom@invisible-island.net>
337
338	* test/calc2.tab.c, test/code_calc.code.c, test/code_error.code.c, test/error.tab.c, test/ftp.tab.c, test/grammar.tab.c, test/calc.tab.c, test/calc1.tab.c:
339	regen
340
341	* output.c: Several changes:
342		a) add YYLEX_PARAM_TYPE, like YYPARSE_PARAM_TYPE, but for yylex.
343		b) modify definitions for YYLEX_DECL to be more like YYPARSE_DECL,
344		   using YYLEX_PARAM_TYPE and YYLEX_PARAM.
345		c) add ifdef's around #define's for YYERROR_DECL and YYERROR_CALL,
346		   to help with redefinitions.
347
348	* test/pure_calc.tab.c:
349	modified to help make the files build with bison
350
351	* test/run_make.sh:
352	start work on followup, to check if the generated files build with bison.
353
354	* test/pure_calc.y, test/pure_error.tab.c:
355	modified to help make the files build with bison
356
357	* test/calc3.tab.c: regen
358
359	* test/quote_calc-s.output, test/quote_calc-s.tab.c, test/quote_calc-s.tab.h, test/quote_calc2-s.output, test/quote_calc2-s.tab.c, test/quote_calc2-s.tab.h, test/quote_calc3-s.output, test/quote_calc3-s.tab.c, test/quote_calc3-s.tab.h, test/quote_calc4-s.output, test/quote_calc4-s.tab.c, test/quote_calc4-s.tab.h:
360	RCS_BASE
361
362	* test/run_test.sh: generate/test with "-s" option applied.
363
3642012-01-13  Thomas E. Dickey  <tom@invisible-island.net>
365
366	* package/debian/changelog, package/byacc.spec, VERSION: bump
367
368	* yacc.1: improve documentation of -s option
369
370	* yacc.1: note that yacc ignores -y
371
372	* main.c: add -s option to usage message.
373
374	* test/quote_calc3.output, test/quote_calc3.tab.c, test/quote_calc4.output, test/quote_calc4.tab.c, test/quote_calc4.tab.h, test/quote_calc3.y, test/quote_calc.tab.h, test/quote_calc.output, test/quote_calc.tab.c, test/quote_calc2.output, test/quote_calc2.tab.c, test/quote_calc2.tab.h, test/quote_calc3.tab.h, test/quote_calc4.y, test/quote_calc.y, test/quote_calc2.y:
375	RCS_BASE
376
377	* configure: regen
378
379	* aclocal.m4: resync with my-autoconf, i.e., fixes for CF_XOPEN_SOURCE
380
3812011-12-19  Thomas E. Dickey  <tom@invisible-island.net>
382
383	* package/debian/changelog, package/byacc.spec, VERSION: bump
384
385	* yacc.1, output.c, main.c, defs.h:
386	add "-s" option to suppress generating #define's based on string contents
387	in a %token statement.  For instance
388		%token EQLS "Equals"
389	would generate
390		#define EQLS 256
391		#define Equals 257
392	Simply suppressing the second #define makes the behavior closer to yacc.
393	(report by Paulo Andrade).
394
3952011-09-08  Thomas E. Dickey  <tom@invisible-island.net>
396
397	* package/debian/changelog, package/byacc.spec, VERSION: bump
398
399	* output.c:
400	fix some more interaction between -i and -d flags to ensure YYERRCODE
401	and YYSTYPE are declared, tested with cproto.
402
4032011-09-07  Thomas E. Dickey  <tom@invisible-island.net>
404
405	* yacc.1: document "-i" option.
406
407	* package/debian/changelog, package/byacc.spec, VERSION: bump
408
409	* output.c: fix an interaction between -i and -d
410
411	* test/code_error.code.c, test/error.tab.c, test/ftp.tab.c, test/grammar.tab.c, test/pure_calc.tab.c, test/pure_error.tab.c, test/calc.tab.c, test/calc1.tab.c, test/calc2.tab.c, test/calc3.tab.c, test/code_calc.code.c:
412	regen - changes for "-i" option move the global/impure variables near the
413	macros that may add a prefix, etc.
414
415	* skeleton.c, output.c, defs.h: changes to support "-i" option.
416
4172011-09-06  Thomas E. Dickey  <tom@invisible-island.net>
418
419	* reader.c: pass explicit file-pointer to write_section()
420
421	* main.c:
422	add "-i" option, to generate interface-file (suggested by Denis M. Wilson)
423
4242011-09-05  Thomas E. Dickey  <tom@invisible-island.net>
425
426	* configure: regen
427
428	* aclocal.m4:
429	resync with my-autoconf: CF_ANSI_CC_CHECK (check for $CFLAGS in $CC)
430	and CF_XOPEN_SOURCE (update aix, cygwin and netbsd checks)
431
432	* defs.h, error.c, reader.c:
433	add check for missing "}" on %parse-param and %lex-param lines (report by Denis M Wilson)
434
4352011-04-01  Thomas E. Dickey  <tom@invisible-island.net>
436
437	* config.sub: update to 2011-04-01
438
4392011-02-02  Thomas E. Dickey  <tom@invisible-island.net>
440
441	* config.guess: update to 2011-01-01
442
4432010-12-29  Thomas E. Dickey  <tom@invisible-island.net>
444
445	* defs.h, skeleton.c:
446	add const qualifier to skeleton data, per NetBSD changes (report by Christos Zoulas)
447
448	* defs.h:
449	mark all of the error-functions as non-returning (report by Christos Zoulas)
450
451	* test/grammar.tab.c, test/pure_calc.tab.c, test/pure_error.tab.c, test/calc.tab.c, test/calc1.tab.c, test/calc2.tab.c, test/calc3.tab.c, test/code_calc.code.c, test/code_error.code.c, test/error.tab.c, test/ftp.tab.c:
452	regen
453
454	* skeleton.c:
455	use only realloc() rather than realloc+malloc, agree that systems needing this
456	are very rare (prompted by NetBSD change).
457
458	* test/ftp.tab.c: regen
459
4602010-12-29  Christos.Zoulas
461
462	* test/ftp.y:
463	improve example, which was stuck in 19XX and assumed file sizes were longs.
464
4652010-12-29  Thomas E. Dickey  <tom@invisible-island.net>
466
467	* test/ftp.tab.c, test/grammar.tab.c, test/pure_calc.tab.c, test/pure_error.tab.c, test/calc.tab.c, test/calc1.tab.c, test/calc2.tab.c, test/calc3.tab.c, test/code_calc.code.c, test/code_error.code.c, test/error.tab.c:
468	regen
469
470	* test/pure_error.y, test/pure_calc.y, test/ftp.y, test/error.y, test/code_error.y, test/code_calc.y, test/calc.y, test/calc3.y, test/calc2.y, test/calc1.y:
471	use byacc's YYLEX_DECL/YYERROR_DECL symbols to prototype yylex/yyerror
472
473	* skeleton.c:
474	remove explicit prototype for yylex() via YYLEX_DECL() macro, since that
475	would prevent declaring yylex() static (request by Christos Zoulas).
476
477	* test/calc2.tab.c, test/calc3.tab.c: regen
478
4792010-12-29  Christos.Zoulas
480
481	* output.c: correct definition for YYERROR_DECL()
482
4832010-12-29  Thomas E. Dickey  <tom@invisible-island.net>
484
485	* package/debian/changelog, package/byacc.spec, VERSION: bump
486
4872010-12-26  Thomas E. Dickey  <tom@invisible-island.net>
488
489	* defs.h, main.c:
490	change return-type of allocate() to avoid warnings of alignment problems
491
492	* main.c: Solaris declares chmod() in <sys/stat.h>
493
494	* configure: regen
495
496	* main.c: ifdef'd use of fcntl.h
497
498	* configure.in: add configure checks for fcntl.h, atexit and mkstemp
499
500	* main.c: for cases where mkstemp() is not available, use tempnam/open
501
502	* aclocal.m4: add CF_MKSTEMP
503
504	* aclocal.m4:
505	improve quoting, deprecate ${name-value} in favor of standard ${name:-value}
506
5072010-12-25  Thomas E. Dickey  <tom@invisible-island.net>
508
509	* main.c:
510	start revising use of tmpfile(), to make this work with MinGW.  Start by
511	implementing a mkstemp() alternative - noting that mkstemp() also is broken
512	for MinGW.
513
514	* package/debian/changelog, package/byacc.spec, VERSION: bump
515
5162010-11-27  Thomas E. Dickey  <tom@invisible-island.net>
517
518	* package/byacc.spec, package/debian/changelog, VERSION: bump
519
520	* test/calc2.tab.c, test/calc3.tab.c: regen
521
522	* output.c:
523	corrected use of %parse-param value in yyerror(); it doesn't use &yylval
524	(report by Clifford Yapp)
525
5262010-11-26  Thomas E. Dickey  <tom@invisible-island.net>
527
528	* skeleton.c: typo
529
530	* output.c:
531	correct line-numbering when "-r" option is used; the 'outline' variable
532	should only be incremented when writing to the code-file.
533
534	* test/code_calc.code.c, test/code_error.code.c: regen
535
536	* yacc.1: bump date
537
538	* yacc.1: comment on -b option vs -r
539
540	* test/calc2.tab.c, test/calc2.y, test/calc3.tab.c, test/calc3.y, test/ftp.tab.c, test/grammar.tab.c, test/pure_calc.tab.c, test/pure_error.tab.c, test/calc.tab.c, test/calc1.tab.c, test/code_calc.code.c, test/code_error.code.c, test/error.tab.c:
541	regen
542
543	* output.c:
544	improve on YYERROR_DECL(), adding dummy params which can be used for the
545	actual function declaration.  Also add YYERROR_CALL().  The two macros
546	simplify maintaining sets of grammars which may/may not be pure.
547
548	* test/calc1.y, test/ftp.tab.c, test/grammar.tab.c, test/pure_calc.tab.c, test/pure_error.tab.c, test/calc.tab.c, test/calc1.tab.c, test/calc2.tab.c, test/calc3.tab.c, test/code_calc.code.c, test/code_error.code.c, test/error.tab.c:
549	regen
550
551	* output.c: generate yyerror() calls in output.c
552	This is for compatibility with bison, which passes the yylval to yyerror
553	when the %parse-param feature is used.
554
555	* skeleton.c, defs.h: generate yyerror() calls in output.c
556
557	* output.c: simplified a little, using putc_code() and putl_code()
558
559	* test/calc1.tab.h: regen
560
561	* reader.c:
562	improve ifdef for YYSTYPE union declaration (report by Clifford Yapp)
563
564	* reader.c:
565	accept underscore as a replacement for dash in command names, e.g.,
566	"%pure_parser" vs "%pure-parser".
567
568	* test/calc1.tab.c: regen
569
570	* output.c, reader.c:
571	also ifdef YYSTYPE declaration in the generated code (report by Clifford Yapp)
572
573	* package/debian/changelog, package/byacc.spec, VERSION: bump
574
5752010-11-24  Thomas E. Dickey  <tom@invisible-island.net>
576
577	* main.c, defs.h, symtab.c, error.c: reduce global variables
578
579	* package/debian/changelog, package/byacc.spec, VERSION: bump
580
581	* reader.c:
582	amend fix for Redhat #112617 to still call default_action_warning() for
583	empty rules (report by Bruce Cran).
584
5852010-11-22  Thomas E. Dickey  <tom@invisible-island.net>
586
587	* output.c:
588	add ifdef to guard against redefinition of YYSTYPE union (request by Clifford Yapp).
589
590	* test/calc1.tab.c: regen
591
592	* test/calc1.y: cleanup compiler warnings
593
594	* test/grammar.y: add "%expect"
595
596	* test/calc1.tab.h: regen
597
598	* test/calc1.output, test/calc1.tab.c, test/calc1.tab.h: RCS_BASE
599
600	* test/calc2.tab.c, test/calc3.tab.c: regen
601
602	* test/calc1.y:
603	advanced example from Steve Johnson's paper, uses unions
604
605	* test/calc3.y, test/calc2.y: init 'base', so examples can run
606
607	* test/ftp.tab.c, test/ftp.y: tweaks to compile with g++
608
609	* output.c: compensate for fix in reader.c
610
611	* reader.c:
612	add/use putc_both() and puts_both(), incidentally fixing a place where
613	a union copied to the union_file may be missing the end of the last line.
614
615	* package/debian/changelog, package/byacc.spec, VERSION: bump
616
6172010-09-28  Thomas E. Dickey  <tom@invisible-island.net>
618
619	* config.guess: update to 2010-09-24
620
6212010-09-10  Thomas E. Dickey  <tom@invisible-island.net>
622
623	* config.sub: update to 2010-09-11
624
6252010-06-10  Thomas E. Dickey  <tom@invisible-island.net>
626
627	* yacc.1, package/debian/changelog, package/byacc.spec, VERSION:
628	bump to 2010/06/10
629
6302010-06-09  Thomas E. Dickey  <tom@invisible-island.net>
631
632	* reader.c: free declarations in leak-testing code.
633
634	* main.c: close code_file if -r option used, for leak-testing
635
636	* defs.h, reader.c:
637	improve %lex-param / %parse-param implementation by allowing for arrays to
638	be passed as parameters, e.g., "int regs[26]".
639
640	* test/calc3.tab.c, test/calc3.y, test/calc3.output, test/calc3.tab.h, test/calc2.tab.c, test/calc2.y, test/calc2.tab.h, test/calc2.output:
641	RCS_BASE
642
643	* output.c:
644	improve %lex-param / %parse-param implementation by allowing for arrays to
645	be passed as parameters, e.g., "int regs[26]".
646
647	* test/calc.tab.c, test/calc.y:
648	test-cases and reference files for %lex-param / %parse-param
649
650	* makefile.in: add docs-rule, for html/pdf/txt form of manpage
651
652	* configure: regen
653
654	* aclocal.m4: add CF_XOPEN_SOURCE, etc.
655
656	* configure.in:
657	use CF_XOPEN_SOURCE check to ensure that strdup is in scope, e.g., for c89
658
659	* test/ftp.tab.c, test/ftp.y, reader.c, symtab.c, verbose.c, lr0.c, main.c, mkpar.c, output.c, defs.h, closure.c:
660	fix warnings from clang --analyze
661
6622010-06-08  Thomas E. Dickey  <tom@invisible-island.net>
663
664	* output.c: fix to build with c89, etc.
665
666	* reader.c: gcc warning
667
668	* test/ftp.tab.c, test/ftp.y, test/calc.tab.c, test/code_calc.code.c, test/code_error.code.c, test/code_error.y, test/code_calc.y, test/calc.y, test/pure_error.tab.c, test/error.tab.c, test/error.y, test/pure_error.y, test/pure_calc.tab.c, test/pure_calc.y:
669	modified test-cases to allow them to compile, to validate pure-parser changes.
670	updated reference files to match.
671
672	* output.c:
673	move call for output_stype() earlier since it is used in pure-parser declarations
674
675	* test/grammar.tab.c, test/grammar.y:
676	modified test-cases to allow them to compile, to validate pure-parser changes.
677	updated reference files to match.
678
679	* test/calc.tab.c, test/error.tab.c, test/ftp.tab.c, test/grammar.tab.c:
680	regen
681
682	* yacc.1: document %lex-param and %parse-param
683
684	* test/run_lint.sh, test/run_make.sh: RCS_BASE
685
686	* test/run_test.sh:
687	further modify to allow build-directory to be in a different location by
688	passing this directory's location as a parameter to the script.
689
690	* makefile.in:
691	add check_make and check_lint rules to help validate the generated files
692	in the test-directory
693
6942010-06-07  Thomas E. Dickey  <tom@invisible-island.net>
695
696	* test/pure_calc.tab.c, test/pure_error.tab.c: RCS_BASE
697
698	* test/run_test.sh:
699	provide for testing -r and -P options by checking if the ".y" filename
700	begins with "code_" or "pure_", respectively.
701
702	* test/code_error.code.c, test/code_error.tab.c, test/code_error.tab.h, test/code_calc.code.c, test/code_calc.tab.c, test/code_calc.tab.h, test/pure_calc.output, test/pure_calc.tab.h, test/pure_error.output, test/pure_error.tab.h, test/code_calc.output, test/code_error.output:
703	RCS_BASE
704
705	* test/error.tab.c, test/ftp.tab.c, test/grammar.tab.c: regen
706
707	* test/run_test.sh:
708	changes to support running "make check" in a separate build-tree
709
710	* main.c: add "-P" to usage message
711
712	* reader.c: use UCH() macro to hide casts.
713
7142010-06-07  Andres.Mejia
715
716	* main.c, output.c, reader.c, defs.h, skeleton.c:
717	Fix the output order of the generated parse code file.  This allows for
718	the use of YYPARSE_PARAM, by having the output that checks for
719	YYPARSE_PARAM to be defined come after the C code block in the
720	definitions section of a yacc file.
721
722	Implement support for YYLEX_PARAM, similar to bison.  This is useful for
723	support for building reentrant lexers with flex.
724
725	Fix a compatibility issue with bison's pure-parser option.  Bison
726	defines yylex as sending at least one parameter, &yylval, as the first
727	parameter and doesn't seem to have an easy way to remove that parameter.
728	This on the other hand is rather convenient to support saving to yylval
729	from flex when building reentrant lexers and parsers.
730
731	Add support for the %parse-param and %lex-param directives used in
732	bison.  This change bears some similarity to NetBSD's changes to byacc
733	at http://www.mail-archive.com/source-changes-full@netbsd.org/msg08143.html
734
735	Bison allows for POSIX yacc emulation via a yacc directive in the yacc
736	file, and also via a command line switch.  Implement this feature as a
737	no-op for byacc, since byacc is designed to be POSIX yacc compatible
738	anyway.  This allows for better compatibility with yacc sources written
739	for bison.
740
7412010-06-07  Thomas E. Dickey  <tom@invisible-island.net>
742
743	* VERSION: bump to 2010/06/07
744
7452010-06-06  Thomas E. Dickey  <tom@invisible-island.net>
746
747	* test/calc.tab.c, configure: regen
748
749	* skeleton.c:
750	move #include's down into the generated code, to allow user-defined code
751	to override feature definitions, particularly with stdlib.h (request by
752	Marcus Kool).
753
754	* lr0.c, error.c, reader.c, defs.h:
755	strict gcc 3.4.6 warnings on 64-bit platform
756
757	* aclocal.m4, configure.in: add check for lint
758
759	* makefile.in: add lint rule
760
761	* defs.h, closure.c, lr0.c, warshall.c, main.c:
762	fix gcc warnings, mostly for 64-bit platform
763
764	* aclocal.m4:
765	add macros for checking ctags/etags, e.g., to work with NetBSD pkgsrc
766
767	* makefile.in: add etags/TAGS if available
768
769	* configure.in: add configure check for actual ctags and etags programs
770
771	* package/debian/copyright: add copyright notices for non-PD files
772
773	* package/debian/changelog:
774	incorporated scripts in upstream to use for test-builds
775
776	* makefile.in: drop mkdirs.sh, just use "mkdir -p"
777
778	* AUTHORS: nicknames for some contributors (see CHANGES for details)
779
780	* package/byacc.spec: RPM file for byacc
781
782	* VERSION: bump to 2010/06/06
783
784	* aclocal.m4: add copyright notice, from "my-autoconf" macros
785		http://invisible-island.net/autoconf/autoconf.html
786
787	* package/RCS, package/debian/RCS, package/debian/source/RCS, package/pkgsrc/RCS:
788	PERMIT FILE
789
790	* aclocal.m4: resync with my-autoconf.  summary of changes:
791		a) CF_ADD_CFLAGS, etc., improve quoting of ifelse() parameter
792		b) CF_DISABLE_ECHO, change indent-convention for substituted makefile
793		c) CF_GCC_VERSION, ignore stderr
794		d) CF_GCC_WARNINGS, adjust options to work with c89 wrapper of gcc
795
7962010-04-20  Thomas E. Dickey  <tom@invisible-island.net>
797
798	* package/debian/changelog, package/debian/compat, package/debian/control, package/debian/copyright, package/debian/docs, package/debian/postinst, package/debian/prerm, package/debian/rules, package/debian/watch:
799	scripts from Debian package
800
8012010-02-16  Thomas E. Dickey  <tom@invisible-island.net>
802
803	* yacc.1: document -P and bison-extensions
804
805	* test/ftp.tab.c, test/grammar.tab.c, test/calc.tab.c, test/error.tab.c:
806	regen
807
808	* output.c: implement %pure-parser
809
810	* skeleton.c:
811	implement %pure-parser, like bison.  To help with this, changed the stack
812	variables, putting them into a struct.
813
814	* reader.c: implement %pure-parser
815
816	* defs.h: modified skeleton to support %pure-parser feature
817
818	* main.c: add -P option to set %pure-parser
819
820	* output.c:
821	make -r and -p options work together.  The -r option splits the generated
822	parser into code/table files; for this case we cannot use static data.
823	Also, we have to repeat the #define's used for prefix (-p) as well as the
824	redeclaration of yyparse().  Finally, allow any of the prefixed names to
825	be overridden, e.g., by passing a -D option to the compiler.  Make that
826	a little more readable by putting a blank line before each chunk.
827
828	* defs.h: add definitions for %pure-parser
829
830	* skeleton.c:
831	put blank line before/after the redeclaration of yyparse()
832
833	* output.c: allow for other program redefining yylex()
834
835	* skeleton.c:
836	split-off xdecls[] array, to move declaration of yyparse() after #define's
837
838	* defs.h: split-out xdecls[]
839
840	* VERSION: bump
841
842	* configure: regen
843
844	* aclocal.m4: add CF_REMOVE_DEFINE, needed by CF_ADD_CFLAGS
845
846	* aclocal.m4:
847	resync with my-autoconf CF_ADD_CFLAGS and CF_DISABLE_ECHO changes.
848
8492010-02-16  Ostap.Cherkashi
850
851	* skeleton.c: fix a memory leak in the generated skeleton
852
8532010-01-01  Thomas E. Dickey  <tom@invisible-island.net>
854
855	* package/debian/source/format: scripts from Debian package
856
8572009-12-31  Thomas E. Dickey  <tom@invisible-island.net>
858
859	* config.guess: update to 2009-12-30
860
861	* config.sub: update to 2009-12-31
862
8632009-10-27  Thomas E. Dickey  <tom@invisible-island.net>
864
865	* VERSION: 20091027
866
867	* output.c, mkpar.c, defs.h, lalr.c, closure.c, graph.c, lr0.c, verbose.c, main.c, reader.c:
868	strict compiler warnings
869
8702009-10-26  Thomas E. Dickey  <tom@invisible-island.net>
871
872	* test/ftp.tab.c, test/grammar.tab.c, test/calc.tab.c, test/error.tab.c:
873	resync
874
875	* main.c, defs.h: introduce some typedefs for portability, etc.
876
877	* makefile.in:
878	don't remove "*.log" in mostlyclean rule since it interferes with regression
879	script.
880
881	* configure: regen
882
883	* aclocal.m4: resync with my-autoconf
884
8852009-08-25  Thomas E. Dickey  <tom@invisible-island.net>
886
887	* config.guess, config.sub: update to 2009-08-19
888
8892009-02-21  Thomas E. Dickey  <tom@invisible-island.net>
890
891	* VERSION: bump
892
893	* output.c: restore "yylval" symbol, omitted in cleanup on 2008/8/25
894
8952008-12-26  Thomas E. Dickey  <tom@invisible-island.net>
896
897	* configure: regen with autoconf-2.52 (patched)
898
8992008-12-25  Thomas E. Dickey  <tom@invisible-island.net>
900
901	* test/error.tab.c, test/ftp.tab.c, test/grammar.tab.c, test/calc.tab.c:
902	regenerated
903
9042008-12-24  Thomas E. Dickey  <tom@invisible-island.net>
905
906	* VERSION: bump
907
908	* skeleton.c:
909	remove ifdef-lint from goto yyerrlab, to quiet gcc warning
910
9112008-11-26  Thomas E. Dickey  <tom@invisible-island.net>
912
913	* verbose.c, main.c, defs.h, mkpar.c, reader.c:
914	completed implementation of "%expect" (report by Perry E. Metzger).
915	add "%expect-rr", which is (unlike bison) allowable in LALR parsers.
916
9172008-11-24  Thomas E. Dickey  <tom@invisible-island.net>
918
919	* closure.c, defs.h, error.c, graph.c, lalr.c, lr0.c, main.c, mkpar.c, output.c, reader.c, skeleton.c, symtab.c, verbose.c, warshall.c:
920	change indent-style (request by Perry E. Metzger)
921
9222008-08-27  Thomas E. Dickey  <tom@invisible-island.net>
923
924	* test/calc.tab.c, test/error.tab.c, test/ftp.tab.c, test/grammar.tab.c:
925	better implementation of YYPARSE_PARAM, using YYPARSE_DECL() macro
926
927	* VERSION: bump
928
929	* skeleton.c:
930	better implementation of YYPARSE_PARAM, using YYPARSE_DECL() macro
931
932	* test/calc.tab.c, test/error.tab.c, test/ftp.tab.c, test/grammar.tab.c, skeleton.c:
933	change YYRECOVERING to YYRECOVERING(), for compatibility with other yacc's.
934
935	* configure: regen'd
936
937	* configure.in: add -Wwrite-strings to warnings
938
939	* test/ftp.tab.c, test/grammar.tab.c, test/calc.tab.c, test/error.tab.c:
940	add YYPARSE_PARAM and YYPARSE_PARAM_TYPE
941
942	* skeleton.c:
943	add YYPARSE_PARAM (bison) and YYPARSE_PARAM_TYPE (FreeBSD) features.
944
945	* main.c, defs.h, output.c, skeleton.c, symtab.c, error.c, reader.c:
946	fixes for gcc -Wwrite-strings
947
948	* test/calc.tab.c, test/error.tab.c, test/ftp.tab.c, test/grammar.tab.c:
949	generate the tables as static-const (this is an interface change)
950
951	* output.c: realign columns in start_table()
952
953	* output.c:
954	generate the tables as static-const (this is an interface change)
955
956	* output.c: reorder functions to eliminate forward-references
957
958	* test/calc.tab.c, test/error.tab.c, test/ftp.tab.c, test/grammar.tab.c:
959	remove 'register' keywords
960
9612008-08-26  Thomas E. Dickey  <tom@invisible-island.net>
962
963	* warshall.c, verbose.c, symtab.c, skeleton.c, reader.c, output.c, mkpar.c, main.c, lr0.c, lalr.c, graph.c, error.c, closure.c:
964	remove 'register' keywords
965
9662008-08-25  Thomas E. Dickey  <tom@invisible-island.net>
967
968	* test/ftp.tab.c: regen'd
969
970	* reader.c:
971	improve the left-curly fix by testing after blanks, to avoid having a
972	" {" at the beginning of a line.
973
974	* test/error.tab.c, test/grammar.tab.c: regen'd
975
976	* output.c:
977	move the remaining newline-counting into write_XXX functions.
978
979	* test/calc.tab.c: regen'd
980
981	* output.c:
982	simplify part of the output_file formatting using new functions, e.g.,
983	start_int_table(), output_newline().
984
985	* reader.c:
986	modify copy_action() to indent the first character, it if is is left-curly
987	brace.  That makes the output look more like the original, as well as makes
988	it simpler to edit (not confuse editors which look for a left-curly in the
989	first column as if it were the beginning of a function).
990
991	* skeleton.c: minor fixes to avoid gcc -Wconversion warnings
992
993	* output.c: align the #define's produced for "-p" option
994
995	* test/run_test.sh: use the "-p" option for better coverage.
996
997	* output.c: simplify output_prefix() with new define_prefixed()
998
999	* skeleton.c: include string.h, for memset()
1000	change stack size to unsigned to fix gcc -Wconversion warnings.
1001
1002	* VERSION: bump to 2008/8/25
1003
1004	* makefile.in: add dependency on VERSION file.
1005
10062008-08-24  Thomas E. Dickey  <tom@invisible-island.net>
1007
1008	* VERSION: bump
1009
1010	* lalr.c: improved memory-leak checking by freeing data in includes[]
1011
1012	* test/error.tab.c, test/ftp.tab.c, test/grammar.tab.c, test/calc.tab.c:
1013	update to match skeleton-change
1014
1015	* configure: regen'd
1016
1017	* skeleton.c: Add fix for stack discussed
1018		http://undeadly.org/cgi?action=article&sid=20080708155228
1019	and applied
1020		http://www.openbsd.org/cgi-bin/cvsweb/src/usr.bin/yacc/skeleton.c.diff?r1=1.28&r2=1.29
1021
1022	* aclocal.m4: resync with my-autoconf (no major changes)
1023
10242008-07-24  Thomas E. Dickey  <tom@invisible-island.net>
1025
1026	* package/pkgsrc/Makefile, package/pkgsrc/distinfo:
1027	scripts from NetBSD pkgsrc, for test-builds
1028
10292008-03-14  Thomas E. Dickey  <tom@invisible-island.net>
1030
1031	* config.sub: update to 2008-03-08
1032
1033	* config.guess: update to 2008-03-12
1034
10352007-05-09  Thomas E. Dickey  <tom@invisible-island.net>
1036
1037	* main.c: close graph, verbose files if opened, on exit.
1038
1039	* main.c:
1040	audit memory leaks - valgrind reported some memory still in use on exit.
1041
1042	* lalr.c, output.c, reader.c, mkpar.c, lr0.c:
1043	add hook for auditing memory leaks
1044
1045	* defs.h: add hooks for auditing memory leaks
1046
1047	* configure: regen'd
1048
1049	* configure.in:
1050	use CF_DISABLE_LEAKS, which combines --disable-leaks, --with-valgrind,
1051	--with-dbmalloc and --with-dmalloc
1052
1053	* aclocal.m4: add CF_DISABLE_LEAKS and CF_WITH_VALGRIND
1054
1055	* aclocal.m4: improve version-checking in CF_GCC_VERSION
1056	rework dbmalloc/dmalloc options using CF_NO_LEAKS_OPTION macro
1057
1058	* VERSION: 2007/5/9
1059
1060	* main.c: file_prefix did not always have a trailing null.
1061
10622007-03-25  Thomas E. Dickey  <tom@invisible-island.net>
1063
1064	* mkdirs.sh: improved version for "make -j"
1065
10662006-12-22  Thomas E. Dickey  <tom@invisible-island.net>
1067
1068	* config.guess: update to 2006/12/22
1069
10702006-12-08  Thomas E. Dickey  <tom@invisible-island.net>
1071
1072	* config.sub: update to 2006/12/08
1073
10742005-08-13  Thomas E. Dickey  <tom@invisible-island.net>
1075
1076	* main.c: add -V to usage message
1077
1078	* makefile.in: remove -t option from ctags
1079
1080	* VERSION: 2005/8/13
1081
10822005-08-13  schmitz
1083
1084	* main.c: Sylvain Schmitz:
1085	modify the '-o' option to work like bison's, which sets the file-prefix.
1086
10872005-08-13  Matt.Kraai
1088
1089	* output.c:
1090	Debian #322858 (don't close union_file, which contained data).
1091	This feature is used in groff.
1092
10932005-08-13  Thomas E. Dickey  <tom@invisible-island.net>
1094
1095	* configure: regenerated
1096
1097	* aclocal.m4: improve checks for Intel compiler warnings
1098
10992005-06-25  Thomas E. Dickey  <tom@invisible-island.net>
1100
1101	* config.sub: update to 2005/6/2
1102
1103	* config.guess: update to 2005/5/27
1104
11052005-05-05  Thomas E. Dickey  <tom@invisible-island.net>
1106
1107	* defs.h: add a fallback for GCC_UNUSED
1108
11092005-05-04  Thomas E. Dickey  <tom@invisible-island.net>
1110
1111	* makefile.in: add "." to include-path to pickup config.h
1112
1113	* reader.c:
1114	apply fix suggested by Steve Dum for end_rule() in Redhat Bugzilla #112617.
1115
1116	* output.c:
1117	correct a limit check in pack_vector() - report/analysis by William Evans
1118
1119	* main.c:
1120	exit after printing version.  Otherwise "yacc -V" will exit with an erro
1121	after printing the usage message.
1122
1123	* test/calc.tab.c, test/error.tab.c, test/ftp.tab.c, test/grammar.tab.c:
1124	regenerated after skeleton-changes
1125
1126	* skeleton.c: replace a few -1's with YYEMPTY
1127
1128	* skeleton.c:
1129	delete yynewerror (no one uses it any more, and it just makes compiler warnings)
1130
1131	* skeleton.c: adapt yygrowstack() and related definitions from FreeBSD
1132
1133	* test/run_test.sh:
1134	filter out lines with YYPATCH, since that will change with each update
1135
1136	* yacc.1: add -V option
1137
1138	* main.c: add -V option to print the version.
1139	simplify option-parsing by moving the duplicate logic for setting flags into
1140	new function setflag().
1141
1142	* skeleton.c:
1143	move the actual definition of YYMAJOR and YYMINOR to defs.h (as numbers).
1144	add YYPATCH here so it can be tested by applications.
1145
1146	* defs.h:
1147	add macros to define VERSION in terms of the (numeric) YYMAJOR, YYMINOR and
1148	YYPATCH symbols.
1149
1150	* lalr.c, lr0.c, mkpar.c, defs.h, closure.c, warshall.c, output.c, verbose.c, graph.c, reader.c, main.c, symtab.c:
1151	reduce externs by making static the procedures that are not referenced outside
1152	the module in which they are defined.
1153
1154	* makefile.in:
1155	the VERSION file holds the patch-date.  Define YYPATCH, so this will be
1156	compiled into the skeleton.
1157
1158	* VERSION: patch-level for byacc
1159
1160	* main.c:
1161	add "-o" to usage message.  It is too long for a single line; rewrite usage()
1162	to show one option per line.
1163
11642005-05-03  Thomas E. Dickey  <tom@invisible-island.net>
1165
1166	* main.c: add -o option, to work with scripts that assume bison.
1167	simplify create_file_names() with a macro.
1168	simplify done() with a macro.
1169	adapt fix from FreeBSD for signal race, e.g., if done() is interrupted by
1170	onintr(), do not flush output via exit(), but use _exit() instead.
1171
1172	* defs.h: remove unnecessary externs for main.c
1173
1174	* yacc.1: add -o option
1175
1176	* graph.c: remove unused parameter
1177
1178	* mkpar.c, defs.h, reader.c:
1179	add support for "%expect", a bison feature from FreeBSD sources
1180
1181	* lr0.c, reader.c, main.c, skeleton.c, graph.c, symtab.c, closure.c, mkpar.c, lalr.c, error.c, warshall.c, verbose.c, output.c:
1182	indent'd
1183
1184	* configure: regenerated for 2005/5/5
1185
1186	* aclocal.m4: miscellaneous updates (adds CF_INTEL_COMPILER)
1187
11882005-04-27  schmitz
1189
1190	* defs.h, graph.c, lr0.c, main.c, makefile.in, reader.c, yacc.1:
1191	Sylvain Schmitz <schmitz@i3s.unice.fr>:
1192	add graphical output of the LALR(1) automaton for graphviz,
1193	associated with command-line option `-g'
1194
11952005-04-16  Thomas E. Dickey  <tom@invisible-island.net>
1196
1197	* config.sub: update to 2005/2/10
1198
1199	* config.guess: update to 2005/3/24
1200
12012005-04-13  Thomas E. Dickey  <tom@invisible-island.net>
1202
1203	* package/pkgsrc/PLIST: scripts from NetBSD pkgsrc, for test-builds
1204
12052005-03-21  Thomas E. Dickey  <tom@invisible-island.net>
1206
1207	* package/pkgsrc/DESCR: scripts from NetBSD pkgsrc, for test-builds
1208
12092004-03-28  Thomas E. Dickey  <tom@invisible-island.net>
1210
1211	* test/calc.tab.c, test/error.tab.c, test/ftp.tab.c, test/grammar.tab.c:
1212	updates due to adding yyparse() prototype
1213
1214	* configure: RCS_BASE
1215
1216	* configure.in:
1217	add AC_ARG_PROGRAM to make --program-prefix, etc., work.
1218
1219	* makefile.in: first cut of script to support --program-prefix
1220
1221	* configure.in:
1222	reorder AC_INIT/AC_CONFIG_HEADER to make this "work" with autoconf 2.52
1223
1224	* makefile.in: modify so DESTDIR works
1225
1226	* makefile.in: use EXEEXT and OBJEXT
1227
1228	* configure.in: use CF_PROG_EXT
1229	generate a config.h
1230
1231	* defs.h: make this use the generated config.h
1232
1233	* skeleton.c: add a forward-reference for yyparse()
1234
1235	* aclocal.m4: add CF_CHECK_CACHE, needed for CF_PROG_EXT
1236
1237	* yacc.1: remove the discussion of TMPDIR since it is obsolete
1238
1239	* skeleton.c: fix a couple of minor compiler-warnings in the skeleton
1240
1241	* defs.h: remove action_file_name, etc., since we use tmpfile() now.
1242
1243	* main.c:
1244	use tmpfile() for opening the working files.  This quiets a warning
1245	advising the use of mkstemp().
1246
1247	* output.c:
1248	Do not close temporary-files here, since they are opened with tmpfile().
1249	Just rewind them, and they're ready to read back the data stored in them.
1250
1251	* test/grammar.output, test/grammar.tab.c, test/grammar.tab.h: RCS_BASE
1252
1253	* makefile.in: turn on "make check" rule
1254
1255	* test/calc.output, test/run_test.sh, test/calc.tab.h: RCS_BASE
1256
1257	* test/ftp.tab.c: yyparse() is now yyparse(void)
1258
1259	* test/calc.tab.c: RCS_BASE
1260
1261	* test/error.tab.c: yyparse() is now yyparse(void)
1262
1263	* test/README: RCS_BASE
1264
1265	* yacc.1: various typography fixes prompted by Debian #100947
1266
1267	* aclocal.m4, makefile.in, configure.in: RCS_BASE
1268
1269	* README: updated to note that this is not the original
1270
12712004-03-24  Thomas E. Dickey  <tom@invisible-island.net>
1272
1273	* test/grammar.y: RCS_BASE
1274
12752004-02-23  Thomas E. Dickey  <tom@invisible-island.net>
1276
1277	* config.sub: RCS_BASE
1278
12792004-02-17  Thomas E. Dickey  <tom@invisible-island.net>
1280
1281	* config.guess: RCS_BASE
1282
12832003-11-29  Thomas E. Dickey  <tom@invisible-island.net>
1284
1285	* install-sh: improved quoting
1286
12872002-06-29  Thomas E. Dickey  <tom@invisible-island.net>
1288
1289	* mkdirs.sh:
1290	don't use character range, since some locales don't work as expected
1291
12922001-06-22  Thomas E. Dickey  <tom@invisible-island.net>
1293
1294	* install-sh: RCS_BASE
1295
12962000-11-20  Thomas E. Dickey  <tom@invisible-island.net>
1297
1298	* test/calc.y: RCS_BASE
1299
1300	* test/code_calc.y, test/pure_calc.y: copy of calc.y
1301
1302	* vmsbuild.com: original version
1303
13042000-02-23  Thomas E. Dickey  <dickey@invisible-island.net>
1305
1306	* test/RCS, RCS: PERMIT FILE
1307
13082000-02-14  Thomas E. Dickey  <tom@invisible-island.net>
1309
1310	* main.c: fix for VMS port - making pathname for temp-file
1311
1312	* descrip.mms: original version
1313
13142000-02-13  Thomas E. Dickey  <tom@invisible-island.net>
1315
1316	* defs.h, verbose.c, reader.c, main.c, skeleton.c, warshall.c, symtab.c, closure.c, mkpar.c, lalr.c, lr0.c, output.c, error.c:
1317	ansify
1318
13191999-11-30  Thomas E. Dickey  <tom@invisible-island.net>
1320
1321	* mkdirs.sh: RCS_BASE
1322
13231995-01-01  Thomas E. Dickey  <tom@invisible-island.net>
1324
1325	* config_h.in: RCS_BASE
1326
13271993-12-23  unknown
1328
1329	* README.DOS, main.c: MSDOS-port
1330
13311993-12-22  unknown
1332
1333	* reader.c, defs.h: MSDOS-port
1334
13351993-03-02  unknown
1336
1337	* README: original version
1338
13391993-02-22  unknown
1340
1341	* test/ftp.output, test/ftp.tab.c, test/ftp.tab.h, test/error.output, test/error.tab.c, test/error.tab.h:
1342	RCS_BASE
1343
1344	* skeleton.c, warshall.c, main.c, output.c, reader.c, closure.c, NOTES:
1345	original version
1346
13471992-10-12  unknown
1348
1349	* yacc.1: original version
1350
13511992-10-11  unknown
1352
1353	* defs.h: original version
1354
13551991-01-20  unknown
1356
1357	* mkpar.c, verbose.c: original version
1358
13591991-01-14  unknown
1360
1361	* lr0.c, Makefile, Makefile.old: original version
1362
13631990-07-16  unknown
1364
1365	* NEW_FEATURES: original version
1366
13671990-06-03  unknown
1368
1369	* ACKNOWLEDGEMENTS: original version
1370
13711990-02-05  unknown
1372
1373	* symtab.c, lalr.c, error.c: original version
1374
13751990-01-16  Thomas E. Dickey  <tom@invisible-island.net>
1376
1377	* test/code_error.y, test/pure_error.y: RCS_BASE
1378
13791990-01-16  unknown
1380
1381	* test/error.y: RCS_BASE
1382
13831989-11-22  unknown
1384
1385	* NO_WARRANTY: original version
1386
13871989-09-23  unknown
1388
1389	* test/ftp.y: RCS_BASE
1390
1391