xref: /minix3/external/bsd/byacc/dist/CHANGES (revision 9152e1c5a7225885973292842eaa6ab5121d1a38)
12011-09-08  Thomas E. Dickey  <tom@invisible-island.net>
2
3	* package/debian/changelog, package/byacc.spec, VERSION: bump
4
5	* output.c:
6	fix some more interaction between -i and -d flags to ensure YYERRCODE
7	and YYSTYPE are declared, tested with cproto.
8
92011-09-07  Thomas E. Dickey  <tom@invisible-island.net>
10
11	* yacc.1: document "-i" option.
12
13	* package/debian/changelog, package/byacc.spec, VERSION: bump
14
15	* output.c: fix an interaction between -i and -d
16
17	* 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:
18	regen - changes for "-i" option move the global/impure variables near the
19	macros that may add a prefix, etc.
20
21	* skeleton.c, output.c, defs.h: changes to support "-i" option.
22
232011-09-06  Thomas E. Dickey  <tom@invisible-island.net>
24
25	* reader.c: pass explicit file-pointer to write_section()
26
27	* main.c:
28	add "-i" option, to generate interface-file (suggested by Denis M. Wilson)
29
302011-09-05  Thomas E. Dickey  <tom@invisible-island.net>
31
32	* configure: regen
33
34	* aclocal.m4:
35	resync with my-autoconf: CF_ANSI_CC_CHECK (check for $CFLAGS in $CC)
36	and CF_XOPEN_SOURCE (update aix, cygwin and netbsd checks)
37
38	* defs.h, error.c, reader.c:
39	add check for missing "}" on %parse-param and %lex-param lines (report by Denis M Wilson)
40
412011-04-01  Thomas E. Dickey  <tom@invisible-island.net>
42
43	* config.sub: 2011-04-01
44
452011-02-02  Thomas E. Dickey  <tom@invisible-island.net>
46
47	* config.guess: 2011-01-01
48
492010-12-29  Thomas E. Dickey  <tom@invisible-island.net>
50
51	* defs.h, skeleton.c:
52	add const qualifier to skeleton data, per NetBSD changes (report by Christos Zoulas)
53
54	* defs.h:
55	mark all of the error-functions as non-returning (report by Christos Zoulas)
56
57	* 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:
58	regen
59
60	* skeleton.c:
61	use only realloc() rather than realloc+malloc, agree that systems needing this
62	are very rare (prompted by NetBSD change).
63
64	* test/ftp.tab.c: regen
65
662010-12-29  Christos.Zoulas
67
68	* test/ftp.y:
69	improve example, which was stuck in 19XX and assumed file sizes were longs.
70
712010-12-29  Thomas E. Dickey  <tom@invisible-island.net>
72
73	* 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:
74	regen
75
76	* 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:
77	use byacc's YYLEX_DECL/YYERROR_DECL symbols to prototype yylex/yyerror
78
79	* skeleton.c:
80	remove explicit prototype for yylex() via YYLEX_DECL() macro, since that
81	would prevent declaring yylex() static (request by Christos Zoulas).
82
83	* test/calc2.tab.c, test/calc3.tab.c: regen
84
852010-12-29  Christos.Zoulas
86
87	* output.c: correct definition for YYERROR_DECL()
88
892010-12-29  Thomas E. Dickey  <tom@invisible-island.net>
90
91	* package/debian/changelog, package/byacc.spec, VERSION: bump
92
932010-12-26  Thomas E. Dickey  <tom@invisible-island.net>
94
95	* defs.h, main.c:
96	change return-type of allocate() to avoid warnings of alignment problems
97
98	* main.c: Solaris declares chmod() in <sys/stat.h>
99
100	* configure: regen
101
102	* main.c: ifdef'd use of fcntl.h
103
104	* configure.in: add configure checks for fcntl.h, atexit and mkstemp
105
106	* main.c: for cases where mkstemp() is not available, use tempnam/open
107
108	* aclocal.m4: add CF_MKSTEMP
109
110	* aclocal.m4:
111	improve quoting, deprecate ${name-value} in favor of standard ${name:-value}
112
1132010-12-25  Thomas E. Dickey  <tom@invisible-island.net>
114
115	* main.c:
116	start revising use of tmpfile(), to make this work with MinGW.  Start by
117	implementing a mkstemp() alternative - noting that mkstemp() also is broken
118	for MinGW.
119
120	* package/debian/changelog, package/byacc.spec, VERSION: bump
121
1222010-11-27  Thomas E. Dickey  <tom@invisible-island.net>
123
124	* package/byacc.spec, package/debian/changelog, VERSION: bump
125
126	* test/calc2.tab.c, test/calc3.tab.c: regen
127
128	* output.c:
129	corrected use of %parse-param value in yyerror(); it doesn't use &yylval
130	(report by Clifford Yapp)
131
1322010-11-26  Thomas E. Dickey  <tom@invisible-island.net>
133
134	* skeleton.c: typo
135
136	* output.c:
137	correct line-numbering when "-r" option is used; the 'outline' variable
138	should only be incremented when writing to the code-file.
139
140	* test/code_calc.code.c, test/code_error.code.c: regen
141
142	* yacc.1: bump date
143
144	* yacc.1: comment on -b option vs -r
145
146	* 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:
147	regen
148
149	* output.c:
150	improve on YYERROR_DECL(), adding dummy params which can be used for the
151	actual function declaration.  Also add YYERROR_CALL().  The two macros
152	simplify maintaining sets of grammars which may/may not be pure.
153
154	* 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:
155	regen
156
157	* output.c: generate yyerror() calls in output.c
158	This is for compatibility with bison, which passes the yylval to yyerror
159	when the %parse-param feature is used.
160
161	* skeleton.c, defs.h: generate yyerror() calls in output.c
162
163	* output.c: simplified a little, using putc_code() and putl_code()
164
165	* test/calc1.tab.h: regen
166
167	* reader.c:
168	improve ifdef for YYSTYPE union declaration (report by Clifford Yapp)
169
170	* reader.c:
171	accept underscore as a replacement for dash in command names, e.g.,
172	"%pure_parser" vs "%pure-parser".
173
174	* test/calc1.tab.c: regen
175
176	* output.c, reader.c:
177	also ifdef YYSTYPE declaration in the generated code (report by Clifford Yapp)
178
179	* package/debian/changelog, package/byacc.spec, VERSION: bump
180
1812010-11-24  Thomas E. Dickey  <tom@invisible-island.net>
182
183	* main.c, defs.h, symtab.c, error.c: reduce global variables
184
185	* package/debian/changelog, package/byacc.spec, VERSION: bump
186
187	* reader.c:
188	amend fix for Redhat #112617 to still call default_action_warning() for
189	empty rules (report by Bruce Cran).
190
1912010-11-22  Thomas E. Dickey  <tom@invisible-island.net>
192
193	* output.c:
194	add ifdef to guard against redefinition of YYSTYPE union (request by Clifford Yapp).
195
196	* test/calc1.tab.c: regen
197
198	* test/calc1.y: cleanup compiler warnings
199
200	* test/grammar.y: add "%expect"
201
202	* test/calc1.tab.h: regen
203
204	* test/calc1.output, test/calc1.tab.c, test/calc1.tab.h: RCS_BASE
205
206	* test/calc2.tab.c, test/calc3.tab.c: regen
207
208	* test/calc1.y:
209	advanced example from Steve Johnson's paper, uses unions
210
211	* test/calc3.y, test/calc2.y: init 'base', so examples can run
212
213	* test/ftp.tab.c, test/ftp.y: tweaks to compile with g++
214
215	* output.c: compensate for fix in reader.c
216
217	* reader.c:
218	add/use putc_both() and puts_both(), incidentally fixing a place where
219	a union copied to the union_file may be missing the end of the last line.
220
221	* package/debian/changelog, package/byacc.spec, VERSION: bump
222
2232010-09-28  Thomas E. Dickey  <tom@invisible-island.net>
224
225	* config.guess: 2010-09-24
226
2272010-09-10  Thomas E. Dickey  <tom@invisible-island.net>
228
229	* config.sub: 2010-09-11
230
2312010-06-10  Thomas E. Dickey  <tom@invisible-island.net>
232
233	* yacc.1, package/debian/changelog, package/byacc.spec, VERSION:
234	bump to 2010/06/10
235
2362010-06-09  Thomas E. Dickey  <tom@invisible-island.net>
237
238	* reader.c: free declarations in leak-testing code.
239
240	* main.c: close code_file if -r option used, for leak-testing
241
242	* defs.h, reader.c:
243	improve %lex-param / %parse-param implementation by allowing for arrays to
244	be passed as parameters, e.g., "int regs[26]".
245
246	* 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:
247	RCS_BASE
248
249	* output.c:
250	improve %lex-param / %parse-param implementation by allowing for arrays to
251	be passed as parameters, e.g., "int regs[26]".
252
253	* test/calc.tab.c, test/calc.y:
254	test-cases and reference files for %lex-param / %parse-param
255
256	* makefile.in: add docs-rule, for html/pdf/txt form of manpage
257
258	* configure: regen
259
260	* aclocal.m4: add CF_XOPEN_SOURCE, etc.
261
262	* configure.in:
263	use CF_XOPEN_SOURCE check to ensure that strdup is in scope, e.g., for c89
264
265	* 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:
266	fix warnings from clang --analyze
267
2682010-06-08  Thomas E. Dickey  <tom@invisible-island.net>
269
270	* output.c: fix to build with c89, etc.
271
272	* reader.c: gcc warning
273
274	* 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:
275	modified test-cases to allow them to compile, to validate pure-parser changes.
276	updated reference files to match.
277
278	* output.c:
279	move call for output_stype() earlier since it is used in pure-parser declarations
280
281	* test/grammar.tab.c, test/grammar.y:
282	modified test-cases to allow them to compile, to validate pure-parser changes.
283	updated reference files to match.
284
285	* test/calc.tab.c, test/error.tab.c, test/ftp.tab.c, test/grammar.tab.c:
286	regen
287
288	* yacc.1: document %lex-param and %parse-param
289
290	* test/run_lint.sh, test/run_make.sh: RCS_BASE
291
292	* test/run_test.sh:
293	further modify to allow build-directory to be in a different location by
294	passing this directory's location as a parameter to the script.
295
296	* makefile.in:
297	add check_make and check_lint rules to help validate the generated files
298	in the test-directory
299
3002010-06-07  Thomas E. Dickey  <tom@invisible-island.net>
301
302	* test/pure_calc.tab.c, test/pure_error.tab.c: RCS_BASE
303
304	* test/run_test.sh:
305	provide for testing -r and -P options by checking if the ".y" filename
306	begins with "code_" or "pure_", respectively.
307
308	* 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:
309	RCS_BASE
310
311	* test/error.tab.c, test/ftp.tab.c, test/grammar.tab.c: regen
312
313	* test/run_test.sh:
314	changes to support running "make check" in a separate build-tree
315
316	* main.c: add "-P" to usage message
317
318	* reader.c: use UCH() macro to hide casts.
319
3202010-06-07  Andres.Mejia
321
322	* main.c, output.c, reader.c, defs.h, skeleton.c:
323	Fix the output order of the generated parse code file.  This allows for
324	the use of YYPARSE_PARAM, by having the output that checks for
325	YYPARSE_PARAM to be defined come after the C code block in the
326	definitions section of a yacc file.
327
328	Implement support for YYLEX_PARAM, similar to bison.  This is useful for
329	support for building reentrant lexers with flex.
330
331	Fix a compatibility issue with bison's pure-parser option.  Bison
332	defines yylex as sending at least one parameter, &yylval, as the first
333	parameter and doesn't seem to have an easy way to remove that parameter.
334	This on the other hand is rather convenient to support saving to yylval
335	from flex when building reentrant lexers and parsers.
336
337	Add support for the %parse-param and %lex-param directives used in
338	bison.  This change bears some similarity to NetBSD's changes to byacc
339	at http://www.mail-archive.com/source-changes-full@netbsd.org/msg08143.html
340
341	Bison allows for POSIX yacc emulation via a yacc directive in the yacc
342	file, and also via a command line switch.  Implement this feature as a
343	no-op for byacc, since byacc is designed to be POSIX yacc compatible
344	anyway.  This allows for better compatibility with yacc sources written
345	for bison.
346
3472010-06-07  Thomas E. Dickey  <tom@invisible-island.net>
348
349	* VERSION: bump to 2010/06/07
350
3512010-06-06  Thomas E. Dickey  <tom@invisible-island.net>
352
353	* test/calc.tab.c, configure: regen
354
355	* skeleton.c:
356	move #include's down into the generated code, to allow user-defined code
357	to override feature definitions, particularly with stdlib.h (request by
358	Marcus Kool).
359
360	* lr0.c, error.c, reader.c, defs.h:
361	strict gcc 3.4.6 warnings on 64-bit platform
362
363	* aclocal.m4, configure.in: add check for lint
364
365	* makefile.in: add lint rule
366
367	* defs.h, closure.c, lr0.c, warshall.c, main.c:
368	fix gcc warnings, mostly for 64-bit platform
369
370	* aclocal.m4:
371	add macros for checking ctags/etags, e.g., to work with NetBSD pkgsrc
372
373	* makefile.in: add etags/TAGS if available
374
375	* configure.in: add configure check for actual ctags and etags programs
376
377	* package/debian/copyright: add copyright notices for non-PD files
378
379	* package/debian/changelog:
380	incorporated scripts in upstream to use for test-builds
381
382	* makefile.in: drop mkdirs.sh, just use "mkdir -p"
383
384	* AUTHORS: nicknames for some contributors (see CHANGES for details)
385
386	* package/byacc.spec: RPM file for byacc
387
388	* VERSION: bump to 2010/06/06
389
390	* aclocal.m4: add copyright notice, from "my-autoconf" macros
391		http://invisible-island.net/autoconf/autoconf.html
392
393	* package/RCS, package/debian/RCS, package/debian/source/RCS, package/pkgsrc/RCS:
394	PERMIT FILE
395
396	* aclocal.m4: resync with my-autoconf.  summary of changes:
397		a) CF_ADD_CFLAGS, etc., improve quoting of ifelse() parameter
398		b) CF_DISABLE_ECHO, change indent-convention for substituted makefile
399		c) CF_GCC_VERSION, ignore stderr
400		d) CF_GCC_WARNINGS, adjust options to work with c89 wrapper of gcc
401
4022010-04-20  Thomas E. Dickey  <tom@invisible-island.net>
403
404	* 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:
405	scripts from Debian package
406
4072010-02-16  Thomas E. Dickey  <tom@invisible-island.net>
408
409	* yacc.1: document -P and bison-extensions
410
411	* test/ftp.tab.c, test/grammar.tab.c, test/calc.tab.c, test/error.tab.c:
412	regen
413
414	* output.c: implement %pure-parser
415
416	* skeleton.c:
417	implement %pure-parser, like bison.  To help with this, changed the stack
418	variables, putting them into a struct.
419
420	* reader.c: implement %pure-parser
421
422	* defs.h: modified skeleton to support %pure-parser feature
423
424	* main.c: add -P option to set %pure-parser
425
426	* output.c:
427	make -r and -p options work together.  The -r option splits the generated
428	parser into code/table files; for this case we cannot use static data.
429	Also, we have to repeat the #define's used for prefix (-p) as well as the
430	redeclaration of yyparse().  Finally, allow any of the prefixed names to
431	be overridden, e.g., by passing a -D option to the compiler.  Make that
432	a little more readable by putting a blank line before each chunk.
433
434	* defs.h: add definitions for %pure-parser
435
436	* skeleton.c:
437	put blank line before/after the redeclaration of yyparse()
438
439	* output.c: allow for other program redefining yylex()
440
441	* skeleton.c:
442	split-off xdecls[] array, to move declaration of yyparse() after #define's
443
444	* defs.h: split-out xdecls[]
445
446	* VERSION: bump
447
448	* configure: regen
449
450	* aclocal.m4: add CF_REMOVE_DEFINE, needed by CF_ADD_CFLAGS
451
452	* aclocal.m4:
453	resync with my-autoconf CF_ADD_CFLAGS and CF_DISABLE_ECHO changes.
454
4552010-02-16  Ostap.Cherkashi
456
457	* skeleton.c: fix a memory leak in the generated skeleton
458
4592010-01-01  Thomas E. Dickey  <tom@invisible-island.net>
460
461	* package/debian/source/format: scripts from Debian package
462
4632009-12-31  Thomas E. Dickey  <tom@invisible-island.net>
464
465	* config.guess: 2009-12-30
466
467	* config.sub: 2009-12-31
468
4692009-10-27  Thomas E. Dickey  <tom@invisible-island.net>
470
471	* VERSION: 20091027
472
473	* output.c, mkpar.c, defs.h, lalr.c, closure.c, graph.c, lr0.c, verbose.c, main.c, reader.c:
474	strict compiler warnings
475
4762009-10-26  Thomas E. Dickey  <tom@invisible-island.net>
477
478	* test/ftp.tab.c, test/grammar.tab.c, test/calc.tab.c, test/error.tab.c:
479	resync
480
481	* main.c, defs.h: introduce some typedefs for portability, etc.
482
483	* makefile.in:
484	don't remove "*.log" in mostlyclean rule since it interferes with regression
485	script.
486
487	* configure: regen
488
489	* aclocal.m4: resync with my-autoconf
490
4912009-08-25  Thomas E. Dickey  <tom@invisible-island.net>
492
493	* config.guess, config.sub: 2009-08-19
494
4952009-02-21  Thomas E. Dickey  <tom@invisible-island.net>
496
497	* VERSION: bump
498
499	* output.c: restore "yylval" symbol, omitted in cleanup on 2008/8/25
500
5012008-12-26  Thomas E. Dickey  <tom@invisible-island.net>
502
503	* configure: regen with autoconf-2.52 (patched)
504
5052008-12-25  Thomas E. Dickey  <tom@invisible-island.net>
506
507	* test/error.tab.c, test/ftp.tab.c, test/grammar.tab.c, test/calc.tab.c:
508	regenerated
509
5102008-12-24  Thomas E. Dickey  <tom@invisible-island.net>
511
512	* VERSION: bump
513
514	* skeleton.c:
515	remove ifdef-lint from goto yyerrlab, to quiet gcc warning
516
5172008-11-26  Thomas E. Dickey  <tom@invisible-island.net>
518
519	* verbose.c, main.c, defs.h, mkpar.c, reader.c:
520	completed implementation of "%expect" (report by Perry E. Metzger).
521	add "%expect-rr", which is (unlike bison) allowable in LALR parsers.
522
5232008-11-24  Thomas E. Dickey  <tom@invisible-island.net>
524
525	* 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:
526	change indent-style (request by Perry E. Metzger)
527
5282008-08-27  Thomas E. Dickey  <tom@invisible-island.net>
529
530	* test/calc.tab.c, test/error.tab.c, test/ftp.tab.c, test/grammar.tab.c:
531	better implementation of YYPARSE_PARAM, using YYPARSE_DECL() macro
532
533	* VERSION: bump
534
535	* skeleton.c:
536	better implementation of YYPARSE_PARAM, using YYPARSE_DECL() macro
537
538	* test/calc.tab.c, test/error.tab.c, test/ftp.tab.c, test/grammar.tab.c, skeleton.c:
539	change YYRECOVERING to YYRECOVERING(), for compatibility with other yacc's.
540
541	* configure: regen'd
542
543	* configure.in: add -Wwrite-strings to warnings
544
545	* test/ftp.tab.c, test/grammar.tab.c, test/calc.tab.c, test/error.tab.c:
546	add YYPARSE_PARAM and YYPARSE_PARAM_TYPE
547
548	* skeleton.c:
549	add YYPARSE_PARAM (bison) and YYPARSE_PARAM_TYPE (FreeBSD) features.
550
551	* main.c, defs.h, output.c, skeleton.c, symtab.c, error.c, reader.c:
552	fixes for gcc -Wwrite-strings
553
554	* test/calc.tab.c, test/error.tab.c, test/ftp.tab.c, test/grammar.tab.c:
555	generate the tables as static-const (this is an interface change)
556
557	* output.c: realign columns in start_table()
558
559	* output.c:
560	generate the tables as static-const (this is an interface change)
561
562	* output.c: reorder functions to eliminate forward-references
563
564	* test/calc.tab.c, test/error.tab.c, test/ftp.tab.c, test/grammar.tab.c:
565	remove 'register' keywords
566
5672008-08-26  Thomas E. Dickey  <tom@invisible-island.net>
568
569	* 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:
570	remove 'register' keywords
571
5722008-08-25  Thomas E. Dickey  <tom@invisible-island.net>
573
574	* test/ftp.tab.c: regen'd
575
576	* reader.c:
577	improve the left-curly fix by testing after blanks, to avoid having a
578	" {" at the beginning of a line.
579
580	* test/error.tab.c, test/grammar.tab.c: regen'd
581
582	* output.c:
583	move the remaining newline-counting into write_XXX functions.
584
585	* test/calc.tab.c: regen'd
586
587	* output.c:
588	simplify part of the output_file formatting using new functions, e.g.,
589	start_int_table(), output_newline().
590
591	* reader.c:
592	modify copy_action() to indent the first character, it if is is left-curly
593	brace.  That makes the output look more like the original, as well as makes
594	it simpler to edit (not confuse editors which look for a left-curly in the
595	first column as if it were the beginning of a function).
596
597	* skeleton.c: minor fixes to avoid gcc -Wconversion warnings
598
599	* output.c: align the #define's produced for "-p" option
600
601	* test/run_test.sh: use the "-p" option for better coverage.
602
603	* output.c: simplify output_prefix() with new define_prefixed()
604
605	* skeleton.c: include string.h, for memset()
606	change stack size to unsigned to fix gcc -Wconversion warnings.
607
608	* VERSION: bump to 2008/8/25
609
610	* makefile.in: add dependency on VERSION file.
611
6122008-08-24  Thomas E. Dickey  <tom@invisible-island.net>
613
614	* VERSION: bump
615
616	* lalr.c: improved memory-leak checking by freeing data in includes[]
617
618	* test/error.tab.c, test/ftp.tab.c, test/grammar.tab.c, test/calc.tab.c:
619	update to match skeleton-change
620
621	* configure: regen'd
622
623	* skeleton.c: Add fix for stack discussed
624		http://undeadly.org/cgi?action=article&sid=20080708155228
625	and applied
626		http://www.openbsd.org/cgi-bin/cvsweb/src/usr.bin/yacc/skeleton.c.diff?r1=1.28&r2=1.29
627
628	* aclocal.m4: resync with my-autoconf (no major changes)
629
6302008-07-24  Thomas E. Dickey  <tom@invisible-island.net>
631
632	* package/pkgsrc/Makefile, package/pkgsrc/distinfo:
633	scripts from NetBSD pkgsrc, for test-builds
634
6352008-03-14  Thomas E. Dickey  <tom@invisible-island.net>
636
637	* config.sub: update to 2008-03-08
638
639	* config.guess: update to 2008-03-12
640
6412007-05-09  Thomas E. Dickey  <tom@invisible-island.net>
642
643	* main.c: close graph, verbose files if opened, on exit.
644
645	* main.c:
646	audit memory leaks - valgrind reported some memory still in use on exit.
647
648	* lalr.c, output.c, reader.c, mkpar.c, lr0.c:
649	add hook for auditing memory leaks
650
651	* defs.h: add hooks for auditing memory leaks
652
653	* configure: regen'd
654
655	* configure.in:
656	use CF_DISABLE_LEAKS, which combines --disable-leaks, --with-valgrind,
657	--with-dbmalloc and --with-dmalloc
658
659	* aclocal.m4: add CF_DISABLE_LEAKS and CF_WITH_VALGRIND
660
661	* aclocal.m4: improve version-checking in CF_GCC_VERSION
662	rework dbmalloc/dmalloc options using CF_NO_LEAKS_OPTION macro
663
664	* VERSION: 2007/5/9
665
666	* main.c: file_prefix did not always have a trailing null.
667
6682007-03-25  Thomas E. Dickey  <tom@invisible-island.net>
669
670	* mkdirs.sh: improved version for "make -j"
671
6722006-12-22  Thomas E. Dickey  <tom@invisible-island.net>
673
674	* config.guess: 2006/12/22
675
6762006-12-08  Thomas E. Dickey  <tom@invisible-island.net>
677
678	* config.sub: 2006/12/08
679
6802005-08-13  Thomas E. Dickey  <tom@invisible-island.net>
681
682	* main.c: add -V to usage message
683
684	* makefile.in: remove -t option from ctags
685
686	* VERSION: 2005/8/13
687
6882005-08-13  schmitz
689
690	* main.c: Sylvain Schmitz:
691	modify the '-o' option to work like bison's, which sets the file-prefix.
692
6932005-08-13  Matt.Kraai
694
695	* output.c:
696	Debian #322858 (don't close union_file, which contained data).
697	This feature is used in groff.
698
6992005-08-13  Thomas E. Dickey  <tom@invisible-island.net>
700
701	* configure: regenerated
702
703	* aclocal.m4: improve checks for Intel compiler warnings
704
7052005-06-25  Thomas E. Dickey  <tom@invisible-island.net>
706
707	* config.sub: 2005/6/2
708
709	* config.guess: 2005/5/27
710
7112005-05-05  Thomas E. Dickey  <tom@invisible-island.net>
712
713	* defs.h: add a fallback for GCC_UNUSED
714
7152005-05-04  Thomas E. Dickey  <tom@invisible-island.net>
716
717	* makefile.in: add "." to include-path to pickup config.h
718
719	* reader.c:
720	apply fix suggested by Steve Dum for end_rule() in Redhat Bugzilla #112617.
721
722	* output.c:
723	correct a limit check in pack_vector() - report/analysis by William Evans
724
725	* main.c:
726	exit after printing version.  Otherwise "yacc -V" will exit with an erro
727	after printing the usage message.
728
729	* test/calc.tab.c, test/error.tab.c, test/ftp.tab.c, test/grammar.tab.c:
730	regenerated after skeleton-changes
731
732	* skeleton.c: replace a few -1's with YYEMPTY
733
734	* skeleton.c:
735	delete yynewerror (no one uses it any more, and it just makes compiler warnings)
736
737	* skeleton.c: adapt yygrowstack() and related definitions from FreeBSD
738
739	* test/run_test.sh:
740	filter out lines with YYPATCH, since that will change with each update
741
742	* yacc.1: add -V option
743
744	* main.c: add -V option to print the version.
745	simplify option-parsing by moving the duplicate logic for setting flags into
746	new function setflag().
747
748	* skeleton.c:
749	move the actual definition of YYMAJOR and YYMINOR to defs.h (as numbers).
750	add YYPATCH here so it can be tested by applications.
751
752	* defs.h:
753	add macros to define VERSION in terms of the (numeric) YYMAJOR, YYMINOR and
754	YYPATCH symbols.
755
756	* lalr.c, lr0.c, mkpar.c, defs.h, closure.c, warshall.c, output.c, verbose.c, graph.c, reader.c, main.c, symtab.c:
757	reduce externs by making static the procedures that are not referenced outside
758	the module in which they are defined.
759
760	* makefile.in:
761	the VERSION file holds the patch-date.  Define YYPATCH, so this will be
762	compiled into the skeleton.
763
764	* VERSION: patch-level for byacc
765
766	* main.c:
767	add "-o" to usage message.  It is too long for a single line; rewrite usage()
768	to show one option per line.
769
7702005-05-03  Thomas E. Dickey  <tom@invisible-island.net>
771
772	* main.c: add -o option, to work with scripts that assume bison.
773	simplify create_file_names() with a macro.
774	simplify done() with a macro.
775	adapt fix from FreeBSD for signal race, e.g., if done() is interrupted by
776	onintr(), do not flush output via exit(), but use _exit() instead.
777
778	* defs.h: remove unnecessary externs for main.c
779
780	* yacc.1: add -o option
781
782	* graph.c: remove unused parameter
783
784	* mkpar.c, defs.h, reader.c:
785	add support for "%expect", a bison feature from FreeBSD sources
786
787	* 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:
788	indent'd
789
790	* configure: regenerated for 2005/5/5
791
792	* aclocal.m4: miscellaneous updates (adds CF_INTEL_COMPILER)
793
7942005-04-27  schmitz
795
796	* defs.h, graph.c, lr0.c, main.c, makefile.in, reader.c, yacc.1:
797	Sylvain Schmitz <schmitz@i3s.unice.fr>:
798	add graphical output of the LALR(1) automaton for graphviz,
799	associated with command-line option `-g'
800
8012005-04-16  Thomas E. Dickey  <tom@invisible-island.net>
802
803	* config.sub: 2005/2/10
804
805	* config.guess: 2005/3/24
806
8072005-04-13  Thomas E. Dickey  <tom@invisible-island.net>
808
809	* package/pkgsrc/PLIST: scripts from NetBSD pkgsrc, for test-builds
810
8112005-03-21  Thomas E. Dickey  <tom@invisible-island.net>
812
813	* package/pkgsrc/DESCR: scripts from NetBSD pkgsrc, for test-builds
814
8152004-03-28  Thomas E. Dickey  <tom@invisible-island.net>
816
817	* test/calc.tab.c, test/error.tab.c, test/ftp.tab.c, test/grammar.tab.c:
818	updates due to adding yyparse() prototype
819
820	* configure: RCS_BASE
821
822	* configure.in:
823	add AC_ARG_PROGRAM to make --program-prefix, etc., work.
824
825	* makefile.in: first cut of script to support --program-prefix
826
827	* configure.in:
828	reorder AC_INIT/AC_CONFIG_HEADER to make this "work" with autoconf 2.52
829
830	* makefile.in: modify so DESTDIR works
831
832	* makefile.in: use EXEEXT and OBJEXT
833
834	* configure.in: use CF_PROG_EXT
835	generate a config.h
836
837	* defs.h: make this use the generated config.h
838
839	* skeleton.c: add a forward-reference for yyparse()
840
841	* aclocal.m4: add CF_CHECK_CACHE, needed for CF_PROG_EXT
842
843	* yacc.1: remove the discussion of TMPDIR since it is obsolete
844
845	* skeleton.c: fix a couple of minor compiler-warnings in the skeleton
846
847	* defs.h: remove action_file_name, etc., since we use tmpfile() now.
848
849	* main.c:
850	use tmpfile() for opening the working files.  This quiets a warning
851	advising the use of mkstemp().
852
853	* output.c:
854	Do not close temporary-files here, since they are opened with tmpfile().
855	Just rewind them, and they're ready to read back the data stored in them.
856
857	* test/grammar.output, test/grammar.tab.c, test/grammar.tab.h: RCS_BASE
858
859	* makefile.in: turn on "make check" rule
860
861	* test/calc.output, test/run_test.sh, test/calc.tab.h: RCS_BASE
862
863	* test/ftp.tab.c: yyparse() is now yyparse(void)
864
865	* test/calc.tab.c: RCS_BASE
866
867	* test/error.tab.c: yyparse() is now yyparse(void)
868
869	* test/README: RCS_BASE
870
871	* yacc.1: various typography fixes prompted by Debian #100947
872
873	* aclocal.m4, makefile.in, configure.in: RCS_BASE
874
875	* README: updated to note that this is not the original
876
8772004-03-24  Thomas E. Dickey  <tom@invisible-island.net>
878
879	* test/grammar.y: RCS_BASE
880
8812004-02-23  Thomas E. Dickey  <tom@invisible-island.net>
882
883	* config.sub: RCS_BASE
884
8852004-02-17  Thomas E. Dickey  <tom@invisible-island.net>
886
887	* config.guess: RCS_BASE
888
8892003-11-29  Thomas E. Dickey  <tom@invisible-island.net>
890
891	* install-sh: improved quoting
892
8932002-06-29  Thomas E. Dickey  <tom@invisible-island.net>
894
895	* mkdirs.sh:
896	don't use character range, since some locales don't work as expected
897
8982001-06-22  Thomas E. Dickey  <tom@invisible-island.net>
899
900	* install-sh: RCS_BASE
901
9022000-11-20  Thomas E. Dickey  <tom@invisible-island.net>
903
904	* test/calc.y: RCS_BASE
905
906	* test/code_calc.y, test/pure_calc.y: copy of calc.y
907
908	* vmsbuild.com: original version
909
9102000-02-23  Thomas E. Dickey  <dickey@invisible-island.net>
911
912	* test/RCS, RCS: PERMIT FILE
913
9142000-02-14  Thomas E. Dickey  <tom@invisible-island.net>
915
916	* main.c: fix for VMS port - making pathname for temp-file
917
918	* descrip.mms: original version
919
9202000-02-13  Thomas E. Dickey  <tom@invisible-island.net>
921
922	* 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:
923	ansify
924
9251999-11-30  Thomas E. Dickey  <tom@invisible-island.net>
926
927	* mkdirs.sh: RCS_BASE
928
9291995-01-01  Thomas E. Dickey  <tom@invisible-island.net>
930
931	* config_h.in: RCS_BASE
932
9331993-12-23  unknown
934
935	* README.DOS, main.c: MSDOS-port
936
9371993-12-22  unknown
938
939	* reader.c, defs.h: MSDOS-port
940
9411993-03-02  unknown
942
943	* README: original version
944
9451993-02-22  unknown
946
947	* test/ftp.output, test/ftp.tab.c, test/ftp.tab.h, test/error.output, test/error.tab.c, test/error.tab.h:
948	RCS_BASE
949
950	* skeleton.c, warshall.c, main.c, output.c, reader.c, closure.c, NOTES:
951	original version
952
9531992-10-12  unknown
954
955	* yacc.1: original version
956
9571992-10-11  unknown
958
959	* defs.h: original version
960
9611991-01-20  unknown
962
963	* mkpar.c, verbose.c: original version
964
9651991-01-14  unknown
966
967	* lr0.c, Makefile, Makefile.old: original version
968
9691990-07-16  unknown
970
971	* NEW_FEATURES: original version
972
9731990-06-03  unknown
974
975	* ACKNOWLEDGEMENTS: original version
976
9771990-02-05  unknown
978
979	* symtab.c, lalr.c, error.c: original version
980
9811990-01-16  Thomas E. Dickey  <tom@invisible-island.net>
982
983	* test/code_error.y, test/pure_error.y: RCS_BASE
984
9851990-01-16  unknown
986
987	* test/error.y: RCS_BASE
988
9891989-11-22  unknown
990
991	* NO_WARRANTY: original version
992
9931989-09-23  unknown
994
995	* test/ftp.y: RCS_BASE
996
997