1*c5b5d71aSJung-uk Kim2016-06-06 Thomas E. Dickey <tom@invisible-island.net> 2*c5b5d71aSJung-uk Kim 3*c5b5d71aSJung-uk Kim * configure: regen 4*c5b5d71aSJung-uk Kim 5*c5b5d71aSJung-uk Kim * aclocal.m4: improved autoconf macros: 6*c5b5d71aSJung-uk Kim CF_CC_ENV_FLAGS - don't limit the check to -I, -U and -D options, since the 7*c5b5d71aSJung-uk Kim added options can include various compiler options before and after 8*c5b5d71aSJung-uk Kim preprocessor options. 9*c5b5d71aSJung-uk Kim CF_PROG_LINT - add cpplint to programs to use; drop ad hoc tdlint and alint. 10*c5b5d71aSJung-uk Kim 11*c5b5d71aSJung-uk Kim * VERSION, package/byacc.spec, package/debian/changelog, package/mingw-byacc.spec, package/pkgsrc/Makefile: 12*c5b5d71aSJung-uk Kim bump 13*c5b5d71aSJung-uk Kim 14*c5b5d71aSJung-uk Kim * lalr.c: indented 15*c5b5d71aSJung-uk Kim 16*c5b5d71aSJung-uk Kim * btyaccpar.c: regen 17*c5b5d71aSJung-uk Kim 18*c5b5d71aSJung-uk Kim * skel2c: 19*c5b5d71aSJung-uk Kim adjust whitespace so that generated skeleton will follow the same format 20*c5b5d71aSJung-uk Kim as other code 21*c5b5d71aSJung-uk Kim 22*c5b5d71aSJung-uk Kim * mkpar.c, verbose.c, lr0.c, reader.c, error.c, output.c: indented 23*c5b5d71aSJung-uk Kim 24*c5b5d71aSJung-uk Kim * reader.c: fix two compiler warnings 25*c5b5d71aSJung-uk Kim 26*c5b5d71aSJung-uk Kim * 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: 27*c5b5d71aSJung-uk Kim regen 28*c5b5d71aSJung-uk Kim 29*c5b5d71aSJung-uk Kim2016-06-06 Tom.Shields 30*c5b5d71aSJung-uk Kim 31*c5b5d71aSJung-uk Kim * btyaccpar.skel, yaccpar.skel: 32*c5b5d71aSJung-uk Kim small fix for an edge case of initialized data in Chris Dodd's btyacc changes: 33*c5b5d71aSJung-uk Kim "Avoid crash when input pops up an Action error at the first token" 34*c5b5d71aSJung-uk Kim 35*c5b5d71aSJung-uk Kim2016-06-01 Thomas E. Dickey <tom@invisible-island.net> 36*c5b5d71aSJung-uk Kim 37*c5b5d71aSJung-uk Kim * 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: 38*c5b5d71aSJung-uk Kim regen 39*c5b5d71aSJung-uk Kim 40*c5b5d71aSJung-uk Kim2016-06-01 Tom.Shields 41*c5b5d71aSJung-uk Kim 42*c5b5d71aSJung-uk Kim * btyaccpar.skel, defs.h, error.c, output.c, reader.c, test/code_calc.y, test/err_inherit4.y, test/run_make.sh, yaccpar.skel: 43*c5b5d71aSJung-uk Kim fixes for issues in btyacc (report by Francis Andre): 44*c5b5d71aSJung-uk Kim 45*c5b5d71aSJung-uk Kim + correction to the placement of the #line directive for a %union specification 46*c5b5d71aSJung-uk Kim 47*c5b5d71aSJung-uk Kim + recovery of a set of casts originally added into btyaccpar.c rather than into 48*c5b5d71aSJung-uk Kim btyaccpar.skel, and so are lost whenever building from scratch 49*c5b5d71aSJung-uk Kim 50*c5b5d71aSJung-uk Kim + Chris Dodd's btyacc improved handling of inherited attributes to eliminate 51*c5b5d71aSJung-uk Kim implicit empty copy rules that are not necessary, and thereby avoiding the 52*c5b5d71aSJung-uk Kim introduction of extra parsing ambiguity 53*c5b5d71aSJung-uk Kim 54*c5b5d71aSJung-uk Kim + Chris Dodd's added support for @-N syntax to reference inherited position 55*c5b5d71aSJung-uk Kim information 56*c5b5d71aSJung-uk Kim 57*c5b5d71aSJung-uk Kim + correction to bad interaction between %token-table and YYDEBUG, where YYDEBUG 58*c5b5d71aSJung-uk Kim was required to be defined in order to compile the generated code 59*c5b5d71aSJung-uk Kim 60*c5b5d71aSJung-uk Kim + correction to yyname[] access in code included with YYDEBUG defined for 61*c5b5d71aSJung-uk Kim single character symbols not recognized (e.g., input containing '&' character 62*c5b5d71aSJung-uk Kim where grammar doesn't define that as a symbol) - map to existing 63*c5b5d71aSJung-uk Kim "illegal-symbol" entry in byname[] 64*c5b5d71aSJung-uk Kim 65*c5b5d71aSJung-uk Kim + fixes to test/run_make.sh: skip test-err_* files; in the bison test phase 66*c5b5d71aSJung-uk Kim skip additional files that contain features not supported by bison and 67*c5b5d71aSJung-uk Kim inhibit new bison warning messages 68*c5b5d71aSJung-uk Kim 69*c5b5d71aSJung-uk Kim + minor changes to btyaccpar.skel & yaccpar.skel so they are more similar in 70*c5b5d71aSJung-uk Kim their commonality; makes it easier to maintain the pair of files using 71*c5b5d71aSJung-uk Kim vimdiff 72*c5b5d71aSJung-uk Kim 73*c5b5d71aSJung-uk Kim + changes to a couple of test cases for coverage of #3, #4 and #5 above 74*c5b5d71aSJung-uk Kim 75*c5b5d71aSJung-uk Kim2016-06-01 Thomas E. Dickey <tom@invisible-island.net> 76*c5b5d71aSJung-uk Kim 77*c5b5d71aSJung-uk Kim * VERSION, package/byacc.spec, package/debian/changelog, package/mingw-byacc.spec, package/pkgsrc/Makefile: 78*c5b5d71aSJung-uk Kim bump 79*c5b5d71aSJung-uk Kim 8020afc491SJung-uk Kim2016-03-24 Thomas E. Dickey <tom@invisible-island.net> 8120afc491SJung-uk Kim 8220afc491SJung-uk Kim * reader.c: unused variable 8320afc491SJung-uk Kim 8420afc491SJung-uk Kim * package/pkgsrc/Makefile, package/debian/copyright: bump 8520afc491SJung-uk Kim 8620afc491SJung-uk Kim2016-03-24 Jung-uk.Kim 8720afc491SJung-uk Kim 8820afc491SJung-uk Kim * main.c: 8920afc491SJung-uk Kim correct logic for finding output suffix in the "-o" option, which matched 9020afc491SJung-uk Kim the first occurrence of ".c" in the name in 2005-08-13 changes rather than 9120afc491SJung-uk Kim at the end of the filename (patch by Jung-uk Kim) 9220afc491SJung-uk Kim 9320afc491SJung-uk Kim2016-03-24 Thomas E. Dickey <tom@invisible-island.net> 9420afc491SJung-uk Kim 9520afc491SJung-uk Kim * aclocal.m4: 9620afc491SJung-uk Kim update CF_WITH_MAN2HTML to use configured shell rather than /bin/sh 9720afc491SJung-uk Kim 9820afc491SJung-uk Kim * VERSION, package/byacc.spec, package/debian/changelog, package/mingw-byacc.spec, package/pkgsrc/Makefile: 9920afc491SJung-uk Kim bump 10020afc491SJung-uk Kim 10120afc491SJung-uk Kim2016-01-25 Thomas E. Dickey <tom@invisible-island.net> 10220afc491SJung-uk Kim 10320afc491SJung-uk Kim * config.guess, config.sub: 2016-01-01 10420afc491SJung-uk Kim 1050f86d14eSJung-uk Kim2015-07-10 Thomas E. Dickey <tom@invisible-island.net> 1060f86d14eSJung-uk Kim 1070f86d14eSJung-uk Kim * lr0.c: fix a duplicate-free in the leak-checking 1080f86d14eSJung-uk Kim 1090f86d14eSJung-uk Kim * VERSION, package/byacc.spec, package/debian/changelog, package/mingw-byacc.spec, package/pkgsrc/Makefile: 1100f86d14eSJung-uk Kim bump 1110f86d14eSJung-uk Kim 1120f86d14eSJung-uk Kim * reader.c: 1130f86d14eSJung-uk Kim make cache-size clearer (prompted by discussion with Pedro Giffuni, 1140f86d14eSJung-uk Kim Oliver Pinter) 1150f86d14eSJung-uk Kim 1160f86d14eSJung-uk Kim * main.c: 1170f86d14eSJung-uk Kim make relationship with format/size clearer (prompted by discussion 1180f86d14eSJung-uk Kim with Pedro Giffuni, Oliver Pinter) 1190f86d14eSJung-uk Kim 1200f86d14eSJung-uk Kim2015-07-05 Thomas E. Dickey <tom@invisible-island.net> 1210f86d14eSJung-uk Kim 1220f86d14eSJung-uk Kim * configure: regen 1230f86d14eSJung-uk Kim 1240f86d14eSJung-uk Kim * package/pkgsrc/Makefile, package/mingw-byacc.spec, package/debian/copyright, package/debian/changelog, package/byacc.spec, VERSION: 1250f86d14eSJung-uk Kim bump 1260f86d14eSJung-uk Kim 1270f86d14eSJung-uk Kim * aclocal.m4: resync with my-autoconf 1280f86d14eSJung-uk Kim add configure option --with-man2html 1290f86d14eSJung-uk Kim 1300f86d14eSJung-uk Kim * makefile.in: add configure options --with-man2html 1310f86d14eSJung-uk Kim 1320f86d14eSJung-uk Kim * configure.in: add configure option --with-man2html 1330f86d14eSJung-uk Kim 1340f86d14eSJung-uk Kim2015-05-02 Thomas E. Dickey <tom@invisible-island.net> 1350f86d14eSJung-uk Kim 1360f86d14eSJung-uk Kim * config.guess: 2015-03-04 1370f86d14eSJung-uk Kim 1380f86d14eSJung-uk Kim * config.sub: 2015-03-08 1390f86d14eSJung-uk Kim 1400f86d14eSJung-uk Kim2014-11-28 Thomas E. Dickey <tom@invisible-island.net> 1410f86d14eSJung-uk Kim 1420f86d14eSJung-uk Kim * lr0.c: coverity #39181: memory leak 1430f86d14eSJung-uk Kim 1440f86d14eSJung-uk Kim * VERSION, package/byacc.spec, package/debian/changelog, package/mingw-byacc.spec, package/pkgsrc/Makefile: 1450f86d14eSJung-uk Kim bump 1460f86d14eSJung-uk Kim 1470f86d14eSJung-uk Kim2014-11-13 Jouk.Jansen 1480f86d14eSJung-uk Kim 1490f86d14eSJung-uk Kim * descrip.mms: 1500f86d14eSJung-uk Kim I sucessfully compiled byacc on my OpenVMS systems. However, I had to update 1510f86d14eSJung-uk Kim the descrip.mms to include some extra c-source files and some dependenxcies 1520f86d14eSJung-uk Kim so that it also works when the distribution is located on an ODS5 disk. 1530f86d14eSJung-uk Kim 1540f86d14eSJung-uk Kim The patched descrip.mms file can be found at: 1550f86d14eSJung-uk Kim http://nchrem.tnw.tudelft.nl/openvms/software2.html#BYACC 1560f86d14eSJung-uk Kim 1570f86d14eSJung-uk Kim Please feel free to insert the file in your distribution. 1580f86d14eSJung-uk Kim 1590f86d14eSJung-uk Kim Regards 1600f86d14eSJung-uk Kim Jouk. 1610f86d14eSJung-uk Kim 162315e69cbSBaptiste Daroussin2014-10-06 Thomas E. Dickey <tom@invisible-island.net> 163315e69cbSBaptiste Daroussin 164315e69cbSBaptiste Daroussin * package/debian/source/format: 165315e69cbSBaptiste Daroussin change to native format to work around regression in Debian packaging. 166315e69cbSBaptiste Daroussin 167315e69cbSBaptiste Daroussin * VERSION, package/byacc.spec, package/debian/changelog, package/mingw-byacc.spec, package/pkgsrc/Makefile: 168315e69cbSBaptiste Daroussin bump 169315e69cbSBaptiste Daroussin 170315e69cbSBaptiste Daroussin * configure: regen 171315e69cbSBaptiste Daroussin 172315e69cbSBaptiste Daroussin * main.c: 173315e69cbSBaptiste Daroussin correct parameter for umask - for very old mkstemp's - and use type mode_t 174315e69cbSBaptiste Daroussin to quiet compiler warning 175315e69cbSBaptiste Daroussin 176315e69cbSBaptiste Daroussin * configure.in: add configure check for mode_t 177315e69cbSBaptiste Daroussin 178315e69cbSBaptiste Daroussin * reader.c: 179315e69cbSBaptiste Daroussin better fix for get_line, by ensuring there is enough space to null-terminate 180315e69cbSBaptiste Daroussin its result (prompted by discussion with Craig Rodrigues). 181315e69cbSBaptiste Daroussin 18211fce282SBaptiste Daroussin2014-10-05 Thomas E. Dickey <tom@invisible-island.net> 18311fce282SBaptiste Daroussin 18411fce282SBaptiste Daroussin * main.c: 18511fce282SBaptiste Daroussin make change to umask before calling mkstemp, as suggested in Coverity #56902 18611fce282SBaptiste Daroussin 18711fce282SBaptiste Daroussin * reader.c: 18811fce282SBaptiste Daroussin adjust logic in copy_action to avoid potential null-pointer dereference 18911fce282SBaptiste Daroussin (Coverity #56901) 19011fce282SBaptiste Daroussin 19111fce282SBaptiste Daroussin * reader.c: 19211fce282SBaptiste Daroussin adjust logic to avoid potential null-pointer dereference in compile_args 19311fce282SBaptiste Daroussin (Coverity #63407) 19411fce282SBaptiste Daroussin 19511fce282SBaptiste Daroussin * reader.c: eliminate strcpy into fixed-size buffer (Coverity #63408) 19611fce282SBaptiste Daroussin 19711fce282SBaptiste Daroussin * yacc.1: document changes made with respect to %parse-param 19811fce282SBaptiste Daroussin 19911fce282SBaptiste Daroussin * output.c: 20011fce282SBaptiste Daroussin add parameters from %parse-param to destructor. The order of the parameters 20111fce282SBaptiste Daroussin is intentionally inconsistent with yyparse/yyerror, for "compatibility" with 20211fce282SBaptiste Daroussin bison. 20311fce282SBaptiste Daroussin 20411fce282SBaptiste Daroussin * test/btyacc/btyacc_destroy1.tab.c, test/btyacc/btyacc_destroy2.tab.c, test/btyacc/btyacc_destroy3.tab.c: 20511fce282SBaptiste Daroussin regen 20611fce282SBaptiste Daroussin 20711fce282SBaptiste Daroussin * output.c: 20811fce282SBaptiste Daroussin use puts_param_types/puts_param_names to output lex_param data. 20911fce282SBaptiste Daroussin 21011fce282SBaptiste Daroussin * test/btyacc/ok_syntax1.tab.c, test/btyacc/calc2.tab.c, test/btyacc/calc3.tab.c, test/yacc/ok_syntax1.tab.c, test/yacc/calc2.tab.c, test/yacc/calc3.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/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/btyacc_calc1.tab.c, test/btyacc/btyacc_demo.tab.c, test/btyacc/calc.tab.c, test/btyacc/calc1.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: 21111fce282SBaptiste Daroussin regen 21211fce282SBaptiste Daroussin 21311fce282SBaptiste Daroussin * btyaccpar.c: add casts, change types to fix strict compiler warnings 21411fce282SBaptiste Daroussin 21511fce282SBaptiste Daroussin * test/btyacc/err_syntax17.tab.c, test/btyacc/err_syntax19.tab.c, test/btyacc/err_syntax2.tab.c, test/btyacc/err_syntax21.tab.c, test/btyacc/err_syntax22.tab.c, test/btyacc/err_syntax23.tab.c, 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/err_inherit1.tab.c, test/btyacc/err_inherit2.tab.c, test/btyacc/err_inherit5.tab.c, test/btyacc/err_syntax1.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: 21611fce282SBaptiste Daroussin regen 21711fce282SBaptiste Daroussin 21811fce282SBaptiste Daroussin * output.c: gcc-warning 21911fce282SBaptiste Daroussin 22011fce282SBaptiste Daroussin * test/btyacc/code_calc.tab.c, test/btyacc/code_error.tab.c: regen 22111fce282SBaptiste Daroussin 22211fce282SBaptiste Daroussin * output.c: fix limit when merging real/workaround tables 22311fce282SBaptiste Daroussin 22411fce282SBaptiste Daroussin * output.c: 22511fce282SBaptiste Daroussin for btyacc, it is possible to have no conflicts - but in that case, the 22611fce282SBaptiste Daroussin "ctable" was not generated at all, while the skeleton uses the table. 22711fce282SBaptiste Daroussin The most straightforward (workaround) is generating a dummy table which 22811fce282SBaptiste Daroussin rejects any state. 22911fce282SBaptiste Daroussin 23011fce282SBaptiste Daroussin * test/btyacc_destroy3.y, test/btyacc_destroy2.y, test/btyacc_destroy1.y: 23111fce282SBaptiste Daroussin fix "make check_make" 23211fce282SBaptiste Daroussin 23311fce282SBaptiste Daroussin * test/yacc/calc3.tab.c, test/yacc/ok_syntax1.tab.c, test/yacc/calc2.tab.c, test/btyacc/btyacc_destroy1.tab.c, test/btyacc/btyacc_destroy2.tab.c: 23411fce282SBaptiste Daroussin regen 23511fce282SBaptiste Daroussin 23611fce282SBaptiste Daroussin * reader.c: 23711fce282SBaptiste Daroussin trim blanks from interim value in copy_param() to handle special case when 23811fce282SBaptiste Daroussin a space precedes a comma. 23911fce282SBaptiste Daroussin 24011fce282SBaptiste Daroussin * output.c: 24111fce282SBaptiste Daroussin use two new functions, puts_param_types and puts_param_names, to improve 24211fce282SBaptiste Daroussin format of the parse_param list (by trimming space after "*") as well as 24311fce282SBaptiste Daroussin correcting the output of the comma-separated names (only the last name 24411fce282SBaptiste Daroussin was output). 24511fce282SBaptiste Daroussin 24611fce282SBaptiste Daroussin * test/btyacc/ok_syntax1.tab.c, test/btyacc/btyacc_destroy3.tab.c, test/btyacc/calc2.tab.c, test/btyacc/calc3.tab.c: 24711fce282SBaptiste Daroussin regen 24811fce282SBaptiste Daroussin 24911fce282SBaptiste Daroussin * reader.c: 25011fce282SBaptiste Daroussin modify copy_param() to handle resulting comma-separated list. Before, it 25111fce282SBaptiste Daroussin only expected a single parameter. 25211fce282SBaptiste Daroussin 25311fce282SBaptiste Daroussin2014-10-04 Thomas E. Dickey <tom@invisible-island.net> 25411fce282SBaptiste Daroussin 25511fce282SBaptiste Daroussin * reader.c: split-out save_param() from copy_param() 25611fce282SBaptiste Daroussin 25711fce282SBaptiste Daroussin * reader.c: trim_blanks() did not always convert spaces - fix. 25811fce282SBaptiste Daroussin 25911fce282SBaptiste Daroussin * reader.c: fix some minor regressions with error-reporting 26011fce282SBaptiste Daroussin 26111fce282SBaptiste Daroussin * aclocal.m4: update CF_XOPEN_SOURCE for Unixware change from lynx 26211fce282SBaptiste Daroussin 26311fce282SBaptiste Daroussin * VERSION, package/byacc.spec, package/debian/changelog, package/mingw-byacc.spec, package/pkgsrc/Makefile: 26411fce282SBaptiste Daroussin bump 26511fce282SBaptiste Daroussin 26611fce282SBaptiste Daroussin * reader.c: 26711fce282SBaptiste Daroussin modify copy_param() to accept multiple parameters, each in curly braces like 26811fce282SBaptiste Daroussin recent bison, as well as honoring bison's undocumented feature to accept the 26911fce282SBaptiste Daroussin parameters as a comma-separated list. 27011fce282SBaptiste Daroussin 27111fce282SBaptiste Daroussin * test/btyacc/btyacc_destroy3.tab.c, test/btyacc/btyacc_destroy1.tab.c, test/btyacc/btyacc_destroy2.tab.c, test/btyacc/btyacc_destroy3.error, test/btyacc/btyacc_destroy3.output, test/btyacc/btyacc_destroy3.tab.h, test/btyacc/btyacc_destroy2.error, test/btyacc/btyacc_destroy2.output, test/btyacc/btyacc_destroy2.tab.h: 27211fce282SBaptiste Daroussin RCS_BASE 27311fce282SBaptiste Daroussin 27411fce282SBaptiste Daroussin2014-10-03 Thomas E. Dickey <tom@invisible-island.net> 27511fce282SBaptiste Daroussin 27611fce282SBaptiste Daroussin * test/btyacc/btyacc_demo2.error, test/btyacc/btyacc_demo2.output, test/btyacc/btyacc_demo2.tab.c, test/btyacc/btyacc_demo2.tab.h, test/btyacc/btyacc_destroy1.error, test/btyacc/btyacc_destroy1.output, test/btyacc/btyacc_destroy1.tab.h, test/btyacc_destroy3.y, test/btyacc_destroy1.y, test/btyacc_destroy2.y: 27711fce282SBaptiste Daroussin RCS_BASE 27811fce282SBaptiste Daroussin 279ab7bf3d4SCraig Rodrigues2014-10-02 Thomas E. Dickey <tom@invisible-island.net> 280ab7bf3d4SCraig Rodrigues 28111fce282SBaptiste Daroussin * main.c, reader.c, defs.h: 282ab7bf3d4SCraig Rodrigues use calloc in get_line() when allocating line to ensure it is fully initialized, 283ab7bf3d4SCraig Rodrigues fixes a later uninitialized value in copy_param() (FreeBSD #193499). 284ab7bf3d4SCraig Rodrigues 28511fce282SBaptiste Daroussin2014-09-17 Thomas E. Dickey <tom@invisible-island.net> 28611fce282SBaptiste Daroussin 28711fce282SBaptiste Daroussin * closure.c, lalr.c, output.c, defs.h: 28811fce282SBaptiste Daroussin rephrase odd addressing to fix Coverity #48848, #38950, #38860, not actually 28911fce282SBaptiste Daroussin a bug. 29011fce282SBaptiste Daroussin 29111fce282SBaptiste Daroussin2014-09-01 Thomas E. Dickey <tom@invisible-island.net> 29211fce282SBaptiste Daroussin 29311fce282SBaptiste Daroussin * config.sub: update to 2014-07-28 29411fce282SBaptiste Daroussin 29511fce282SBaptiste Daroussin2014-07-27 Thomas E. Dickey <tom@invisible-island.net> 29611fce282SBaptiste Daroussin 29711fce282SBaptiste Daroussin * configure: regen 29811fce282SBaptiste Daroussin 29911fce282SBaptiste Daroussin * aclocal.m4: modified to support port to Minix3.2 30011fce282SBaptiste Daroussin 30111fce282SBaptiste Daroussin * package/pkgsrc/Makefile, VERSION, package/byacc.spec, package/debian/changelog, package/mingw-byacc.spec: 30211fce282SBaptiste Daroussin bump 30311fce282SBaptiste Daroussin 304bb9eb45aSBaptiste Daroussin2014-07-15 Thomas E. Dickey <tom@invisible-island.net> 305bb9eb45aSBaptiste Daroussin 306bb9eb45aSBaptiste Daroussin * aclocal.m4: resync with my-autoconf (no change to configure script) 307bb9eb45aSBaptiste Daroussin 308bb9eb45aSBaptiste Daroussin * VERSION, package/byacc.spec, package/debian/changelog, package/mingw-byacc.spec, package/pkgsrc/Makefile: 309bb9eb45aSBaptiste Daroussin bump 310bb9eb45aSBaptiste Daroussin 311bb9eb45aSBaptiste Daroussin * test/run_test.sh: 312bb9eb45aSBaptiste Daroussin make top-level "make check" work again, by adding another step to filtering 313bb9eb45aSBaptiste Daroussin the test results. 314bb9eb45aSBaptiste Daroussin 315bb9eb45aSBaptiste Daroussin2014-07-14 Thomas E. Dickey <tom@invisible-island.net> 316bb9eb45aSBaptiste Daroussin 317bb9eb45aSBaptiste Daroussin * test/run_test.sh: changes from Garrett Cooper's patch: 318bb9eb45aSBaptiste Daroussin a) ensure that the script returns an error-code if there are differences 319bb9eb45aSBaptiste Daroussin b) escape "." character in left side of sed expression for $YACC 320bb9eb45aSBaptiste Daroussin c) ensure that $ifBTYACC has a value 321bb9eb45aSBaptiste Daroussin 322bb9eb45aSBaptiste Daroussin * test/btyacc/big_b.output, test/btyacc/big_l.output, test/btyacc/help.output, test/btyacc/no_b_opt.output, test/btyacc/no_output2.output, test/btyacc/no_p_opt.output, test/btyacc/nostdin.output: 323bb9eb45aSBaptiste Daroussin regen (reminder by Garrett Cooper) 324bb9eb45aSBaptiste Daroussin 325bb9eb45aSBaptiste Daroussin2014-07-14 Garrett.Cooper 326bb9eb45aSBaptiste Daroussin 327bb9eb45aSBaptiste Daroussin * test/btyacc/err_inherit1.error, test/btyacc/err_inherit2.error, test/btyacc/err_inherit3.error, test/btyacc/err_inherit4.error, test/btyacc/err_inherit5.error, test/btyacc/err_syntax1.error, test/btyacc/err_syntax10.error, test/btyacc/err_syntax11.error, test/btyacc/err_syntax12.error, test/btyacc/err_syntax13.error, test/btyacc/err_syntax14.error, test/btyacc/err_syntax15.error, test/btyacc/err_syntax16.error, test/btyacc/err_syntax17.error, test/btyacc/err_syntax18.error, test/btyacc/err_syntax19.error, test/btyacc/err_syntax2.error, test/btyacc/err_syntax21.error, test/btyacc/err_syntax22.error, test/btyacc/err_syntax23.error, test/btyacc/err_syntax24.error, test/btyacc/err_syntax25.error, test/btyacc/err_syntax26.error, test/btyacc/err_syntax27.error, test/btyacc/err_syntax3.error, test/btyacc/err_syntax4.error, test/btyacc/err_syntax5.error, test/btyacc/err_syntax6.error, test/btyacc/err_syntax7.error, test/btyacc/err_syntax7a.error, test/btyacc/err_syntax7b.error, test/btyacc/err_syntax8.error, test/btyacc/err_syntax8a.error, test/btyacc/err_syntax9.error, test/yacc/err_syntax1.error, test/yacc/err_syntax10.error, test/yacc/err_syntax11.error, test/yacc/err_syntax12.error, test/yacc/err_syntax13.error, test/yacc/err_syntax14.error, test/yacc/err_syntax15.error, test/yacc/err_syntax16.error, test/yacc/err_syntax17.error, test/yacc/err_syntax18.error, test/yacc/err_syntax19.error, test/yacc/err_syntax2.error, test/yacc/err_syntax21.error, test/yacc/err_syntax22.error, test/yacc/err_syntax23.error, test/yacc/err_syntax24.error, test/yacc/err_syntax25.error, test/yacc/err_syntax26.error, test/yacc/err_syntax27.error, test/yacc/err_syntax3.error, test/yacc/err_syntax4.error, test/yacc/err_syntax5.error, test/yacc/err_syntax6.error, test/yacc/err_syntax7.error, test/yacc/err_syntax7a.error, test/yacc/err_syntax7b.error, test/yacc/err_syntax8.error, test/yacc/err_syntax8a.error, test/yacc/err_syntax9.error: 328bb9eb45aSBaptiste Daroussin regen 329bb9eb45aSBaptiste Daroussin 330bb9eb45aSBaptiste Daroussin2014-05-27 Tom.Shields 331bb9eb45aSBaptiste Daroussin 332bb9eb45aSBaptiste Daroussin * main.c: remove obsolete -D option from usage message 333bb9eb45aSBaptiste Daroussin 334bb9eb45aSBaptiste Daroussin2014-05-27 Thomas E. Dickey <tom@invisible-island.net> 335bb9eb45aSBaptiste Daroussin 336bb9eb45aSBaptiste Daroussin * VERSION, package/byacc.spec, package/debian/changelog, test/yacc/big_b.output, test/yacc/big_l.output, test/yacc/help.output, test/yacc/no_b_opt.output, test/yacc/no_output2.output, test/yacc/no_p_opt.output, test/yacc/nostdin.output: 337bb9eb45aSBaptiste Daroussin bump 338bb9eb45aSBaptiste Daroussin 339497dcf4cSBaptiste Daroussin2014-04-22 Thomas E. Dickey <tom@invisible-island.net> 340497dcf4cSBaptiste Daroussin 341497dcf4cSBaptiste Daroussin * mstring.c: 342497dcf4cSBaptiste Daroussin use vsnprintf() to ensure that msprintf's buffer is large enough. 343497dcf4cSBaptiste Daroussin 344497dcf4cSBaptiste Daroussin * main.c, defs.h: add mstring_leaks() 345497dcf4cSBaptiste Daroussin 346497dcf4cSBaptiste Daroussin * configure: regen 347497dcf4cSBaptiste Daroussin 348497dcf4cSBaptiste Daroussin * output.c: fix a complementary warning 349497dcf4cSBaptiste Daroussin 350497dcf4cSBaptiste Daroussin * mstring.c: introduce vsnprintf 351497dcf4cSBaptiste Daroussin 352497dcf4cSBaptiste Daroussin * configure.in, config_h.in: add check for vsnprintf 353497dcf4cSBaptiste Daroussin 354497dcf4cSBaptiste Daroussin * output.c: quiet a type-conversion warning 355497dcf4cSBaptiste Daroussin 356497dcf4cSBaptiste Daroussin * mstring.c: fix a potential memory leak on ENOMEM 357497dcf4cSBaptiste Daroussin quiet a couple of type-conversion warnings 358497dcf4cSBaptiste Daroussin 359497dcf4cSBaptiste Daroussin * defs.h: add/use GCC_PRINTFLIKE for msprintf() 360497dcf4cSBaptiste Daroussin 361497dcf4cSBaptiste Daroussin2014-04-22 Tom.Shields 362497dcf4cSBaptiste Daroussin 363497dcf4cSBaptiste Daroussin * README.BTYACC: 364497dcf4cSBaptiste Daroussin drop "NOTES-btyacc-Changes" and "NOTES-btyacc-Disposition", merging relevant 365497dcf4cSBaptiste Daroussin content into README.BTYACC 366497dcf4cSBaptiste Daroussin 367497dcf4cSBaptiste Daroussin2014-04-22 Thomas E. Dickey <tom@invisible-island.net> 368497dcf4cSBaptiste Daroussin 369497dcf4cSBaptiste Daroussin * package/pkgsrc/Makefile, VERSION, package/byacc.spec, package/debian/changelog, package/mingw-byacc.spec: 370497dcf4cSBaptiste Daroussin bump 371497dcf4cSBaptiste Daroussin 372497dcf4cSBaptiste Daroussin2014-04-19 Thomas E. Dickey <tom@invisible-island.net> 373497dcf4cSBaptiste Daroussin 374497dcf4cSBaptiste Daroussin * config.sub: 2014-04-03 375497dcf4cSBaptiste Daroussin 376497dcf4cSBaptiste Daroussin * config.guess: 2014-03-23 377497dcf4cSBaptiste Daroussin 3780c8de5b0SBaptiste Daroussin2014-04-09 Rick.Spates 3790c8de5b0SBaptiste Daroussin 3800c8de5b0SBaptiste Daroussin * main.c, defs.h: patch to allow DEBUG build with WIN32 system 3810c8de5b0SBaptiste Daroussin 3820c8de5b0SBaptiste Daroussin2014-04-09 Thomas E. Dickey <tom@invisible-island.net> 3830c8de5b0SBaptiste Daroussin 3840c8de5b0SBaptiste Daroussin * output.c, reader.c: gcc warnings 3850c8de5b0SBaptiste Daroussin 3860c8de5b0SBaptiste Daroussin * reader.c: fix const-cast warnings 3870c8de5b0SBaptiste Daroussin 3880c8de5b0SBaptiste Daroussin * test/btyacc/quote_calc-s.tab.c, test/btyacc/quote_calc.tab.c, test/btyacc/quote_calc3-s.tab.c, test/btyacc/quote_calc4-s.tab.c, test/btyacc/quote_calc4.tab.c, test/btyacc/varsyntax_calc1.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_calc2-s.tab.c, test/btyacc/quote_calc2.tab.c, test/btyacc/quote_calc3.tab.c, test/btyacc/err_syntax18.tab.c, test/btyacc/err_syntax20.tab.c, test/btyacc/code_error.tab.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/error.tab.c, test/btyacc/rename_debug.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.tab.c, output.c: 3890c8de5b0SBaptiste Daroussin fix a few clang --analyze warnings; one was a case where output_ctable emitted 3900c8de5b0SBaptiste Daroussin an empty table (which should be an error). 3910c8de5b0SBaptiste Daroussin 3920c8de5b0SBaptiste Daroussin * reader.c: appease clang --analyze 3930c8de5b0SBaptiste Daroussin 3940c8de5b0SBaptiste Daroussin * defs.h: mark two functions as no-return. 3950c8de5b0SBaptiste Daroussin 3960c8de5b0SBaptiste Daroussin * package/debian/changelog: reason for release 3970c8de5b0SBaptiste Daroussin 3980c8de5b0SBaptiste Daroussin * VERSION, package/byacc.spec, package/debian/changelog, package/mingw-byacc.spec, package/pkgsrc/Makefile: 3990c8de5b0SBaptiste Daroussin bump 4000c8de5b0SBaptiste Daroussin 4010c8de5b0SBaptiste Daroussin * makefile.in: use $LINT_OPTS from environment via configure script 4020c8de5b0SBaptiste Daroussin 4030c8de5b0SBaptiste Daroussin * test/btyacc/ok_syntax1.output, test/btyacc/ok_syntax1.tab.c, test/yacc/ok_syntax1.tab.c, test/ok_syntax1.y, test/yacc/ok_syntax1.output: 4040c8de5b0SBaptiste Daroussin tweaks to make generated files from ok_syntax1.y compile with check_make rule 4050c8de5b0SBaptiste Daroussin 4060c8de5b0SBaptiste Daroussin * test/btyacc/rename_debug.c, test/btyacc/rename_debug.error, test/btyacc/rename_debug.h, test/btyacc/rename_debug.i, test/btyacc/rename_debug.output, test/yacc/rename_debug.c: 4070c8de5b0SBaptiste Daroussin reference output for testing 4080c8de5b0SBaptiste Daroussin 4090c8de5b0SBaptiste Daroussin * test/run_test.sh: 4100c8de5b0SBaptiste Daroussin retain the renaming done for code_debug.y so that check_make will work. 4110c8de5b0SBaptiste Daroussin 4120c8de5b0SBaptiste Daroussin * test/yacc/rename_debug.error, test/yacc/rename_debug.h, test/yacc/rename_debug.i, test/yacc/rename_debug.output: 4130c8de5b0SBaptiste Daroussin reference output for testing 4140c8de5b0SBaptiste Daroussin 4150c8de5b0SBaptiste Daroussin * test/btyacc/ok_syntax1.error: RCS_BASE 4160c8de5b0SBaptiste Daroussin 4170c8de5b0SBaptiste Daroussin * test/yacc/quote_calc4-s.tab.c, test/yacc/varsyntax_calc1.tab.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/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/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.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, yaccpar.c: 4180c8de5b0SBaptiste Daroussin regen 4190c8de5b0SBaptiste Daroussin 4200c8de5b0SBaptiste Daroussin * yacc.1: 4210c8de5b0SBaptiste Daroussin clarify relationship of btyacc features to default configuration. 4220c8de5b0SBaptiste Daroussin 4230c8de5b0SBaptiste Daroussin2014-04-08 Thomas E. Dickey <tom@invisible-island.net> 4240c8de5b0SBaptiste Daroussin 4250c8de5b0SBaptiste Daroussin * test/yacc/ok_syntax1.output, test/yacc/ok_syntax1.tab.c, test/yacc/ok_syntax1.tab.h, test/btyacc/ok_syntax1.output, test/btyacc/ok_syntax1.tab.c, test/btyacc/ok_syntax1.tab.h: 4260c8de5b0SBaptiste Daroussin reference output for testing 4270c8de5b0SBaptiste Daroussin 4280c8de5b0SBaptiste Daroussin * test/ok_syntax1.y: RCS_BASE 4290c8de5b0SBaptiste Daroussin 4300c8de5b0SBaptiste Daroussin * test/yacc/ok_syntax1.error: reference output for testing 4310c8de5b0SBaptiste Daroussin 4320c8de5b0SBaptiste Daroussin * test/yacc/big_b.error, test/yacc/big_b.output, test/yacc/big_l.error, test/yacc/big_l.output, test/btyacc/big_b.error, test/btyacc/big_b.output, test/btyacc/big_l.error, test/btyacc/big_l.output, test/run_test.sh: 4330c8de5b0SBaptiste Daroussin exercise -L/-B options 4340c8de5b0SBaptiste Daroussin 4350c8de5b0SBaptiste Daroussin * test/yacc/code_debug.c, test/btyacc/code_debug.c, test/yacc/err_syntax15.tab.c, test/yacc/err_syntax16.tab.c, test/yacc/err_syntax17.tab.c, test/yacc/err_syntax18.tab.c, test/yacc/err_syntax19.tab.c, test/yacc/err_syntax2.tab.c, test/yacc/err_syntax20.tab.c, test/yacc/err_syntax21.tab.c, test/yacc/err_syntax22.tab.c, test/yacc/err_syntax23.tab.c, test/yacc/err_syntax24.tab.c, test/yacc/err_syntax25.tab.c, test/yacc/err_syntax26.tab.c, test/yacc/err_syntax27.tab.c, test/yacc/err_syntax3.tab.c, test/yacc/err_syntax4.tab.c, test/yacc/err_syntax5.tab.c, test/yacc/err_syntax6.tab.c, test/yacc/err_syntax7.tab.c, test/yacc/err_syntax7a.tab.c, test/yacc/err_syntax7b.tab.c, test/yacc/err_syntax8.tab.c, test/yacc/err_syntax8a.tab.c, test/yacc/err_syntax9.tab.c, test/yacc/error.tab.c, test/yacc/grammar.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-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/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_syntax1.tab.c, test/yacc/err_syntax10.tab.c, test/yacc/err_syntax11.tab.c, test/yacc/err_syntax12.tab.c, test/yacc/err_syntax13.tab.c, test/yacc/err_syntax14.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.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.tab.c, test/btyacc/pure_error.tab.c, test/btyacc/btyacc_demo.tab.c, 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.tab.c, 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/pure_calc.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/btyacc_calc1.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/run_test.sh, test/yacc/no_b_opt1.output: 4360c8de5b0SBaptiste Daroussin use a better renaming of the YYPATCH definition (none of the test-cases rely 4370c8de5b0SBaptiste Daroussin upon it, but redefinition in the "make check_make" rule is a problem). 4380c8de5b0SBaptiste Daroussin 4390c8de5b0SBaptiste Daroussin * test/btyacc/err_syntax1.tab.c, test/btyacc/err_syntax13.tab.c, test/btyacc/err_syntax2.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/varsyntax_calc1.tab.c: 4400c8de5b0SBaptiste Daroussin undid temporary reordering in reader() by Tom Shields to align with byacc outputs 4410c8de5b0SBaptiste Daroussin 4420c8de5b0SBaptiste Daroussin * test/run_test.sh: remove a repeated test-case 4430c8de5b0SBaptiste Daroussin 4440c8de5b0SBaptiste Daroussin * mstring.c: minor reformatting to make coverage analysis simpler 4450c8de5b0SBaptiste Daroussin 4460c8de5b0SBaptiste Daroussin2014-04-07 Thomas E. Dickey <tom@invisible-island.net> 4470c8de5b0SBaptiste Daroussin 4480c8de5b0SBaptiste Daroussin * test/run_test.sh: tidy 4490c8de5b0SBaptiste Daroussin 4500c8de5b0SBaptiste Daroussin * test/yacc/help.error, test/yacc/help.output, test/yacc/no_b_opt.error, test/yacc/no_b_opt.output, test/yacc/no_b_opt1.error, test/yacc/no_b_opt1.output, test/yacc/no_code_c.error, test/yacc/no_code_c.output, test/yacc/no_defines.error, test/yacc/no_defines.output, test/yacc/no_graph.error, test/yacc/no_graph.output, test/yacc/no_include.error, test/yacc/no_include.output, test/yacc/no_opts.error, test/yacc/no_opts.output, test/yacc/no_output.error, test/yacc/no_output.output, test/yacc/no_output1.error, test/yacc/no_output1.output, test/yacc/no_output2.error, test/yacc/no_output2.output, test/yacc/no_p_opt.error, test/yacc/no_p_opt.output, test/yacc/no_p_opt1.error, test/yacc/no_p_opt1.output, test/yacc/no_verbose.error, test/yacc/no_verbose.output, test/yacc/nostdin.error, test/yacc/nostdin.output, test/yacc/test-no_b_opt1.output: 4510c8de5b0SBaptiste Daroussin reference output for testing 4520c8de5b0SBaptiste Daroussin 4530c8de5b0SBaptiste Daroussin * test/run_test.sh: 4540c8de5b0SBaptiste Daroussin add special checks for flags which depend on writable/existing files 4550c8de5b0SBaptiste Daroussin 4560c8de5b0SBaptiste Daroussin * test/btyacc/no_b_opt1.output, test/btyacc/no_p_opt1.output, test/btyacc/no_b_opt.error, test/btyacc/no_b_opt.output, test/btyacc/no_b_opt1.error, test/btyacc/no_code_c.output, test/btyacc/no_p_opt.error, test/btyacc/no_p_opt.output, test/btyacc/no_p_opt1.error, test/btyacc/no_output2.output, test/btyacc/no_code_c.error, test/btyacc/no_output2.error, test/btyacc/no_include.error, test/btyacc/no_include.output, test/btyacc/no_defines.output, test/btyacc/no_defines.error, test/btyacc/no_verbose.output, test/btyacc/no_graph.output, test/btyacc/no_graph.error, test/btyacc/no_opts.error, test/btyacc/no_opts.output, test/btyacc/no_verbose.error, test/btyacc/nostdin.error, test/btyacc/nostdin.output, test/btyacc/no_output.error, test/btyacc/no_output.output, test/btyacc/no_output1.error, test/btyacc/no_output1.output: 4570c8de5b0SBaptiste Daroussin reference output for testing 4580c8de5b0SBaptiste Daroussin 4590c8de5b0SBaptiste Daroussin * main.c: 4600c8de5b0SBaptiste Daroussin change CREATE_FILE_NAMES() to use local function rather than inline code, 4610c8de5b0SBaptiste Daroussin to simplify coverage analysis. 4620c8de5b0SBaptiste Daroussin 4630c8de5b0SBaptiste Daroussin * test/btyacc/err_syntax27.error, test/btyacc/err_syntax27.output, test/btyacc/err_syntax27.tab.c, test/btyacc/err_syntax27.tab.h, test/btyacc/help.error, test/btyacc/help.output, test/yacc/err_syntax27.error, test/yacc/err_syntax27.output, test/yacc/err_syntax27.tab.c, test/yacc/err_syntax27.tab.h: 4640c8de5b0SBaptiste Daroussin reference output for testing 4650c8de5b0SBaptiste Daroussin 4660c8de5b0SBaptiste Daroussin * test/err_syntax27.y: testcase for missing_brace() 4670c8de5b0SBaptiste Daroussin 4680c8de5b0SBaptiste Daroussin * error.c: ifdef'd non-btyacc function 4690c8de5b0SBaptiste Daroussin 4700c8de5b0SBaptiste Daroussin * lr0.c: ifdef'd debug-code 4710c8de5b0SBaptiste Daroussin 4720c8de5b0SBaptiste Daroussin * yaccpar.skel: use YYINT's to replace short's as in btyaccpar.skel 4730c8de5b0SBaptiste Daroussin 4740c8de5b0SBaptiste Daroussin * test/btyacc/code_debug.c, test/btyacc/err_syntax12.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_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.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/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/btyacc_calc1.tab.c, test/btyacc/btyacc_demo.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_inherit1.tab.c, test/btyacc/err_inherit2.tab.c, test/btyacc/err_inherit3.tab.c, test/btyacc/err_inherit4.tab.c, test/btyacc/err_inherit5.tab.c, test/btyacc/err_syntax10.tab.c, test/btyacc/err_syntax11.tab.c, test/yacc/err_syntax11.tab.c, test/yacc/err_syntax12.tab.c, test/yacc/err_syntax18.tab.c, test/yacc/err_syntax20.tab.c, test/yacc/error.tab.c, test/yacc/grammar.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-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/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_debug.c, test/yacc/code_error.code.c, test/yacc/empty.tab.c, test/yacc/err_syntax10.tab.c, output.c, test/yacc/err_syntax1.tab.c, test/yacc/err_syntax13.tab.c, test/yacc/err_syntax14.tab.c, test/yacc/err_syntax15.tab.c, test/yacc/err_syntax16.tab.c, test/yacc/err_syntax17.tab.c, test/yacc/err_syntax19.tab.c, test/yacc/err_syntax2.tab.c, test/yacc/err_syntax21.tab.c, test/yacc/err_syntax22.tab.c, test/yacc/err_syntax23.tab.c, test/yacc/err_syntax24.tab.c, test/yacc/err_syntax25.tab.c, test/yacc/err_syntax26.tab.c, test/yacc/err_syntax3.tab.c, test/yacc/err_syntax4.tab.c, test/yacc/err_syntax5.tab.c, test/yacc/err_syntax6.tab.c, test/yacc/err_syntax7.tab.c, test/yacc/err_syntax7a.tab.c, test/yacc/err_syntax7b.tab.c, test/yacc/err_syntax8.tab.c, test/yacc/err_syntax8a.tab.c, test/yacc/err_syntax9.tab.c, test/run_test.sh: 4750c8de5b0SBaptiste Daroussin 2010/11/26 simplification of output.c using putc_code() and putl_code() 4760c8de5b0SBaptiste Daroussin omitted an adjustment of the #line value used for code-file. Fix that. 4770c8de5b0SBaptiste Daroussin Also, amend 2005/05/04 change to run_test.sh to retain a dummy line for 4780c8de5b0SBaptiste Daroussin YYPATCH #define's to make test-outputs easier to compare #line's (report 4790c8de5b0SBaptiste Daroussin by Tom Shields) 4800c8de5b0SBaptiste Daroussin 4810c8de5b0SBaptiste Daroussin2014-04-06 Thomas E. Dickey <tom@invisible-island.net> 4820c8de5b0SBaptiste Daroussin 4830c8de5b0SBaptiste Daroussin * reader.c: fix for valgrind 4840c8de5b0SBaptiste Daroussin (the calloc's are intentional - valgrind reported use of uninitialized memory) 4850c8de5b0SBaptiste Daroussin 4860c8de5b0SBaptiste Daroussin * lr0.c, output.c: fix for valgrind 4870c8de5b0SBaptiste Daroussin 4880c8de5b0SBaptiste Daroussin * test/btyacc/code_debug.c, test/btyacc/code_debug.error, test/btyacc/code_debug.h, test/btyacc/code_debug.i, test/btyacc/code_debug.output: 4890c8de5b0SBaptiste Daroussin RCS_BASE 4900c8de5b0SBaptiste Daroussin 4910c8de5b0SBaptiste Daroussin * test/yacc/code_debug.c, test/yacc/code_debug.h: 4920c8de5b0SBaptiste Daroussin exercise the -i option 4930c8de5b0SBaptiste Daroussin 4940c8de5b0SBaptiste Daroussin * test/yacc/code_debug.i: reference output for testing 4950c8de5b0SBaptiste Daroussin 4960c8de5b0SBaptiste Daroussin * test/run_test.sh: exercise the -i option 4970c8de5b0SBaptiste Daroussin 4980c8de5b0SBaptiste Daroussin * test/yacc/code_debug.c: reference output for testing 4990c8de5b0SBaptiste Daroussin 5000c8de5b0SBaptiste Daroussin * test/run_test.sh: exercise the "-o" option 5010c8de5b0SBaptiste Daroussin 5020c8de5b0SBaptiste Daroussin * test/yacc/code_debug.error, test/yacc/code_debug.h, test/yacc/code_debug.output: 5030c8de5b0SBaptiste Daroussin reference output for testing 5040c8de5b0SBaptiste Daroussin 5050c8de5b0SBaptiste Daroussin * output.c: don't call exit() without giving a chance to cleanup. 5060c8de5b0SBaptiste Daroussin 5070c8de5b0SBaptiste Daroussin * mstring.c: ifdef'd functions not used in byacc 5080c8de5b0SBaptiste Daroussin 5090c8de5b0SBaptiste Daroussin * btyaccpar.c: generated from btyaccpar.skel 5100c8de5b0SBaptiste Daroussin 5110c8de5b0SBaptiste Daroussin * yaccpar.c: generated from yaccpar.skel 5120c8de5b0SBaptiste Daroussin 5130c8de5b0SBaptiste Daroussin * skel2c: 5140c8de5b0SBaptiste Daroussin change the generated-by comment to show which version of this script (and 5150c8de5b0SBaptiste Daroussin which version of the given skeleton file) were used to produce the C-file. 5160c8de5b0SBaptiste Daroussin 5170c8de5b0SBaptiste Daroussin * configure: regen 5180c8de5b0SBaptiste Daroussin 5190c8de5b0SBaptiste Daroussin * makefile.in: 5200c8de5b0SBaptiste Daroussin add rules to generate byacc and btyacc parser skeleton files independently 5210c8de5b0SBaptiste Daroussin 5220c8de5b0SBaptiste Daroussin * aclocal.m4: CF_PROG_AWK - add to byacc's configure script 5230c8de5b0SBaptiste Daroussin CF_INTEL_COMPILER 5240c8de5b0SBaptiste Daroussin cleanup the -no-gcc option which was leftover from testing - prcs does 5250c8de5b0SBaptiste Daroussin not build with this option. 5260c8de5b0SBaptiste Daroussin CF_MAKE_DOCS 5270c8de5b0SBaptiste Daroussin protect $2 from substitution, for luit's "$(manext)" 5280c8de5b0SBaptiste Daroussin CF_XOPEN_SOURCE 5290c8de5b0SBaptiste Daroussin for Solaris (tested with gcc/g++ 3.4.3 on Solaris 10 and gcc/g++ 4.5.2 5300c8de5b0SBaptiste Daroussin on Solaris 11), suppress the followup check for defining _XOPEN_SOURCE 5310c8de5b0SBaptiste Daroussin because it is not needed, as well as because g++ 4.7.3 (no package, 5320c8de5b0SBaptiste Daroussin used in Sage for Solaris 10) has some unspecified header breakage which 5330c8de5b0SBaptiste Daroussin is triggered by the duplicate definition. 5340c8de5b0SBaptiste Daroussin 5350c8de5b0SBaptiste Daroussin * configure.in: 5360c8de5b0SBaptiste Daroussin modify so skeleton-source is determined by configure options rather than by 5370c8de5b0SBaptiste Daroussin having developer rename yaccpar.skel.old to yaccpar.skel 5380c8de5b0SBaptiste Daroussin 5390c8de5b0SBaptiste Daroussin * descrip.mms: rename skeleton 5400c8de5b0SBaptiste Daroussin 5410c8de5b0SBaptiste Daroussin * vmsbuild.com: 5420c8de5b0SBaptiste Daroussin fwiw, renamed the skeleton for consistency with makefile 5430c8de5b0SBaptiste Daroussin 5440c8de5b0SBaptiste Daroussin * skel2c, skeleton.c: resync skeleton and its generating files 5450c8de5b0SBaptiste Daroussin 5460c8de5b0SBaptiste Daroussin * yaccpar.skel: 5470c8de5b0SBaptiste Daroussin renamed yaccpar.skel.old to yaccpar.skel, to allow using makefile suffix rules 5480c8de5b0SBaptiste Daroussin 5490c8de5b0SBaptiste Daroussin * yaccpar.skel.old: resync skeleton and its generating files 5500c8de5b0SBaptiste Daroussin 5510c8de5b0SBaptiste Daroussin * test/run_make.sh: improve cleanup after error recovery 5520c8de5b0SBaptiste Daroussin 5530c8de5b0SBaptiste Daroussin * 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/err_syntax20.tab.c, test/yacc/error.tab.c, test/yacc/grammar.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-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, output.c, skeleton.c, defs.h: 5540c8de5b0SBaptiste Daroussin use improvement from Tom Shield's btyacc changes, getting rid of special cases for generating two yyerror calls in skeleton 5550c8de5b0SBaptiste Daroussin 5560c8de5b0SBaptiste Daroussin * output.c: simplify output_yyerror_decl() 5570c8de5b0SBaptiste Daroussin 5580c8de5b0SBaptiste Daroussin * test/yacc/pure_error.tab.c, test/yacc/quote_calc-s.tab.c, test/yacc/quote_calc.tab.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/calc.tab.c, test/yacc/calc1.tab.c, test/yacc/calc2.tab.c, test/yacc/calc3.tab.c, test/yacc/code_calc.tab.c, test/yacc/code_error.tab.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/err_syntax20.tab.c, test/yacc/error.tab.c, test/yacc/grammar.tab.c, test/yacc/pure_calc.tab.c, output.c: 5590c8de5b0SBaptiste Daroussin add second "const" to string-table declarations, from Tom Shield's btyacc changes 5600c8de5b0SBaptiste Daroussin 5610c8de5b0SBaptiste Daroussin * 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/inherit2.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/btyacc_calc1.tab.c, test/btyacc/btyacc_demo.tab.c, test/btyacc/calc.tab.c, test/btyacc/calc1.tab.c, test/btyacc/calc2.tab.c, test/btyacc/calc3.tab.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: 5620c8de5b0SBaptiste Daroussin discard unnecessary call on write_code_lineno() from Tom Shield's changes 5630c8de5b0SBaptiste Daroussin 5640c8de5b0SBaptiste Daroussin * test/yacc/error.tab.c, test/yacc/grammar.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-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/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_error.code.c, test/yacc/code_error.tab.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/err_syntax20.tab.c, output.c: 5650c8de5b0SBaptiste Daroussin use YYINT typedef from Tom Shield's btyacc changes to replace explicit "short" 5660c8de5b0SBaptiste Daroussin 5670c8de5b0SBaptiste Daroussin * test/yacc/code_calc.code.c, test/yacc/code_error.code.c, output.c: 5680c8de5b0SBaptiste Daroussin use fix from Tom Shield's btyacc changes: remove redundant extern-declaration for YYPARSE_DECL() 5690c8de5b0SBaptiste Daroussin 5700c8de5b0SBaptiste Daroussin * 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/inherit2.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/btyacc_calc1.tab.c, test/btyacc/btyacc_demo.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: 5710c8de5b0SBaptiste Daroussin discard unnecessary call on write_code_lineno() from Tom Shield's changes 5720c8de5b0SBaptiste Daroussin 5730c8de5b0SBaptiste Daroussin * output.c, test/yacc/code_calc.code.c, test/yacc/code_error.code.c, test/yacc/code_calc.tab.c, test/yacc/code_error.tab.c: 5740c8de5b0SBaptiste Daroussin use fix from Tom Shield's btyacc changes: prefix-definitions went to the 5750c8de5b0SBaptiste Daroussin output (.tab.c) file in a case where they should have gone to the code 5760c8de5b0SBaptiste Daroussin (.code.c) file. Remove now-redundant call to output_prefix(). 5770c8de5b0SBaptiste Daroussin 5780c8de5b0SBaptiste Daroussin * main.c: do the same for help-message 5790c8de5b0SBaptiste Daroussin 5800c8de5b0SBaptiste Daroussin * main.c: use OUTPUT_SUFFIX symbol in an overlooked case 5810c8de5b0SBaptiste Daroussin 5820c8de5b0SBaptiste Daroussin * test/run_make.sh: 5830c8de5b0SBaptiste Daroussin modify to avoid use of VPATH, which has no standard implementation 5840c8de5b0SBaptiste Daroussin 5850c8de5b0SBaptiste Daroussin2014-04-05 Thomas E. Dickey <tom@invisible-island.net> 5860c8de5b0SBaptiste Daroussin 5870c8de5b0SBaptiste Daroussin * test/btyacc/grammar.tab.c, test/btyacc/inherit0.tab.c, test/btyacc/inherit1.tab.c, test/btyacc/inherit2.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/btyacc_calc1.tab.c, test/btyacc/btyacc_demo.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/error.tab.c: 5880c8de5b0SBaptiste Daroussin discard a change which merged CountLines() with explicit comparisons against 5890c8de5b0SBaptiste Daroussin code_file because that adds extra to the #line values 5900c8de5b0SBaptiste Daroussin 5910c8de5b0SBaptiste Daroussin * 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-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/calc.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_syntax11.tab.c, test/yacc/err_syntax12.tab.c, test/yacc/err_syntax18.tab.c, test/yacc/error.tab.c, output.c: 5920c8de5b0SBaptiste Daroussin add Tom Shield's change to allow definition of YYSTYPE_IS_DECLARED symbol to 5930c8de5b0SBaptiste Daroussin override fallback typedef for YYSTYPE when that symbol is undefined 5940c8de5b0SBaptiste Daroussin 5950c8de5b0SBaptiste Daroussin * test/btyacc/error.tab.c, test/btyacc/inherit0.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/calc.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_syntax11.tab.c, test/btyacc/err_syntax12.tab.c, test/btyacc/err_syntax18.tab.c: 5960c8de5b0SBaptiste Daroussin minor tweak to coding style - use parenthesis for "defined" operator's parameter 5970c8de5b0SBaptiste Daroussin 5980c8de5b0SBaptiste Daroussin * 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/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/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/btyacc_calc1.tab.c, test/btyacc/btyacc_demo.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: 5990c8de5b0SBaptiste Daroussin regen to make YYMAXTOKEN and YYUNDFTOKEN adjacent 6000c8de5b0SBaptiste Daroussin 6010c8de5b0SBaptiste Daroussin * test/yacc/err_syntax20.tab.c, test/yacc/grammar.tab.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/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_error.code.c, test/yacc/code_error.tab.c, test/yacc/empty.tab.c, test/yacc/err_syntax10.tab.c, test/yacc/err_syntax11.tab.c, test/yacc/err_syntax12.tab.c: 6020c8de5b0SBaptiste Daroussin regen after adding the YYUNDFTOKEN symbol 6030c8de5b0SBaptiste Daroussin 6040c8de5b0SBaptiste Daroussin * output.c: 6050c8de5b0SBaptiste Daroussin integrate Tom Shield's btyacc changes which introduce the YYUNDFTOKEN symbol 6060c8de5b0SBaptiste Daroussin (I changed order of output to keep this adjacent to YYMAXTOKEN) 6070c8de5b0SBaptiste Daroussin 6080c8de5b0SBaptiste Daroussin * reader.c: 6090c8de5b0SBaptiste Daroussin merge all but one small change from Tom Shield's btyacc changes - that 6100c8de5b0SBaptiste Daroussin changes the order of code-file in the tests. 6110c8de5b0SBaptiste Daroussin 6120c8de5b0SBaptiste Daroussin * test/btyacc/btyacc_demo.tab.c: regen 6130c8de5b0SBaptiste Daroussin 6140c8de5b0SBaptiste Daroussin * test/btyacc_demo.y: fix prototypes 6150c8de5b0SBaptiste Daroussin 6160c8de5b0SBaptiste Daroussin2014-04-04 Thomas E. Dickey <tom@invisible-island.net> 6170c8de5b0SBaptiste Daroussin 6180c8de5b0SBaptiste Daroussin * reader.c, defs.h, main.c: 6190c8de5b0SBaptiste Daroussin more merging of Tom Shield's btyacc changes. In the merge, I moved the 6200c8de5b0SBaptiste Daroussin symbol_pval inside the btyacc ifdef's and added some more btyacc ifdefs 6210c8de5b0SBaptiste Daroussin 6220c8de5b0SBaptiste Daroussin2014-04-03 Thomas E. Dickey <tom@invisible-island.net> 6230c8de5b0SBaptiste Daroussin 6240c8de5b0SBaptiste Daroussin * reader.c: 6250c8de5b0SBaptiste Daroussin merge-in 3/4 of btyacc's changes, deferring those which change test-outputs. 6260c8de5b0SBaptiste Daroussin Tom Shield's changes split-out copy_string() and copy_comment() functions 6270c8de5b0SBaptiste Daroussin to simplify some logic, as well as adding btyacc-only chunks 6280c8de5b0SBaptiste Daroussin 6290c8de5b0SBaptiste Daroussin * makefile.in: build mstring.o, needed for changes in reader.c 6300c8de5b0SBaptiste Daroussin 6310c8de5b0SBaptiste Daroussin * output.c: 6320c8de5b0SBaptiste Daroussin merge-in all of btyacc's changes which do not change byacc's test-output. 6330c8de5b0SBaptiste Daroussin Some of the merge uses ifdef-changes which I applied to ongoing resync, 6340c8de5b0SBaptiste Daroussin e.g., the introduction of PER_STATE. 6350c8de5b0SBaptiste Daroussin 6360c8de5b0SBaptiste Daroussin2014-04-02 Thomas E. Dickey <tom@invisible-island.net> 6370c8de5b0SBaptiste Daroussin 6380c8de5b0SBaptiste Daroussin * test/btyacc/pure_calc.tab.c, test/btyacc/pure_error.tab.c: regen 6390c8de5b0SBaptiste Daroussin 6400c8de5b0SBaptiste Daroussin * output.c: fix typo 6410c8de5b0SBaptiste Daroussin 6420c8de5b0SBaptiste Daroussin * output.c, reader.c: 6430c8de5b0SBaptiste Daroussin merge in some chunks of reader and output files which do not affect byacc tests 6440c8de5b0SBaptiste Daroussin 6450c8de5b0SBaptiste Daroussin * test/yacc/calc2.tab.c, test/yacc/calc3.tab.c: regen 6460c8de5b0SBaptiste Daroussin 6470c8de5b0SBaptiste Daroussin * test/yacc/err_syntax6.tab.c, test/yacc/err_syntax7.tab.c, test/yacc/err_syntax7a.tab.c, test/yacc/err_syntax7b.tab.c, test/yacc/err_syntax8.tab.c, test/yacc/err_syntax8a.tab.c, test/yacc/err_syntax9.tab.c, test/yacc/error.tab.c, test/yacc/grammar.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-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/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_syntax1.tab.c, test/yacc/err_syntax10.tab.c, test/yacc/err_syntax11.tab.c, test/yacc/err_syntax12.tab.c, test/yacc/err_syntax13.tab.c, test/yacc/err_syntax14.tab.c, test/yacc/err_syntax15.tab.c, test/yacc/err_syntax16.tab.c, test/yacc/err_syntax17.tab.c, test/yacc/err_syntax18.tab.c, test/yacc/err_syntax19.tab.c, test/yacc/err_syntax2.tab.c, test/yacc/err_syntax20.tab.c, test/yacc/err_syntax21.tab.c, test/yacc/err_syntax22.tab.c, test/yacc/err_syntax23.tab.c, test/yacc/err_syntax24.tab.c, test/yacc/err_syntax25.tab.c, test/yacc/err_syntax26.tab.c, test/yacc/err_syntax3.tab.c, test/yacc/err_syntax4.tab.c, test/yacc/err_syntax5.tab.c, skeleton.c: 6480c8de5b0SBaptiste Daroussin incorporate YYENOMEM and YYEOF symbols from btyacc 6490c8de5b0SBaptiste Daroussin 6500c8de5b0SBaptiste Daroussin * output.c: merge chunk from btyacc changes for header-guards 6510c8de5b0SBaptiste Daroussin 6520c8de5b0SBaptiste Daroussin * btyaccpar.skel: RCS_BASE 6530c8de5b0SBaptiste Daroussin 6540c8de5b0SBaptiste Daroussin * yaccpar.skel: comment-out yysccsid[], for FreeBSD build-issues 6550c8de5b0SBaptiste Daroussin remove GCC_UNUSED to reduce name-pollution as well as being simpler 6560c8de5b0SBaptiste Daroussin 6570c8de5b0SBaptiste Daroussin * main.c: 6580c8de5b0SBaptiste Daroussin move a btyacc symbol outside ifdef to work around current state of merge 6590c8de5b0SBaptiste Daroussin 6600c8de5b0SBaptiste Daroussin * defs.h: 6610c8de5b0SBaptiste Daroussin add USE_HEADER_GUARDS to defer whether to modify byacc's header-output 6620c8de5b0SBaptiste Daroussin 6630c8de5b0SBaptiste Daroussin * test/run_make.sh: 6640c8de5b0SBaptiste Daroussin do not try to compile files used for testing syntax-errors, since they are 6650c8de5b0SBaptiste Daroussin likely to be incomplete 6660c8de5b0SBaptiste Daroussin 6670c8de5b0SBaptiste Daroussin2014-04-02 Tom.Shields 6680c8de5b0SBaptiste Daroussin 6690c8de5b0SBaptiste Daroussin * main.c: changes for btyacc 6700c8de5b0SBaptiste Daroussin 6710c8de5b0SBaptiste Daroussin2014-04-01 Thomas E. Dickey <tom@invisible-island.net> 6720c8de5b0SBaptiste Daroussin 6730c8de5b0SBaptiste Daroussin * reader.c: 6740c8de5b0SBaptiste Daroussin integrate change by Tom Shields to use bsearch rather than successive 6750c8de5b0SBaptiste Daroussin calls to matchec() 6760c8de5b0SBaptiste Daroussin 6770c8de5b0SBaptiste Daroussin * defs.h: typedef __compar_fn_t is unnecessary 6780c8de5b0SBaptiste Daroussin 6790c8de5b0SBaptiste Daroussin * 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/inherit2.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/btyacc_calc1.tab.c, test/btyacc/btyacc_demo.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: 6800c8de5b0SBaptiste Daroussin omit the GCC_UNUSED, as noted by Tom Shields not really essential 6810c8de5b0SBaptiste Daroussin 6820c8de5b0SBaptiste Daroussin2014-04-01 Tom.Shields 6830c8de5b0SBaptiste Daroussin 6840c8de5b0SBaptiste Daroussin * verbose.c: changes for btyacc, ifdef'd 6850c8de5b0SBaptiste Daroussin 6860c8de5b0SBaptiste Daroussin2014-04-01 Thomas E. Dickey <tom@invisible-island.net> 6870c8de5b0SBaptiste Daroussin 6880c8de5b0SBaptiste Daroussin * mkpar.c: eliminate most of the ifdef's using macros 6890c8de5b0SBaptiste Daroussin 6900c8de5b0SBaptiste Daroussin2014-04-01 Tom.Shields 6910c8de5b0SBaptiste Daroussin 6920c8de5b0SBaptiste Daroussin * mkpar.c: merge btyacc changes (ifdef'd - no change to byacc) 6930c8de5b0SBaptiste Daroussin 6940c8de5b0SBaptiste Daroussin * error.c: 6950c8de5b0SBaptiste Daroussin new functions used for reporting errors from the btyacc configuration 6960c8de5b0SBaptiste Daroussin (I reordered some, and ifdef'd the new ones -TD) 6970c8de5b0SBaptiste Daroussin 6980c8de5b0SBaptiste Daroussin2014-03-31 Thomas E. Dickey <tom@invisible-island.net> 6990c8de5b0SBaptiste Daroussin 7000c8de5b0SBaptiste Daroussin * test/btyacc/code_calc.code.c, test/btyacc/code_error.code.c: 7010c8de5b0SBaptiste Daroussin omit the GCC_UNUSED, as noted by Tom Shields not really essential 7020c8de5b0SBaptiste Daroussin 7030c8de5b0SBaptiste Daroussin * test/btyacc/empty.tab.c, test/btyacc/err_inherit1.tab.c, test/btyacc/err_inherit2.tab.c, test/btyacc/err_inherit3.tab.c, test/btyacc/err_inherit4.tab.c, test/btyacc/err_inherit5.tab.c, test/btyacc/err_syntax10.tab.c, test/btyacc/err_syntax11.tab.c, test/btyacc/err_syntax12.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_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.tab.c: 7040c8de5b0SBaptiste Daroussin regen 7050c8de5b0SBaptiste Daroussin 7060c8de5b0SBaptiste Daroussin2014-03-29 Thomas E. Dickey <tom@invisible-island.net> 7070c8de5b0SBaptiste Daroussin 7080c8de5b0SBaptiste Daroussin * test/yacc/err_syntax22.tab.c, test/yacc/err_syntax23.tab.c, test/yacc/err_syntax24.tab.c, test/yacc/err_syntax25.tab.c, test/yacc/err_syntax26.tab.c, test/yacc/err_syntax3.tab.c, test/yacc/err_syntax4.tab.c, test/yacc/err_syntax5.tab.c, test/yacc/err_syntax6.tab.c, test/yacc/err_syntax7.tab.c, test/yacc/err_syntax7a.tab.c, test/yacc/err_syntax7b.tab.c, test/yacc/err_syntax8.tab.c, test/yacc/err_syntax8a.tab.c, test/yacc/err_syntax9.tab.c, test/yacc/error.tab.c, test/yacc/grammar.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-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/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_syntax1.tab.c, test/yacc/err_syntax10.tab.c, test/yacc/err_syntax11.tab.c, test/yacc/err_syntax12.tab.c, test/yacc/err_syntax13.tab.c, test/yacc/err_syntax14.tab.c, test/yacc/err_syntax15.tab.c, test/yacc/err_syntax16.tab.c, test/yacc/err_syntax17.tab.c, test/yacc/err_syntax18.tab.c, test/yacc/err_syntax19.tab.c, test/yacc/err_syntax2.tab.c, test/yacc/err_syntax20.tab.c, test/yacc/err_syntax21.tab.c, skeleton.c: 7090c8de5b0SBaptiste Daroussin comment-out yysccsid in the banner because it produces unnecessary compiler 7100c8de5b0SBaptiste Daroussin warnings. The suggested alternative (using #pragma ident) in the preceding 7110c8de5b0SBaptiste Daroussin comment is also obsolete; remove that comment (request by Gleb Smirnoff). 7120c8de5b0SBaptiste Daroussin 7130c8de5b0SBaptiste Daroussin * test/run_test.sh: 7140c8de5b0SBaptiste Daroussin for yacc, ignore the inherit testcases, since they are btyacc-specific 7150c8de5b0SBaptiste Daroussin 7160c8de5b0SBaptiste Daroussin2014-03-28 Thomas E. Dickey <tom@invisible-island.net> 7170c8de5b0SBaptiste Daroussin 7180c8de5b0SBaptiste Daroussin * test/yacc/varsyntax_calc1.error, test/yacc/varsyntax_calc1.output, test/yacc/varsyntax_calc1.tab.c, test/yacc/varsyntax_calc1.tab.h, test/yacc/err_inherit3.error, test/yacc/err_inherit3.output, test/yacc/err_inherit3.tab.c, test/yacc/err_inherit3.tab.h, test/yacc/err_inherit4.error, test/yacc/err_inherit4.output, test/yacc/err_inherit4.tab.c, test/yacc/err_inherit4.tab.h, test/yacc/err_inherit5.error, test/yacc/err_inherit5.output, test/yacc/err_inherit5.tab.c, test/yacc/err_inherit5.tab.h, test/yacc/inherit0.error, test/yacc/inherit0.output, test/yacc/inherit0.tab.c, test/yacc/inherit0.tab.h, test/yacc/inherit1.error, test/yacc/inherit1.output, test/yacc/inherit1.tab.c, test/yacc/inherit1.tab.h, test/yacc/inherit2.error, test/yacc/inherit2.output, test/yacc/inherit2.tab.c, test/yacc/inherit2.tab.h, test/yacc/empty.error, test/yacc/empty.output, test/yacc/empty.tab.c, test/yacc/empty.tab.h, test/yacc/err_inherit1.error, test/yacc/err_inherit1.output, test/yacc/err_inherit1.tab.c, test/yacc/err_inherit1.tab.h, test/yacc/err_inherit2.error, test/yacc/err_inherit2.output, test/yacc/err_inherit2.tab.c, test/yacc/err_inherit2.tab.h: 7190c8de5b0SBaptiste Daroussin reference output for testing 7200c8de5b0SBaptiste Daroussin 7210c8de5b0SBaptiste Daroussin * test/run_lint.sh, test/run_make.sh, test/run_test.sh: 7220c8de5b0SBaptiste Daroussin moving #define's out of makefile broke check for yacc vs btyacc (fix) 7230c8de5b0SBaptiste Daroussin 7240c8de5b0SBaptiste Daroussin2014-03-28 Tom.Shields 7250c8de5b0SBaptiste Daroussin 7260c8de5b0SBaptiste Daroussin * test/btyacc/btyacc_demo.tab.c, test/btyacc/err_inherit3.error, test/btyacc/err_inherit3.output, test/btyacc/err_inherit3.tab.c, test/btyacc/err_inherit3.tab.h, test/btyacc/err_inherit2.error, test/btyacc/err_inherit2.output, test/btyacc/err_inherit2.tab.c, test/btyacc/err_inherit2.tab.h, test/btyacc/err_inherit4.error, test/btyacc/err_inherit4.output, test/btyacc/err_inherit4.tab.c, test/btyacc/err_inherit4.tab.h, test/btyacc/err_inherit5.error, test/btyacc/err_inherit5.output, test/btyacc/err_inherit5.tab.c, test/btyacc/err_inherit5.tab.h, test/btyacc/inherit0.error, test/btyacc/inherit0.output, test/btyacc/inherit0.tab.c, test/btyacc/inherit0.tab.h, test/btyacc/inherit1.error, test/btyacc/inherit1.output, test/btyacc/inherit1.tab.c, test/btyacc/inherit1.tab.h, test/btyacc/inherit2.error, test/btyacc/inherit2.output, test/btyacc/inherit2.tab.c, test/btyacc/inherit2.tab.h, test/btyacc/calc.error, test/btyacc/err_inherit1.error, test/btyacc/err_inherit1.output, test/btyacc/err_inherit1.tab.c, test/btyacc/err_inherit1.tab.h: 7270c8de5b0SBaptiste Daroussin reference output for testing 7280c8de5b0SBaptiste Daroussin 7290c8de5b0SBaptiste Daroussin * defs.h: new functions/variables for btyacc 7300c8de5b0SBaptiste Daroussin (I reordered and ifdef'd -TD) 7310c8de5b0SBaptiste Daroussin 7320c8de5b0SBaptiste Daroussin * test/inherit0.y, test/inherit1.y: testcase for btyacc 7330c8de5b0SBaptiste Daroussin 7340c8de5b0SBaptiste Daroussin2014-03-27 Tom.Shields 7350c8de5b0SBaptiste Daroussin 7360c8de5b0SBaptiste Daroussin * test/err_inherit5.y, test/err_inherit4.y, test/err_inherit3.y, test/err_inherit2.y, test/err_inherit1.y, test/inherit2.y: 7370c8de5b0SBaptiste Daroussin testcase for btyacc 7380c8de5b0SBaptiste Daroussin 7390c8de5b0SBaptiste Daroussin2014-03-25 Tom.Shields 7400c8de5b0SBaptiste Daroussin 7410c8de5b0SBaptiste Daroussin * symtab.c: extra initialization needed for btyacc 7420c8de5b0SBaptiste Daroussin (I ifdef'd -TD) 7430c8de5b0SBaptiste Daroussin 7440c8de5b0SBaptiste Daroussin * yacc.1: document -L/-B features from btyacc 7450c8de5b0SBaptiste Daroussin 7460c8de5b0SBaptiste Daroussin2014-03-25 Thomas E. Dickey <tom@invisible-island.net> 7470c8de5b0SBaptiste Daroussin 7480c8de5b0SBaptiste Daroussin * yacc.1: typo 7490c8de5b0SBaptiste Daroussin 7500c8de5b0SBaptiste Daroussin * configure: regen 7510c8de5b0SBaptiste Daroussin 7520c8de5b0SBaptiste Daroussin * configure.in: 7530c8de5b0SBaptiste Daroussin modified new options to act like those in my other configure-scripts, e.g., 7540c8de5b0SBaptiste Daroussin showing what option is being tested, and the resulting value. Put the 7550c8de5b0SBaptiste Daroussin definitions in config.h rather than in the makefile. 7560c8de5b0SBaptiste Daroussin 7570c8de5b0SBaptiste Daroussin2014-03-25 Tom.Shields 7580c8de5b0SBaptiste Daroussin 7590c8de5b0SBaptiste Daroussin * makefile.in: add/use LINTFLAGS variable 7600c8de5b0SBaptiste Daroussin make all of the objects (not just skeleton) rebuild if makefile changes 7610c8de5b0SBaptiste Daroussin modify check-rule to reflect updates to run_test.sh vs subdirectory 7620c8de5b0SBaptiste Daroussin 7630c8de5b0SBaptiste Daroussin * mstring.c: byacc-btyacc-20140323 7640c8de5b0SBaptiste Daroussin 7650c8de5b0SBaptiste Daroussin2014-03-25 Thomas E. Dickey <tom@invisible-island.net> 7660c8de5b0SBaptiste Daroussin 7670c8de5b0SBaptiste Daroussin * test/btyacc/RCS, test/yacc/RCS: PERMIT FILE 7680c8de5b0SBaptiste Daroussin 7690c8de5b0SBaptiste Daroussin * config_h.in: updated with autoheader-252 7700c8de5b0SBaptiste Daroussin 7710c8de5b0SBaptiste Daroussin2014-03-25 Tom.Shields 7720c8de5b0SBaptiste Daroussin 7730c8de5b0SBaptiste Daroussin * README.BTYACC: byacc-btyacc-20140323 7740c8de5b0SBaptiste Daroussin 7750c8de5b0SBaptiste Daroussin2014-03-24 Tom.Shields 7760c8de5b0SBaptiste Daroussin 7770c8de5b0SBaptiste Daroussin * test/btyacc/err_syntax1.output, test/btyacc/err_syntax1.tab.c, test/btyacc/err_syntax1.tab.h, test/btyacc/err_syntax10.error, test/btyacc/err_syntax10.output, test/btyacc/err_syntax10.tab.c, test/btyacc/err_syntax10.tab.h, test/btyacc/err_syntax11.error, test/btyacc/err_syntax11.output, test/btyacc/err_syntax11.tab.c, test/btyacc/err_syntax11.tab.h, test/btyacc/err_syntax12.error, test/btyacc/err_syntax12.output, test/btyacc/err_syntax12.tab.c, test/btyacc/err_syntax12.tab.h, test/btyacc/err_syntax13.error, test/btyacc/err_syntax13.output, test/btyacc/err_syntax13.tab.c, test/btyacc/err_syntax13.tab.h, test/btyacc/err_syntax14.error, test/btyacc/err_syntax14.output, test/btyacc/err_syntax14.tab.c, test/btyacc/err_syntax14.tab.h, test/btyacc/err_syntax15.error, test/btyacc/err_syntax15.output, test/btyacc/err_syntax15.tab.c, test/btyacc/err_syntax15.tab.h, test/btyacc/err_syntax16.error, test/btyacc/err_syntax16.output, test/btyacc/err_syntax16.tab.c, test/btyacc/err_syntax16.tab.h, test/btyacc/err_syntax17.error, test/btyacc/err_syntax17.output, test/btyacc/err_syntax17.tab.c, test/btyacc/err_syntax17.tab.h, test/btyacc/err_syntax18.error, test/btyacc/err_syntax18.output, test/btyacc/err_syntax18.tab.c, test/btyacc/err_syntax18.tab.h, test/btyacc/err_syntax19.error, test/btyacc/err_syntax19.output, test/btyacc/err_syntax19.tab.c, test/btyacc/err_syntax19.tab.h, test/btyacc/err_syntax2.output, test/btyacc/err_syntax2.tab.c, test/btyacc/err_syntax2.tab.h, test/btyacc/err_syntax20.error, test/btyacc/err_syntax20.output, test/btyacc/err_syntax20.tab.c, test/btyacc/err_syntax20.tab.h, test/btyacc/err_syntax21.error, test/btyacc/err_syntax21.output, test/btyacc/err_syntax21.tab.c, test/btyacc/err_syntax21.tab.h, test/btyacc/err_syntax22.error, test/btyacc/err_syntax22.output, test/btyacc/err_syntax22.tab.c, test/btyacc/err_syntax22.tab.h, test/btyacc/err_syntax23.error, test/btyacc/err_syntax23.output, test/btyacc/err_syntax23.tab.c, test/btyacc/err_syntax23.tab.h, test/btyacc/err_syntax24.error, test/btyacc/err_syntax24.output, test/btyacc/err_syntax24.tab.c, test/btyacc/err_syntax24.tab.h, test/btyacc/err_syntax25.error, test/btyacc/err_syntax25.output, test/btyacc/err_syntax25.tab.c, test/btyacc/err_syntax25.tab.h, test/btyacc/err_syntax26.error, test/btyacc/err_syntax26.output, test/btyacc/err_syntax26.tab.c, test/btyacc/err_syntax26.tab.h, test/btyacc/err_syntax3.output, test/btyacc/err_syntax3.tab.c, test/btyacc/err_syntax3.tab.h, test/btyacc/err_syntax4.output, test/btyacc/err_syntax4.tab.c, test/btyacc/err_syntax4.tab.h, test/btyacc/err_syntax5.output, test/btyacc/err_syntax5.tab.c, test/btyacc/err_syntax5.tab.h, test/btyacc/err_syntax6.output, test/btyacc/err_syntax6.tab.c, test/btyacc/err_syntax6.tab.h, test/btyacc/err_syntax7.output, test/btyacc/err_syntax7.tab.c, test/btyacc/err_syntax7.tab.h, test/btyacc/err_syntax7a.output, test/btyacc/err_syntax7a.tab.c, test/btyacc/err_syntax7a.tab.h, test/btyacc/err_syntax7b.output, test/btyacc/err_syntax7b.tab.c, test/btyacc/err_syntax7b.tab.h, test/btyacc/err_syntax8.output, test/btyacc/err_syntax8.tab.c, test/btyacc/err_syntax8.tab.h, test/btyacc/err_syntax8a.output, test/btyacc/err_syntax8a.tab.c, test/btyacc/err_syntax8a.tab.h, test/btyacc/err_syntax9.output, test/btyacc/err_syntax9.tab.c, test/btyacc/err_syntax9.tab.h: 7780c8de5b0SBaptiste Daroussin reference output for testing 7790c8de5b0SBaptiste Daroussin 7800c8de5b0SBaptiste Daroussin2014-03-24 Thomas E. Dickey <tom@invisible-island.net> 7810c8de5b0SBaptiste Daroussin 7820c8de5b0SBaptiste Daroussin * defs.h: fix compiler warnings due to mputc() 7830c8de5b0SBaptiste Daroussin 7840c8de5b0SBaptiste Daroussin2014-03-23 Tom.Shields 7850c8de5b0SBaptiste Daroussin 7860c8de5b0SBaptiste Daroussin * test/btyacc_demo.y: testcase for btyacc 7870c8de5b0SBaptiste Daroussin 7880c8de5b0SBaptiste Daroussin * test/btyacc/varsyntax_calc1.error, test/btyacc/varsyntax_calc1.output, test/btyacc/varsyntax_calc1.tab.c, test/btyacc/varsyntax_calc1.tab.h: 7890c8de5b0SBaptiste Daroussin reference output for testing 7900c8de5b0SBaptiste Daroussin 7910c8de5b0SBaptiste Daroussin * test/varsyntax_calc1.y, test/btyacc_calc1.y: testcase for btyacc 7920c8de5b0SBaptiste Daroussin 7930c8de5b0SBaptiste Daroussin2014-03-23 Thomas E. Dickey <tom@invisible-island.net> 7940c8de5b0SBaptiste Daroussin 7950c8de5b0SBaptiste Daroussin * test/err_syntax26.error, test/err_syntax26.output, test/err_syntax26.tab.c, test/err_syntax26.tab.h, test/yacc/err_syntax26.error, test/yacc/err_syntax26.output, test/yacc/err_syntax26.tab.c, test/yacc/err_syntax26.tab.h: 7960c8de5b0SBaptiste Daroussin reference output for testing 7970c8de5b0SBaptiste Daroussin 7980c8de5b0SBaptiste Daroussin * test/err_syntax26.y: testcase for missing_brace() 7990c8de5b0SBaptiste Daroussin 8000c8de5b0SBaptiste Daroussin * test/err_syntax25.error, test/err_syntax25.output, test/err_syntax25.tab.c, test/err_syntax25.tab.h, test/yacc/err_syntax25.error, test/yacc/err_syntax25.output, test/yacc/err_syntax25.tab.c, test/yacc/err_syntax25.tab.h: 8010c8de5b0SBaptiste Daroussin reference output for testing 8020c8de5b0SBaptiste Daroussin 8030c8de5b0SBaptiste Daroussin * test/err_syntax25.y: testcase for over_unionized() 8040c8de5b0SBaptiste Daroussin 8050c8de5b0SBaptiste Daroussin * test/err_syntax24.error, test/err_syntax24.output, test/err_syntax24.tab.c, test/err_syntax24.tab.h, test/yacc/err_syntax24.error, test/yacc/err_syntax24.output, test/yacc/err_syntax24.tab.c, test/yacc/err_syntax24.tab.h: 8060c8de5b0SBaptiste Daroussin reference output for testing 8070c8de5b0SBaptiste Daroussin 8080c8de5b0SBaptiste Daroussin * test/err_syntax24.y: testcase for default_action_warning() 8090c8de5b0SBaptiste Daroussin 8100c8de5b0SBaptiste Daroussin2014-03-23 Tom.Shields 8110c8de5b0SBaptiste Daroussin 8120c8de5b0SBaptiste Daroussin * test/btyacc/quote_calc3-s.error, test/btyacc/quote_calc4-s.error, test/btyacc/quote_calc4.error, test/btyacc/grammar.dot, test/btyacc/grammar.error, test/btyacc/pure_calc.error, test/btyacc/pure_error.error, test/btyacc/quote_calc-s.error, test/btyacc/quote_calc.error, test/btyacc/quote_calc2-s.error, test/btyacc/quote_calc2.error, test/btyacc/quote_calc3.error, test/btyacc/err_syntax2.error, test/btyacc/err_syntax3.error, test/btyacc/err_syntax4.error, test/btyacc/err_syntax5.error, test/btyacc/err_syntax6.error, test/btyacc/err_syntax7.error, test/btyacc/err_syntax7a.error, test/btyacc/err_syntax7b.error, test/btyacc/err_syntax8.error, test/btyacc/err_syntax8a.error, test/btyacc/err_syntax9.error, test/btyacc/error.error, test/btyacc/calc1.error, test/btyacc/calc2.error, test/btyacc/calc3.error, test/btyacc/code_calc.error, test/btyacc/code_error.error, test/btyacc/empty.error, test/btyacc/err_syntax1.error, test/btyacc/btyacc_calc1.error, test/btyacc/btyacc_demo.error: 8130c8de5b0SBaptiste Daroussin reference output for testing 8140c8de5b0SBaptiste Daroussin 8150c8de5b0SBaptiste Daroussin2014-03-23 Thomas E. Dickey <tom@invisible-island.net> 8160c8de5b0SBaptiste Daroussin 8170c8de5b0SBaptiste Daroussin * test/err_syntax23.error, test/err_syntax23.output, test/err_syntax23.tab.c, test/err_syntax23.tab.h, test/yacc/err_syntax23.error, test/yacc/err_syntax23.output, test/yacc/err_syntax23.tab.c, test/yacc/err_syntax23.tab.h: 8180c8de5b0SBaptiste Daroussin reference output for testing 8190c8de5b0SBaptiste Daroussin 8200c8de5b0SBaptiste Daroussin * test/err_syntax23.y: testcase for untyped_lhs() 8210c8de5b0SBaptiste Daroussin 8220c8de5b0SBaptiste Daroussin2014-03-23 Tom.Shields 8230c8de5b0SBaptiste Daroussin 8240c8de5b0SBaptiste Daroussin * test/run_test.sh: 8250c8de5b0SBaptiste Daroussin move test-outputs into subdirectories to keep btyacc/yacc results separate 8260c8de5b0SBaptiste Daroussin 8270c8de5b0SBaptiste Daroussin2014-03-23 Thomas E. Dickey <tom@invisible-island.net> 8280c8de5b0SBaptiste Daroussin 8290c8de5b0SBaptiste Daroussin * test/err_syntax22.error, test/err_syntax22.output, test/err_syntax22.tab.c, test/err_syntax22.tab.h, test/yacc/err_syntax22.error, test/yacc/err_syntax22.output, test/yacc/err_syntax22.tab.c, test/yacc/err_syntax22.tab.h: 8300c8de5b0SBaptiste Daroussin reference output for testing 8310c8de5b0SBaptiste Daroussin 8320c8de5b0SBaptiste Daroussin * test/err_syntax22.y: testcase for untyped_rhs() 8330c8de5b0SBaptiste Daroussin 8340c8de5b0SBaptiste Daroussin * test/err_syntax21.error, test/err_syntax21.output, test/err_syntax21.tab.c, test/err_syntax21.tab.h, test/yacc/err_syntax21.error, test/yacc/err_syntax21.output, test/yacc/err_syntax21.tab.c, test/yacc/err_syntax21.tab.h, test/err_syntax20.error, test/err_syntax20.output, test/err_syntax20.tab.c, test/err_syntax20.tab.h, test/yacc/err_syntax20.error, test/yacc/err_syntax20.output, test/yacc/err_syntax20.tab.c, test/yacc/err_syntax20.tab.h: 8350c8de5b0SBaptiste Daroussin reference output for testing 8360c8de5b0SBaptiste Daroussin 8370c8de5b0SBaptiste Daroussin * test/err_syntax20.y: testcase for undefined_symbol_warning() 8380c8de5b0SBaptiste Daroussin 8390c8de5b0SBaptiste Daroussin * test/err_syntax21.y: testcase for unknown_rhs() 8400c8de5b0SBaptiste Daroussin 8410c8de5b0SBaptiste Daroussin * test/err_syntax19.error, test/err_syntax19.output, test/err_syntax19.tab.c, test/err_syntax19.tab.h, test/yacc/err_syntax19.error, test/yacc/err_syntax19.output, test/yacc/err_syntax19.tab.c, test/yacc/err_syntax19.tab.h: 8420c8de5b0SBaptiste Daroussin reference output for testing 8430c8de5b0SBaptiste Daroussin 8440c8de5b0SBaptiste Daroussin * test/err_syntax19.y: testcase for dollar_error() 8450c8de5b0SBaptiste Daroussin 8460c8de5b0SBaptiste Daroussin * test/err_syntax18.error, test/err_syntax18.output, test/err_syntax18.tab.c, test/err_syntax18.tab.h, test/yacc/err_syntax18.error, test/yacc/err_syntax18.output, test/yacc/err_syntax18.tab.c, test/yacc/err_syntax18.tab.h: 8470c8de5b0SBaptiste Daroussin reference output for testing 8480c8de5b0SBaptiste Daroussin 8490c8de5b0SBaptiste Daroussin * test/err_syntax18.y: testcase for dollar_warning() 8500c8de5b0SBaptiste Daroussin 8510c8de5b0SBaptiste Daroussin * test/err_syntax17.error, test/err_syntax17.output, test/err_syntax17.tab.c, test/err_syntax17.tab.h, test/yacc/err_syntax17.error, test/yacc/err_syntax17.output, test/yacc/err_syntax17.tab.c, test/yacc/err_syntax17.tab.h: 8520c8de5b0SBaptiste Daroussin reference output for testing 8530c8de5b0SBaptiste Daroussin 8540c8de5b0SBaptiste Daroussin * test/err_syntax17.y: testcase for unterminated_action() 8550c8de5b0SBaptiste Daroussin 8560c8de5b0SBaptiste Daroussin2014-03-22 Thomas E. Dickey <tom@invisible-island.net> 8570c8de5b0SBaptiste Daroussin 8580c8de5b0SBaptiste Daroussin * test/err_syntax16.error, test/err_syntax16.output, test/err_syntax16.tab.c, test/err_syntax16.tab.h, test/yacc/err_syntax16.error, test/yacc/err_syntax16.output, test/yacc/err_syntax16.tab.c, test/yacc/err_syntax16.tab.h: 8590c8de5b0SBaptiste Daroussin reference output for testing 8600c8de5b0SBaptiste Daroussin 8610c8de5b0SBaptiste Daroussin * test/err_syntax16.y: testcase for terminal_lhs() 8620c8de5b0SBaptiste Daroussin 8630c8de5b0SBaptiste Daroussin * test/err_syntax15.error, test/err_syntax15.output, test/err_syntax15.tab.c, test/err_syntax15.tab.h, test/yacc/err_syntax15.error, test/yacc/err_syntax15.output, test/yacc/err_syntax15.tab.c, test/yacc/err_syntax15.tab.h: 8640c8de5b0SBaptiste Daroussin reference output for testing 8650c8de5b0SBaptiste Daroussin 8660c8de5b0SBaptiste Daroussin * test/err_syntax15.y: testcase for no_grammar() 8670c8de5b0SBaptiste Daroussin 8680c8de5b0SBaptiste Daroussin * test/err_syntax14.error, test/err_syntax14.output, test/err_syntax14.tab.c, test/err_syntax14.tab.h, test/yacc/err_syntax14.error, test/yacc/err_syntax14.output, test/yacc/err_syntax14.tab.c, test/yacc/err_syntax14.tab.h: 8690c8de5b0SBaptiste Daroussin reference output for testing 8700c8de5b0SBaptiste Daroussin 8710c8de5b0SBaptiste Daroussin * test/err_syntax14.y: 8720c8de5b0SBaptiste Daroussin testcase for restarted_warning() and undefined_goal() 8730c8de5b0SBaptiste Daroussin 8740c8de5b0SBaptiste Daroussin * test/err_syntax13.error, test/err_syntax13.output, test/err_syntax13.tab.c, test/err_syntax13.tab.h, test/yacc/err_syntax13.error, test/yacc/err_syntax13.output, test/yacc/err_syntax13.tab.c, test/yacc/err_syntax13.tab.h: 8750c8de5b0SBaptiste Daroussin reference output for testing 8760c8de5b0SBaptiste Daroussin 8770c8de5b0SBaptiste Daroussin * test/err_syntax13.y: testcase for terminal_start() 8780c8de5b0SBaptiste Daroussin 8790c8de5b0SBaptiste Daroussin * test/err_syntax12.error, test/err_syntax12.output, test/err_syntax12.tab.c, test/err_syntax12.tab.h, test/yacc/err_syntax12.error, test/yacc/err_syntax12.output, test/yacc/err_syntax12.tab.c, test/yacc/err_syntax12.tab.h: 8800c8de5b0SBaptiste Daroussin reference output for testing 8810c8de5b0SBaptiste Daroussin 8820c8de5b0SBaptiste Daroussin * test/err_syntax12.y: testcase for revalued_warning() 8830c8de5b0SBaptiste Daroussin 8840c8de5b0SBaptiste Daroussin * test/err_syntax11.error, test/err_syntax11.output, test/err_syntax11.tab.c, test/err_syntax11.tab.h, test/yacc/err_syntax11.error, test/yacc/err_syntax11.output, test/yacc/err_syntax11.tab.c, test/yacc/err_syntax11.tab.h: 8850c8de5b0SBaptiste Daroussin reference output for testing 8860c8de5b0SBaptiste Daroussin 8870c8de5b0SBaptiste Daroussin * test/err_syntax11.y: testcase for reprec_warning() 8880c8de5b0SBaptiste Daroussin 8890c8de5b0SBaptiste Daroussin * test/err_syntax10.error, test/err_syntax10.output, test/err_syntax10.tab.c, test/err_syntax10.tab.h, test/yacc/err_syntax10.error, test/yacc/err_syntax10.output, test/yacc/err_syntax10.tab.c, test/yacc/err_syntax10.tab.h: 8900c8de5b0SBaptiste Daroussin reference output for testing 8910c8de5b0SBaptiste Daroussin 8920c8de5b0SBaptiste Daroussin * test/err_syntax10.y: testcase for retyped_warning() 8930c8de5b0SBaptiste Daroussin 8940c8de5b0SBaptiste Daroussin2014-03-21 Thomas E. Dickey <tom@invisible-island.net> 8950c8de5b0SBaptiste Daroussin 8960c8de5b0SBaptiste Daroussin * test/err_syntax9.error, test/err_syntax9.output, test/err_syntax9.tab.c, test/err_syntax9.tab.h, test/yacc/err_syntax9.error, test/yacc/err_syntax9.output, test/yacc/err_syntax9.tab.c, test/yacc/err_syntax9.tab.h: 8970c8de5b0SBaptiste Daroussin reference output for testing 8980c8de5b0SBaptiste Daroussin 8990c8de5b0SBaptiste Daroussin * test/err_syntax9.y: testcase for tokenized_start() 9000c8de5b0SBaptiste Daroussin 9010c8de5b0SBaptiste Daroussin * test/err_syntax8.error, test/err_syntax8.output, test/err_syntax8.tab.c, test/err_syntax8.tab.h, test/err_syntax8a.error, test/err_syntax8a.output, test/err_syntax8a.tab.c, test/err_syntax8a.tab.h, test/yacc/err_syntax8.error, test/yacc/err_syntax8.output, test/yacc/err_syntax8.tab.c, test/yacc/err_syntax8.tab.h, test/yacc/err_syntax8a.error, test/yacc/err_syntax8a.output, test/yacc/err_syntax8a.tab.c, test/yacc/err_syntax8a.tab.h: 9020c8de5b0SBaptiste Daroussin reference output for testing 9030c8de5b0SBaptiste Daroussin 9040c8de5b0SBaptiste Daroussin * test/err_syntax8a.y, test/err_syntax8.y: testcase for used_reserved() 9050c8de5b0SBaptiste Daroussin 9060c8de5b0SBaptiste Daroussin * test/err_syntax7.error, test/err_syntax7.output, test/err_syntax7.tab.c, test/err_syntax7.tab.h, test/err_syntax7a.error, test/err_syntax7a.output, test/err_syntax7a.tab.c, test/err_syntax7a.tab.h, test/err_syntax7b.error, test/err_syntax7b.output, test/err_syntax7b.tab.c, test/err_syntax7b.tab.h, test/yacc/err_syntax7.error, test/yacc/err_syntax7.output, test/yacc/err_syntax7.tab.c, test/yacc/err_syntax7.tab.h, test/yacc/err_syntax7a.error, test/yacc/err_syntax7a.output, test/yacc/err_syntax7a.tab.c, test/yacc/err_syntax7a.tab.h, test/yacc/err_syntax7b.error, test/yacc/err_syntax7b.output, test/yacc/err_syntax7b.tab.c, test/yacc/err_syntax7b.tab.h: 9070c8de5b0SBaptiste Daroussin reference output for testing 9080c8de5b0SBaptiste Daroussin 9090c8de5b0SBaptiste Daroussin * test/err_syntax7b.y, test/err_syntax7a.y, test/err_syntax7.y: 9100c8de5b0SBaptiste Daroussin testcase for illegal_character() 9110c8de5b0SBaptiste Daroussin 9120c8de5b0SBaptiste Daroussin * test/err_syntax6.error, test/err_syntax6.output, test/err_syntax6.tab.c, test/err_syntax6.tab.h, test/yacc/err_syntax6.error, test/yacc/err_syntax6.output, test/yacc/err_syntax6.tab.c, test/yacc/err_syntax6.tab.h: 9130c8de5b0SBaptiste Daroussin reference output for testing 9140c8de5b0SBaptiste Daroussin 9150c8de5b0SBaptiste Daroussin * test/err_syntax6.y: testcase for illegal_tag() 9160c8de5b0SBaptiste Daroussin 9170c8de5b0SBaptiste Daroussin * test/err_syntax5.error, test/err_syntax5.output, test/err_syntax5.tab.c, test/err_syntax5.tab.h, test/yacc/err_syntax5.error, test/yacc/err_syntax5.output, test/yacc/err_syntax5.tab.c, test/yacc/err_syntax5.tab.h: 9180c8de5b0SBaptiste Daroussin reference output for testing 9190c8de5b0SBaptiste Daroussin 9200c8de5b0SBaptiste Daroussin * test/err_syntax5.y: testcase for unterminated_union() 9210c8de5b0SBaptiste Daroussin 9220c8de5b0SBaptiste Daroussin * test/err_syntax4.error, test/err_syntax4.output, test/err_syntax4.tab.c, test/err_syntax4.tab.h, test/yacc/err_syntax4.error, test/yacc/err_syntax4.output, test/yacc/err_syntax4.tab.c, test/yacc/err_syntax4.tab.h: 9230c8de5b0SBaptiste Daroussin reference output for testing 9240c8de5b0SBaptiste Daroussin 9250c8de5b0SBaptiste Daroussin * test/err_syntax4.y: testcase for unterminated_text() 9260c8de5b0SBaptiste Daroussin 9270c8de5b0SBaptiste Daroussin * test/err_syntax3.error, test/err_syntax3.output, test/err_syntax3.tab.c, test/err_syntax3.tab.h, test/yacc/err_syntax3.error, test/yacc/err_syntax3.output, test/yacc/err_syntax3.tab.c, test/yacc/err_syntax3.tab.h: 9280c8de5b0SBaptiste Daroussin reference output for testing 9290c8de5b0SBaptiste Daroussin 9300c8de5b0SBaptiste Daroussin * test/err_syntax3.y: testcase for unterminated_string() 9310c8de5b0SBaptiste Daroussin 9320c8de5b0SBaptiste Daroussin * test/err_syntax2.error, test/err_syntax2.output, test/err_syntax2.tab.c, test/err_syntax2.tab.h, test/yacc/err_syntax2.error, test/yacc/err_syntax2.output, test/yacc/err_syntax2.tab.c, test/yacc/err_syntax2.tab.h: 9330c8de5b0SBaptiste Daroussin reference output for testing 9340c8de5b0SBaptiste Daroussin 9350c8de5b0SBaptiste Daroussin * test/err_syntax2.y: testcase for unterminated_comment() 9360c8de5b0SBaptiste Daroussin 9370c8de5b0SBaptiste Daroussin * test/err_syntax1.error, test/yacc/err_syntax1.error: 9380c8de5b0SBaptiste Daroussin reference output for testing 9390c8de5b0SBaptiste Daroussin 9400c8de5b0SBaptiste Daroussin * test/err_syntax1.y: 9410c8de5b0SBaptiste Daroussin test-case with syntax error (and nonprinting character) 9420c8de5b0SBaptiste Daroussin 9430c8de5b0SBaptiste Daroussin * test/calc.error, test/calc1.error, test/calc2.error, test/calc3.error, test/code_calc.error, test/code_error.error, test/err_syntax1.error, test/error.error, test/grammar.error, test/pure_calc.error, test/pure_error.error, test/quote_calc-s.error, test/quote_calc.error, test/quote_calc2-s.error, test/quote_calc2.error, test/quote_calc3-s.error, test/quote_calc3.error, test/quote_calc4-s.error, test/quote_calc4.error, test/yacc/calc.error, test/yacc/calc1.error, test/yacc/calc2.error, test/yacc/calc3.error, test/yacc/code_calc.error, test/yacc/code_error.error, test/yacc/error.error, test/yacc/grammar.error, test/yacc/pure_calc.error, test/yacc/pure_error.error, test/yacc/quote_calc-s.error, test/yacc/quote_calc.error, test/yacc/quote_calc2-s.error, test/yacc/quote_calc2.error, test/yacc/quote_calc3-s.error, test/yacc/quote_calc3.error, test/yacc/quote_calc4-s.error, test/yacc/quote_calc4.error: 9440c8de5b0SBaptiste Daroussin reference output for testing 9450c8de5b0SBaptiste Daroussin 9460c8de5b0SBaptiste Daroussin * test/run_test.sh: 9470c8de5b0SBaptiste Daroussin save stderr to reference files, to capture shift/reduce messages as well 9480c8de5b0SBaptiste Daroussin as syntax-error messages 9490c8de5b0SBaptiste Daroussin 9500c8de5b0SBaptiste Daroussin * test/err_syntax1.output, test/err_syntax1.tab.c, test/err_syntax1.tab.h, test/yacc/err_syntax1.output, test/yacc/err_syntax1.tab.c, test/yacc/err_syntax1.tab.h: 9510c8de5b0SBaptiste Daroussin reference output for testing 9520c8de5b0SBaptiste Daroussin 9530c8de5b0SBaptiste Daroussin * test/run_test.sh: generate a ".dot" file for the grammar file 9540c8de5b0SBaptiste Daroussin 9550c8de5b0SBaptiste Daroussin * test/grammar.dot: RCS_BASE 9560c8de5b0SBaptiste Daroussin 9570c8de5b0SBaptiste Daroussin * test/yacc/grammar.dot: reference output for testing 9580c8de5b0SBaptiste Daroussin 9590c8de5b0SBaptiste Daroussin2014-03-19 Tom.Shields 9600c8de5b0SBaptiste Daroussin 9610c8de5b0SBaptiste Daroussin * output.c: rename MAXSHORT to MAXYYINT 9620c8de5b0SBaptiste Daroussin 9630c8de5b0SBaptiste Daroussin2014-03-18 Tom.Shields 9640c8de5b0SBaptiste Daroussin 9650c8de5b0SBaptiste Daroussin * yaccpar.skel: skeleton with btyacc additions 9660c8de5b0SBaptiste Daroussin 9670c8de5b0SBaptiste Daroussin * NOTES-btyacc-Changes: byacc-btyacc-20140323 9680c8de5b0SBaptiste Daroussin 9690c8de5b0SBaptiste Daroussin * test/btyacc/btyacc_calc1.output, test/btyacc/btyacc_calc1.tab.c, test/btyacc/btyacc_calc1.tab.h: 9700c8de5b0SBaptiste Daroussin reference output for testing 9710c8de5b0SBaptiste Daroussin 9720c8de5b0SBaptiste Daroussin * test/run_make.sh: 9730c8de5b0SBaptiste Daroussin move test-outputs into subdirectories to keep btyacc/yacc results separate 9740c8de5b0SBaptiste Daroussin 9750c8de5b0SBaptiste Daroussin * test/btyacc/pure_calc.tab.c, test/btyacc/pure_calc.tab.h, test/btyacc/pure_error.output, test/btyacc/pure_error.tab.c, test/btyacc/pure_error.tab.h, test/btyacc/quote_calc-s.output, test/btyacc/quote_calc-s.tab.c, test/btyacc/quote_calc-s.tab.h, test/btyacc/quote_calc.output, test/btyacc/quote_calc.tab.c, test/btyacc/quote_calc.tab.h, test/btyacc/quote_calc2-s.output, test/btyacc/quote_calc2-s.tab.c, test/btyacc/quote_calc2-s.tab.h, test/btyacc/quote_calc2.output, test/btyacc/quote_calc2.tab.c, test/btyacc/quote_calc2.tab.h, test/btyacc/quote_calc3-s.output, test/btyacc/quote_calc3-s.tab.c, test/btyacc/quote_calc3-s.tab.h, test/btyacc/quote_calc3.output, test/btyacc/quote_calc3.tab.c, test/btyacc/quote_calc3.tab.h, test/btyacc/quote_calc4-s.output, test/btyacc/quote_calc4-s.tab.c, test/btyacc/quote_calc4-s.tab.h, test/btyacc/quote_calc4.output, test/btyacc/quote_calc4.tab.c, test/btyacc/quote_calc4.tab.h, test/btyacc/calc1.output, test/btyacc/calc1.tab.c, test/btyacc/calc1.tab.h, test/btyacc/calc2.output, test/btyacc/calc2.tab.c, test/btyacc/calc2.tab.h, test/btyacc/calc3.output, test/btyacc/calc3.tab.c, test/btyacc/calc3.tab.h, test/btyacc/code_calc.code.c, test/btyacc/code_calc.output, test/btyacc/code_calc.tab.c, test/btyacc/code_calc.tab.h, test/btyacc/code_error.code.c, test/btyacc/code_error.output, test/btyacc/code_error.tab.c, test/btyacc/code_error.tab.h, test/btyacc/empty.output, test/btyacc/empty.tab.c, test/btyacc/empty.tab.h, test/btyacc/error.output, test/btyacc/error.tab.c, test/btyacc/error.tab.h, test/btyacc/grammar.output, test/btyacc/grammar.tab.c, test/btyacc/grammar.tab.h, test/btyacc/pure_calc.output, test/btyacc/btyacc_demo.output, test/btyacc/btyacc_demo.tab.h, test/btyacc/calc.output, test/btyacc/calc.tab.c, test/btyacc/calc.tab.h: 9760c8de5b0SBaptiste Daroussin reference output for testing 9770c8de5b0SBaptiste Daroussin 9780c8de5b0SBaptiste Daroussin * defs.h: 9790c8de5b0SBaptiste Daroussin several changes to help decouple the use of 'short' as the type of value 9800c8de5b0SBaptiste Daroussin used in yacc parsers. 9810c8de5b0SBaptiste Daroussin 9820c8de5b0SBaptiste Daroussin * NOTES-btyacc-Disposition: byacc-btyacc-20140323 9830c8de5b0SBaptiste Daroussin 9840c8de5b0SBaptiste Daroussin2014-03-17 Tom.Shields 9850c8de5b0SBaptiste Daroussin 9860c8de5b0SBaptiste Daroussin * skel2c, yaccpar.skel, yaccpar.skel.old: RCS_BASE 9870c8de5b0SBaptiste Daroussin 9880c8de5b0SBaptiste Daroussin * test/run_lint.sh: 9890c8de5b0SBaptiste Daroussin move test-outputs into subdirectories to keep btyacc/yacc results separate 9900c8de5b0SBaptiste Daroussin 9910c8de5b0SBaptiste Daroussin * configure.in: add --with-max-table-size and --enable-btyacc options 9920c8de5b0SBaptiste Daroussin 9930c8de5b0SBaptiste Daroussin2014-03-16 Tom.Shields 9940c8de5b0SBaptiste Daroussin 9950c8de5b0SBaptiste Daroussin * main.c: use Value_t rather than short 9960c8de5b0SBaptiste Daroussin 9970c8de5b0SBaptiste Daroussin2014-03-11 Tom.Shields 9980c8de5b0SBaptiste Daroussin 9990c8de5b0SBaptiste Daroussin * test/empty.y: testcase for btyacc 10000c8de5b0SBaptiste Daroussin 10010c8de5b0SBaptiste Daroussin2014-03-10 Tom.Shields 10020c8de5b0SBaptiste Daroussin 10030c8de5b0SBaptiste Daroussin * test/calc3.y, test/calc2.y: fix unused-variable warning 10040c8de5b0SBaptiste Daroussin 10050c8de5b0SBaptiste Daroussin2014-02-18 Tom.Shields 10060c8de5b0SBaptiste Daroussin 10070c8de5b0SBaptiste Daroussin * lr0.c, graph.c: use Value_t rather than short 10080c8de5b0SBaptiste Daroussin 10090c8de5b0SBaptiste Daroussin * closure.c: use Value_t rather than short 10100c8de5b0SBaptiste Daroussin ifdef'd forward-reference prototypes to match ifdef'ing of the actual functions 10110c8de5b0SBaptiste Daroussin 10120c8de5b0SBaptiste Daroussin * lalr.c: rename MAXSHORT to MAXYYINT 10130c8de5b0SBaptiste Daroussin 10144b4a8fcaSBaptiste Daroussin2014-01-01 Thomas E. Dickey <tom@invisible-island.net> 10154b4a8fcaSBaptiste Daroussin 10164b4a8fcaSBaptiste Daroussin * yacc.1: document %token-table, improve presentation of double-quotes 10174b4a8fcaSBaptiste Daroussin 10184b4a8fcaSBaptiste Daroussin * VERSION, package/byacc.spec, package/debian/changelog: bump 10194b4a8fcaSBaptiste Daroussin 10200c8de5b0SBaptiste Daroussin * 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_error.code.c, test/yacc/code_error.tab.c, test/yacc/error.tab.c, test/yacc/grammar.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-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: 10210c8de5b0SBaptiste Daroussin reference output for testing 10220c8de5b0SBaptiste Daroussin 10234b4a8fcaSBaptiste Daroussin * 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: 10244b4a8fcaSBaptiste Daroussin regen 10254b4a8fcaSBaptiste Daroussin 10264b4a8fcaSBaptiste Daroussin * output.c, skeleton.c: 10274b4a8fcaSBaptiste Daroussin amend the last change so that yytname is #define'd as needed rather than 10284b4a8fcaSBaptiste Daroussin permanent - to avoid breaking cproto for instance. 10294b4a8fcaSBaptiste Daroussin 10304b4a8fcaSBaptiste Daroussin2014-01-01 Christos.Zoulas 10314b4a8fcaSBaptiste Daroussin 10324b4a8fcaSBaptiste Daroussin * output.c, defs.h, main.c, reader.c, skeleton.c: 10334b4a8fcaSBaptiste Daroussin changes to build ntpd using byacc: 10344b4a8fcaSBaptiste Daroussin - rename yyname[] to yytname[] 10354b4a8fcaSBaptiste Daroussin - add YYTRANSLATE() macro 10364b4a8fcaSBaptiste Daroussin - recognize bison's %token-table declaration 10374b4a8fcaSBaptiste Daroussin 10384b4a8fcaSBaptiste Daroussin2014-01-01 Thomas E. Dickey <tom@invisible-island.net> 10394b4a8fcaSBaptiste Daroussin 10404b4a8fcaSBaptiste Daroussin * configure: regen 10414b4a8fcaSBaptiste Daroussin 10424b4a8fcaSBaptiste Daroussin * yacc.1: s/EE/XE/ to work around groff bug on Debian 6 10434b4a8fcaSBaptiste Daroussin 10444b4a8fcaSBaptiste Daroussin * makefile.in: use CF_MAKE_DOCS 10454b4a8fcaSBaptiste Daroussin 10464b4a8fcaSBaptiste Daroussin * aclocal.m4: add CF_MAKE_DOCS 10474b4a8fcaSBaptiste Daroussin 10484b4a8fcaSBaptiste Daroussin * configure.in: use CF_MAKE_DOCS 10494b4a8fcaSBaptiste Daroussin 10504b4a8fcaSBaptiste Daroussin2013-12-26 Thomas E. Dickey <tom@invisible-island.net> 10514b4a8fcaSBaptiste Daroussin 10524b4a8fcaSBaptiste Daroussin * config.guess: 2013-11-29 10534b4a8fcaSBaptiste Daroussin 10544b4a8fcaSBaptiste Daroussin2013-11-19 Thomas E. Dickey <tom@invisible-island.net> 10554b4a8fcaSBaptiste Daroussin 10564b4a8fcaSBaptiste Daroussin * aclocal.m4: resync with my-autoconf (fixes for clang and mingw) 10574b4a8fcaSBaptiste Daroussin 10584b4a8fcaSBaptiste Daroussin2013-10-25 Thomas E. Dickey <tom@invisible-island.net> 10594b4a8fcaSBaptiste Daroussin 10604b4a8fcaSBaptiste Daroussin * config.sub: 2013-10-01 10614b4a8fcaSBaptiste Daroussin 10627dde5df4SBaptiste Daroussin2013-09-25 Thomas E. Dickey <tom@invisible-island.net> 10637dde5df4SBaptiste Daroussin 10647dde5df4SBaptiste Daroussin * reader.c: fix two loop-limits found by clang 3.3 --analyze 10657dde5df4SBaptiste Daroussin 10667dde5df4SBaptiste Daroussin * configure: regen 10677dde5df4SBaptiste Daroussin 10687dde5df4SBaptiste Daroussin * aclocal.m4: 10697dde5df4SBaptiste Daroussin tweaks to CF_MIXEDCASE_FILENAMES and CF_XOPEN_SOURCE for msys from ncurses 10707dde5df4SBaptiste Daroussin 10717dde5df4SBaptiste Daroussin * package/mingw-byacc.spec: RCS_BASE 10727dde5df4SBaptiste Daroussin 10737dde5df4SBaptiste Daroussin * 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: 10747dde5df4SBaptiste Daroussin regen 10757dde5df4SBaptiste Daroussin 10767dde5df4SBaptiste Daroussin * skeleton.c: 10777dde5df4SBaptiste Daroussin Increase default stack-size to match FreeBSD version noted as from 10787dde5df4SBaptiste Daroussin "BSD 4.4 Lite Usr.bin Sources". See 10797dde5df4SBaptiste Daroussin 10807dde5df4SBaptiste Daroussin http://svnweb.freebsd.org/base/vendor/CSRG/dist/usr.bin/yacc/ 10817dde5df4SBaptiste Daroussin http://svnweb.freebsd.org/base/head/usr.bin/yacc/ 10827dde5df4SBaptiste Daroussin http://svnweb.freebsd.org/base/vendor/byacc/ 10837dde5df4SBaptiste Daroussin 10847dde5df4SBaptiste Daroussin The original 1.9 sources (on which I based development) used 500 for 10857dde5df4SBaptiste Daroussin stacksize; the BSD Lite sources (a year or two later) used 10000. 10867dde5df4SBaptiste Daroussin 10877dde5df4SBaptiste Daroussin This is a change to default values; the YYMAXDEPTH and YYSTACKSIZE 10887dde5df4SBaptiste Daroussin symbols have "always" been overridable by applications, but rarely 10897dde5df4SBaptiste Daroussin needed to do this. RedHat began using the FreeBSD source in 2000, 10907dde5df4SBaptiste Daroussin and switched to this source in 2007 using the 20050813 snapshot. 10917dde5df4SBaptiste Daroussin 10927dde5df4SBaptiste Daroussin RedHat #743343 misattributed the change in default stacksize to 10937dde5df4SBaptiste Daroussin a regression in byacc, but did not report the issue upstream. 10947dde5df4SBaptiste Daroussin 10957dde5df4SBaptiste Daroussin * package/debian/changelog, VERSION, package/byacc.spec: bump 10967dde5df4SBaptiste Daroussin 10977dde5df4SBaptiste Daroussin2013-09-07 Thomas E. Dickey <tom@invisible-island.net> 10987dde5df4SBaptiste Daroussin 10997dde5df4SBaptiste Daroussin * config.sub: update to 2013-09-15 11007dde5df4SBaptiste Daroussin 11017dde5df4SBaptiste Daroussin * config.guess: update to 2013-06-10 11027dde5df4SBaptiste Daroussin 11035b91e83fSBaptiste Daroussin2013-03-04 Thomas E. Dickey <tom@invisible-island.net> 11045b91e83fSBaptiste Daroussin 11055b91e83fSBaptiste Daroussin * package/debian/changelog, VERSION, package/byacc.spec: bump 11065b91e83fSBaptiste Daroussin 11075b91e83fSBaptiste Daroussin * aclocal.m4: 11085b91e83fSBaptiste Daroussin adapt tweak from Dave Becket to work around long-ago breakage in "new" autoconf. 11095b91e83fSBaptiste Daroussin 11105b91e83fSBaptiste Daroussin * output.c: 11115b91e83fSBaptiste Daroussin fix bogus #include if "-i" is given but not "-d" (report by Richard Mitton). 11125b91e83fSBaptiste Daroussin also while testing that, found a case where the union_file is unused; added 11135b91e83fSBaptiste Daroussin a check for address that. 11145b91e83fSBaptiste Daroussin 11155b91e83fSBaptiste Daroussin * test/ftp.output, test/ftp.tab.c, test/ftp.tab.h: regen 11165b91e83fSBaptiste Daroussin 11175b91e83fSBaptiste Daroussin * test/ftp.y: fix most compiler warnings for "make check_make" 11185b91e83fSBaptiste Daroussin 11195b91e83fSBaptiste Daroussin * test/calc1.tab.c: regen 11205b91e83fSBaptiste Daroussin 11215b91e83fSBaptiste Daroussin * test/calc1.y: fix most compiler warnings for "make check_make" 11225b91e83fSBaptiste Daroussin 11235b91e83fSBaptiste Daroussin * 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: 11245b91e83fSBaptiste Daroussin regen 11255b91e83fSBaptiste Daroussin 11265b91e83fSBaptiste Daroussin * skeleton.c: quiet a gcc conversion-warning in yygrowstack() 11275b91e83fSBaptiste Daroussin 11285b91e83fSBaptiste Daroussin * configure: regen 11295b91e83fSBaptiste Daroussin 11305b91e83fSBaptiste Daroussin * aclocal.m4: 11315b91e83fSBaptiste Daroussin another fix for CF_GCC_VERSION to handle Debian's modification of gcc message. 11325b91e83fSBaptiste Daroussin 11335b91e83fSBaptiste Daroussin2013-02-10 Thomas E. Dickey <tom@invisible-island.net> 11345b91e83fSBaptiste Daroussin 11357dde5df4SBaptiste Daroussin * config.sub, config.guess: update to 2013-02-04 11365b91e83fSBaptiste Daroussin 11375b91e83fSBaptiste Daroussin2012-10-03 Thomas E. Dickey <tom@invisible-island.net> 11385b91e83fSBaptiste Daroussin 11395b91e83fSBaptiste Daroussin * package/debian/changelog, package/byacc.spec, VERSION: bump 11405b91e83fSBaptiste Daroussin 11415b91e83fSBaptiste Daroussin * configure: regen 11425b91e83fSBaptiste Daroussin 11435b91e83fSBaptiste Daroussin * configure.in: moved AC_PROG_CC_STDC call into CF_PROG_CC 11445b91e83fSBaptiste Daroussin 11455b91e83fSBaptiste Daroussin * aclocal.m4: 11465b91e83fSBaptiste Daroussin moved AC_PROG_CC_STDC call into CF_PROG_CC and (for other uses than byacc) 11475b91e83fSBaptiste Daroussin the CF_PROG_CC macro provides the CF_ANSI_CC_REQD for the 2.13 flavor. 11485b91e83fSBaptiste Daroussin 11495b91e83fSBaptiste Daroussin * aclocal.m4, configure.in: 11505b91e83fSBaptiste Daroussin Arian's change dropped my check for misused $CC variable - restore that with 11515b91e83fSBaptiste Daroussin alternate macro CF_PROG_CC. 11525b91e83fSBaptiste Daroussin 11535b91e83fSBaptiste Daroussin2012-10-03 Adrian.Bunk 11545b91e83fSBaptiste Daroussin 11555b91e83fSBaptiste Daroussin * aclocal.m4: 11565b91e83fSBaptiste Daroussin suggested patch: drop CF_ANSI_CC_REQD, CF_ANSI_CC_CHECK, CF_PROG_EXT since 11575b91e83fSBaptiste Daroussin they are not needed. 11585b91e83fSBaptiste Daroussin 11595b91e83fSBaptiste Daroussin2012-10-03 Thomas E. Dickey <tom@invisible-island.net> 11605b91e83fSBaptiste Daroussin 11615b91e83fSBaptiste Daroussin * aclocal.m4: 11625b91e83fSBaptiste Daroussin split-out CF_CC_ENV_FLAGS from CF_ANSI_CC_CHECK to avoid losing it in 11635b91e83fSBaptiste Daroussin Adrian's suggested changes. 11645b91e83fSBaptiste Daroussin 11655b91e83fSBaptiste Daroussin * aclocal.m4: 11665b91e83fSBaptiste Daroussin CF_CLANG_COMPILER - check if the given compiler is really clang. 11675b91e83fSBaptiste Daroussin 11685b91e83fSBaptiste Daroussin * aclocal.m4: 11695b91e83fSBaptiste Daroussin add check for clang to CF_GCC_WARNINGS. modify CF_GCC_WARNINGS to work around 11705b91e83fSBaptiste Daroussin old gcc warning: ncurses change to (try to) use gnatgcc exposed gnatgcc 2.8.1 11715b91e83fSBaptiste Daroussin on my Sarge system (versus 3.3.5 for the normal gcc). The 2.8.1's 11725b91e83fSBaptiste Daroussin pointer-arithmetic checks fell afoul of gcc's misuse of void* in string.h; work 11735b91e83fSBaptiste Daroussin around by excluding that check for pre-3.x compilers. 11745b91e83fSBaptiste Daroussin 11755b91e83fSBaptiste Daroussin * aclocal.m4: 11765b91e83fSBaptiste Daroussin modify CF_GCC_ATTRIBUTES so that autoheader is able to see the definitions 11775b91e83fSBaptiste Daroussin provided by this macro. use AC_DEFINE_UNQUOTED() in CF_GCC_ATTRIBUTES rather 11785b91e83fSBaptiste Daroussin than appending to confdefs.h, since long-ago concern about the ability to 11795b91e83fSBaptiste Daroussin pass-through parameterized macros appears to be not a problem, testing with 11805b91e83fSBaptiste Daroussin 2.13 and 2.52 11815b91e83fSBaptiste Daroussin 11825b91e83fSBaptiste Daroussin2012-10-03 Adrian.Bunk 11835b91e83fSBaptiste Daroussin 11845b91e83fSBaptiste Daroussin * aclocal.m4: 11855b91e83fSBaptiste Daroussin add parameter to AC_DEFINE_UNQUOTED() to allow it to be recognized by 11865b91e83fSBaptiste Daroussin autoheader, updated macros: 11875b91e83fSBaptiste Daroussin CF_CHECK_CACHE 11885b91e83fSBaptiste Daroussin CF_DISABLE_LEAKS 11895b91e83fSBaptiste Daroussin CF_MKSTEMP 11905b91e83fSBaptiste Daroussin CF_MIXEDCASE_FILENAMES 11915b91e83fSBaptiste Daroussin CF_NO_LEAKS_OPTION 11925b91e83fSBaptiste Daroussin 11935b91e83fSBaptiste Daroussin2012-10-03 Thomas E. Dickey <tom@invisible-island.net> 11945b91e83fSBaptiste Daroussin 11955b91e83fSBaptiste Daroussin * aclocal.m4: 11965b91e83fSBaptiste Daroussin move existence-check for mkstemp out of the AC_TRY_RUN, to help with 11975b91e83fSBaptiste Daroussin cross-compiles 11985b91e83fSBaptiste Daroussin 11995b91e83fSBaptiste Daroussin2012-10-02 Thomas E. Dickey <tom@invisible-island.net> 12005b91e83fSBaptiste Daroussin 12015b91e83fSBaptiste Daroussin * config_h.in: 12025b91e83fSBaptiste Daroussin Adrian Bunk request - replace this with the output from autoheader 12035b91e83fSBaptiste Daroussin 12045b91e83fSBaptiste Daroussin2012-09-29 Adrian.Bunk 12055b91e83fSBaptiste Daroussin 12065b91e83fSBaptiste Daroussin * configure.in: 12075b91e83fSBaptiste Daroussin suggested change: replace CF_ANSI_CC_REQD by AC_PROG_CC_STDC (since no 12085b91e83fSBaptiste Daroussin check is needed anymore for standard C compilers), drop AC_CONST (same 12095b91e83fSBaptiste Daroussin reason), modify AC_OUTPUT to rely upon template generated by autoheader. 12105b91e83fSBaptiste Daroussin bump requirement to autoconf 2.52.20011201 and drop check for CF_PROG_EXT 12115b91e83fSBaptiste Daroussin as being obsolete with autoconf 2.52x 12125b91e83fSBaptiste Daroussin 12135b91e83fSBaptiste Daroussin * configure.in, main.c: drop check for atexit, because it is standard C 12145b91e83fSBaptiste Daroussin 12155b91e83fSBaptiste Daroussin * makefile.in: add assignment for datarootdir variable. 12165b91e83fSBaptiste Daroussin 12173e066022SBaptiste Daroussin2012-05-26 Thomas E. Dickey <tom@invisible-island.net> 12183e066022SBaptiste Daroussin 12193e066022SBaptiste Daroussin * package/debian/changelog, package/byacc.spec, VERSION: bump 12203e066022SBaptiste Daroussin 12213e066022SBaptiste Daroussin * reader.c: 12223e066022SBaptiste Daroussin some versions of gcc may warn that bp is not set in mark_symbol, e.g., 12233e066022SBaptiste Daroussin if GCC_NORETURN is not handled; appease the compiler. 12243e066022SBaptiste Daroussin 12253e066022SBaptiste Daroussin * reader.c: 12263e066022SBaptiste Daroussin use the declared types Assoc_t and Value_t in some places where compiler only 12273e066022SBaptiste Daroussin cared about char versus short. 12283e066022SBaptiste Daroussin 12293e066022SBaptiste Daroussin * reader.c: 12303e066022SBaptiste Daroussin use TMALLOC() and TREALLOC() macros to simplify allocation/reallocation 12313e066022SBaptiste Daroussin (no object change) 12323e066022SBaptiste Daroussin 12333e066022SBaptiste Daroussin * defs.h: 12343e066022SBaptiste Daroussin add fallbacks for GCC_NORETURN and GCC_UNUSED to make it simpler for *BSD 12353e066022SBaptiste Daroussin packagers to build without configure script. Also remove duplicate declaration 12363e066022SBaptiste Daroussin of pure_parser variable (prompted by patch by Baptiste Daroussin). 12373e066022SBaptiste Daroussin 12383e066022SBaptiste Daroussin Also define new TMALLOC and TREALLOC macros to simplify/replace MALLOC and 12393e066022SBaptiste Daroussin REALLOC macros. 12403e066022SBaptiste Daroussin 12413e066022SBaptiste Daroussin * symtab.c: 12423e066022SBaptiste Daroussin use TMALLOC() and TREALLOC() macros to simplify allocation/reallocation 12433e066022SBaptiste Daroussin (no object change) 12443e066022SBaptiste Daroussin 12453e066022SBaptiste Daroussin2012-05-25 Thomas E. Dickey <tom@invisible-island.net> 12463e066022SBaptiste Daroussin 12473e066022SBaptiste Daroussin * output.c, main.c, verbose.c, mkpar.c, lr0.c: 12483e066022SBaptiste Daroussin use TMALLOC() and TREALLOC() macros to simplify allocation/reallocation 12493e066022SBaptiste Daroussin (no object change) 12503e066022SBaptiste Daroussin 125198e903e7SBaptiste Daroussin2012-01-15 Thomas E. Dickey <tom@invisible-island.net> 125298e903e7SBaptiste Daroussin 125398e903e7SBaptiste Daroussin * package/debian/copyright: bump 125498e903e7SBaptiste Daroussin 125598e903e7SBaptiste Daroussin * test/run_make.sh: workaround for breakage due to GNU make 3.82 125698e903e7SBaptiste Daroussin 125798e903e7SBaptiste Daroussin * test/run_make.sh: 125898e903e7SBaptiste Daroussin tested with Solaris 10 (bison 1.875) and added scripting to exercise 125998e903e7SBaptiste Daroussin the /usr/ccs/bin/yacc executable 126098e903e7SBaptiste Daroussin 126198e903e7SBaptiste Daroussin * test/grammar.tab.c: regen 126298e903e7SBaptiste Daroussin 126398e903e7SBaptiste Daroussin * test/grammar.y: modify to also build with Solaris yacc 126498e903e7SBaptiste Daroussin 126598e903e7SBaptiste Daroussin * VERSION, package/debian/changelog, package/byacc.spec: bump 126698e903e7SBaptiste Daroussin 12670c8de5b0SBaptiste Daroussin * test/yacc/calc1.output: reference output for testing 12680c8de5b0SBaptiste Daroussin 126998e903e7SBaptiste Daroussin * test/calc1.output, test/calc1.tab.c: regen 127098e903e7SBaptiste Daroussin 127198e903e7SBaptiste Daroussin * test/calc1.y: 127298e903e7SBaptiste Daroussin undo the change made to appease bison, since it was only a warning. 127398e903e7SBaptiste Daroussin 127498e903e7SBaptiste Daroussin * test/pure_calc.tab.c, test/pure_error.tab.c: regen 127598e903e7SBaptiste Daroussin 127698e903e7SBaptiste Daroussin * test/run_make.sh: another fix for running from top-level directory 127798e903e7SBaptiste Daroussin 127898e903e7SBaptiste Daroussin * makefile.in: 127998e903e7SBaptiste Daroussin ensure that check_make rule depends on having byacc built. 128098e903e7SBaptiste Daroussin 128198e903e7SBaptiste Daroussin * test/run_make.sh: fixes for building from parent directory 128298e903e7SBaptiste Daroussin 128398e903e7SBaptiste Daroussin * test/pure_error.y, test/pure_calc.y: bison-fixes 128498e903e7SBaptiste Daroussin 128598e903e7SBaptiste Daroussin * 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: 128698e903e7SBaptiste Daroussin regen 128798e903e7SBaptiste Daroussin 12880c8de5b0SBaptiste Daroussin * test/code_debug.y: RCS_BASE 12890c8de5b0SBaptiste Daroussin 129098e903e7SBaptiste Daroussin * test/calc2.y, test/calc3.y, test/code_error.y, test/ftp.y: 129198e903e7SBaptiste Daroussin byacc already declares yyerror 129298e903e7SBaptiste Daroussin 129398e903e7SBaptiste Daroussin * test/pure_error.y, test/pure_calc.y: 129498e903e7SBaptiste Daroussin modified to help make the files build with bison 129598e903e7SBaptiste Daroussin 129698e903e7SBaptiste Daroussin * test/run_make.sh: 129798e903e7SBaptiste Daroussin supply a "%pure-parser" directive when bison needs it. 129898e903e7SBaptiste Daroussin 129998e903e7SBaptiste Daroussin * test/code_calc.code.c: regen 130098e903e7SBaptiste Daroussin 130198e903e7SBaptiste Daroussin * test/code_calc.y: modified to help make the files build with bison 130298e903e7SBaptiste Daroussin 130398e903e7SBaptiste Daroussin * yacc.1: 130498e903e7SBaptiste Daroussin in testing, found that %expect did not work as documented for bison. 130598e903e7SBaptiste Daroussin do not recommend it for portable code. 130698e903e7SBaptiste Daroussin 130798e903e7SBaptiste Daroussin * test/run_make.sh: workaround breakage in bison's %expect directive 130898e903e7SBaptiste Daroussin 130998e903e7SBaptiste Daroussin * test/grammar.y: modified to help make the files build with bison 131098e903e7SBaptiste Daroussin 131198e903e7SBaptiste Daroussin * test/calc1.output, test/calc1.tab.c, test/grammar.tab.c: regen 131298e903e7SBaptiste Daroussin 131398e903e7SBaptiste Daroussin * test/calc1.y: quiet a spurious warning from bison 2.3 131498e903e7SBaptiste Daroussin 131598e903e7SBaptiste Daroussin * test/calc1.tab.c: regen 131698e903e7SBaptiste Daroussin 131798e903e7SBaptiste Daroussin * test/calc1.y: modified to help make the files build with bison 131898e903e7SBaptiste Daroussin 131998e903e7SBaptiste Daroussin * yacc.1: comment on "-y" and "-P" options. 132098e903e7SBaptiste Daroussin 132198e903e7SBaptiste Daroussin * yacc.1: comment on portability 132298e903e7SBaptiste Daroussin 132398e903e7SBaptiste Daroussin * 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: 132498e903e7SBaptiste Daroussin regen 132598e903e7SBaptiste Daroussin 132698e903e7SBaptiste Daroussin * test/ftp.y: modified to help make the files build with bison 132798e903e7SBaptiste Daroussin (bison's "-y" option is of no use in providing "yacc" compatibility) 132898e903e7SBaptiste Daroussin 132998e903e7SBaptiste Daroussin * test/quote_calc2.tab.c, test/quote_calc3.tab.c, test/quote_calc4-s.tab.c, test/quote_calc4.tab.c: 133098e903e7SBaptiste Daroussin regen 133198e903e7SBaptiste Daroussin 133298e903e7SBaptiste Daroussin * test/code_calc.y, test/quote_calc2.y, test/quote_calc.y, test/quote_calc4.y, test/quote_calc3.y: 133398e903e7SBaptiste Daroussin modified to help make the files build with bison 133498e903e7SBaptiste Daroussin 133598e903e7SBaptiste Daroussin * test/calc.tab.c: regen 133698e903e7SBaptiste Daroussin 133798e903e7SBaptiste Daroussin * test/calc.y: modified to help make the files build with bison 133898e903e7SBaptiste Daroussin 133998e903e7SBaptiste Daroussin * test/error.tab.c: regen 134098e903e7SBaptiste Daroussin 134198e903e7SBaptiste Daroussin * test/error.y: modified to help make the files build with bison 134298e903e7SBaptiste Daroussin 134398e903e7SBaptiste Daroussin * test/calc2.tab.c, test/calc3.tab.c, test/code_error.code.c: regen 134498e903e7SBaptiste Daroussin 134598e903e7SBaptiste Daroussin * test/run_make.sh: 134698e903e7SBaptiste Daroussin check for older bisons which (2.3 for instance) do not support pure parsers 134798e903e7SBaptiste Daroussin 134898e903e7SBaptiste Daroussin * test/code_error.y, test/calc3.y, test/calc2.y: 134998e903e7SBaptiste Daroussin modified to help make the files build with bison 135098e903e7SBaptiste Daroussin 135198e903e7SBaptiste Daroussin * test/run_test.sh: use $opt2 in filenames of the generated files 135298e903e7SBaptiste Daroussin 135398e903e7SBaptiste Daroussin * 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: 135498e903e7SBaptiste Daroussin regen 135598e903e7SBaptiste Daroussin 135698e903e7SBaptiste Daroussin2012-01-14 Thomas E. Dickey <tom@invisible-island.net> 135798e903e7SBaptiste Daroussin 135898e903e7SBaptiste Daroussin * 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: 135998e903e7SBaptiste Daroussin regen 136098e903e7SBaptiste Daroussin 136198e903e7SBaptiste Daroussin * output.c: Several changes: 136298e903e7SBaptiste Daroussin a) add YYLEX_PARAM_TYPE, like YYPARSE_PARAM_TYPE, but for yylex. 136398e903e7SBaptiste Daroussin b) modify definitions for YYLEX_DECL to be more like YYPARSE_DECL, 136498e903e7SBaptiste Daroussin using YYLEX_PARAM_TYPE and YYLEX_PARAM. 136598e903e7SBaptiste Daroussin c) add ifdef's around #define's for YYERROR_DECL and YYERROR_CALL, 136698e903e7SBaptiste Daroussin to help with redefinitions. 136798e903e7SBaptiste Daroussin 136898e903e7SBaptiste Daroussin * test/pure_calc.tab.c: 136998e903e7SBaptiste Daroussin modified to help make the files build with bison 137098e903e7SBaptiste Daroussin 137198e903e7SBaptiste Daroussin * test/run_make.sh: 137298e903e7SBaptiste Daroussin start work on followup, to check if the generated files build with bison. 137398e903e7SBaptiste Daroussin 137498e903e7SBaptiste Daroussin * test/pure_calc.y, test/pure_error.tab.c: 137598e903e7SBaptiste Daroussin modified to help make the files build with bison 137698e903e7SBaptiste Daroussin 137798e903e7SBaptiste Daroussin * test/calc3.tab.c: regen 137898e903e7SBaptiste Daroussin 137998e903e7SBaptiste Daroussin * 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: 138098e903e7SBaptiste Daroussin RCS_BASE 138198e903e7SBaptiste Daroussin 13820c8de5b0SBaptiste Daroussin * test/yacc/quote_calc-s.output, test/yacc/quote_calc-s.tab.h, test/yacc/quote_calc2-s.output, test/yacc/quote_calc2-s.tab.h, test/yacc/quote_calc3-s.output, test/yacc/quote_calc3-s.tab.h, test/yacc/quote_calc4-s.output, test/yacc/quote_calc4-s.tab.h: 13830c8de5b0SBaptiste Daroussin reference output for testing 13840c8de5b0SBaptiste Daroussin 138598e903e7SBaptiste Daroussin * test/run_test.sh: generate/test with "-s" option applied. 138698e903e7SBaptiste Daroussin 138798e903e7SBaptiste Daroussin2012-01-13 Thomas E. Dickey <tom@invisible-island.net> 138898e903e7SBaptiste Daroussin 138998e903e7SBaptiste Daroussin * package/debian/changelog, package/byacc.spec, VERSION: bump 139098e903e7SBaptiste Daroussin 139198e903e7SBaptiste Daroussin * yacc.1: improve documentation of -s option 139298e903e7SBaptiste Daroussin 139398e903e7SBaptiste Daroussin * yacc.1: note that yacc ignores -y 139498e903e7SBaptiste Daroussin 139598e903e7SBaptiste Daroussin * main.c: add -s option to usage message. 139698e903e7SBaptiste Daroussin 13970c8de5b0SBaptiste Daroussin * test/quote_calc3.output, test/quote_calc3.tab.c, test/quote_calc4.output, test/quote_calc4.tab.c, test/quote_calc4.tab.h: 139898e903e7SBaptiste Daroussin RCS_BASE 139998e903e7SBaptiste Daroussin 14000c8de5b0SBaptiste Daroussin * test/yacc/quote_calc3.output, test/yacc/quote_calc4.output, test/yacc/quote_calc4.tab.h: 14010c8de5b0SBaptiste Daroussin reference output for testing 14020c8de5b0SBaptiste Daroussin 14030c8de5b0SBaptiste Daroussin * test/quote_calc3.y, test/quote_calc.tab.h: RCS_BASE 14040c8de5b0SBaptiste Daroussin 14050c8de5b0SBaptiste Daroussin * test/yacc/quote_calc.tab.h: reference output for testing 14060c8de5b0SBaptiste Daroussin 14070c8de5b0SBaptiste Daroussin * 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: 14080c8de5b0SBaptiste Daroussin RCS_BASE 14090c8de5b0SBaptiste Daroussin 14100c8de5b0SBaptiste Daroussin * test/yacc/quote_calc.output, test/yacc/quote_calc2.output, test/yacc/quote_calc2.tab.h, test/yacc/quote_calc3.tab.h: 14110c8de5b0SBaptiste Daroussin reference output for testing 14120c8de5b0SBaptiste Daroussin 14130c8de5b0SBaptiste Daroussin * test/quote_calc4.y, test/quote_calc.y, test/quote_calc2.y: RCS_BASE 14140c8de5b0SBaptiste Daroussin 141598e903e7SBaptiste Daroussin * configure: regen 141698e903e7SBaptiste Daroussin 141798e903e7SBaptiste Daroussin * aclocal.m4: resync with my-autoconf, i.e., fixes for CF_XOPEN_SOURCE 141898e903e7SBaptiste Daroussin 141998e903e7SBaptiste Daroussin2011-12-19 Thomas E. Dickey <tom@invisible-island.net> 142098e903e7SBaptiste Daroussin 142198e903e7SBaptiste Daroussin * package/debian/changelog, package/byacc.spec, VERSION: bump 142298e903e7SBaptiste Daroussin 142398e903e7SBaptiste Daroussin * yacc.1, output.c, main.c, defs.h: 142498e903e7SBaptiste Daroussin add "-s" option to suppress generating #define's based on string contents 142598e903e7SBaptiste Daroussin in a %token statement. For instance 142698e903e7SBaptiste Daroussin %token EQLS "Equals" 142798e903e7SBaptiste Daroussin would generate 142898e903e7SBaptiste Daroussin #define EQLS 256 142998e903e7SBaptiste Daroussin #define Equals 257 143098e903e7SBaptiste Daroussin Simply suppressing the second #define makes the behavior closer to yacc. 143198e903e7SBaptiste Daroussin (report by Paulo Andrade). 143298e903e7SBaptiste Daroussin 143398e903e7SBaptiste Daroussin2011-09-08 Thomas E. Dickey <tom@invisible-island.net> 143498e903e7SBaptiste Daroussin 143598e903e7SBaptiste Daroussin * package/debian/changelog, package/byacc.spec, VERSION: bump 143698e903e7SBaptiste Daroussin 143798e903e7SBaptiste Daroussin * output.c: 143898e903e7SBaptiste Daroussin fix some more interaction between -i and -d flags to ensure YYERRCODE 143998e903e7SBaptiste Daroussin and YYSTYPE are declared, tested with cproto. 144098e903e7SBaptiste Daroussin 144198e903e7SBaptiste Daroussin2011-09-07 Thomas E. Dickey <tom@invisible-island.net> 144298e903e7SBaptiste Daroussin 144398e903e7SBaptiste Daroussin * yacc.1: document "-i" option. 144498e903e7SBaptiste Daroussin 144598e903e7SBaptiste Daroussin * package/debian/changelog, package/byacc.spec, VERSION: bump 144698e903e7SBaptiste Daroussin 144798e903e7SBaptiste Daroussin * output.c: fix an interaction between -i and -d 144898e903e7SBaptiste Daroussin 144998e903e7SBaptiste Daroussin * 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: 145098e903e7SBaptiste Daroussin regen - changes for "-i" option move the global/impure variables near the 145198e903e7SBaptiste Daroussin macros that may add a prefix, etc. 145298e903e7SBaptiste Daroussin 145398e903e7SBaptiste Daroussin * skeleton.c, output.c, defs.h: changes to support "-i" option. 145498e903e7SBaptiste Daroussin 145598e903e7SBaptiste Daroussin2011-09-06 Thomas E. Dickey <tom@invisible-island.net> 145698e903e7SBaptiste Daroussin 145798e903e7SBaptiste Daroussin * reader.c: pass explicit file-pointer to write_section() 145898e903e7SBaptiste Daroussin 145998e903e7SBaptiste Daroussin * main.c: 146098e903e7SBaptiste Daroussin add "-i" option, to generate interface-file (suggested by Denis M. Wilson) 146198e903e7SBaptiste Daroussin 146298e903e7SBaptiste Daroussin2011-09-05 Thomas E. Dickey <tom@invisible-island.net> 146398e903e7SBaptiste Daroussin 146498e903e7SBaptiste Daroussin * configure: regen 146598e903e7SBaptiste Daroussin 146698e903e7SBaptiste Daroussin * aclocal.m4: 146798e903e7SBaptiste Daroussin resync with my-autoconf: CF_ANSI_CC_CHECK (check for $CFLAGS in $CC) 146898e903e7SBaptiste Daroussin and CF_XOPEN_SOURCE (update aix, cygwin and netbsd checks) 146998e903e7SBaptiste Daroussin 147098e903e7SBaptiste Daroussin * defs.h, error.c, reader.c: 147198e903e7SBaptiste Daroussin add check for missing "}" on %parse-param and %lex-param lines (report by Denis M Wilson) 147298e903e7SBaptiste Daroussin 147398e903e7SBaptiste Daroussin2011-04-01 Thomas E. Dickey <tom@invisible-island.net> 147498e903e7SBaptiste Daroussin 14757dde5df4SBaptiste Daroussin * config.sub: update to 2011-04-01 147698e903e7SBaptiste Daroussin 147798e903e7SBaptiste Daroussin2011-02-02 Thomas E. Dickey <tom@invisible-island.net> 147898e903e7SBaptiste Daroussin 14797dde5df4SBaptiste Daroussin * config.guess: update to 2011-01-01 148098e903e7SBaptiste Daroussin 148198e903e7SBaptiste Daroussin2010-12-29 Thomas E. Dickey <tom@invisible-island.net> 148298e903e7SBaptiste Daroussin 148398e903e7SBaptiste Daroussin * defs.h, skeleton.c: 148498e903e7SBaptiste Daroussin add const qualifier to skeleton data, per NetBSD changes (report by Christos Zoulas) 148598e903e7SBaptiste Daroussin 148698e903e7SBaptiste Daroussin * defs.h: 148798e903e7SBaptiste Daroussin mark all of the error-functions as non-returning (report by Christos Zoulas) 148898e903e7SBaptiste Daroussin 148998e903e7SBaptiste Daroussin * 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: 149098e903e7SBaptiste Daroussin regen 149198e903e7SBaptiste Daroussin 149298e903e7SBaptiste Daroussin * skeleton.c: 149398e903e7SBaptiste Daroussin use only realloc() rather than realloc+malloc, agree that systems needing this 149498e903e7SBaptiste Daroussin are very rare (prompted by NetBSD change). 149598e903e7SBaptiste Daroussin 149698e903e7SBaptiste Daroussin * test/ftp.tab.c: regen 149798e903e7SBaptiste Daroussin 149898e903e7SBaptiste Daroussin2010-12-29 Christos.Zoulas 149998e903e7SBaptiste Daroussin 150098e903e7SBaptiste Daroussin * test/ftp.y: 150198e903e7SBaptiste Daroussin improve example, which was stuck in 19XX and assumed file sizes were longs. 150298e903e7SBaptiste Daroussin 150398e903e7SBaptiste Daroussin2010-12-29 Thomas E. Dickey <tom@invisible-island.net> 150498e903e7SBaptiste Daroussin 150598e903e7SBaptiste Daroussin * 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: 150698e903e7SBaptiste Daroussin regen 150798e903e7SBaptiste Daroussin 150898e903e7SBaptiste Daroussin * 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: 150998e903e7SBaptiste Daroussin use byacc's YYLEX_DECL/YYERROR_DECL symbols to prototype yylex/yyerror 151098e903e7SBaptiste Daroussin 151198e903e7SBaptiste Daroussin * skeleton.c: 151298e903e7SBaptiste Daroussin remove explicit prototype for yylex() via YYLEX_DECL() macro, since that 151398e903e7SBaptiste Daroussin would prevent declaring yylex() static (request by Christos Zoulas). 151498e903e7SBaptiste Daroussin 151598e903e7SBaptiste Daroussin * test/calc2.tab.c, test/calc3.tab.c: regen 151698e903e7SBaptiste Daroussin 151798e903e7SBaptiste Daroussin2010-12-29 Christos.Zoulas 151898e903e7SBaptiste Daroussin 151998e903e7SBaptiste Daroussin * output.c: correct definition for YYERROR_DECL() 152098e903e7SBaptiste Daroussin 152198e903e7SBaptiste Daroussin2010-12-29 Thomas E. Dickey <tom@invisible-island.net> 152298e903e7SBaptiste Daroussin 152398e903e7SBaptiste Daroussin * package/debian/changelog, package/byacc.spec, VERSION: bump 152498e903e7SBaptiste Daroussin 152598e903e7SBaptiste Daroussin2010-12-26 Thomas E. Dickey <tom@invisible-island.net> 152698e903e7SBaptiste Daroussin 152798e903e7SBaptiste Daroussin * defs.h, main.c: 152898e903e7SBaptiste Daroussin change return-type of allocate() to avoid warnings of alignment problems 152998e903e7SBaptiste Daroussin 153098e903e7SBaptiste Daroussin * main.c: Solaris declares chmod() in <sys/stat.h> 153198e903e7SBaptiste Daroussin 153298e903e7SBaptiste Daroussin * configure: regen 153398e903e7SBaptiste Daroussin 153498e903e7SBaptiste Daroussin * main.c: ifdef'd use of fcntl.h 153598e903e7SBaptiste Daroussin 153698e903e7SBaptiste Daroussin * configure.in: add configure checks for fcntl.h, atexit and mkstemp 153798e903e7SBaptiste Daroussin 153898e903e7SBaptiste Daroussin * main.c: for cases where mkstemp() is not available, use tempnam/open 153998e903e7SBaptiste Daroussin 154098e903e7SBaptiste Daroussin * aclocal.m4: add CF_MKSTEMP 154198e903e7SBaptiste Daroussin 154298e903e7SBaptiste Daroussin * aclocal.m4: 154398e903e7SBaptiste Daroussin improve quoting, deprecate ${name-value} in favor of standard ${name:-value} 154498e903e7SBaptiste Daroussin 154598e903e7SBaptiste Daroussin2010-12-25 Thomas E. Dickey <tom@invisible-island.net> 154698e903e7SBaptiste Daroussin 154798e903e7SBaptiste Daroussin * main.c: 154898e903e7SBaptiste Daroussin start revising use of tmpfile(), to make this work with MinGW. Start by 154998e903e7SBaptiste Daroussin implementing a mkstemp() alternative - noting that mkstemp() also is broken 155098e903e7SBaptiste Daroussin for MinGW. 155198e903e7SBaptiste Daroussin 155298e903e7SBaptiste Daroussin * package/debian/changelog, package/byacc.spec, VERSION: bump 155398e903e7SBaptiste Daroussin 155498e903e7SBaptiste Daroussin2010-11-27 Thomas E. Dickey <tom@invisible-island.net> 155598e903e7SBaptiste Daroussin 155698e903e7SBaptiste Daroussin * package/byacc.spec, package/debian/changelog, VERSION: bump 155798e903e7SBaptiste Daroussin 155898e903e7SBaptiste Daroussin * test/calc2.tab.c, test/calc3.tab.c: regen 155998e903e7SBaptiste Daroussin 156098e903e7SBaptiste Daroussin * output.c: 156198e903e7SBaptiste Daroussin corrected use of %parse-param value in yyerror(); it doesn't use &yylval 156298e903e7SBaptiste Daroussin (report by Clifford Yapp) 156398e903e7SBaptiste Daroussin 156498e903e7SBaptiste Daroussin2010-11-26 Thomas E. Dickey <tom@invisible-island.net> 156598e903e7SBaptiste Daroussin 156698e903e7SBaptiste Daroussin * skeleton.c: typo 156798e903e7SBaptiste Daroussin 156898e903e7SBaptiste Daroussin * output.c: 156998e903e7SBaptiste Daroussin correct line-numbering when "-r" option is used; the 'outline' variable 157098e903e7SBaptiste Daroussin should only be incremented when writing to the code-file. 157198e903e7SBaptiste Daroussin 157298e903e7SBaptiste Daroussin * test/code_calc.code.c, test/code_error.code.c: regen 157398e903e7SBaptiste Daroussin 157498e903e7SBaptiste Daroussin * yacc.1: bump date 157598e903e7SBaptiste Daroussin 157698e903e7SBaptiste Daroussin * yacc.1: comment on -b option vs -r 157798e903e7SBaptiste Daroussin 157898e903e7SBaptiste Daroussin * 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: 157998e903e7SBaptiste Daroussin regen 158098e903e7SBaptiste Daroussin 158198e903e7SBaptiste Daroussin * output.c: 158298e903e7SBaptiste Daroussin improve on YYERROR_DECL(), adding dummy params which can be used for the 158398e903e7SBaptiste Daroussin actual function declaration. Also add YYERROR_CALL(). The two macros 158498e903e7SBaptiste Daroussin simplify maintaining sets of grammars which may/may not be pure. 158598e903e7SBaptiste Daroussin 158698e903e7SBaptiste Daroussin * 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: 158798e903e7SBaptiste Daroussin regen 158898e903e7SBaptiste Daroussin 158998e903e7SBaptiste Daroussin * output.c: generate yyerror() calls in output.c 159098e903e7SBaptiste Daroussin This is for compatibility with bison, which passes the yylval to yyerror 159198e903e7SBaptiste Daroussin when the %parse-param feature is used. 159298e903e7SBaptiste Daroussin 159398e903e7SBaptiste Daroussin * skeleton.c, defs.h: generate yyerror() calls in output.c 159498e903e7SBaptiste Daroussin 159598e903e7SBaptiste Daroussin * output.c: simplified a little, using putc_code() and putl_code() 159698e903e7SBaptiste Daroussin 15970c8de5b0SBaptiste Daroussin * test/yacc/calc1.tab.h: reference output for testing 15980c8de5b0SBaptiste Daroussin 159998e903e7SBaptiste Daroussin * test/calc1.tab.h: regen 160098e903e7SBaptiste Daroussin 160198e903e7SBaptiste Daroussin * reader.c: 160298e903e7SBaptiste Daroussin improve ifdef for YYSTYPE union declaration (report by Clifford Yapp) 160398e903e7SBaptiste Daroussin 160498e903e7SBaptiste Daroussin * reader.c: 160598e903e7SBaptiste Daroussin accept underscore as a replacement for dash in command names, e.g., 160698e903e7SBaptiste Daroussin "%pure_parser" vs "%pure-parser". 160798e903e7SBaptiste Daroussin 160898e903e7SBaptiste Daroussin * test/calc1.tab.c: regen 160998e903e7SBaptiste Daroussin 161098e903e7SBaptiste Daroussin * output.c, reader.c: 161198e903e7SBaptiste Daroussin also ifdef YYSTYPE declaration in the generated code (report by Clifford Yapp) 161298e903e7SBaptiste Daroussin 161398e903e7SBaptiste Daroussin * package/debian/changelog, package/byacc.spec, VERSION: bump 161498e903e7SBaptiste Daroussin 161598e903e7SBaptiste Daroussin2010-11-24 Thomas E. Dickey <tom@invisible-island.net> 161698e903e7SBaptiste Daroussin 161798e903e7SBaptiste Daroussin * main.c, defs.h, symtab.c, error.c: reduce global variables 161898e903e7SBaptiste Daroussin 161998e903e7SBaptiste Daroussin * package/debian/changelog, package/byacc.spec, VERSION: bump 162098e903e7SBaptiste Daroussin 162198e903e7SBaptiste Daroussin * reader.c: 162298e903e7SBaptiste Daroussin amend fix for Redhat #112617 to still call default_action_warning() for 162398e903e7SBaptiste Daroussin empty rules (report by Bruce Cran). 162498e903e7SBaptiste Daroussin 162598e903e7SBaptiste Daroussin2010-11-22 Thomas E. Dickey <tom@invisible-island.net> 162698e903e7SBaptiste Daroussin 162798e903e7SBaptiste Daroussin * output.c: 162898e903e7SBaptiste Daroussin add ifdef to guard against redefinition of YYSTYPE union (request by Clifford Yapp). 162998e903e7SBaptiste Daroussin 163098e903e7SBaptiste Daroussin * test/calc1.tab.c: regen 163198e903e7SBaptiste Daroussin 163298e903e7SBaptiste Daroussin * test/calc1.y: cleanup compiler warnings 163398e903e7SBaptiste Daroussin 163498e903e7SBaptiste Daroussin * test/grammar.y: add "%expect" 163598e903e7SBaptiste Daroussin 163698e903e7SBaptiste Daroussin * test/calc1.tab.h: regen 163798e903e7SBaptiste Daroussin 163898e903e7SBaptiste Daroussin * test/calc1.output, test/calc1.tab.c, test/calc1.tab.h: RCS_BASE 163998e903e7SBaptiste Daroussin 164098e903e7SBaptiste Daroussin * test/calc2.tab.c, test/calc3.tab.c: regen 164198e903e7SBaptiste Daroussin 164298e903e7SBaptiste Daroussin * test/calc1.y: 164398e903e7SBaptiste Daroussin advanced example from Steve Johnson's paper, uses unions 164498e903e7SBaptiste Daroussin 164598e903e7SBaptiste Daroussin * test/calc3.y, test/calc2.y: init 'base', so examples can run 164698e903e7SBaptiste Daroussin 164798e903e7SBaptiste Daroussin * test/ftp.tab.c, test/ftp.y: tweaks to compile with g++ 164898e903e7SBaptiste Daroussin 164998e903e7SBaptiste Daroussin * output.c: compensate for fix in reader.c 165098e903e7SBaptiste Daroussin 165198e903e7SBaptiste Daroussin * reader.c: 165298e903e7SBaptiste Daroussin add/use putc_both() and puts_both(), incidentally fixing a place where 165398e903e7SBaptiste Daroussin a union copied to the union_file may be missing the end of the last line. 165498e903e7SBaptiste Daroussin 165598e903e7SBaptiste Daroussin * package/debian/changelog, package/byacc.spec, VERSION: bump 165698e903e7SBaptiste Daroussin 165798e903e7SBaptiste Daroussin2010-09-28 Thomas E. Dickey <tom@invisible-island.net> 165898e903e7SBaptiste Daroussin 16597dde5df4SBaptiste Daroussin * config.guess: update to 2010-09-24 166098e903e7SBaptiste Daroussin 166198e903e7SBaptiste Daroussin2010-09-10 Thomas E. Dickey <tom@invisible-island.net> 166298e903e7SBaptiste Daroussin 16637dde5df4SBaptiste Daroussin * config.sub: update to 2010-09-11 166498e903e7SBaptiste Daroussin 166598e903e7SBaptiste Daroussin2010-06-10 Thomas E. Dickey <tom@invisible-island.net> 166698e903e7SBaptiste Daroussin 166798e903e7SBaptiste Daroussin * yacc.1, package/debian/changelog, package/byacc.spec, VERSION: 166898e903e7SBaptiste Daroussin bump to 2010/06/10 166998e903e7SBaptiste Daroussin 167098e903e7SBaptiste Daroussin2010-06-09 Thomas E. Dickey <tom@invisible-island.net> 167198e903e7SBaptiste Daroussin 167298e903e7SBaptiste Daroussin * reader.c: free declarations in leak-testing code. 167398e903e7SBaptiste Daroussin 167498e903e7SBaptiste Daroussin * main.c: close code_file if -r option used, for leak-testing 167598e903e7SBaptiste Daroussin 167698e903e7SBaptiste Daroussin * defs.h, reader.c: 167798e903e7SBaptiste Daroussin improve %lex-param / %parse-param implementation by allowing for arrays to 167898e903e7SBaptiste Daroussin be passed as parameters, e.g., "int regs[26]". 167998e903e7SBaptiste Daroussin 16800c8de5b0SBaptiste Daroussin * test/calc3.tab.c, test/calc3.y, test/calc3.output, test/calc3.tab.h: 168198e903e7SBaptiste Daroussin RCS_BASE 168298e903e7SBaptiste Daroussin 16830c8de5b0SBaptiste Daroussin * test/yacc/calc3.output, test/yacc/calc3.tab.h: 16840c8de5b0SBaptiste Daroussin reference output for testing 16850c8de5b0SBaptiste Daroussin 16860c8de5b0SBaptiste Daroussin * test/calc2.tab.c, test/calc2.y, test/calc2.tab.h: RCS_BASE 16870c8de5b0SBaptiste Daroussin 16880c8de5b0SBaptiste Daroussin * test/yacc/calc2.tab.h: reference output for testing 16890c8de5b0SBaptiste Daroussin 16900c8de5b0SBaptiste Daroussin * test/calc2.output: RCS_BASE 16910c8de5b0SBaptiste Daroussin 16920c8de5b0SBaptiste Daroussin * test/yacc/calc2.output: reference output for testing 16930c8de5b0SBaptiste Daroussin 169498e903e7SBaptiste Daroussin * output.c: 169598e903e7SBaptiste Daroussin improve %lex-param / %parse-param implementation by allowing for arrays to 169698e903e7SBaptiste Daroussin be passed as parameters, e.g., "int regs[26]". 169798e903e7SBaptiste Daroussin 169898e903e7SBaptiste Daroussin * test/calc.tab.c, test/calc.y: 169998e903e7SBaptiste Daroussin test-cases and reference files for %lex-param / %parse-param 170098e903e7SBaptiste Daroussin 170198e903e7SBaptiste Daroussin * makefile.in: add docs-rule, for html/pdf/txt form of manpage 170298e903e7SBaptiste Daroussin 170398e903e7SBaptiste Daroussin * configure: regen 170498e903e7SBaptiste Daroussin 170598e903e7SBaptiste Daroussin * aclocal.m4: add CF_XOPEN_SOURCE, etc. 170698e903e7SBaptiste Daroussin 170798e903e7SBaptiste Daroussin * configure.in: 170898e903e7SBaptiste Daroussin use CF_XOPEN_SOURCE check to ensure that strdup is in scope, e.g., for c89 170998e903e7SBaptiste Daroussin 171098e903e7SBaptiste Daroussin * 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: 171198e903e7SBaptiste Daroussin fix warnings from clang --analyze 171298e903e7SBaptiste Daroussin 171398e903e7SBaptiste Daroussin2010-06-08 Thomas E. Dickey <tom@invisible-island.net> 171498e903e7SBaptiste Daroussin 171598e903e7SBaptiste Daroussin * output.c: fix to build with c89, etc. 171698e903e7SBaptiste Daroussin 171798e903e7SBaptiste Daroussin * reader.c: gcc warning 171898e903e7SBaptiste Daroussin 171998e903e7SBaptiste Daroussin * 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: 172098e903e7SBaptiste Daroussin modified test-cases to allow them to compile, to validate pure-parser changes. 172198e903e7SBaptiste Daroussin updated reference files to match. 172298e903e7SBaptiste Daroussin 172398e903e7SBaptiste Daroussin * output.c: 172498e903e7SBaptiste Daroussin move call for output_stype() earlier since it is used in pure-parser declarations 172598e903e7SBaptiste Daroussin 172698e903e7SBaptiste Daroussin * test/grammar.tab.c, test/grammar.y: 172798e903e7SBaptiste Daroussin modified test-cases to allow them to compile, to validate pure-parser changes. 172898e903e7SBaptiste Daroussin updated reference files to match. 172998e903e7SBaptiste Daroussin 173098e903e7SBaptiste Daroussin * test/calc.tab.c, test/error.tab.c, test/ftp.tab.c, test/grammar.tab.c: 173198e903e7SBaptiste Daroussin regen 173298e903e7SBaptiste Daroussin 173398e903e7SBaptiste Daroussin * yacc.1: document %lex-param and %parse-param 173498e903e7SBaptiste Daroussin 173598e903e7SBaptiste Daroussin * test/run_lint.sh, test/run_make.sh: RCS_BASE 173698e903e7SBaptiste Daroussin 173798e903e7SBaptiste Daroussin * test/run_test.sh: 173898e903e7SBaptiste Daroussin further modify to allow build-directory to be in a different location by 173998e903e7SBaptiste Daroussin passing this directory's location as a parameter to the script. 174098e903e7SBaptiste Daroussin 174198e903e7SBaptiste Daroussin * makefile.in: 174298e903e7SBaptiste Daroussin add check_make and check_lint rules to help validate the generated files 174398e903e7SBaptiste Daroussin in the test-directory 174498e903e7SBaptiste Daroussin 174598e903e7SBaptiste Daroussin2010-06-07 Thomas E. Dickey <tom@invisible-island.net> 174698e903e7SBaptiste Daroussin 174798e903e7SBaptiste Daroussin * test/pure_calc.tab.c, test/pure_error.tab.c: RCS_BASE 174898e903e7SBaptiste Daroussin 174998e903e7SBaptiste Daroussin * test/run_test.sh: 175098e903e7SBaptiste Daroussin provide for testing -r and -P options by checking if the ".y" filename 175198e903e7SBaptiste Daroussin begins with "code_" or "pure_", respectively. 175298e903e7SBaptiste Daroussin 17530c8de5b0SBaptiste Daroussin * test/code_error.code.c, test/code_error.tab.c, test/code_error.tab.h: 175498e903e7SBaptiste Daroussin RCS_BASE 175598e903e7SBaptiste Daroussin 17560c8de5b0SBaptiste Daroussin * test/yacc/code_error.tab.h: reference output for testing 17570c8de5b0SBaptiste Daroussin 17580c8de5b0SBaptiste Daroussin * test/code_calc.code.c, test/code_calc.tab.c, test/code_calc.tab.h: 17590c8de5b0SBaptiste Daroussin RCS_BASE 17600c8de5b0SBaptiste Daroussin 17610c8de5b0SBaptiste Daroussin * test/yacc/code_calc.tab.h: reference output for testing 17620c8de5b0SBaptiste Daroussin 17630c8de5b0SBaptiste Daroussin * test/pure_calc.output, test/pure_calc.tab.h, test/pure_error.output, test/pure_error.tab.h: 17640c8de5b0SBaptiste Daroussin RCS_BASE 17650c8de5b0SBaptiste Daroussin 17660c8de5b0SBaptiste Daroussin * test/yacc/pure_calc.output, test/yacc/pure_calc.tab.h, test/yacc/pure_error.output, test/yacc/pure_error.tab.h: 17670c8de5b0SBaptiste Daroussin reference output for testing 17680c8de5b0SBaptiste Daroussin 17690c8de5b0SBaptiste Daroussin * test/code_calc.output, test/code_error.output: RCS_BASE 17700c8de5b0SBaptiste Daroussin 17710c8de5b0SBaptiste Daroussin * test/yacc/code_calc.output, test/yacc/code_error.output: 17720c8de5b0SBaptiste Daroussin reference output for testing 17730c8de5b0SBaptiste Daroussin 177498e903e7SBaptiste Daroussin * test/error.tab.c, test/ftp.tab.c, test/grammar.tab.c: regen 177598e903e7SBaptiste Daroussin 177698e903e7SBaptiste Daroussin * test/run_test.sh: 177798e903e7SBaptiste Daroussin changes to support running "make check" in a separate build-tree 177898e903e7SBaptiste Daroussin 177998e903e7SBaptiste Daroussin * main.c: add "-P" to usage message 178098e903e7SBaptiste Daroussin 178198e903e7SBaptiste Daroussin * reader.c: use UCH() macro to hide casts. 178298e903e7SBaptiste Daroussin 178398e903e7SBaptiste Daroussin2010-06-07 Andres.Mejia 178498e903e7SBaptiste Daroussin 178598e903e7SBaptiste Daroussin * main.c, output.c, reader.c, defs.h, skeleton.c: 178698e903e7SBaptiste Daroussin Fix the output order of the generated parse code file. This allows for 178798e903e7SBaptiste Daroussin the use of YYPARSE_PARAM, by having the output that checks for 178898e903e7SBaptiste Daroussin YYPARSE_PARAM to be defined come after the C code block in the 178998e903e7SBaptiste Daroussin definitions section of a yacc file. 179098e903e7SBaptiste Daroussin 179198e903e7SBaptiste Daroussin Implement support for YYLEX_PARAM, similar to bison. This is useful for 179298e903e7SBaptiste Daroussin support for building reentrant lexers with flex. 179398e903e7SBaptiste Daroussin 179498e903e7SBaptiste Daroussin Fix a compatibility issue with bison's pure-parser option. Bison 179598e903e7SBaptiste Daroussin defines yylex as sending at least one parameter, &yylval, as the first 179698e903e7SBaptiste Daroussin parameter and doesn't seem to have an easy way to remove that parameter. 179798e903e7SBaptiste Daroussin This on the other hand is rather convenient to support saving to yylval 179898e903e7SBaptiste Daroussin from flex when building reentrant lexers and parsers. 179998e903e7SBaptiste Daroussin 180098e903e7SBaptiste Daroussin Add support for the %parse-param and %lex-param directives used in 180198e903e7SBaptiste Daroussin bison. This change bears some similarity to NetBSD's changes to byacc 180298e903e7SBaptiste Daroussin at http://www.mail-archive.com/source-changes-full@netbsd.org/msg08143.html 180398e903e7SBaptiste Daroussin 180498e903e7SBaptiste Daroussin Bison allows for POSIX yacc emulation via a yacc directive in the yacc 180598e903e7SBaptiste Daroussin file, and also via a command line switch. Implement this feature as a 180698e903e7SBaptiste Daroussin no-op for byacc, since byacc is designed to be POSIX yacc compatible 180798e903e7SBaptiste Daroussin anyway. This allows for better compatibility with yacc sources written 180898e903e7SBaptiste Daroussin for bison. 180998e903e7SBaptiste Daroussin 181098e903e7SBaptiste Daroussin2010-06-07 Thomas E. Dickey <tom@invisible-island.net> 181198e903e7SBaptiste Daroussin 181298e903e7SBaptiste Daroussin * VERSION: bump to 2010/06/07 181398e903e7SBaptiste Daroussin 181498e903e7SBaptiste Daroussin2010-06-06 Thomas E. Dickey <tom@invisible-island.net> 181598e903e7SBaptiste Daroussin 181698e903e7SBaptiste Daroussin * test/calc.tab.c, configure: regen 181798e903e7SBaptiste Daroussin 181898e903e7SBaptiste Daroussin * skeleton.c: 181998e903e7SBaptiste Daroussin move #include's down into the generated code, to allow user-defined code 182098e903e7SBaptiste Daroussin to override feature definitions, particularly with stdlib.h (request by 182198e903e7SBaptiste Daroussin Marcus Kool). 182298e903e7SBaptiste Daroussin 182398e903e7SBaptiste Daroussin * lr0.c, error.c, reader.c, defs.h: 182498e903e7SBaptiste Daroussin strict gcc 3.4.6 warnings on 64-bit platform 182598e903e7SBaptiste Daroussin 182698e903e7SBaptiste Daroussin * aclocal.m4, configure.in: add check for lint 182798e903e7SBaptiste Daroussin 182898e903e7SBaptiste Daroussin * makefile.in: add lint rule 182998e903e7SBaptiste Daroussin 183098e903e7SBaptiste Daroussin * defs.h, closure.c, lr0.c, warshall.c, main.c: 183198e903e7SBaptiste Daroussin fix gcc warnings, mostly for 64-bit platform 183298e903e7SBaptiste Daroussin 183398e903e7SBaptiste Daroussin * aclocal.m4: 183498e903e7SBaptiste Daroussin add macros for checking ctags/etags, e.g., to work with NetBSD pkgsrc 183598e903e7SBaptiste Daroussin 183698e903e7SBaptiste Daroussin * makefile.in: add etags/TAGS if available 183798e903e7SBaptiste Daroussin 183898e903e7SBaptiste Daroussin * configure.in: add configure check for actual ctags and etags programs 183998e903e7SBaptiste Daroussin 184098e903e7SBaptiste Daroussin * package/debian/copyright: add copyright notices for non-PD files 184198e903e7SBaptiste Daroussin 184298e903e7SBaptiste Daroussin * package/debian/changelog: 184398e903e7SBaptiste Daroussin incorporated scripts in upstream to use for test-builds 184498e903e7SBaptiste Daroussin 184598e903e7SBaptiste Daroussin * makefile.in: drop mkdirs.sh, just use "mkdir -p" 184698e903e7SBaptiste Daroussin 184798e903e7SBaptiste Daroussin * AUTHORS: nicknames for some contributors (see CHANGES for details) 184898e903e7SBaptiste Daroussin 184998e903e7SBaptiste Daroussin * package/byacc.spec: RPM file for byacc 185098e903e7SBaptiste Daroussin 185198e903e7SBaptiste Daroussin * VERSION: bump to 2010/06/06 185298e903e7SBaptiste Daroussin 185398e903e7SBaptiste Daroussin * aclocal.m4: add copyright notice, from "my-autoconf" macros 185498e903e7SBaptiste Daroussin http://invisible-island.net/autoconf/autoconf.html 185598e903e7SBaptiste Daroussin 185698e903e7SBaptiste Daroussin * package/RCS, package/debian/RCS, package/debian/source/RCS, package/pkgsrc/RCS: 185798e903e7SBaptiste Daroussin PERMIT FILE 185898e903e7SBaptiste Daroussin 185998e903e7SBaptiste Daroussin * aclocal.m4: resync with my-autoconf. summary of changes: 186098e903e7SBaptiste Daroussin a) CF_ADD_CFLAGS, etc., improve quoting of ifelse() parameter 186198e903e7SBaptiste Daroussin b) CF_DISABLE_ECHO, change indent-convention for substituted makefile 186298e903e7SBaptiste Daroussin c) CF_GCC_VERSION, ignore stderr 186398e903e7SBaptiste Daroussin d) CF_GCC_WARNINGS, adjust options to work with c89 wrapper of gcc 186498e903e7SBaptiste Daroussin 186598e903e7SBaptiste Daroussin2010-04-20 Thomas E. Dickey <tom@invisible-island.net> 186698e903e7SBaptiste Daroussin 186798e903e7SBaptiste Daroussin * 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: 186898e903e7SBaptiste Daroussin scripts from Debian package 186998e903e7SBaptiste Daroussin 187098e903e7SBaptiste Daroussin2010-02-16 Thomas E. Dickey <tom@invisible-island.net> 187198e903e7SBaptiste Daroussin 187298e903e7SBaptiste Daroussin * yacc.1: document -P and bison-extensions 187398e903e7SBaptiste Daroussin 187498e903e7SBaptiste Daroussin * test/ftp.tab.c, test/grammar.tab.c, test/calc.tab.c, test/error.tab.c: 187598e903e7SBaptiste Daroussin regen 187698e903e7SBaptiste Daroussin 187798e903e7SBaptiste Daroussin * output.c: implement %pure-parser 187898e903e7SBaptiste Daroussin 187998e903e7SBaptiste Daroussin * skeleton.c: 188098e903e7SBaptiste Daroussin implement %pure-parser, like bison. To help with this, changed the stack 188198e903e7SBaptiste Daroussin variables, putting them into a struct. 188298e903e7SBaptiste Daroussin 188398e903e7SBaptiste Daroussin * reader.c: implement %pure-parser 188498e903e7SBaptiste Daroussin 188598e903e7SBaptiste Daroussin * defs.h: modified skeleton to support %pure-parser feature 188698e903e7SBaptiste Daroussin 188798e903e7SBaptiste Daroussin * main.c: add -P option to set %pure-parser 188898e903e7SBaptiste Daroussin 188998e903e7SBaptiste Daroussin * output.c: 189098e903e7SBaptiste Daroussin make -r and -p options work together. The -r option splits the generated 189198e903e7SBaptiste Daroussin parser into code/table files; for this case we cannot use static data. 189298e903e7SBaptiste Daroussin Also, we have to repeat the #define's used for prefix (-p) as well as the 189398e903e7SBaptiste Daroussin redeclaration of yyparse(). Finally, allow any of the prefixed names to 189498e903e7SBaptiste Daroussin be overridden, e.g., by passing a -D option to the compiler. Make that 189598e903e7SBaptiste Daroussin a little more readable by putting a blank line before each chunk. 189698e903e7SBaptiste Daroussin 189798e903e7SBaptiste Daroussin * defs.h: add definitions for %pure-parser 189898e903e7SBaptiste Daroussin 189998e903e7SBaptiste Daroussin * skeleton.c: 190098e903e7SBaptiste Daroussin put blank line before/after the redeclaration of yyparse() 190198e903e7SBaptiste Daroussin 190298e903e7SBaptiste Daroussin * output.c: allow for other program redefining yylex() 190398e903e7SBaptiste Daroussin 190498e903e7SBaptiste Daroussin * skeleton.c: 190598e903e7SBaptiste Daroussin split-off xdecls[] array, to move declaration of yyparse() after #define's 190698e903e7SBaptiste Daroussin 190798e903e7SBaptiste Daroussin * defs.h: split-out xdecls[] 190898e903e7SBaptiste Daroussin 190998e903e7SBaptiste Daroussin * VERSION: bump 191098e903e7SBaptiste Daroussin 191198e903e7SBaptiste Daroussin * configure: regen 191298e903e7SBaptiste Daroussin 191398e903e7SBaptiste Daroussin * aclocal.m4: add CF_REMOVE_DEFINE, needed by CF_ADD_CFLAGS 191498e903e7SBaptiste Daroussin 191598e903e7SBaptiste Daroussin * aclocal.m4: 191698e903e7SBaptiste Daroussin resync with my-autoconf CF_ADD_CFLAGS and CF_DISABLE_ECHO changes. 191798e903e7SBaptiste Daroussin 191898e903e7SBaptiste Daroussin2010-02-16 Ostap.Cherkashi 191998e903e7SBaptiste Daroussin 192098e903e7SBaptiste Daroussin * skeleton.c: fix a memory leak in the generated skeleton 192198e903e7SBaptiste Daroussin 192298e903e7SBaptiste Daroussin2010-01-01 Thomas E. Dickey <tom@invisible-island.net> 192398e903e7SBaptiste Daroussin 192498e903e7SBaptiste Daroussin * package/debian/source/format: scripts from Debian package 192598e903e7SBaptiste Daroussin 192698e903e7SBaptiste Daroussin2009-12-31 Thomas E. Dickey <tom@invisible-island.net> 192798e903e7SBaptiste Daroussin 19287dde5df4SBaptiste Daroussin * config.guess: update to 2009-12-30 192998e903e7SBaptiste Daroussin 19307dde5df4SBaptiste Daroussin * config.sub: update to 2009-12-31 193198e903e7SBaptiste Daroussin 193298e903e7SBaptiste Daroussin2009-10-27 Thomas E. Dickey <tom@invisible-island.net> 193398e903e7SBaptiste Daroussin 193498e903e7SBaptiste Daroussin * VERSION: 20091027 193598e903e7SBaptiste Daroussin 193698e903e7SBaptiste Daroussin * output.c, mkpar.c, defs.h, lalr.c, closure.c, graph.c, lr0.c, verbose.c, main.c, reader.c: 193798e903e7SBaptiste Daroussin strict compiler warnings 193898e903e7SBaptiste Daroussin 193998e903e7SBaptiste Daroussin2009-10-26 Thomas E. Dickey <tom@invisible-island.net> 194098e903e7SBaptiste Daroussin 194198e903e7SBaptiste Daroussin * test/ftp.tab.c, test/grammar.tab.c, test/calc.tab.c, test/error.tab.c: 194298e903e7SBaptiste Daroussin resync 194398e903e7SBaptiste Daroussin 194498e903e7SBaptiste Daroussin * main.c, defs.h: introduce some typedefs for portability, etc. 194598e903e7SBaptiste Daroussin 194698e903e7SBaptiste Daroussin * makefile.in: 194798e903e7SBaptiste Daroussin don't remove "*.log" in mostlyclean rule since it interferes with regression 194898e903e7SBaptiste Daroussin script. 194998e903e7SBaptiste Daroussin 195098e903e7SBaptiste Daroussin * configure: regen 195198e903e7SBaptiste Daroussin 195298e903e7SBaptiste Daroussin * aclocal.m4: resync with my-autoconf 195398e903e7SBaptiste Daroussin 195498e903e7SBaptiste Daroussin2009-08-25 Thomas E. Dickey <tom@invisible-island.net> 195598e903e7SBaptiste Daroussin 19567dde5df4SBaptiste Daroussin * config.guess, config.sub: update to 2009-08-19 195798e903e7SBaptiste Daroussin 195898e903e7SBaptiste Daroussin2009-02-21 Thomas E. Dickey <tom@invisible-island.net> 195998e903e7SBaptiste Daroussin 196098e903e7SBaptiste Daroussin * VERSION: bump 196198e903e7SBaptiste Daroussin 196298e903e7SBaptiste Daroussin * output.c: restore "yylval" symbol, omitted in cleanup on 2008/8/25 196398e903e7SBaptiste Daroussin 196498e903e7SBaptiste Daroussin2008-12-26 Thomas E. Dickey <tom@invisible-island.net> 196598e903e7SBaptiste Daroussin 196698e903e7SBaptiste Daroussin * configure: regen with autoconf-2.52 (patched) 196798e903e7SBaptiste Daroussin 196898e903e7SBaptiste Daroussin2008-12-25 Thomas E. Dickey <tom@invisible-island.net> 196998e903e7SBaptiste Daroussin 197098e903e7SBaptiste Daroussin * test/error.tab.c, test/ftp.tab.c, test/grammar.tab.c, test/calc.tab.c: 197198e903e7SBaptiste Daroussin regenerated 197298e903e7SBaptiste Daroussin 197398e903e7SBaptiste Daroussin2008-12-24 Thomas E. Dickey <tom@invisible-island.net> 197498e903e7SBaptiste Daroussin 197598e903e7SBaptiste Daroussin * VERSION: bump 197698e903e7SBaptiste Daroussin 197798e903e7SBaptiste Daroussin * skeleton.c: 197898e903e7SBaptiste Daroussin remove ifdef-lint from goto yyerrlab, to quiet gcc warning 197998e903e7SBaptiste Daroussin 198098e903e7SBaptiste Daroussin2008-11-26 Thomas E. Dickey <tom@invisible-island.net> 198198e903e7SBaptiste Daroussin 198298e903e7SBaptiste Daroussin * verbose.c, main.c, defs.h, mkpar.c, reader.c: 198398e903e7SBaptiste Daroussin completed implementation of "%expect" (report by Perry E. Metzger). 198498e903e7SBaptiste Daroussin add "%expect-rr", which is (unlike bison) allowable in LALR parsers. 198598e903e7SBaptiste Daroussin 198698e903e7SBaptiste Daroussin2008-11-24 Thomas E. Dickey <tom@invisible-island.net> 198798e903e7SBaptiste Daroussin 198898e903e7SBaptiste Daroussin * 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: 198998e903e7SBaptiste Daroussin change indent-style (request by Perry E. Metzger) 199098e903e7SBaptiste Daroussin 199198e903e7SBaptiste Daroussin2008-08-27 Thomas E. Dickey <tom@invisible-island.net> 199298e903e7SBaptiste Daroussin 199398e903e7SBaptiste Daroussin * test/calc.tab.c, test/error.tab.c, test/ftp.tab.c, test/grammar.tab.c: 199498e903e7SBaptiste Daroussin better implementation of YYPARSE_PARAM, using YYPARSE_DECL() macro 199598e903e7SBaptiste Daroussin 199698e903e7SBaptiste Daroussin * VERSION: bump 199798e903e7SBaptiste Daroussin 199898e903e7SBaptiste Daroussin * skeleton.c: 199998e903e7SBaptiste Daroussin better implementation of YYPARSE_PARAM, using YYPARSE_DECL() macro 200098e903e7SBaptiste Daroussin 200198e903e7SBaptiste Daroussin * test/calc.tab.c, test/error.tab.c, test/ftp.tab.c, test/grammar.tab.c, skeleton.c: 200298e903e7SBaptiste Daroussin change YYRECOVERING to YYRECOVERING(), for compatibility with other yacc's. 200398e903e7SBaptiste Daroussin 200498e903e7SBaptiste Daroussin * configure: regen'd 200598e903e7SBaptiste Daroussin 200698e903e7SBaptiste Daroussin * configure.in: add -Wwrite-strings to warnings 200798e903e7SBaptiste Daroussin 200898e903e7SBaptiste Daroussin * test/ftp.tab.c, test/grammar.tab.c, test/calc.tab.c, test/error.tab.c: 200998e903e7SBaptiste Daroussin add YYPARSE_PARAM and YYPARSE_PARAM_TYPE 201098e903e7SBaptiste Daroussin 201198e903e7SBaptiste Daroussin * skeleton.c: 201298e903e7SBaptiste Daroussin add YYPARSE_PARAM (bison) and YYPARSE_PARAM_TYPE (FreeBSD) features. 201398e903e7SBaptiste Daroussin 201498e903e7SBaptiste Daroussin * main.c, defs.h, output.c, skeleton.c, symtab.c, error.c, reader.c: 201598e903e7SBaptiste Daroussin fixes for gcc -Wwrite-strings 201698e903e7SBaptiste Daroussin 201798e903e7SBaptiste Daroussin * test/calc.tab.c, test/error.tab.c, test/ftp.tab.c, test/grammar.tab.c: 201898e903e7SBaptiste Daroussin generate the tables as static-const (this is an interface change) 201998e903e7SBaptiste Daroussin 202098e903e7SBaptiste Daroussin * output.c: realign columns in start_table() 202198e903e7SBaptiste Daroussin 202298e903e7SBaptiste Daroussin * output.c: 202398e903e7SBaptiste Daroussin generate the tables as static-const (this is an interface change) 202498e903e7SBaptiste Daroussin 202598e903e7SBaptiste Daroussin * output.c: reorder functions to eliminate forward-references 202698e903e7SBaptiste Daroussin 202798e903e7SBaptiste Daroussin * test/calc.tab.c, test/error.tab.c, test/ftp.tab.c, test/grammar.tab.c: 202898e903e7SBaptiste Daroussin remove 'register' keywords 202998e903e7SBaptiste Daroussin 203098e903e7SBaptiste Daroussin2008-08-26 Thomas E. Dickey <tom@invisible-island.net> 203198e903e7SBaptiste Daroussin 203298e903e7SBaptiste Daroussin * 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: 203398e903e7SBaptiste Daroussin remove 'register' keywords 203498e903e7SBaptiste Daroussin 203598e903e7SBaptiste Daroussin2008-08-25 Thomas E. Dickey <tom@invisible-island.net> 203698e903e7SBaptiste Daroussin 203798e903e7SBaptiste Daroussin * test/ftp.tab.c: regen'd 203898e903e7SBaptiste Daroussin 203998e903e7SBaptiste Daroussin * reader.c: 204098e903e7SBaptiste Daroussin improve the left-curly fix by testing after blanks, to avoid having a 204198e903e7SBaptiste Daroussin " {" at the beginning of a line. 204298e903e7SBaptiste Daroussin 204398e903e7SBaptiste Daroussin * test/error.tab.c, test/grammar.tab.c: regen'd 204498e903e7SBaptiste Daroussin 204598e903e7SBaptiste Daroussin * output.c: 204698e903e7SBaptiste Daroussin move the remaining newline-counting into write_XXX functions. 204798e903e7SBaptiste Daroussin 204898e903e7SBaptiste Daroussin * test/calc.tab.c: regen'd 204998e903e7SBaptiste Daroussin 205098e903e7SBaptiste Daroussin * output.c: 205198e903e7SBaptiste Daroussin simplify part of the output_file formatting using new functions, e.g., 205298e903e7SBaptiste Daroussin start_int_table(), output_newline(). 205398e903e7SBaptiste Daroussin 205498e903e7SBaptiste Daroussin * reader.c: 205598e903e7SBaptiste Daroussin modify copy_action() to indent the first character, it if is is left-curly 205698e903e7SBaptiste Daroussin brace. That makes the output look more like the original, as well as makes 205798e903e7SBaptiste Daroussin it simpler to edit (not confuse editors which look for a left-curly in the 205898e903e7SBaptiste Daroussin first column as if it were the beginning of a function). 205998e903e7SBaptiste Daroussin 206098e903e7SBaptiste Daroussin * skeleton.c: minor fixes to avoid gcc -Wconversion warnings 206198e903e7SBaptiste Daroussin 206298e903e7SBaptiste Daroussin * output.c: align the #define's produced for "-p" option 206398e903e7SBaptiste Daroussin 206498e903e7SBaptiste Daroussin * test/run_test.sh: use the "-p" option for better coverage. 206598e903e7SBaptiste Daroussin 206698e903e7SBaptiste Daroussin * output.c: simplify output_prefix() with new define_prefixed() 206798e903e7SBaptiste Daroussin 206898e903e7SBaptiste Daroussin * skeleton.c: include string.h, for memset() 206998e903e7SBaptiste Daroussin change stack size to unsigned to fix gcc -Wconversion warnings. 207098e903e7SBaptiste Daroussin 207198e903e7SBaptiste Daroussin * VERSION: bump to 2008/8/25 207298e903e7SBaptiste Daroussin 207398e903e7SBaptiste Daroussin * makefile.in: add dependency on VERSION file. 207498e903e7SBaptiste Daroussin 207598e903e7SBaptiste Daroussin2008-08-24 Thomas E. Dickey <tom@invisible-island.net> 207698e903e7SBaptiste Daroussin 207798e903e7SBaptiste Daroussin * VERSION: bump 207898e903e7SBaptiste Daroussin 207998e903e7SBaptiste Daroussin * lalr.c: improved memory-leak checking by freeing data in includes[] 208098e903e7SBaptiste Daroussin 208198e903e7SBaptiste Daroussin * test/error.tab.c, test/ftp.tab.c, test/grammar.tab.c, test/calc.tab.c: 208298e903e7SBaptiste Daroussin update to match skeleton-change 208398e903e7SBaptiste Daroussin 208498e903e7SBaptiste Daroussin * configure: regen'd 208598e903e7SBaptiste Daroussin 208698e903e7SBaptiste Daroussin * skeleton.c: Add fix for stack discussed 208798e903e7SBaptiste Daroussin http://undeadly.org/cgi?action=article&sid=20080708155228 208898e903e7SBaptiste Daroussin and applied 208998e903e7SBaptiste Daroussin http://www.openbsd.org/cgi-bin/cvsweb/src/usr.bin/yacc/skeleton.c.diff?r1=1.28&r2=1.29 209098e903e7SBaptiste Daroussin 209198e903e7SBaptiste Daroussin * aclocal.m4: resync with my-autoconf (no major changes) 209298e903e7SBaptiste Daroussin 209398e903e7SBaptiste Daroussin2008-07-24 Thomas E. Dickey <tom@invisible-island.net> 209498e903e7SBaptiste Daroussin 209598e903e7SBaptiste Daroussin * package/pkgsrc/Makefile, package/pkgsrc/distinfo: 209698e903e7SBaptiste Daroussin scripts from NetBSD pkgsrc, for test-builds 209798e903e7SBaptiste Daroussin 209898e903e7SBaptiste Daroussin2008-03-14 Thomas E. Dickey <tom@invisible-island.net> 209998e903e7SBaptiste Daroussin 210098e903e7SBaptiste Daroussin * config.sub: update to 2008-03-08 210198e903e7SBaptiste Daroussin 210298e903e7SBaptiste Daroussin * config.guess: update to 2008-03-12 210398e903e7SBaptiste Daroussin 210498e903e7SBaptiste Daroussin2007-05-09 Thomas E. Dickey <tom@invisible-island.net> 210598e903e7SBaptiste Daroussin 210698e903e7SBaptiste Daroussin * main.c: close graph, verbose files if opened, on exit. 210798e903e7SBaptiste Daroussin 210898e903e7SBaptiste Daroussin * main.c: 210998e903e7SBaptiste Daroussin audit memory leaks - valgrind reported some memory still in use on exit. 211098e903e7SBaptiste Daroussin 211198e903e7SBaptiste Daroussin * lalr.c, output.c, reader.c, mkpar.c, lr0.c: 211298e903e7SBaptiste Daroussin add hook for auditing memory leaks 211398e903e7SBaptiste Daroussin 211498e903e7SBaptiste Daroussin * defs.h: add hooks for auditing memory leaks 211598e903e7SBaptiste Daroussin 211698e903e7SBaptiste Daroussin * configure: regen'd 211798e903e7SBaptiste Daroussin 211898e903e7SBaptiste Daroussin * configure.in: 211998e903e7SBaptiste Daroussin use CF_DISABLE_LEAKS, which combines --disable-leaks, --with-valgrind, 212098e903e7SBaptiste Daroussin --with-dbmalloc and --with-dmalloc 212198e903e7SBaptiste Daroussin 212298e903e7SBaptiste Daroussin * aclocal.m4: add CF_DISABLE_LEAKS and CF_WITH_VALGRIND 212398e903e7SBaptiste Daroussin 212498e903e7SBaptiste Daroussin * aclocal.m4: improve version-checking in CF_GCC_VERSION 212598e903e7SBaptiste Daroussin rework dbmalloc/dmalloc options using CF_NO_LEAKS_OPTION macro 212698e903e7SBaptiste Daroussin 212798e903e7SBaptiste Daroussin * VERSION: 2007/5/9 212898e903e7SBaptiste Daroussin 212998e903e7SBaptiste Daroussin * main.c: file_prefix did not always have a trailing null. 213098e903e7SBaptiste Daroussin 213198e903e7SBaptiste Daroussin2007-03-25 Thomas E. Dickey <tom@invisible-island.net> 213298e903e7SBaptiste Daroussin 213398e903e7SBaptiste Daroussin * mkdirs.sh: improved version for "make -j" 213498e903e7SBaptiste Daroussin 213598e903e7SBaptiste Daroussin2006-12-22 Thomas E. Dickey <tom@invisible-island.net> 213698e903e7SBaptiste Daroussin 21377dde5df4SBaptiste Daroussin * config.guess: update to 2006/12/22 213898e903e7SBaptiste Daroussin 213998e903e7SBaptiste Daroussin2006-12-08 Thomas E. Dickey <tom@invisible-island.net> 214098e903e7SBaptiste Daroussin 21417dde5df4SBaptiste Daroussin * config.sub: update to 2006/12/08 214298e903e7SBaptiste Daroussin 214398e903e7SBaptiste Daroussin2005-08-13 Thomas E. Dickey <tom@invisible-island.net> 214498e903e7SBaptiste Daroussin 214598e903e7SBaptiste Daroussin * main.c: add -V to usage message 214698e903e7SBaptiste Daroussin 214798e903e7SBaptiste Daroussin * makefile.in: remove -t option from ctags 214898e903e7SBaptiste Daroussin 214998e903e7SBaptiste Daroussin * VERSION: 2005/8/13 215098e903e7SBaptiste Daroussin 215198e903e7SBaptiste Daroussin2005-08-13 schmitz 215298e903e7SBaptiste Daroussin 215398e903e7SBaptiste Daroussin * main.c: Sylvain Schmitz: 215498e903e7SBaptiste Daroussin modify the '-o' option to work like bison's, which sets the file-prefix. 215598e903e7SBaptiste Daroussin 215698e903e7SBaptiste Daroussin2005-08-13 Matt.Kraai 215798e903e7SBaptiste Daroussin 215898e903e7SBaptiste Daroussin * output.c: 215998e903e7SBaptiste Daroussin Debian #322858 (don't close union_file, which contained data). 216098e903e7SBaptiste Daroussin This feature is used in groff. 216198e903e7SBaptiste Daroussin 216298e903e7SBaptiste Daroussin2005-08-13 Thomas E. Dickey <tom@invisible-island.net> 216398e903e7SBaptiste Daroussin 216498e903e7SBaptiste Daroussin * configure: regenerated 216598e903e7SBaptiste Daroussin 216698e903e7SBaptiste Daroussin * aclocal.m4: improve checks for Intel compiler warnings 216798e903e7SBaptiste Daroussin 216898e903e7SBaptiste Daroussin2005-06-25 Thomas E. Dickey <tom@invisible-island.net> 216998e903e7SBaptiste Daroussin 21707dde5df4SBaptiste Daroussin * config.sub: update to 2005/6/2 217198e903e7SBaptiste Daroussin 21727dde5df4SBaptiste Daroussin * config.guess: update to 2005/5/27 217398e903e7SBaptiste Daroussin 217498e903e7SBaptiste Daroussin2005-05-05 Thomas E. Dickey <tom@invisible-island.net> 217598e903e7SBaptiste Daroussin 217698e903e7SBaptiste Daroussin * defs.h: add a fallback for GCC_UNUSED 217798e903e7SBaptiste Daroussin 217898e903e7SBaptiste Daroussin2005-05-04 Thomas E. Dickey <tom@invisible-island.net> 217998e903e7SBaptiste Daroussin 218098e903e7SBaptiste Daroussin * makefile.in: add "." to include-path to pickup config.h 218198e903e7SBaptiste Daroussin 218298e903e7SBaptiste Daroussin * reader.c: 218398e903e7SBaptiste Daroussin apply fix suggested by Steve Dum for end_rule() in Redhat Bugzilla #112617. 218498e903e7SBaptiste Daroussin 218598e903e7SBaptiste Daroussin * output.c: 218698e903e7SBaptiste Daroussin correct a limit check in pack_vector() - report/analysis by William Evans 218798e903e7SBaptiste Daroussin 218898e903e7SBaptiste Daroussin * main.c: 218998e903e7SBaptiste Daroussin exit after printing version. Otherwise "yacc -V" will exit with an erro 219098e903e7SBaptiste Daroussin after printing the usage message. 219198e903e7SBaptiste Daroussin 219298e903e7SBaptiste Daroussin * test/calc.tab.c, test/error.tab.c, test/ftp.tab.c, test/grammar.tab.c: 219398e903e7SBaptiste Daroussin regenerated after skeleton-changes 219498e903e7SBaptiste Daroussin 219598e903e7SBaptiste Daroussin * skeleton.c: replace a few -1's with YYEMPTY 219698e903e7SBaptiste Daroussin 219798e903e7SBaptiste Daroussin * skeleton.c: 219898e903e7SBaptiste Daroussin delete yynewerror (no one uses it any more, and it just makes compiler warnings) 219998e903e7SBaptiste Daroussin 220098e903e7SBaptiste Daroussin * skeleton.c: adapt yygrowstack() and related definitions from FreeBSD 220198e903e7SBaptiste Daroussin 220298e903e7SBaptiste Daroussin * test/run_test.sh: 220398e903e7SBaptiste Daroussin filter out lines with YYPATCH, since that will change with each update 220498e903e7SBaptiste Daroussin 220598e903e7SBaptiste Daroussin * yacc.1: add -V option 220698e903e7SBaptiste Daroussin 220798e903e7SBaptiste Daroussin * main.c: add -V option to print the version. 220898e903e7SBaptiste Daroussin simplify option-parsing by moving the duplicate logic for setting flags into 220998e903e7SBaptiste Daroussin new function setflag(). 221098e903e7SBaptiste Daroussin 221198e903e7SBaptiste Daroussin * skeleton.c: 221298e903e7SBaptiste Daroussin move the actual definition of YYMAJOR and YYMINOR to defs.h (as numbers). 221398e903e7SBaptiste Daroussin add YYPATCH here so it can be tested by applications. 221498e903e7SBaptiste Daroussin 221598e903e7SBaptiste Daroussin * defs.h: 221698e903e7SBaptiste Daroussin add macros to define VERSION in terms of the (numeric) YYMAJOR, YYMINOR and 221798e903e7SBaptiste Daroussin YYPATCH symbols. 221898e903e7SBaptiste Daroussin 221998e903e7SBaptiste Daroussin * lalr.c, lr0.c, mkpar.c, defs.h, closure.c, warshall.c, output.c, verbose.c, graph.c, reader.c, main.c, symtab.c: 222098e903e7SBaptiste Daroussin reduce externs by making static the procedures that are not referenced outside 222198e903e7SBaptiste Daroussin the module in which they are defined. 222298e903e7SBaptiste Daroussin 222398e903e7SBaptiste Daroussin * makefile.in: 222498e903e7SBaptiste Daroussin the VERSION file holds the patch-date. Define YYPATCH, so this will be 222598e903e7SBaptiste Daroussin compiled into the skeleton. 222698e903e7SBaptiste Daroussin 222798e903e7SBaptiste Daroussin * VERSION: patch-level for byacc 222898e903e7SBaptiste Daroussin 222998e903e7SBaptiste Daroussin * main.c: 223098e903e7SBaptiste Daroussin add "-o" to usage message. It is too long for a single line; rewrite usage() 223198e903e7SBaptiste Daroussin to show one option per line. 223298e903e7SBaptiste Daroussin 223398e903e7SBaptiste Daroussin2005-05-03 Thomas E. Dickey <tom@invisible-island.net> 223498e903e7SBaptiste Daroussin 223598e903e7SBaptiste Daroussin * main.c: add -o option, to work with scripts that assume bison. 223698e903e7SBaptiste Daroussin simplify create_file_names() with a macro. 223798e903e7SBaptiste Daroussin simplify done() with a macro. 223898e903e7SBaptiste Daroussin adapt fix from FreeBSD for signal race, e.g., if done() is interrupted by 223998e903e7SBaptiste Daroussin onintr(), do not flush output via exit(), but use _exit() instead. 224098e903e7SBaptiste Daroussin 224198e903e7SBaptiste Daroussin * defs.h: remove unnecessary externs for main.c 224298e903e7SBaptiste Daroussin 224398e903e7SBaptiste Daroussin * yacc.1: add -o option 224498e903e7SBaptiste Daroussin 224598e903e7SBaptiste Daroussin * graph.c: remove unused parameter 224698e903e7SBaptiste Daroussin 224798e903e7SBaptiste Daroussin * mkpar.c, defs.h, reader.c: 224898e903e7SBaptiste Daroussin add support for "%expect", a bison feature from FreeBSD sources 224998e903e7SBaptiste Daroussin 225098e903e7SBaptiste Daroussin * 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: 225198e903e7SBaptiste Daroussin indent'd 225298e903e7SBaptiste Daroussin 225398e903e7SBaptiste Daroussin * configure: regenerated for 2005/5/5 225498e903e7SBaptiste Daroussin 225598e903e7SBaptiste Daroussin * aclocal.m4: miscellaneous updates (adds CF_INTEL_COMPILER) 225698e903e7SBaptiste Daroussin 225798e903e7SBaptiste Daroussin2005-04-27 schmitz 225898e903e7SBaptiste Daroussin 225998e903e7SBaptiste Daroussin * defs.h, graph.c, lr0.c, main.c, makefile.in, reader.c, yacc.1: 226098e903e7SBaptiste Daroussin Sylvain Schmitz <schmitz@i3s.unice.fr>: 226198e903e7SBaptiste Daroussin add graphical output of the LALR(1) automaton for graphviz, 226298e903e7SBaptiste Daroussin associated with command-line option `-g' 226398e903e7SBaptiste Daroussin 226498e903e7SBaptiste Daroussin2005-04-16 Thomas E. Dickey <tom@invisible-island.net> 226598e903e7SBaptiste Daroussin 22667dde5df4SBaptiste Daroussin * config.sub: update to 2005/2/10 226798e903e7SBaptiste Daroussin 22687dde5df4SBaptiste Daroussin * config.guess: update to 2005/3/24 226998e903e7SBaptiste Daroussin 227098e903e7SBaptiste Daroussin2005-04-13 Thomas E. Dickey <tom@invisible-island.net> 227198e903e7SBaptiste Daroussin 227298e903e7SBaptiste Daroussin * package/pkgsrc/PLIST: scripts from NetBSD pkgsrc, for test-builds 227398e903e7SBaptiste Daroussin 227498e903e7SBaptiste Daroussin2005-03-21 Thomas E. Dickey <tom@invisible-island.net> 227598e903e7SBaptiste Daroussin 227698e903e7SBaptiste Daroussin * package/pkgsrc/DESCR: scripts from NetBSD pkgsrc, for test-builds 227798e903e7SBaptiste Daroussin 227898e903e7SBaptiste Daroussin2004-03-28 Thomas E. Dickey <tom@invisible-island.net> 227998e903e7SBaptiste Daroussin 228098e903e7SBaptiste Daroussin * test/calc.tab.c, test/error.tab.c, test/ftp.tab.c, test/grammar.tab.c: 228198e903e7SBaptiste Daroussin updates due to adding yyparse() prototype 228298e903e7SBaptiste Daroussin 228398e903e7SBaptiste Daroussin * configure: RCS_BASE 228498e903e7SBaptiste Daroussin 228598e903e7SBaptiste Daroussin * configure.in: 228698e903e7SBaptiste Daroussin add AC_ARG_PROGRAM to make --program-prefix, etc., work. 228798e903e7SBaptiste Daroussin 228898e903e7SBaptiste Daroussin * makefile.in: first cut of script to support --program-prefix 228998e903e7SBaptiste Daroussin 229098e903e7SBaptiste Daroussin * configure.in: 229198e903e7SBaptiste Daroussin reorder AC_INIT/AC_CONFIG_HEADER to make this "work" with autoconf 2.52 229298e903e7SBaptiste Daroussin 229398e903e7SBaptiste Daroussin * makefile.in: modify so DESTDIR works 229498e903e7SBaptiste Daroussin 229598e903e7SBaptiste Daroussin * makefile.in: use EXEEXT and OBJEXT 229698e903e7SBaptiste Daroussin 229798e903e7SBaptiste Daroussin * configure.in: use CF_PROG_EXT 229898e903e7SBaptiste Daroussin generate a config.h 229998e903e7SBaptiste Daroussin 230098e903e7SBaptiste Daroussin * defs.h: make this use the generated config.h 230198e903e7SBaptiste Daroussin 230298e903e7SBaptiste Daroussin * skeleton.c: add a forward-reference for yyparse() 230398e903e7SBaptiste Daroussin 230498e903e7SBaptiste Daroussin * aclocal.m4: add CF_CHECK_CACHE, needed for CF_PROG_EXT 230598e903e7SBaptiste Daroussin 230698e903e7SBaptiste Daroussin * yacc.1: remove the discussion of TMPDIR since it is obsolete 230798e903e7SBaptiste Daroussin 230898e903e7SBaptiste Daroussin * skeleton.c: fix a couple of minor compiler-warnings in the skeleton 230998e903e7SBaptiste Daroussin 231098e903e7SBaptiste Daroussin * defs.h: remove action_file_name, etc., since we use tmpfile() now. 231198e903e7SBaptiste Daroussin 231298e903e7SBaptiste Daroussin * main.c: 231398e903e7SBaptiste Daroussin use tmpfile() for opening the working files. This quiets a warning 231498e903e7SBaptiste Daroussin advising the use of mkstemp(). 231598e903e7SBaptiste Daroussin 231698e903e7SBaptiste Daroussin * output.c: 231798e903e7SBaptiste Daroussin Do not close temporary-files here, since they are opened with tmpfile(). 231898e903e7SBaptiste Daroussin Just rewind them, and they're ready to read back the data stored in them. 231998e903e7SBaptiste Daroussin 232098e903e7SBaptiste Daroussin * test/grammar.output, test/grammar.tab.c, test/grammar.tab.h: RCS_BASE 232198e903e7SBaptiste Daroussin 23220c8de5b0SBaptiste Daroussin * test/yacc/grammar.output, test/yacc/grammar.tab.h: 23230c8de5b0SBaptiste Daroussin reference output for testing 23240c8de5b0SBaptiste Daroussin 232598e903e7SBaptiste Daroussin * makefile.in: turn on "make check" rule 232698e903e7SBaptiste Daroussin 23270c8de5b0SBaptiste Daroussin * test/calc.output: RCS_BASE 23280c8de5b0SBaptiste Daroussin 23290c8de5b0SBaptiste Daroussin * test/yacc/calc.output: reference output for testing 23300c8de5b0SBaptiste Daroussin 23310c8de5b0SBaptiste Daroussin * test/run_test.sh, test/calc.tab.h: RCS_BASE 23320c8de5b0SBaptiste Daroussin 23330c8de5b0SBaptiste Daroussin * test/yacc/calc.tab.h: reference output for testing 233498e903e7SBaptiste Daroussin 233598e903e7SBaptiste Daroussin * test/ftp.tab.c: yyparse() is now yyparse(void) 233698e903e7SBaptiste Daroussin 233798e903e7SBaptiste Daroussin * test/calc.tab.c: RCS_BASE 233898e903e7SBaptiste Daroussin 233998e903e7SBaptiste Daroussin * test/error.tab.c: yyparse() is now yyparse(void) 234098e903e7SBaptiste Daroussin 234198e903e7SBaptiste Daroussin * test/README: RCS_BASE 234298e903e7SBaptiste Daroussin 234398e903e7SBaptiste Daroussin * yacc.1: various typography fixes prompted by Debian #100947 234498e903e7SBaptiste Daroussin 234598e903e7SBaptiste Daroussin * aclocal.m4, makefile.in, configure.in: RCS_BASE 234698e903e7SBaptiste Daroussin 234798e903e7SBaptiste Daroussin * README: updated to note that this is not the original 234898e903e7SBaptiste Daroussin 234998e903e7SBaptiste Daroussin2004-03-24 Thomas E. Dickey <tom@invisible-island.net> 235098e903e7SBaptiste Daroussin 235198e903e7SBaptiste Daroussin * test/grammar.y: RCS_BASE 235298e903e7SBaptiste Daroussin 235398e903e7SBaptiste Daroussin2004-02-23 Thomas E. Dickey <tom@invisible-island.net> 235498e903e7SBaptiste Daroussin 235598e903e7SBaptiste Daroussin * config.sub: RCS_BASE 235698e903e7SBaptiste Daroussin 235798e903e7SBaptiste Daroussin2004-02-17 Thomas E. Dickey <tom@invisible-island.net> 235898e903e7SBaptiste Daroussin 235998e903e7SBaptiste Daroussin * config.guess: RCS_BASE 236098e903e7SBaptiste Daroussin 236198e903e7SBaptiste Daroussin2003-11-29 Thomas E. Dickey <tom@invisible-island.net> 236298e903e7SBaptiste Daroussin 236398e903e7SBaptiste Daroussin * install-sh: improved quoting 236498e903e7SBaptiste Daroussin 236598e903e7SBaptiste Daroussin2002-06-29 Thomas E. Dickey <tom@invisible-island.net> 236698e903e7SBaptiste Daroussin 236798e903e7SBaptiste Daroussin * mkdirs.sh: 236898e903e7SBaptiste Daroussin don't use character range, since some locales don't work as expected 236998e903e7SBaptiste Daroussin 237098e903e7SBaptiste Daroussin2001-06-22 Thomas E. Dickey <tom@invisible-island.net> 237198e903e7SBaptiste Daroussin 237298e903e7SBaptiste Daroussin * install-sh: RCS_BASE 237398e903e7SBaptiste Daroussin 237498e903e7SBaptiste Daroussin2000-11-20 Thomas E. Dickey <tom@invisible-island.net> 237598e903e7SBaptiste Daroussin 237698e903e7SBaptiste Daroussin * test/calc.y: RCS_BASE 237798e903e7SBaptiste Daroussin 237898e903e7SBaptiste Daroussin * test/code_calc.y, test/pure_calc.y: copy of calc.y 237998e903e7SBaptiste Daroussin 238098e903e7SBaptiste Daroussin * vmsbuild.com: original version 238198e903e7SBaptiste Daroussin 238220afc491SJung-uk Kim2000-02-23 dickey 238398e903e7SBaptiste Daroussin 238498e903e7SBaptiste Daroussin * test/RCS, RCS: PERMIT FILE 238598e903e7SBaptiste Daroussin 238698e903e7SBaptiste Daroussin2000-02-14 Thomas E. Dickey <tom@invisible-island.net> 238798e903e7SBaptiste Daroussin 238898e903e7SBaptiste Daroussin * main.c: fix for VMS port - making pathname for temp-file 238998e903e7SBaptiste Daroussin 239098e903e7SBaptiste Daroussin * descrip.mms: original version 239198e903e7SBaptiste Daroussin 239298e903e7SBaptiste Daroussin2000-02-13 Thomas E. Dickey <tom@invisible-island.net> 239398e903e7SBaptiste Daroussin 239498e903e7SBaptiste Daroussin * 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: 239598e903e7SBaptiste Daroussin ansify 239698e903e7SBaptiste Daroussin 239798e903e7SBaptiste Daroussin1999-11-30 Thomas E. Dickey <tom@invisible-island.net> 239898e903e7SBaptiste Daroussin 239998e903e7SBaptiste Daroussin * mkdirs.sh: RCS_BASE 240098e903e7SBaptiste Daroussin 240198e903e7SBaptiste Daroussin1995-01-01 Thomas E. Dickey <tom@invisible-island.net> 240298e903e7SBaptiste Daroussin 240398e903e7SBaptiste Daroussin * config_h.in: RCS_BASE 240498e903e7SBaptiste Daroussin 240598e903e7SBaptiste Daroussin1993-12-23 unknown 240698e903e7SBaptiste Daroussin 240798e903e7SBaptiste Daroussin * README.DOS, main.c: MSDOS-port 240898e903e7SBaptiste Daroussin 240998e903e7SBaptiste Daroussin1993-12-22 unknown 241098e903e7SBaptiste Daroussin 241198e903e7SBaptiste Daroussin * reader.c, defs.h: MSDOS-port 241298e903e7SBaptiste Daroussin 241398e903e7SBaptiste Daroussin1993-03-02 unknown 241498e903e7SBaptiste Daroussin 241598e903e7SBaptiste Daroussin * README: original version 241698e903e7SBaptiste Daroussin 241798e903e7SBaptiste Daroussin1993-02-22 unknown 241898e903e7SBaptiste Daroussin 24190c8de5b0SBaptiste Daroussin * test/ftp.output, test/ftp.tab.c, test/ftp.tab.h: RCS_BASE 24200c8de5b0SBaptiste Daroussin 24210c8de5b0SBaptiste Daroussin1993-02-22 Thomas E. Dickey <tom@invisible-island.net> 24220c8de5b0SBaptiste Daroussin 24230c8de5b0SBaptiste Daroussin * test/yacc/error.output, test/yacc/error.tab.h: 24240c8de5b0SBaptiste Daroussin reference output for testing 24250c8de5b0SBaptiste Daroussin 24260c8de5b0SBaptiste Daroussin1993-02-22 unknown 24270c8de5b0SBaptiste Daroussin 24280c8de5b0SBaptiste Daroussin * test/error.output, test/error.tab.c, test/error.tab.h: RCS_BASE 242998e903e7SBaptiste Daroussin 243098e903e7SBaptiste Daroussin * skeleton.c, warshall.c, main.c, output.c, reader.c, closure.c, NOTES: 243198e903e7SBaptiste Daroussin original version 243298e903e7SBaptiste Daroussin 243398e903e7SBaptiste Daroussin1992-10-12 unknown 243498e903e7SBaptiste Daroussin 243598e903e7SBaptiste Daroussin * yacc.1: original version 243698e903e7SBaptiste Daroussin 243798e903e7SBaptiste Daroussin1992-10-11 unknown 243898e903e7SBaptiste Daroussin 243998e903e7SBaptiste Daroussin * defs.h: original version 244098e903e7SBaptiste Daroussin 244198e903e7SBaptiste Daroussin1991-01-20 unknown 244298e903e7SBaptiste Daroussin 244398e903e7SBaptiste Daroussin * mkpar.c, verbose.c: original version 244498e903e7SBaptiste Daroussin 244598e903e7SBaptiste Daroussin1991-01-14 unknown 244698e903e7SBaptiste Daroussin 244798e903e7SBaptiste Daroussin * lr0.c, Makefile, Makefile.old: original version 244898e903e7SBaptiste Daroussin 244998e903e7SBaptiste Daroussin1990-07-16 unknown 245098e903e7SBaptiste Daroussin 245198e903e7SBaptiste Daroussin * NEW_FEATURES: original version 245298e903e7SBaptiste Daroussin 245398e903e7SBaptiste Daroussin1990-06-03 unknown 245498e903e7SBaptiste Daroussin 245598e903e7SBaptiste Daroussin * ACKNOWLEDGEMENTS: original version 245698e903e7SBaptiste Daroussin 245798e903e7SBaptiste Daroussin1990-02-05 unknown 245898e903e7SBaptiste Daroussin 245998e903e7SBaptiste Daroussin * symtab.c, lalr.c, error.c: original version 246098e903e7SBaptiste Daroussin 246198e903e7SBaptiste Daroussin1990-01-16 Thomas E. Dickey <tom@invisible-island.net> 246298e903e7SBaptiste Daroussin 246398e903e7SBaptiste Daroussin * test/code_error.y, test/pure_error.y: RCS_BASE 246498e903e7SBaptiste Daroussin 246598e903e7SBaptiste Daroussin1990-01-16 unknown 246698e903e7SBaptiste Daroussin 246798e903e7SBaptiste Daroussin * test/error.y: RCS_BASE 246898e903e7SBaptiste Daroussin 246998e903e7SBaptiste Daroussin1989-11-22 unknown 247098e903e7SBaptiste Daroussin 247198e903e7SBaptiste Daroussin * NO_WARRANTY: original version 247298e903e7SBaptiste Daroussin 247398e903e7SBaptiste Daroussin1989-09-23 unknown 247498e903e7SBaptiste Daroussin 247598e903e7SBaptiste Daroussin * test/ftp.y: RCS_BASE 247698e903e7SBaptiste Daroussin 2477