head 1.1; branch 1.1.1; access; symbols netbsd-11-0-RC4:1.1.1.2 byacc-20260126:1.1.1.2 netbsd-11-0-RC3:1.1.1.2 netbsd-11-0-RC2:1.1.1.2 netbsd-11-0-RC1:1.1.1.2 byacc-20241231:1.1.1.2 perseant-exfatfs-base-20250801:1.1.1.2 netbsd-11:1.1.1.2.0.26 netbsd-11-base:1.1.1.2 netbsd-10-1-RELEASE:1.1.1.2 byacc-20240109:1.1.1.2 perseant-exfatfs-base-20240630:1.1.1.2 perseant-exfatfs:1.1.1.2.0.24 perseant-exfatfs-base:1.1.1.2 netbsd-8-3-RELEASE:1.1.1.2 netbsd-9-4-RELEASE:1.1.1.2 netbsd-10-0-RELEASE:1.1.1.2 netbsd-10-0-RC6:1.1.1.2 netbsd-10-0-RC5:1.1.1.2 netbsd-10-0-RC4:1.1.1.2 netbsd-10-0-RC3:1.1.1.2 netbsd-10-0-RC2:1.1.1.2 netbsd-10-0-RC1:1.1.1.2 netbsd-10:1.1.1.2.0.22 netbsd-10-base:1.1.1.2 netbsd-9-3-RELEASE:1.1.1.2 cjep_sun2x-base1:1.1.1.2 cjep_sun2x:1.1.1.2.0.20 cjep_sun2x-base:1.1.1.2 cjep_staticlib_x-base1:1.1.1.2 netbsd-9-2-RELEASE:1.1.1.2 cjep_staticlib_x:1.1.1.2.0.18 cjep_staticlib_x-base:1.1.1.2 byacc-20210109:1.1.1.2 netbsd-9-1-RELEASE:1.1.1.2 phil-wifi-20200421:1.1.1.2 phil-wifi-20200411:1.1.1.2 is-mlppp:1.1.1.2.0.16 is-mlppp-base:1.1.1.2 phil-wifi-20200406:1.1.1.2 netbsd-8-2-RELEASE:1.1.1.2 netbsd-9-0-RELEASE:1.1.1.2 netbsd-9-0-RC2:1.1.1.2 netbsd-9-0-RC1:1.1.1.2 phil-wifi-20191119:1.1.1.2 byacc-20190617:1.1.1.2 netbsd-9:1.1.1.2.0.14 netbsd-9-base:1.1.1.2 phil-wifi-20190609:1.1.1.2 netbsd-8-1-RELEASE:1.1.1.2 netbsd-8-1-RC1:1.1.1.2 pgoyette-compat-merge-20190127:1.1.1.2 pgoyette-compat-20190127:1.1.1.2 pgoyette-compat-20190118:1.1.1.2 pgoyette-compat-1226:1.1.1.2 byacc-20180609:1.1.1.2 pgoyette-compat-1126:1.1.1.2 pgoyette-compat-1020:1.1.1.2 pgoyette-compat-0930:1.1.1.2 pgoyette-compat-0906:1.1.1.2 pgoyette-compat-0728:1.1.1.2 netbsd-8-0-RELEASE:1.1.1.2 phil-wifi:1.1.1.2.0.12 phil-wifi-base:1.1.1.2 pgoyette-compat-0625:1.1.1.2 netbsd-8-0-RC2:1.1.1.2 pgoyette-compat-0521:1.1.1.2 pgoyette-compat-0502:1.1.1.2 pgoyette-compat-0422:1.1.1.2 netbsd-8-0-RC1:1.1.1.2 pgoyette-compat-0415:1.1.1.2 pgoyette-compat-0407:1.1.1.2 pgoyette-compat-0330:1.1.1.2 pgoyette-compat-0322:1.1.1.2 pgoyette-compat-0315:1.1.1.2 pgoyette-compat:1.1.1.2.0.10 pgoyette-compat-base:1.1.1.2 matt-nb8-mediatek:1.1.1.2.0.8 matt-nb8-mediatek-base:1.1.1.2 perseant-stdc-iso10646:1.1.1.2.0.6 perseant-stdc-iso10646-base:1.1.1.2 byacc-20170430:1.1.1.2 netbsd-8:1.1.1.2.0.4 netbsd-8-base:1.1.1.2 prg-localcount2-base3:1.1.1.2 prg-localcount2-base2:1.1.1.2 prg-localcount2-base1:1.1.1.2 prg-localcount2:1.1.1.2.0.2 prg-localcount2-base:1.1.1.2 pgoyette-localcount-20170426:1.1.1.2 bouyer-socketcan-base1:1.1.1.2 pgoyette-localcount-20170320:1.1.1.2 byacc-20170201:1.1.1.2 bouyer-socketcan:1.1.1.1.0.4 bouyer-socketcan-base:1.1.1.1 pgoyette-localcount-20170107:1.1.1.1 pgoyette-localcount-20161104:1.1.1.1 localcount-20160914:1.1.1.1 pgoyette-localcount-20160806:1.1.1.1 pgoyette-localcount-20160726:1.1.1.1 pgoyette-localcount:1.1.1.1.0.2 pgoyette-localcount-base:1.1.1.1 byacc-20150711:1.1.1.1 byacc-20141128:1.1.1.1 DICKEY:1.1.1; locks; strict; comment @# @; 1.1 date 2015.01.03.22.58.25; author christos; state Exp; branches 1.1.1.1; next ; commitid WWTpfhLfU6SzfD4y; 1.1.1.1 date 2015.01.03.22.58.25; author christos; state Exp; branches 1.1.1.1.2.1 1.1.1.1.4.1; next 1.1.1.2; commitid WWTpfhLfU6SzfD4y; 1.1.1.2 date 2017.02.11.19.30.03; author christos; state Exp; branches; next ; commitid wnNPHIKvRp3plzFz; 1.1.1.1.2.1 date 2017.03.20.06.52.18; author pgoyette; state Exp; branches; next ; commitid jjw7cAwgyKq7RfKz; 1.1.1.1.4.1 date 2017.04.21.16.51.21; author bouyer; state Exp; branches; next ; commitid dUG7nkTKALCadqOz; desc @@ 1.1 log @Initial revision @ text @ 0 $accept : declaration $end 1 $$1 : 2 $$2 : 3 declaration : class type $$1 $$2 namelist 4 $$3 : 5 declaration : type $$3 locnamelist 6 class : GLOBAL 7 | LOCAL 8 type : REAL 9 | INTEGER 10 $$4 : 11 namelist : $$4 namelist NAME 12 | NAME 13 $$5 : 14 locnamelist : $$5 $$2 namelist state 0 $accept : . declaration $end (0) GLOBAL shift 1 LOCAL shift 2 REAL shift 3 INTEGER shift 4 . error declaration goto 5 class goto 6 type goto 7 state 1 class : GLOBAL . (6) . reduce 6 state 2 class : LOCAL . (7) . reduce 7 state 3 type : REAL . (8) . reduce 8 state 4 type : INTEGER . (9) . reduce 9 state 5 $accept : declaration . $end (0) $end accept state 6 declaration : class . type $$1 $$2 namelist (3) REAL shift 3 INTEGER shift 4 . error type goto 8 state 7 declaration : type . $$3 locnamelist (5) $$3 : . (4) . reduce 4 $$3 goto 9 state 8 declaration : class type . $$1 $$2 namelist (3) $$1 : . (1) . reduce 1 $$1 goto 10 state 9 declaration : type $$3 . locnamelist (5) $$5 : . (13) . reduce 13 locnamelist goto 11 $$5 goto 12 state 10 declaration : class type $$1 . $$2 namelist (3) $$2 : . (2) . reduce 2 $$2 goto 13 state 11 declaration : type $$3 locnamelist . (5) . reduce 5 state 12 locnamelist : $$5 . $$2 namelist (14) $$2 : . (2) . reduce 2 $$2 goto 14 13: shift/reduce conflict (shift 15, reduce 10) on NAME state 13 declaration : class type $$1 $$2 . namelist (3) $$4 : . (10) NAME shift 15 namelist goto 16 $$4 goto 17 14: shift/reduce conflict (shift 15, reduce 10) on NAME state 14 locnamelist : $$5 $$2 . namelist (14) $$4 : . (10) NAME shift 15 namelist goto 18 $$4 goto 17 state 15 namelist : NAME . (12) . reduce 12 state 16 declaration : class type $$1 $$2 namelist . (3) . reduce 3 17: shift/reduce conflict (shift 15, reduce 10) on NAME state 17 namelist : $$4 . namelist NAME (11) $$4 : . (10) NAME shift 15 namelist goto 19 $$4 goto 17 state 18 locnamelist : $$5 $$2 namelist . (14) . reduce 14 state 19 namelist : $$4 namelist . NAME (11) NAME shift 20 . error state 20 namelist : $$4 namelist NAME . (11) . reduce 11 Rules never reduced: $$4 : (10) State 13 contains 1 shift/reduce conflict. State 14 contains 1 shift/reduce conflict. State 17 contains 1 shift/reduce conflict. 7 terminals, 11 nonterminals 15 grammar rules, 21 states grammar parser grammar symbol# value# symbol 0 0 $end 1 256 error 2 257 GLOBAL 3 258 LOCAL 4 259 REAL 5 260 INTEGER 6 261 NAME 7 262 $accept 8 263 declaration 9 264 namelist 10 265 locnamelist 11 266 class 12 267 type 13 268 $$1 14 269 $$2 15 270 $$3 16 271 $$4 17 272 $$5 @ 1.1.1.1 log @Import byacc 20141128 @ text @@ 1.1.1.1.4.1 log @Sync with HEAD @ text @a7 1 4 | type locnamelist d9 1 a9 2 5 class : GLOBAL 6 | LOCAL d11 1 a11 2 7 type : REAL 8 | INTEGER d13 2 a14 1 9 $$3 : d16 2 a17 2 10 namelist : $$3 namelist NAME 11 | NAME d19 1 a19 1 12 $$4 : d21 6 a26 1 13 locnamelist : $$4 $$2 namelist d43 1 a43 1 class : GLOBAL . (5) d45 1 a45 1 . reduce 5 d49 1 a49 1 class : LOCAL . (6) d51 1 a51 1 . reduce 6 d55 1 a55 1 type : REAL . (7) d57 1 a57 1 . reduce 7 d61 1 a61 1 type : INTEGER . (8) d63 1 a63 1 . reduce 8 d83 2 a84 2 declaration : type . locnamelist (4) $$4 : . (12) d86 1 a86 1 . reduce 12 d88 1 a88 2 locnamelist goto 9 $$4 goto 10 d97 1 a97 1 $$1 goto 11 d101 2 a102 1 declaration : type locnamelist . (4) d104 4 a107 1 . reduce 4 d111 1 a111 1 locnamelist : $$4 . $$2 namelist (13) d116 1 a116 1 $$2 goto 12 d120 1 a120 2 declaration : class type $$1 . $$2 namelist (3) $$2 : . (2) d122 1 a122 3 . reduce 2 $$2 goto 13 a124 1 12: shift/reduce conflict (shift 14, reduce 9) on NAME d126 2 a127 2 locnamelist : $$4 $$2 . namelist (13) $$3 : . (9) d129 1 a129 1 NAME shift 14 d131 1 a131 2 namelist goto 15 $$3 goto 16 d134 1 a134 1 13: shift/reduce conflict (shift 14, reduce 9) on NAME d137 1 a137 1 $$3 : . (9) d139 1 a139 1 NAME shift 14 d141 2 a142 2 namelist goto 17 $$3 goto 16 d145 1 d147 2 a148 1 namelist : NAME . (11) d150 4 a153 1 . reduce 11 d157 1 a157 1 locnamelist : $$4 $$2 namelist . (13) d159 1 a159 1 . reduce 13 a161 1 16: shift/reduce conflict (shift 14, reduce 9) on NAME d163 1 a163 2 namelist : $$3 . namelist NAME (10) $$3 : . (9) d165 1 a165 1 NAME shift 14 a166 2 namelist goto 18 $$3 goto 16 d168 4 d173 1 a173 2 state 17 declaration : class type $$1 $$2 namelist . (3) d175 2 a176 1 . reduce 3 d180 3 a182 1 namelist : $$3 namelist . NAME (10) d184 5 a188 1 NAME shift 19 d192 2 a193 2 state 19 namelist : $$3 namelist NAME . (10) d195 1 a195 1 . reduce 10 d199 1 a199 1 $$3 : (9) a201 1 State 12 contains 1 shift/reduce conflict. d203 2 a204 1 State 16 contains 1 shift/reduce conflict. d207 2 a208 2 7 terminals, 10 nonterminals 14 grammar rules, 20 states d229 1 @ 1.1.1.1.2.1 log @Sync with HEAD @ text @a7 1 4 | type locnamelist d9 1 a9 2 5 class : GLOBAL 6 | LOCAL d11 1 a11 2 7 type : REAL 8 | INTEGER d13 2 a14 1 9 $$3 : d16 2 a17 2 10 namelist : $$3 namelist NAME 11 | NAME d19 1 a19 1 12 $$4 : d21 6 a26 1 13 locnamelist : $$4 $$2 namelist d43 1 a43 1 class : GLOBAL . (5) d45 1 a45 1 . reduce 5 d49 1 a49 1 class : LOCAL . (6) d51 1 a51 1 . reduce 6 d55 1 a55 1 type : REAL . (7) d57 1 a57 1 . reduce 7 d61 1 a61 1 type : INTEGER . (8) d63 1 a63 1 . reduce 8 d83 2 a84 2 declaration : type . locnamelist (4) $$4 : . (12) d86 1 a86 1 . reduce 12 d88 1 a88 2 locnamelist goto 9 $$4 goto 10 d97 1 a97 1 $$1 goto 11 d101 2 a102 1 declaration : type locnamelist . (4) d104 4 a107 1 . reduce 4 d111 1 a111 1 locnamelist : $$4 . $$2 namelist (13) d116 1 a116 1 $$2 goto 12 d120 1 a120 2 declaration : class type $$1 . $$2 namelist (3) $$2 : . (2) d122 1 a122 3 . reduce 2 $$2 goto 13 a124 1 12: shift/reduce conflict (shift 14, reduce 9) on NAME d126 2 a127 2 locnamelist : $$4 $$2 . namelist (13) $$3 : . (9) d129 1 a129 1 NAME shift 14 d131 1 a131 2 namelist goto 15 $$3 goto 16 d134 1 a134 1 13: shift/reduce conflict (shift 14, reduce 9) on NAME d137 1 a137 1 $$3 : . (9) d139 1 a139 1 NAME shift 14 d141 2 a142 2 namelist goto 17 $$3 goto 16 d145 1 d147 2 a148 1 namelist : NAME . (11) d150 4 a153 1 . reduce 11 d157 1 a157 1 locnamelist : $$4 $$2 namelist . (13) d159 1 a159 1 . reduce 13 a161 1 16: shift/reduce conflict (shift 14, reduce 9) on NAME d163 1 a163 2 namelist : $$3 . namelist NAME (10) $$3 : . (9) d165 1 a165 1 NAME shift 14 a166 2 namelist goto 18 $$3 goto 16 d168 4 d173 1 a173 2 state 17 declaration : class type $$1 $$2 namelist . (3) d175 2 a176 1 . reduce 3 d180 3 a182 1 namelist : $$3 namelist . NAME (10) d184 5 a188 1 NAME shift 19 d192 2 a193 2 state 19 namelist : $$3 namelist NAME . (10) d195 1 a195 1 . reduce 10 d199 1 a199 1 $$3 : (9) a201 1 State 12 contains 1 shift/reduce conflict. d203 2 a204 1 State 16 contains 1 shift/reduce conflict. d207 2 a208 2 7 terminals, 10 nonterminals 14 grammar rules, 20 states d229 1 @ 1.1.1.2 log @2017-02-01 Thomas E. Dickey * test/btyacc/expr.oxout.error, test/btyacc/expr.oxout.output, test/btyacc/expr.oxout.tab.c, test/btyacc/expr.oxout.tab.h, test/yacc/expr.oxout.error, test/yacc/expr.oxout.output, test/yacc/expr.oxout.tab.c, test/yacc/expr.oxout.tab.h: RCS_BASE * package/debian/copyright: update copyright * reader.c, defs.h, main.c: avoid using regex.h since some low-end platforms do not have this * test/expr.oxout.y: RCS_BASE * configure: regen * aclocal.m4: quiet a strict gcc warning in CF_MKSTEMP 2017-02-01 Tom.Shields * main.c, reader.c, defs.h: process #line directives, like bison and flex 2017-02-01 Thomas E. Dickey * VERSION, package/byacc.spec, package/debian/changelog, package/mingw-byacc.spec, package/pkgsrc/Makefile: bump 2016-12-31 Thomas E. Dickey * config.guess, config.sub: 2017-01-01 2016-12-02 Thomas E. Dickey * test/btyacc/quote_calc4-s.tab.c, test/btyacc/varsyntax_calc1.tab.c, test/btyacc/error.tab.c, test/btyacc/grammar.tab.c, test/btyacc/inherit0.tab.c, test/btyacc/inherit1.tab.c, test/btyacc/inherit2.tab.c, test/btyacc/ok_syntax1.tab.c, test/btyacc/pure_calc.tab.c, test/btyacc/pure_error.tab.c, test/btyacc/quote_calc-s.tab.c, test/btyacc/quote_calc.tab.c, test/btyacc/quote_calc2-s.tab.c, test/btyacc/quote_calc2.tab.c, test/btyacc/quote_calc3-s.tab.c, test/btyacc/quote_calc3.tab.c, test/btyacc/quote_calc4.tab.c, test/btyacc/calc.tab.c, test/btyacc/calc1.tab.c, test/btyacc/calc2.tab.c, test/btyacc/calc3.tab.c, test/btyacc/code_calc.code.c, test/btyacc/code_error.code.c, test/btyacc/empty.tab.c, test/btyacc/err_inherit3.tab.c, test/btyacc/err_inherit4.tab.c, test/btyacc/err_syntax10.tab.c, test/btyacc/err_syntax11.tab.c, test/btyacc/err_syntax12.tab.c, test/btyacc/err_syntax18.tab.c, test/btyacc/err_syntax20.tab.c, test/btyacc/rename_debug.c, test/btyacc/btyacc_calc1.tab.c, test/btyacc/btyacc_demo.tab.c, test/btyacc/btyacc_destroy1.tab.c, test/btyacc/btyacc_destroy2.tab.c, test/btyacc/btyacc_destroy3.tab.c, btyaccpar.c: regen * btyaccpar.skel: changes from NetBSD + use YYINT rather than short in btyaccpar.skel (some of this had already been done by Tom Shields) + remove some casts of malloc/realloc * yaccpar.c, yaccpar.skel, output.c: changes from NetBSD - Add some more bison stuff to make the mesa/gallium parser work: %initial-action (add missing source struct member in location) %debug (unimplemented) %error-verbose (unimplemented) This changes some existing code: + yylloc is now a pointer, so + the first parameter to YYERROR_DECL() is a pointer + struct YYLTYPE now has a "source" field * test/btyacc/btyacc_demo.tab.h, test/btyacc/code_calc.tab.c, test/btyacc/code_error.tab.c, test/btyacc/err_inherit4.tab.h: regen * btyaccpar.c, btyaccpar.skel, reader.c: changes from NetBSD - Add some more bison stuff to make the mesa/gallium parser work: %initial-action (add missing source struct member in location) %debug (unimplemented) %error-verbose (unimplemented) This changes some existing code: + yylloc is now a pointer, so + the first parameter to YYERROR_DECL() is a pointer + struct YYLTYPE now has a "source" field * reader.c: fix from NetBSD: correct off-by-one when adding a null in copy_param() * reader.c: adapted from NetBSD - Convert *most* error fingerprints to: -unterminated_arglist(int a_lineno, char *a_line, char *a_cptr) +unterminated_arglist(const struct ainfo *a) - Cast new args to unsigned char * defs.h: changes from NetBSD - Add some more bison stuff to make the mesa/gallium parser work: %initial-action (add missing source struct member in location) %debug (unimplemented) %error-verbose (unimplemented) This changes some existing code: + yylloc is now a pointer, so + the first parameter to YYERROR_DECL() is a pointer + struct YYLTYPE now has a "source" field * defs.h: adapted from NetBSD - Convert *most* error fingerprints to: -unterminated_arglist(int a_lineno, char *a_line, char *a_cptr) +unterminated_arglist(const struct ainfo *a) - Cast new args to unsigned char * main.c: changes from NetBSD - Add some more bison stuff to make the mesa/gallium parser work: %initial-action (add missing source struct member in location) %debug (unimplemented) %error-verbose (unimplemented) This changes some existing code: + yylloc is now a pointer, so + the first parameter to YYERROR_DECL() is a pointer + struct YYLTYPE now has a "source" field * error.c: adapted from NetBSD - Convert *most* error fingerprints to: -unterminated_arglist(int a_lineno, char *a_line, char *a_cptr) +unterminated_arglist(const struct ainfo *a) - Cast new args to unsigned char * mstring.c: adapted change from NetBSD to add casts for ctype macros * test/btyacc/btyacc_demo.tab.h, test/btyacc/err_inherit4.tab.h: regen * output.c: reorder to eliminate a forward-reference 2016-12-02 Tom.Shields * output.c: modify output to enable compilation of a lexer generated by flex (using "%option bison-bridge" and "%option bison-locations") to be used with a parser generated by b(t)yacc (using directives "%locations" and "%pure-parser"). 2016-12-02 Thomas E. Dickey * configure: regen * aclocal.m4: Improved autoconf macros CF_CC_ENV_FLAGS + improve split between compiler and options, prompted by report where user had "ccache" before the compiler + leave non-preprocessor options in "$CC" (but still copy them to "$CFLAGS" since that's where they should be) CF_GNU_SOURCE,v + recent glibc (Debian 2.23-4 for example) has misordered ifdef/checks for new symbol _DEFAULT_SOURCE, producing warning messages when only _GNU_SOURCE is defined. Add a followup check to define _DEFAULT_SOURCE. CF_XOPEN_SOURCE + add "uclinux" to list of Linux's (patch by Yann E. Morin) + use _GNU_SOURCE for cygwin headers + build-fixes for OS/2 * VERSION, package/byacc.spec, package/debian/changelog, package/mingw-byacc.spec, package/pkgsrc/Makefile: bump 2016-11-20 Thomas E. Dickey * config.sub: 2016-11-19 * config.guess: 2016-10-02 2016-06-06 Thomas E. Dickey * configure: regen * aclocal.m4: improved autoconf macros: CF_CC_ENV_FLAGS - don't limit the check to -I, -U and -D options, since the added options can include various compiler options before and after preprocessor options. CF_PROG_LINT - add cpplint to programs to use; drop ad hoc tdlint and alint. * VERSION, package/byacc.spec, package/debian/changelog, package/mingw-byacc.spec, package/pkgsrc/Makefile: bump * lalr.c: indented * btyaccpar.c: regen * skel2c: adjust whitespace so that generated skeleton will follow the same format as other code * mkpar.c, verbose.c, lr0.c, reader.c, error.c, output.c: indented * reader.c: fix two compiler warnings * test/btyacc/inherit2.tab.c, test/btyacc/ok_syntax1.tab.c, test/btyacc/pure_calc.tab.c, test/btyacc/pure_error.tab.c, test/btyacc/quote_calc-s.tab.c, test/btyacc/quote_calc.tab.c, test/btyacc/quote_calc2-s.tab.c, test/btyacc/quote_calc2.tab.c, test/btyacc/quote_calc3-s.tab.c, test/btyacc/quote_calc3.tab.c, test/btyacc/quote_calc4-s.tab.c, test/btyacc/quote_calc4.tab.c, test/btyacc/varsyntax_calc1.tab.c, test/btyacc/err_syntax12.tab.c, test/btyacc/err_syntax18.tab.c, test/btyacc/err_syntax20.tab.c, test/btyacc/error.tab.c, test/btyacc/grammar.tab.c, test/btyacc/inherit0.tab.c, test/btyacc/inherit1.tab.c, test/btyacc/btyacc_calc1.tab.c, test/btyacc/btyacc_demo.tab.c, test/btyacc/btyacc_destroy1.tab.c, test/btyacc/btyacc_destroy2.tab.c, test/btyacc/btyacc_destroy3.tab.c, test/btyacc/calc.tab.c, test/btyacc/calc1.tab.c, test/btyacc/calc2.tab.c, test/btyacc/calc3.tab.c, test/btyacc/code_calc.code.c, test/btyacc/code_error.code.c, test/btyacc/empty.tab.c, test/btyacc/err_inherit3.tab.c, test/btyacc/err_inherit4.tab.c, test/btyacc/err_syntax10.tab.c, test/btyacc/err_syntax11.tab.c, test/btyacc/rename_debug.c, btyaccpar.c, test/yacc/quote_calc2-s.tab.c, test/yacc/quote_calc2.tab.c, test/yacc/quote_calc3-s.tab.c, test/yacc/quote_calc3.tab.c, test/yacc/quote_calc4-s.tab.c, test/yacc/quote_calc4.tab.c, test/yacc/varsyntax_calc1.tab.c, test/yacc/err_syntax20.tab.c, test/yacc/error.tab.c, test/yacc/grammar.tab.c, test/yacc/ok_syntax1.tab.c, test/yacc/pure_calc.tab.c, test/yacc/pure_error.tab.c, test/yacc/quote_calc-s.tab.c, test/yacc/quote_calc.tab.c, test/yacc/calc.tab.c, test/yacc/calc1.tab.c, test/yacc/calc2.tab.c, test/yacc/calc3.tab.c, test/yacc/code_calc.code.c, test/yacc/code_error.code.c, test/yacc/empty.tab.c, test/yacc/err_syntax10.tab.c, test/yacc/err_syntax11.tab.c, test/yacc/err_syntax12.tab.c, test/yacc/err_syntax18.tab.c, test/yacc/rename_debug.c, yaccpar.c: regen 2016-06-06 Tom.Shields * btyaccpar.skel, yaccpar.skel: small fix for an edge case of initialized data in Chris Dodd's btyacc changes: "Avoid crash when input pops up an Action error at the first token" 2016-06-01 Thomas E. Dickey * test/yacc/quote_calc2-s.tab.c, test/yacc/quote_calc3-s.tab.c, test/yacc/quote_calc3.tab.c, test/yacc/quote_calc4-s.tab.c, test/yacc/quote_calc4.tab.c, test/yacc/varsyntax_calc1.tab.c, test/yacc/err_syntax18.tab.c, test/yacc/err_syntax20.tab.c, test/yacc/err_syntax24.error, test/yacc/error.tab.c, test/yacc/grammar.tab.c, test/yacc/ok_syntax1.tab.c, test/yacc/pure_calc.tab.c, test/yacc/pure_error.tab.c, test/yacc/quote_calc-s.tab.c, test/yacc/quote_calc.tab.c, test/yacc/quote_calc2.tab.c, test/yacc/calc.tab.c, test/yacc/calc1.tab.c, test/yacc/calc2.tab.c, test/yacc/calc3.tab.c, test/yacc/code_calc.code.c, test/yacc/code_calc.tab.c, test/yacc/code_calc.tab.h, test/yacc/code_error.code.c, test/yacc/empty.tab.c, test/yacc/err_syntax10.tab.c, test/yacc/err_syntax11.tab.c, test/yacc/err_syntax12.tab.c, test/yacc/rename_debug.c, yaccpar.c, test/btyacc/quote_calc-s.tab.c, test/btyacc/quote_calc.tab.c, test/btyacc/quote_calc2-s.tab.c, test/btyacc/quote_calc2.tab.c, test/btyacc/quote_calc3-s.tab.c, test/btyacc/quote_calc3.tab.c, test/btyacc/quote_calc4-s.tab.c, test/btyacc/quote_calc4.tab.c, test/btyacc/varsyntax_calc1.tab.c, test/btyacc/err_syntax13.tab.c, test/btyacc/err_syntax14.tab.c, test/btyacc/err_syntax15.tab.c, test/btyacc/err_syntax16.tab.c, test/btyacc/err_syntax17.tab.c, test/btyacc/err_syntax18.tab.c, test/btyacc/err_syntax19.tab.c, test/btyacc/err_syntax2.tab.c, test/btyacc/err_syntax20.tab.c, test/btyacc/err_syntax21.tab.c, test/btyacc/err_syntax22.tab.c, test/btyacc/err_syntax23.tab.c, test/btyacc/err_syntax24.error, test/btyacc/err_syntax24.tab.c, test/btyacc/err_syntax25.tab.c, test/btyacc/err_syntax26.tab.c, test/btyacc/err_syntax27.tab.c, test/btyacc/err_syntax3.tab.c, test/btyacc/err_syntax4.tab.c, test/btyacc/err_syntax5.tab.c, test/btyacc/err_syntax6.tab.c, test/btyacc/err_syntax7.tab.c, test/btyacc/err_syntax7a.tab.c, test/btyacc/err_syntax7b.tab.c, test/btyacc/err_syntax8.tab.c, test/btyacc/err_syntax8a.tab.c, test/btyacc/err_syntax9.tab.c, test/btyacc/error.tab.c, test/btyacc/grammar.tab.c, test/btyacc/inherit0.tab.c, test/btyacc/inherit1.tab.c, test/btyacc/inherit2.output, test/btyacc/inherit2.tab.c, test/btyacc/ok_syntax1.tab.c, test/btyacc/pure_calc.tab.c, test/btyacc/pure_error.tab.c, test/btyacc/btyacc_calc1.tab.c, test/btyacc/btyacc_demo.error, test/btyacc/btyacc_demo.output, test/btyacc/btyacc_demo.tab.c, test/btyacc/btyacc_destroy1.tab.c, test/btyacc/btyacc_destroy2.tab.c, test/btyacc/btyacc_destroy3.tab.c, test/btyacc/calc.tab.c, test/btyacc/calc1.tab.c, test/btyacc/calc2.tab.c, test/btyacc/calc3.tab.c, test/btyacc/code_calc.code.c, test/btyacc/code_calc.tab.c, test/btyacc/code_calc.tab.h, test/btyacc/code_error.code.c, test/btyacc/empty.tab.c, test/btyacc/err_inherit1.tab.c, test/btyacc/err_inherit2.tab.c, test/btyacc/err_inherit3.output, test/btyacc/err_inherit3.tab.c, test/btyacc/err_inherit4.output, test/btyacc/err_inherit4.tab.c, test/btyacc/err_inherit5.tab.c, test/btyacc/err_syntax1.tab.c, test/btyacc/err_syntax10.tab.c, test/btyacc/err_syntax11.tab.c, test/btyacc/err_syntax12.tab.c, test/btyacc/rename_debug.c, btyaccpar.c: regen 2016-06-01 Tom.Shields * btyaccpar.skel, defs.h, error.c, output.c, reader.c, test/code_calc.y, test/err_inherit4.y, test/run_make.sh, yaccpar.skel: fixes for issues in btyacc (report by Francis Andre): + correction to the placement of the #line directive for a %union specification + recovery of a set of casts originally added into btyaccpar.c rather than into btyaccpar.skel, and so are lost whenever building from scratch + Chris Dodd's btyacc improved handling of inherited attributes to eliminate implicit empty copy rules that are not necessary, and thereby avoiding the introduction of extra parsing ambiguity + Chris Dodd's added support for @@-N syntax to reference inherited position information + correction to bad interaction between %token-table and YYDEBUG, where YYDEBUG was required to be defined in order to compile the generated code + correction to yyname[] access in code included with YYDEBUG defined for single character symbols not recognized (e.g., input containing '&' character where grammar doesn't define that as a symbol) - map to existing "illegal-symbol" entry in byname[] + fixes to test/run_make.sh: skip test-err_* files; in the bison test phase skip additional files that contain features not supported by bison and inhibit new bison warning messages + minor changes to btyaccpar.skel & yaccpar.skel so they are more similar in their commonality; makes it easier to maintain the pair of files using vimdiff + changes to a couple of test cases for coverage of #3, #4 and #5 above 2016-06-01 Thomas E. Dickey * VERSION, package/byacc.spec, package/debian/changelog, package/mingw-byacc.spec, package/pkgsrc/Makefile: bump 2016-03-24 Thomas E. Dickey * reader.c: unused variable * package/pkgsrc/Makefile, package/debian/copyright: bump 2016-03-24 Jung-uk.Kim * main.c: correct logic for finding output suffix in the "-o" option, which matched the first occurrence of ".c" in the name in 2005-08-13 changes rather than at the end of the filename (patch by Jung-uk Kim) 2016-03-24 Thomas E. Dickey * aclocal.m4: update CF_WITH_MAN2HTML to use configured shell rather than /bin/sh * VERSION, package/byacc.spec, package/debian/changelog, package/mingw-byacc.spec, package/pkgsrc/Makefile: bump 2016-01-25 Thomas E. Dickey * config.guess, config.sub: 2016-01-01 @ text @a7 1 4 | type locnamelist d9 1 a9 2 5 class : GLOBAL 6 | LOCAL d11 1 a11 2 7 type : REAL 8 | INTEGER d13 2 a14 1 9 $$3 : d16 2 a17 2 10 namelist : $$3 namelist NAME 11 | NAME d19 1 a19 1 12 $$4 : d21 6 a26 1 13 locnamelist : $$4 $$2 namelist d43 1 a43 1 class : GLOBAL . (5) d45 1 a45 1 . reduce 5 d49 1 a49 1 class : LOCAL . (6) d51 1 a51 1 . reduce 6 d55 1 a55 1 type : REAL . (7) d57 1 a57 1 . reduce 7 d61 1 a61 1 type : INTEGER . (8) d63 1 a63 1 . reduce 8 d83 2 a84 2 declaration : type . locnamelist (4) $$4 : . (12) d86 1 a86 1 . reduce 12 d88 1 a88 2 locnamelist goto 9 $$4 goto 10 d97 1 a97 1 $$1 goto 11 d101 2 a102 1 declaration : type locnamelist . (4) d104 4 a107 1 . reduce 4 d111 1 a111 1 locnamelist : $$4 . $$2 namelist (13) d116 1 a116 1 $$2 goto 12 d120 1 a120 2 declaration : class type $$1 . $$2 namelist (3) $$2 : . (2) d122 1 a122 3 . reduce 2 $$2 goto 13 a124 1 12: shift/reduce conflict (shift 14, reduce 9) on NAME d126 2 a127 2 locnamelist : $$4 $$2 . namelist (13) $$3 : . (9) d129 1 a129 1 NAME shift 14 d131 1 a131 2 namelist goto 15 $$3 goto 16 d134 1 a134 1 13: shift/reduce conflict (shift 14, reduce 9) on NAME d137 1 a137 1 $$3 : . (9) d139 1 a139 1 NAME shift 14 d141 2 a142 2 namelist goto 17 $$3 goto 16 d145 1 d147 2 a148 1 namelist : NAME . (11) d150 4 a153 1 . reduce 11 d157 1 a157 1 locnamelist : $$4 $$2 namelist . (13) d159 1 a159 1 . reduce 13 a161 1 16: shift/reduce conflict (shift 14, reduce 9) on NAME d163 1 a163 2 namelist : $$3 . namelist NAME (10) $$3 : . (9) d165 1 a165 1 NAME shift 14 a166 2 namelist goto 18 $$3 goto 16 d168 4 d173 1 a173 2 state 17 declaration : class type $$1 $$2 namelist . (3) d175 2 a176 1 . reduce 3 d180 3 a182 1 namelist : $$3 namelist . NAME (10) d184 5 a188 1 NAME shift 19 d192 2 a193 2 state 19 namelist : $$3 namelist NAME . (10) d195 1 a195 1 . reduce 10 d199 1 a199 1 $$3 : (9) a201 1 State 12 contains 1 shift/reduce conflict. d203 2 a204 1 State 16 contains 1 shift/reduce conflict. d207 2 a208 2 7 terminals, 10 nonterminals 14 grammar rules, 20 states d229 1 @