1*2aca18c7SJung-uk Kim2016-12-02 Thomas E. Dickey <dickey@invisible-island.net> 2*2aca18c7SJung-uk Kim 3*2aca18c7SJung-uk Kim * test/btyacc/quote_calc4-s.tab.c, test/btyacc/varsyntax_calc1.tab.c, test/btyacc/error.tab.c, test/btyacc/grammar.tab.c, test/btyacc/inherit0.tab.c, test/btyacc/inherit1.tab.c, test/btyacc/inherit2.tab.c, test/btyacc/ok_syntax1.tab.c, test/btyacc/pure_calc.tab.c, test/btyacc/pure_error.tab.c, test/btyacc/quote_calc-s.tab.c, test/btyacc/quote_calc.tab.c, test/btyacc/quote_calc2-s.tab.c, test/btyacc/quote_calc2.tab.c, test/btyacc/quote_calc3-s.tab.c, test/btyacc/quote_calc3.tab.c, test/btyacc/quote_calc4.tab.c, test/btyacc/calc.tab.c, test/btyacc/calc1.tab.c, test/btyacc/calc2.tab.c, test/btyacc/calc3.tab.c, test/btyacc/code_calc.code.c, test/btyacc/code_error.code.c, test/btyacc/empty.tab.c, test/btyacc/err_inherit3.tab.c, test/btyacc/err_inherit4.tab.c, test/btyacc/err_syntax10.tab.c, test/btyacc/err_syntax11.tab.c, test/btyacc/err_syntax12.tab.c, test/btyacc/err_syntax18.tab.c, test/btyacc/err_syntax20.tab.c, test/btyacc/rename_debug.c, test/btyacc/btyacc_calc1.tab.c, test/btyacc/btyacc_demo.tab.c, test/btyacc/btyacc_destroy1.tab.c, test/btyacc/btyacc_destroy2.tab.c, test/btyacc/btyacc_destroy3.tab.c, btyaccpar.c: 4*2aca18c7SJung-uk Kim regen 5*2aca18c7SJung-uk Kim 6*2aca18c7SJung-uk Kim * btyaccpar.skel: changes from NetBSD 7*2aca18c7SJung-uk Kim + use YYINT rather than short in btyaccpar.skel 8*2aca18c7SJung-uk Kim (some of this had already been done by Tom Shields) 9*2aca18c7SJung-uk Kim + remove some casts of malloc/realloc 10*2aca18c7SJung-uk Kim 11*2aca18c7SJung-uk Kim * yaccpar.c, yaccpar.skel, output.c: changes from NetBSD 12*2aca18c7SJung-uk Kim - Add some more bison stuff to make the mesa/gallium parser work: 13*2aca18c7SJung-uk Kim %initial-action (add missing source struct member in location) 14*2aca18c7SJung-uk Kim %debug (unimplemented) 15*2aca18c7SJung-uk Kim %error-verbose (unimplemented) 16*2aca18c7SJung-uk Kim 17*2aca18c7SJung-uk Kim This changes some existing code: 18*2aca18c7SJung-uk Kim + yylloc is now a pointer, so 19*2aca18c7SJung-uk Kim + the first parameter to YYERROR_DECL() is a pointer 20*2aca18c7SJung-uk Kim + struct YYLTYPE now has a "source" field 21*2aca18c7SJung-uk Kim 22*2aca18c7SJung-uk Kim * test/btyacc/btyacc_demo.tab.h, test/btyacc/code_calc.tab.c, test/btyacc/code_error.tab.c, test/btyacc/err_inherit4.tab.h: 23*2aca18c7SJung-uk Kim regen 24*2aca18c7SJung-uk Kim 25*2aca18c7SJung-uk Kim * btyaccpar.c, btyaccpar.skel, reader.c: changes from NetBSD 26*2aca18c7SJung-uk Kim - Add some more bison stuff to make the mesa/gallium parser work: 27*2aca18c7SJung-uk Kim %initial-action (add missing source struct member in location) 28*2aca18c7SJung-uk Kim %debug (unimplemented) 29*2aca18c7SJung-uk Kim %error-verbose (unimplemented) 30*2aca18c7SJung-uk Kim 31*2aca18c7SJung-uk Kim This changes some existing code: 32*2aca18c7SJung-uk Kim + yylloc is now a pointer, so 33*2aca18c7SJung-uk Kim + the first parameter to YYERROR_DECL() is a pointer 34*2aca18c7SJung-uk Kim + struct YYLTYPE now has a "source" field 35*2aca18c7SJung-uk Kim 36*2aca18c7SJung-uk Kim * reader.c: 37*2aca18c7SJung-uk Kim fix from NetBSD: correct off-by-one when adding a null in copy_param() 38*2aca18c7SJung-uk Kim 39*2aca18c7SJung-uk Kim * reader.c: adapted from NetBSD 40*2aca18c7SJung-uk Kim - Convert *most* error fingerprints to: 41*2aca18c7SJung-uk Kim -unterminated_arglist(int a_lineno, char *a_line, char *a_cptr) 42*2aca18c7SJung-uk Kim +unterminated_arglist(const struct ainfo *a) 43*2aca18c7SJung-uk Kim - Cast new <ctype.h> args to unsigned char 44*2aca18c7SJung-uk Kim 45*2aca18c7SJung-uk Kim * defs.h: changes from NetBSD 46*2aca18c7SJung-uk Kim - Add some more bison stuff to make the mesa/gallium parser work: 47*2aca18c7SJung-uk Kim %initial-action (add missing source struct member in location) 48*2aca18c7SJung-uk Kim %debug (unimplemented) 49*2aca18c7SJung-uk Kim %error-verbose (unimplemented) 50*2aca18c7SJung-uk Kim 51*2aca18c7SJung-uk Kim This changes some existing code: 52*2aca18c7SJung-uk Kim + yylloc is now a pointer, so 53*2aca18c7SJung-uk Kim + the first parameter to YYERROR_DECL() is a pointer 54*2aca18c7SJung-uk Kim + struct YYLTYPE now has a "source" field 55*2aca18c7SJung-uk Kim 56*2aca18c7SJung-uk Kim * defs.h: adapted from NetBSD 57*2aca18c7SJung-uk Kim - Convert *most* error fingerprints to: 58*2aca18c7SJung-uk Kim -unterminated_arglist(int a_lineno, char *a_line, char *a_cptr) 59*2aca18c7SJung-uk Kim +unterminated_arglist(const struct ainfo *a) 60*2aca18c7SJung-uk Kim - Cast new <ctype.h> args to unsigned char 61*2aca18c7SJung-uk Kim 62*2aca18c7SJung-uk Kim * main.c: changes from NetBSD 63*2aca18c7SJung-uk Kim - Add some more bison stuff to make the mesa/gallium parser work: 64*2aca18c7SJung-uk Kim %initial-action (add missing source struct member in location) 65*2aca18c7SJung-uk Kim %debug (unimplemented) 66*2aca18c7SJung-uk Kim %error-verbose (unimplemented) 67*2aca18c7SJung-uk Kim 68*2aca18c7SJung-uk Kim This changes some existing code: 69*2aca18c7SJung-uk Kim + yylloc is now a pointer, so 70*2aca18c7SJung-uk Kim + the first parameter to YYERROR_DECL() is a pointer 71*2aca18c7SJung-uk Kim + struct YYLTYPE now has a "source" field 72*2aca18c7SJung-uk Kim 73*2aca18c7SJung-uk Kim * error.c: adapted from NetBSD 74*2aca18c7SJung-uk Kim - Convert *most* error fingerprints to: 75*2aca18c7SJung-uk Kim -unterminated_arglist(int a_lineno, char *a_line, char *a_cptr) 76*2aca18c7SJung-uk Kim +unterminated_arglist(const struct ainfo *a) 77*2aca18c7SJung-uk Kim - Cast new <ctype.h> args to unsigned char 78*2aca18c7SJung-uk Kim 79*2aca18c7SJung-uk Kim * mstring.c: adapted change from NetBSD to add casts for ctype macros 80*2aca18c7SJung-uk Kim 81*2aca18c7SJung-uk Kim * test/btyacc/btyacc_demo.tab.h, test/btyacc/err_inherit4.tab.h: regen 82*2aca18c7SJung-uk Kim 83*2aca18c7SJung-uk Kim * output.c: reorder to eliminate a forward-reference 84*2aca18c7SJung-uk Kim 85*2aca18c7SJung-uk Kim2016-12-02 Tom.Shields 86*2aca18c7SJung-uk Kim 87*2aca18c7SJung-uk Kim * output.c: 88*2aca18c7SJung-uk Kim modify output to enable compilation of a lexer generated by flex (using 89*2aca18c7SJung-uk Kim "%option bison-bridge" and "%option bison-locations") to be used with a parser 90*2aca18c7SJung-uk Kim generated by b(t)yacc (using directives "%locations" and "%pure-parser"). 91*2aca18c7SJung-uk Kim 92*2aca18c7SJung-uk Kim2016-12-02 Thomas E. Dickey <dickey@invisible-island.net> 93*2aca18c7SJung-uk Kim 94*2aca18c7SJung-uk Kim * configure: regen 95*2aca18c7SJung-uk Kim 96*2aca18c7SJung-uk Kim * aclocal.m4: Improved autoconf macros 97*2aca18c7SJung-uk Kim CF_CC_ENV_FLAGS 98*2aca18c7SJung-uk Kim + improve split between compiler and options, prompted by report where user 99*2aca18c7SJung-uk Kim had "ccache" before the compiler 100*2aca18c7SJung-uk Kim + leave non-preprocessor options in "$CC" (but still copy them to "$CFLAGS" 101*2aca18c7SJung-uk Kim since that's where they should be) 102*2aca18c7SJung-uk Kim CF_GNU_SOURCE,v 103*2aca18c7SJung-uk Kim + recent glibc (Debian 2.23-4 for example) has misordered ifdef/checks for new 104*2aca18c7SJung-uk Kim symbol _DEFAULT_SOURCE, producing warning messages when only _GNU_SOURCE is 105*2aca18c7SJung-uk Kim defined. Add a followup check to define _DEFAULT_SOURCE. 106*2aca18c7SJung-uk Kim CF_XOPEN_SOURCE 107*2aca18c7SJung-uk Kim + add "uclinux" to list of Linux's (patch by Yann E. Morin) 108*2aca18c7SJung-uk Kim + use _GNU_SOURCE for cygwin headers 109*2aca18c7SJung-uk Kim + build-fixes for OS/2 110*2aca18c7SJung-uk Kim 111*2aca18c7SJung-uk Kim * VERSION, package/byacc.spec, package/debian/changelog, package/mingw-byacc.spec, package/pkgsrc/Makefile: 112*2aca18c7SJung-uk Kim bump 113*2aca18c7SJung-uk Kim 114*2aca18c7SJung-uk Kim2016-11-20 Thomas E. Dickey <dickey@invisible-island.net> 115*2aca18c7SJung-uk Kim 116*2aca18c7SJung-uk Kim * config.sub: 2016-11-19 117*2aca18c7SJung-uk Kim 118*2aca18c7SJung-uk Kim * config.guess: 2016-10-02 119*2aca18c7SJung-uk Kim 120*2aca18c7SJung-uk Kim2016-06-06 Thomas E. Dickey <dickey@invisible-island.net> 121c5b5d71aSJung-uk Kim 122c5b5d71aSJung-uk Kim * configure: regen 123c5b5d71aSJung-uk Kim 124c5b5d71aSJung-uk Kim * aclocal.m4: improved autoconf macros: 125c5b5d71aSJung-uk Kim CF_CC_ENV_FLAGS - don't limit the check to -I, -U and -D options, since the 126c5b5d71aSJung-uk Kim added options can include various compiler options before and after 127c5b5d71aSJung-uk Kim preprocessor options. 128c5b5d71aSJung-uk Kim CF_PROG_LINT - add cpplint to programs to use; drop ad hoc tdlint and alint. 129c5b5d71aSJung-uk Kim 130c5b5d71aSJung-uk Kim * VERSION, package/byacc.spec, package/debian/changelog, package/mingw-byacc.spec, package/pkgsrc/Makefile: 131c5b5d71aSJung-uk Kim bump 132c5b5d71aSJung-uk Kim 133c5b5d71aSJung-uk Kim * lalr.c: indented 134c5b5d71aSJung-uk Kim 135c5b5d71aSJung-uk Kim * btyaccpar.c: regen 136c5b5d71aSJung-uk Kim 137c5b5d71aSJung-uk Kim * skel2c: 138c5b5d71aSJung-uk Kim adjust whitespace so that generated skeleton will follow the same format 139c5b5d71aSJung-uk Kim as other code 140c5b5d71aSJung-uk Kim 141c5b5d71aSJung-uk Kim * mkpar.c, verbose.c, lr0.c, reader.c, error.c, output.c: indented 142c5b5d71aSJung-uk Kim 143c5b5d71aSJung-uk Kim * reader.c: fix two compiler warnings 144c5b5d71aSJung-uk Kim 145c5b5d71aSJung-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: 146c5b5d71aSJung-uk Kim regen 147c5b5d71aSJung-uk Kim 148c5b5d71aSJung-uk Kim2016-06-06 Tom.Shields 149c5b5d71aSJung-uk Kim 150c5b5d71aSJung-uk Kim * btyaccpar.skel, yaccpar.skel: 151c5b5d71aSJung-uk Kim small fix for an edge case of initialized data in Chris Dodd's btyacc changes: 152c5b5d71aSJung-uk Kim "Avoid crash when input pops up an Action error at the first token" 153c5b5d71aSJung-uk Kim 154*2aca18c7SJung-uk Kim2016-06-01 Thomas E. Dickey <dickey@invisible-island.net> 155c5b5d71aSJung-uk Kim 156c5b5d71aSJung-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: 157c5b5d71aSJung-uk Kim regen 158c5b5d71aSJung-uk Kim 159c5b5d71aSJung-uk Kim2016-06-01 Tom.Shields 160c5b5d71aSJung-uk Kim 161c5b5d71aSJung-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: 162c5b5d71aSJung-uk Kim fixes for issues in btyacc (report by Francis Andre): 163c5b5d71aSJung-uk Kim 164c5b5d71aSJung-uk Kim + correction to the placement of the #line directive for a %union specification 165c5b5d71aSJung-uk Kim 166c5b5d71aSJung-uk Kim + recovery of a set of casts originally added into btyaccpar.c rather than into 167c5b5d71aSJung-uk Kim btyaccpar.skel, and so are lost whenever building from scratch 168c5b5d71aSJung-uk Kim 169c5b5d71aSJung-uk Kim + Chris Dodd's btyacc improved handling of inherited attributes to eliminate 170c5b5d71aSJung-uk Kim implicit empty copy rules that are not necessary, and thereby avoiding the 171c5b5d71aSJung-uk Kim introduction of extra parsing ambiguity 172c5b5d71aSJung-uk Kim 173c5b5d71aSJung-uk Kim + Chris Dodd's added support for @-N syntax to reference inherited position 174c5b5d71aSJung-uk Kim information 175c5b5d71aSJung-uk Kim 176c5b5d71aSJung-uk Kim + correction to bad interaction between %token-table and YYDEBUG, where YYDEBUG 177c5b5d71aSJung-uk Kim was required to be defined in order to compile the generated code 178c5b5d71aSJung-uk Kim 179c5b5d71aSJung-uk Kim + correction to yyname[] access in code included with YYDEBUG defined for 180c5b5d71aSJung-uk Kim single character symbols not recognized (e.g., input containing '&' character 181c5b5d71aSJung-uk Kim where grammar doesn't define that as a symbol) - map to existing 182c5b5d71aSJung-uk Kim "illegal-symbol" entry in byname[] 183c5b5d71aSJung-uk Kim 184c5b5d71aSJung-uk Kim + fixes to test/run_make.sh: skip test-err_* files; in the bison test phase 185c5b5d71aSJung-uk Kim skip additional files that contain features not supported by bison and 186c5b5d71aSJung-uk Kim inhibit new bison warning messages 187c5b5d71aSJung-uk Kim 188c5b5d71aSJung-uk Kim + minor changes to btyaccpar.skel & yaccpar.skel so they are more similar in 189c5b5d71aSJung-uk Kim their commonality; makes it easier to maintain the pair of files using 190c5b5d71aSJung-uk Kim vimdiff 191c5b5d71aSJung-uk Kim 192c5b5d71aSJung-uk Kim + changes to a couple of test cases for coverage of #3, #4 and #5 above 193c5b5d71aSJung-uk Kim 194*2aca18c7SJung-uk Kim2016-06-01 Thomas E. Dickey <dickey@invisible-island.net> 195c5b5d71aSJung-uk Kim 196c5b5d71aSJung-uk Kim * VERSION, package/byacc.spec, package/debian/changelog, package/mingw-byacc.spec, package/pkgsrc/Makefile: 197c5b5d71aSJung-uk Kim bump 198c5b5d71aSJung-uk Kim 199*2aca18c7SJung-uk Kim2016-03-24 Thomas E. Dickey <dickey@invisible-island.net> 20020afc491SJung-uk Kim 20120afc491SJung-uk Kim * reader.c: unused variable 20220afc491SJung-uk Kim 20320afc491SJung-uk Kim * package/pkgsrc/Makefile, package/debian/copyright: bump 20420afc491SJung-uk Kim 20520afc491SJung-uk Kim2016-03-24 Jung-uk.Kim 20620afc491SJung-uk Kim 20720afc491SJung-uk Kim * main.c: 20820afc491SJung-uk Kim correct logic for finding output suffix in the "-o" option, which matched 20920afc491SJung-uk Kim the first occurrence of ".c" in the name in 2005-08-13 changes rather than 21020afc491SJung-uk Kim at the end of the filename (patch by Jung-uk Kim) 21120afc491SJung-uk Kim 212*2aca18c7SJung-uk Kim2016-03-24 Thomas E. Dickey <dickey@invisible-island.net> 21320afc491SJung-uk Kim 21420afc491SJung-uk Kim * aclocal.m4: 21520afc491SJung-uk Kim update CF_WITH_MAN2HTML to use configured shell rather than /bin/sh 21620afc491SJung-uk Kim 21720afc491SJung-uk Kim * VERSION, package/byacc.spec, package/debian/changelog, package/mingw-byacc.spec, package/pkgsrc/Makefile: 21820afc491SJung-uk Kim bump 21920afc491SJung-uk Kim 220*2aca18c7SJung-uk Kim2016-01-25 Thomas E. Dickey <dickey@invisible-island.net> 22120afc491SJung-uk Kim 22220afc491SJung-uk Kim * config.guess, config.sub: 2016-01-01 22320afc491SJung-uk Kim 224*2aca18c7SJung-uk Kim2015-07-10 Thomas E. Dickey <dickey@invisible-island.net> 2250f86d14eSJung-uk Kim 2260f86d14eSJung-uk Kim * lr0.c: fix a duplicate-free in the leak-checking 2270f86d14eSJung-uk Kim 2280f86d14eSJung-uk Kim * VERSION, package/byacc.spec, package/debian/changelog, package/mingw-byacc.spec, package/pkgsrc/Makefile: 2290f86d14eSJung-uk Kim bump 2300f86d14eSJung-uk Kim 2310f86d14eSJung-uk Kim * reader.c: 2320f86d14eSJung-uk Kim make cache-size clearer (prompted by discussion with Pedro Giffuni, 2330f86d14eSJung-uk Kim Oliver Pinter) 2340f86d14eSJung-uk Kim 2350f86d14eSJung-uk Kim * main.c: 2360f86d14eSJung-uk Kim make relationship with format/size clearer (prompted by discussion 2370f86d14eSJung-uk Kim with Pedro Giffuni, Oliver Pinter) 2380f86d14eSJung-uk Kim 239*2aca18c7SJung-uk Kim2015-07-05 Thomas E. Dickey <dickey@invisible-island.net> 2400f86d14eSJung-uk Kim 2410f86d14eSJung-uk Kim * configure: regen 2420f86d14eSJung-uk Kim 2430f86d14eSJung-uk Kim * package/pkgsrc/Makefile, package/mingw-byacc.spec, package/debian/copyright, package/debian/changelog, package/byacc.spec, VERSION: 2440f86d14eSJung-uk Kim bump 2450f86d14eSJung-uk Kim 2460f86d14eSJung-uk Kim * aclocal.m4: resync with my-autoconf 2470f86d14eSJung-uk Kim add configure option --with-man2html 2480f86d14eSJung-uk Kim 2490f86d14eSJung-uk Kim * makefile.in: add configure options --with-man2html 2500f86d14eSJung-uk Kim 2510f86d14eSJung-uk Kim * configure.in: add configure option --with-man2html 2520f86d14eSJung-uk Kim 253*2aca18c7SJung-uk Kim2015-05-02 Thomas E. Dickey <dickey@invisible-island.net> 2540f86d14eSJung-uk Kim 2550f86d14eSJung-uk Kim * config.guess: 2015-03-04 2560f86d14eSJung-uk Kim 2570f86d14eSJung-uk Kim * config.sub: 2015-03-08 2580f86d14eSJung-uk Kim 259*2aca18c7SJung-uk Kim2014-11-28 Thomas E. Dickey <dickey@invisible-island.net> 2600f86d14eSJung-uk Kim 2610f86d14eSJung-uk Kim * lr0.c: coverity #39181: memory leak 2620f86d14eSJung-uk Kim 2630f86d14eSJung-uk Kim * VERSION, package/byacc.spec, package/debian/changelog, package/mingw-byacc.spec, package/pkgsrc/Makefile: 2640f86d14eSJung-uk Kim bump 2650f86d14eSJung-uk Kim 2660f86d14eSJung-uk Kim2014-11-13 Jouk.Jansen 2670f86d14eSJung-uk Kim 2680f86d14eSJung-uk Kim * descrip.mms: 2690f86d14eSJung-uk Kim I sucessfully compiled byacc on my OpenVMS systems. However, I had to update 2700f86d14eSJung-uk Kim the descrip.mms to include some extra c-source files and some dependenxcies 2710f86d14eSJung-uk Kim so that it also works when the distribution is located on an ODS5 disk. 2720f86d14eSJung-uk Kim 2730f86d14eSJung-uk Kim The patched descrip.mms file can be found at: 2740f86d14eSJung-uk Kim http://nchrem.tnw.tudelft.nl/openvms/software2.html#BYACC 2750f86d14eSJung-uk Kim 2760f86d14eSJung-uk Kim Please feel free to insert the file in your distribution. 2770f86d14eSJung-uk Kim 2780f86d14eSJung-uk Kim Regards 2790f86d14eSJung-uk Kim Jouk. 2800f86d14eSJung-uk Kim 281*2aca18c7SJung-uk Kim2014-10-06 Thomas E. Dickey <dickey@invisible-island.net> 282315e69cbSBaptiste Daroussin 283315e69cbSBaptiste Daroussin * package/debian/source/format: 284315e69cbSBaptiste Daroussin change to native format to work around regression in Debian packaging. 285315e69cbSBaptiste Daroussin 286315e69cbSBaptiste Daroussin * VERSION, package/byacc.spec, package/debian/changelog, package/mingw-byacc.spec, package/pkgsrc/Makefile: 287315e69cbSBaptiste Daroussin bump 288315e69cbSBaptiste Daroussin 289315e69cbSBaptiste Daroussin * configure: regen 290315e69cbSBaptiste Daroussin 291315e69cbSBaptiste Daroussin * main.c: 292315e69cbSBaptiste Daroussin correct parameter for umask - for very old mkstemp's - and use type mode_t 293315e69cbSBaptiste Daroussin to quiet compiler warning 294315e69cbSBaptiste Daroussin 295315e69cbSBaptiste Daroussin * configure.in: add configure check for mode_t 296315e69cbSBaptiste Daroussin 297315e69cbSBaptiste Daroussin * reader.c: 298315e69cbSBaptiste Daroussin better fix for get_line, by ensuring there is enough space to null-terminate 299315e69cbSBaptiste Daroussin its result (prompted by discussion with Craig Rodrigues). 300315e69cbSBaptiste Daroussin 301*2aca18c7SJung-uk Kim2014-10-05 Thomas E. Dickey <dickey@invisible-island.net> 30211fce282SBaptiste Daroussin 30311fce282SBaptiste Daroussin * main.c: 30411fce282SBaptiste Daroussin make change to umask before calling mkstemp, as suggested in Coverity #56902 30511fce282SBaptiste Daroussin 30611fce282SBaptiste Daroussin * reader.c: 30711fce282SBaptiste Daroussin adjust logic in copy_action to avoid potential null-pointer dereference 30811fce282SBaptiste Daroussin (Coverity #56901) 30911fce282SBaptiste Daroussin 31011fce282SBaptiste Daroussin * reader.c: 31111fce282SBaptiste Daroussin adjust logic to avoid potential null-pointer dereference in compile_args 31211fce282SBaptiste Daroussin (Coverity #63407) 31311fce282SBaptiste Daroussin 31411fce282SBaptiste Daroussin * reader.c: eliminate strcpy into fixed-size buffer (Coverity #63408) 31511fce282SBaptiste Daroussin 31611fce282SBaptiste Daroussin * yacc.1: document changes made with respect to %parse-param 31711fce282SBaptiste Daroussin 31811fce282SBaptiste Daroussin * output.c: 31911fce282SBaptiste Daroussin add parameters from %parse-param to destructor. The order of the parameters 32011fce282SBaptiste Daroussin is intentionally inconsistent with yyparse/yyerror, for "compatibility" with 32111fce282SBaptiste Daroussin bison. 32211fce282SBaptiste Daroussin 32311fce282SBaptiste Daroussin * test/btyacc/btyacc_destroy1.tab.c, test/btyacc/btyacc_destroy2.tab.c, test/btyacc/btyacc_destroy3.tab.c: 32411fce282SBaptiste Daroussin regen 32511fce282SBaptiste Daroussin 32611fce282SBaptiste Daroussin * output.c: 32711fce282SBaptiste Daroussin use puts_param_types/puts_param_names to output lex_param data. 32811fce282SBaptiste Daroussin 32911fce282SBaptiste 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: 33011fce282SBaptiste Daroussin regen 33111fce282SBaptiste Daroussin 33211fce282SBaptiste Daroussin * btyaccpar.c: add casts, change types to fix strict compiler warnings 33311fce282SBaptiste Daroussin 33411fce282SBaptiste 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: 33511fce282SBaptiste Daroussin regen 33611fce282SBaptiste Daroussin 33711fce282SBaptiste Daroussin * output.c: gcc-warning 33811fce282SBaptiste Daroussin 33911fce282SBaptiste Daroussin * test/btyacc/code_calc.tab.c, test/btyacc/code_error.tab.c: regen 34011fce282SBaptiste Daroussin 34111fce282SBaptiste Daroussin * output.c: fix limit when merging real/workaround tables 34211fce282SBaptiste Daroussin 34311fce282SBaptiste Daroussin * output.c: 34411fce282SBaptiste Daroussin for btyacc, it is possible to have no conflicts - but in that case, the 34511fce282SBaptiste Daroussin "ctable" was not generated at all, while the skeleton uses the table. 34611fce282SBaptiste Daroussin The most straightforward (workaround) is generating a dummy table which 34711fce282SBaptiste Daroussin rejects any state. 34811fce282SBaptiste Daroussin 34911fce282SBaptiste Daroussin * test/btyacc_destroy3.y, test/btyacc_destroy2.y, test/btyacc_destroy1.y: 35011fce282SBaptiste Daroussin fix "make check_make" 35111fce282SBaptiste Daroussin 35211fce282SBaptiste 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: 35311fce282SBaptiste Daroussin regen 35411fce282SBaptiste Daroussin 35511fce282SBaptiste Daroussin * reader.c: 35611fce282SBaptiste Daroussin trim blanks from interim value in copy_param() to handle special case when 35711fce282SBaptiste Daroussin a space precedes a comma. 35811fce282SBaptiste Daroussin 35911fce282SBaptiste Daroussin * output.c: 36011fce282SBaptiste Daroussin use two new functions, puts_param_types and puts_param_names, to improve 36111fce282SBaptiste Daroussin format of the parse_param list (by trimming space after "*") as well as 36211fce282SBaptiste Daroussin correcting the output of the comma-separated names (only the last name 36311fce282SBaptiste Daroussin was output). 36411fce282SBaptiste Daroussin 36511fce282SBaptiste Daroussin * test/btyacc/ok_syntax1.tab.c, test/btyacc/btyacc_destroy3.tab.c, test/btyacc/calc2.tab.c, test/btyacc/calc3.tab.c: 36611fce282SBaptiste Daroussin regen 36711fce282SBaptiste Daroussin 36811fce282SBaptiste Daroussin * reader.c: 36911fce282SBaptiste Daroussin modify copy_param() to handle resulting comma-separated list. Before, it 37011fce282SBaptiste Daroussin only expected a single parameter. 37111fce282SBaptiste Daroussin 372*2aca18c7SJung-uk Kim2014-10-04 Thomas E. Dickey <dickey@invisible-island.net> 37311fce282SBaptiste Daroussin 37411fce282SBaptiste Daroussin * reader.c: split-out save_param() from copy_param() 37511fce282SBaptiste Daroussin 37611fce282SBaptiste Daroussin * reader.c: trim_blanks() did not always convert spaces - fix. 37711fce282SBaptiste Daroussin 37811fce282SBaptiste Daroussin * reader.c: fix some minor regressions with error-reporting 37911fce282SBaptiste Daroussin 38011fce282SBaptiste Daroussin * aclocal.m4: update CF_XOPEN_SOURCE for Unixware change from lynx 38111fce282SBaptiste Daroussin 38211fce282SBaptiste Daroussin * VERSION, package/byacc.spec, package/debian/changelog, package/mingw-byacc.spec, package/pkgsrc/Makefile: 38311fce282SBaptiste Daroussin bump 38411fce282SBaptiste Daroussin 38511fce282SBaptiste Daroussin * reader.c: 38611fce282SBaptiste Daroussin modify copy_param() to accept multiple parameters, each in curly braces like 38711fce282SBaptiste Daroussin recent bison, as well as honoring bison's undocumented feature to accept the 38811fce282SBaptiste Daroussin parameters as a comma-separated list. 38911fce282SBaptiste Daroussin 39011fce282SBaptiste 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: 39111fce282SBaptiste Daroussin RCS_BASE 39211fce282SBaptiste Daroussin 393*2aca18c7SJung-uk Kim2014-10-03 Thomas E. Dickey <dickey@invisible-island.net> 39411fce282SBaptiste Daroussin 39511fce282SBaptiste 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: 39611fce282SBaptiste Daroussin RCS_BASE 39711fce282SBaptiste Daroussin 398*2aca18c7SJung-uk Kim2014-10-02 Thomas E. Dickey <dickey@invisible-island.net> 399ab7bf3d4SCraig Rodrigues 40011fce282SBaptiste Daroussin * main.c, reader.c, defs.h: 401ab7bf3d4SCraig Rodrigues use calloc in get_line() when allocating line to ensure it is fully initialized, 402ab7bf3d4SCraig Rodrigues fixes a later uninitialized value in copy_param() (FreeBSD #193499). 403ab7bf3d4SCraig Rodrigues 404*2aca18c7SJung-uk Kim2014-09-17 Thomas E. Dickey <dickey@invisible-island.net> 40511fce282SBaptiste Daroussin 40611fce282SBaptiste Daroussin * closure.c, lalr.c, output.c, defs.h: 40711fce282SBaptiste Daroussin rephrase odd addressing to fix Coverity #48848, #38950, #38860, not actually 40811fce282SBaptiste Daroussin a bug. 40911fce282SBaptiste Daroussin 410*2aca18c7SJung-uk Kim2014-09-01 Thomas E. Dickey <dickey@invisible-island.net> 41111fce282SBaptiste Daroussin 41211fce282SBaptiste Daroussin * config.sub: update to 2014-07-28 41311fce282SBaptiste Daroussin 414*2aca18c7SJung-uk Kim2014-07-27 Thomas E. Dickey <dickey@invisible-island.net> 41511fce282SBaptiste Daroussin 41611fce282SBaptiste Daroussin * configure: regen 41711fce282SBaptiste Daroussin 41811fce282SBaptiste Daroussin * aclocal.m4: modified to support port to Minix3.2 41911fce282SBaptiste Daroussin 42011fce282SBaptiste Daroussin * package/pkgsrc/Makefile, VERSION, package/byacc.spec, package/debian/changelog, package/mingw-byacc.spec: 42111fce282SBaptiste Daroussin bump 42211fce282SBaptiste Daroussin 423*2aca18c7SJung-uk Kim2014-07-15 Thomas E. Dickey <dickey@invisible-island.net> 424bb9eb45aSBaptiste Daroussin 425bb9eb45aSBaptiste Daroussin * aclocal.m4: resync with my-autoconf (no change to configure script) 426bb9eb45aSBaptiste Daroussin 427bb9eb45aSBaptiste Daroussin * VERSION, package/byacc.spec, package/debian/changelog, package/mingw-byacc.spec, package/pkgsrc/Makefile: 428bb9eb45aSBaptiste Daroussin bump 429bb9eb45aSBaptiste Daroussin 430bb9eb45aSBaptiste Daroussin * test/run_test.sh: 431bb9eb45aSBaptiste Daroussin make top-level "make check" work again, by adding another step to filtering 432bb9eb45aSBaptiste Daroussin the test results. 433bb9eb45aSBaptiste Daroussin 434*2aca18c7SJung-uk Kim2014-07-14 Thomas E. Dickey <dickey@invisible-island.net> 435bb9eb45aSBaptiste Daroussin 436bb9eb45aSBaptiste Daroussin * test/run_test.sh: changes from Garrett Cooper's patch: 437bb9eb45aSBaptiste Daroussin a) ensure that the script returns an error-code if there are differences 438bb9eb45aSBaptiste Daroussin b) escape "." character in left side of sed expression for $YACC 439bb9eb45aSBaptiste Daroussin c) ensure that $ifBTYACC has a value 440bb9eb45aSBaptiste Daroussin 441bb9eb45aSBaptiste 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: 442bb9eb45aSBaptiste Daroussin regen (reminder by Garrett Cooper) 443bb9eb45aSBaptiste Daroussin 444bb9eb45aSBaptiste Daroussin2014-07-14 Garrett.Cooper 445bb9eb45aSBaptiste Daroussin 446bb9eb45aSBaptiste 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: 447bb9eb45aSBaptiste Daroussin regen 448bb9eb45aSBaptiste Daroussin 449bb9eb45aSBaptiste Daroussin2014-05-27 Tom.Shields 450bb9eb45aSBaptiste Daroussin 451bb9eb45aSBaptiste Daroussin * main.c: remove obsolete -D option from usage message 452bb9eb45aSBaptiste Daroussin 453*2aca18c7SJung-uk Kim2014-05-27 Thomas E. Dickey <dickey@invisible-island.net> 454bb9eb45aSBaptiste Daroussin 455bb9eb45aSBaptiste 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: 456bb9eb45aSBaptiste Daroussin bump 457bb9eb45aSBaptiste Daroussin 458*2aca18c7SJung-uk Kim2014-04-22 Thomas E. Dickey <dickey@invisible-island.net> 459497dcf4cSBaptiste Daroussin 460497dcf4cSBaptiste Daroussin * mstring.c: 461497dcf4cSBaptiste Daroussin use vsnprintf() to ensure that msprintf's buffer is large enough. 462497dcf4cSBaptiste Daroussin 463497dcf4cSBaptiste Daroussin * main.c, defs.h: add mstring_leaks() 464497dcf4cSBaptiste Daroussin 465497dcf4cSBaptiste Daroussin * configure: regen 466497dcf4cSBaptiste Daroussin 467497dcf4cSBaptiste Daroussin * output.c: fix a complementary warning 468497dcf4cSBaptiste Daroussin 469497dcf4cSBaptiste Daroussin * mstring.c: introduce vsnprintf 470497dcf4cSBaptiste Daroussin 471497dcf4cSBaptiste Daroussin * configure.in, config_h.in: add check for vsnprintf 472497dcf4cSBaptiste Daroussin 473497dcf4cSBaptiste Daroussin * output.c: quiet a type-conversion warning 474497dcf4cSBaptiste Daroussin 475497dcf4cSBaptiste Daroussin * mstring.c: fix a potential memory leak on ENOMEM 476497dcf4cSBaptiste Daroussin quiet a couple of type-conversion warnings 477497dcf4cSBaptiste Daroussin 478497dcf4cSBaptiste Daroussin * defs.h: add/use GCC_PRINTFLIKE for msprintf() 479497dcf4cSBaptiste Daroussin 480497dcf4cSBaptiste Daroussin2014-04-22 Tom.Shields 481497dcf4cSBaptiste Daroussin 482497dcf4cSBaptiste Daroussin * README.BTYACC: 483497dcf4cSBaptiste Daroussin drop "NOTES-btyacc-Changes" and "NOTES-btyacc-Disposition", merging relevant 484497dcf4cSBaptiste Daroussin content into README.BTYACC 485497dcf4cSBaptiste Daroussin 486*2aca18c7SJung-uk Kim2014-04-22 Thomas E. Dickey <dickey@invisible-island.net> 487497dcf4cSBaptiste Daroussin 488497dcf4cSBaptiste Daroussin * package/pkgsrc/Makefile, VERSION, package/byacc.spec, package/debian/changelog, package/mingw-byacc.spec: 489497dcf4cSBaptiste Daroussin bump 490497dcf4cSBaptiste Daroussin 491*2aca18c7SJung-uk Kim2014-04-19 Thomas E. Dickey <dickey@invisible-island.net> 492497dcf4cSBaptiste Daroussin 493497dcf4cSBaptiste Daroussin * config.sub: 2014-04-03 494497dcf4cSBaptiste Daroussin 495497dcf4cSBaptiste Daroussin * config.guess: 2014-03-23 496497dcf4cSBaptiste Daroussin 4970c8de5b0SBaptiste Daroussin2014-04-09 Rick.Spates 4980c8de5b0SBaptiste Daroussin 4990c8de5b0SBaptiste Daroussin * main.c, defs.h: patch to allow DEBUG build with WIN32 system 5000c8de5b0SBaptiste Daroussin 501*2aca18c7SJung-uk Kim2014-04-09 Thomas E. Dickey <dickey@invisible-island.net> 5020c8de5b0SBaptiste Daroussin 5030c8de5b0SBaptiste Daroussin * output.c, reader.c: gcc warnings 5040c8de5b0SBaptiste Daroussin 5050c8de5b0SBaptiste Daroussin * reader.c: fix const-cast warnings 5060c8de5b0SBaptiste Daroussin 5070c8de5b0SBaptiste 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: 5080c8de5b0SBaptiste Daroussin fix a few clang --analyze warnings; one was a case where output_ctable emitted 5090c8de5b0SBaptiste Daroussin an empty table (which should be an error). 5100c8de5b0SBaptiste Daroussin 5110c8de5b0SBaptiste Daroussin * reader.c: appease clang --analyze 5120c8de5b0SBaptiste Daroussin 5130c8de5b0SBaptiste Daroussin * defs.h: mark two functions as no-return. 5140c8de5b0SBaptiste Daroussin 5150c8de5b0SBaptiste Daroussin * package/debian/changelog: reason for release 5160c8de5b0SBaptiste Daroussin 5170c8de5b0SBaptiste Daroussin * VERSION, package/byacc.spec, package/debian/changelog, package/mingw-byacc.spec, package/pkgsrc/Makefile: 5180c8de5b0SBaptiste Daroussin bump 5190c8de5b0SBaptiste Daroussin 5200c8de5b0SBaptiste Daroussin * makefile.in: use $LINT_OPTS from environment via configure script 5210c8de5b0SBaptiste Daroussin 5220c8de5b0SBaptiste 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: 5230c8de5b0SBaptiste Daroussin tweaks to make generated files from ok_syntax1.y compile with check_make rule 5240c8de5b0SBaptiste Daroussin 5250c8de5b0SBaptiste 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: 5260c8de5b0SBaptiste Daroussin reference output for testing 5270c8de5b0SBaptiste Daroussin 5280c8de5b0SBaptiste Daroussin * test/run_test.sh: 5290c8de5b0SBaptiste Daroussin retain the renaming done for code_debug.y so that check_make will work. 5300c8de5b0SBaptiste Daroussin 5310c8de5b0SBaptiste Daroussin * test/yacc/rename_debug.error, test/yacc/rename_debug.h, test/yacc/rename_debug.i, test/yacc/rename_debug.output: 5320c8de5b0SBaptiste Daroussin reference output for testing 5330c8de5b0SBaptiste Daroussin 5340c8de5b0SBaptiste Daroussin * test/btyacc/ok_syntax1.error: RCS_BASE 5350c8de5b0SBaptiste Daroussin 5360c8de5b0SBaptiste 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: 5370c8de5b0SBaptiste Daroussin regen 5380c8de5b0SBaptiste Daroussin 5390c8de5b0SBaptiste Daroussin * yacc.1: 5400c8de5b0SBaptiste Daroussin clarify relationship of btyacc features to default configuration. 5410c8de5b0SBaptiste Daroussin 542*2aca18c7SJung-uk Kim2014-04-08 Thomas E. Dickey <dickey@invisible-island.net> 5430c8de5b0SBaptiste Daroussin 5440c8de5b0SBaptiste 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: 5450c8de5b0SBaptiste Daroussin reference output for testing 5460c8de5b0SBaptiste Daroussin 5470c8de5b0SBaptiste Daroussin * test/ok_syntax1.y: RCS_BASE 5480c8de5b0SBaptiste Daroussin 5490c8de5b0SBaptiste Daroussin * test/yacc/ok_syntax1.error: reference output for testing 5500c8de5b0SBaptiste Daroussin 5510c8de5b0SBaptiste 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: 5520c8de5b0SBaptiste Daroussin exercise -L/-B options 5530c8de5b0SBaptiste Daroussin 5540c8de5b0SBaptiste 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: 5550c8de5b0SBaptiste Daroussin use a better renaming of the YYPATCH definition (none of the test-cases rely 5560c8de5b0SBaptiste Daroussin upon it, but redefinition in the "make check_make" rule is a problem). 5570c8de5b0SBaptiste Daroussin 5580c8de5b0SBaptiste 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: 5590c8de5b0SBaptiste Daroussin undid temporary reordering in reader() by Tom Shields to align with byacc outputs 5600c8de5b0SBaptiste Daroussin 5610c8de5b0SBaptiste Daroussin * test/run_test.sh: remove a repeated test-case 5620c8de5b0SBaptiste Daroussin 5630c8de5b0SBaptiste Daroussin * mstring.c: minor reformatting to make coverage analysis simpler 5640c8de5b0SBaptiste Daroussin 565*2aca18c7SJung-uk Kim2014-04-07 Thomas E. Dickey <dickey@invisible-island.net> 5660c8de5b0SBaptiste Daroussin 5670c8de5b0SBaptiste Daroussin * test/run_test.sh: tidy 5680c8de5b0SBaptiste Daroussin 5690c8de5b0SBaptiste 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: 5700c8de5b0SBaptiste Daroussin reference output for testing 5710c8de5b0SBaptiste Daroussin 5720c8de5b0SBaptiste Daroussin * test/run_test.sh: 5730c8de5b0SBaptiste Daroussin add special checks for flags which depend on writable/existing files 5740c8de5b0SBaptiste Daroussin 5750c8de5b0SBaptiste 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: 5760c8de5b0SBaptiste Daroussin reference output for testing 5770c8de5b0SBaptiste Daroussin 5780c8de5b0SBaptiste Daroussin * main.c: 5790c8de5b0SBaptiste Daroussin change CREATE_FILE_NAMES() to use local function rather than inline code, 5800c8de5b0SBaptiste Daroussin to simplify coverage analysis. 5810c8de5b0SBaptiste Daroussin 5820c8de5b0SBaptiste 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: 5830c8de5b0SBaptiste Daroussin reference output for testing 5840c8de5b0SBaptiste Daroussin 5850c8de5b0SBaptiste Daroussin * test/err_syntax27.y: testcase for missing_brace() 5860c8de5b0SBaptiste Daroussin 5870c8de5b0SBaptiste Daroussin * error.c: ifdef'd non-btyacc function 5880c8de5b0SBaptiste Daroussin 5890c8de5b0SBaptiste Daroussin * lr0.c: ifdef'd debug-code 5900c8de5b0SBaptiste Daroussin 5910c8de5b0SBaptiste Daroussin * yaccpar.skel: use YYINT's to replace short's as in btyaccpar.skel 5920c8de5b0SBaptiste Daroussin 5930c8de5b0SBaptiste 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: 5940c8de5b0SBaptiste Daroussin 2010/11/26 simplification of output.c using putc_code() and putl_code() 5950c8de5b0SBaptiste Daroussin omitted an adjustment of the #line value used for code-file. Fix that. 5960c8de5b0SBaptiste Daroussin Also, amend 2005/05/04 change to run_test.sh to retain a dummy line for 5970c8de5b0SBaptiste Daroussin YYPATCH #define's to make test-outputs easier to compare #line's (report 5980c8de5b0SBaptiste Daroussin by Tom Shields) 5990c8de5b0SBaptiste Daroussin 600*2aca18c7SJung-uk Kim2014-04-06 Thomas E. Dickey <dickey@invisible-island.net> 6010c8de5b0SBaptiste Daroussin 6020c8de5b0SBaptiste Daroussin * reader.c: fix for valgrind 6030c8de5b0SBaptiste Daroussin (the calloc's are intentional - valgrind reported use of uninitialized memory) 6040c8de5b0SBaptiste Daroussin 6050c8de5b0SBaptiste Daroussin * lr0.c, output.c: fix for valgrind 6060c8de5b0SBaptiste Daroussin 6070c8de5b0SBaptiste 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: 6080c8de5b0SBaptiste Daroussin RCS_BASE 6090c8de5b0SBaptiste Daroussin 6100c8de5b0SBaptiste Daroussin * test/yacc/code_debug.c, test/yacc/code_debug.h: 6110c8de5b0SBaptiste Daroussin exercise the -i option 6120c8de5b0SBaptiste Daroussin 6130c8de5b0SBaptiste Daroussin * test/yacc/code_debug.i: reference output for testing 6140c8de5b0SBaptiste Daroussin 6150c8de5b0SBaptiste Daroussin * test/run_test.sh: exercise the -i option 6160c8de5b0SBaptiste Daroussin 6170c8de5b0SBaptiste Daroussin * test/yacc/code_debug.c: reference output for testing 6180c8de5b0SBaptiste Daroussin 6190c8de5b0SBaptiste Daroussin * test/run_test.sh: exercise the "-o" option 6200c8de5b0SBaptiste Daroussin 6210c8de5b0SBaptiste Daroussin * test/yacc/code_debug.error, test/yacc/code_debug.h, test/yacc/code_debug.output: 6220c8de5b0SBaptiste Daroussin reference output for testing 6230c8de5b0SBaptiste Daroussin 6240c8de5b0SBaptiste Daroussin * output.c: don't call exit() without giving a chance to cleanup. 6250c8de5b0SBaptiste Daroussin 6260c8de5b0SBaptiste Daroussin * mstring.c: ifdef'd functions not used in byacc 6270c8de5b0SBaptiste Daroussin 6280c8de5b0SBaptiste Daroussin * btyaccpar.c: generated from btyaccpar.skel 6290c8de5b0SBaptiste Daroussin 6300c8de5b0SBaptiste Daroussin * yaccpar.c: generated from yaccpar.skel 6310c8de5b0SBaptiste Daroussin 6320c8de5b0SBaptiste Daroussin * skel2c: 6330c8de5b0SBaptiste Daroussin change the generated-by comment to show which version of this script (and 6340c8de5b0SBaptiste Daroussin which version of the given skeleton file) were used to produce the C-file. 6350c8de5b0SBaptiste Daroussin 6360c8de5b0SBaptiste Daroussin * configure: regen 6370c8de5b0SBaptiste Daroussin 6380c8de5b0SBaptiste Daroussin * makefile.in: 6390c8de5b0SBaptiste Daroussin add rules to generate byacc and btyacc parser skeleton files independently 6400c8de5b0SBaptiste Daroussin 6410c8de5b0SBaptiste Daroussin * aclocal.m4: CF_PROG_AWK - add to byacc's configure script 6420c8de5b0SBaptiste Daroussin CF_INTEL_COMPILER 6430c8de5b0SBaptiste Daroussin cleanup the -no-gcc option which was leftover from testing - prcs does 6440c8de5b0SBaptiste Daroussin not build with this option. 6450c8de5b0SBaptiste Daroussin CF_MAKE_DOCS 6460c8de5b0SBaptiste Daroussin protect $2 from substitution, for luit's "$(manext)" 6470c8de5b0SBaptiste Daroussin CF_XOPEN_SOURCE 6480c8de5b0SBaptiste Daroussin for Solaris (tested with gcc/g++ 3.4.3 on Solaris 10 and gcc/g++ 4.5.2 6490c8de5b0SBaptiste Daroussin on Solaris 11), suppress the followup check for defining _XOPEN_SOURCE 6500c8de5b0SBaptiste Daroussin because it is not needed, as well as because g++ 4.7.3 (no package, 6510c8de5b0SBaptiste Daroussin used in Sage for Solaris 10) has some unspecified header breakage which 6520c8de5b0SBaptiste Daroussin is triggered by the duplicate definition. 6530c8de5b0SBaptiste Daroussin 6540c8de5b0SBaptiste Daroussin * configure.in: 6550c8de5b0SBaptiste Daroussin modify so skeleton-source is determined by configure options rather than by 6560c8de5b0SBaptiste Daroussin having developer rename yaccpar.skel.old to yaccpar.skel 6570c8de5b0SBaptiste Daroussin 6580c8de5b0SBaptiste Daroussin * descrip.mms: rename skeleton 6590c8de5b0SBaptiste Daroussin 6600c8de5b0SBaptiste Daroussin * vmsbuild.com: 6610c8de5b0SBaptiste Daroussin fwiw, renamed the skeleton for consistency with makefile 6620c8de5b0SBaptiste Daroussin 6630c8de5b0SBaptiste Daroussin * skel2c, skeleton.c: resync skeleton and its generating files 6640c8de5b0SBaptiste Daroussin 6650c8de5b0SBaptiste Daroussin * yaccpar.skel: 6660c8de5b0SBaptiste Daroussin renamed yaccpar.skel.old to yaccpar.skel, to allow using makefile suffix rules 6670c8de5b0SBaptiste Daroussin 6680c8de5b0SBaptiste Daroussin * yaccpar.skel.old: resync skeleton and its generating files 6690c8de5b0SBaptiste Daroussin 6700c8de5b0SBaptiste Daroussin * test/run_make.sh: improve cleanup after error recovery 6710c8de5b0SBaptiste Daroussin 6720c8de5b0SBaptiste 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: 6730c8de5b0SBaptiste Daroussin use improvement from Tom Shield's btyacc changes, getting rid of special cases for generating two yyerror calls in skeleton 6740c8de5b0SBaptiste Daroussin 6750c8de5b0SBaptiste Daroussin * output.c: simplify output_yyerror_decl() 6760c8de5b0SBaptiste Daroussin 6770c8de5b0SBaptiste 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: 6780c8de5b0SBaptiste Daroussin add second "const" to string-table declarations, from Tom Shield's btyacc changes 6790c8de5b0SBaptiste Daroussin 6800c8de5b0SBaptiste 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: 6810c8de5b0SBaptiste Daroussin discard unnecessary call on write_code_lineno() from Tom Shield's changes 6820c8de5b0SBaptiste Daroussin 6830c8de5b0SBaptiste 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: 6840c8de5b0SBaptiste Daroussin use YYINT typedef from Tom Shield's btyacc changes to replace explicit "short" 6850c8de5b0SBaptiste Daroussin 6860c8de5b0SBaptiste Daroussin * test/yacc/code_calc.code.c, test/yacc/code_error.code.c, output.c: 6870c8de5b0SBaptiste Daroussin use fix from Tom Shield's btyacc changes: remove redundant extern-declaration for YYPARSE_DECL() 6880c8de5b0SBaptiste Daroussin 6890c8de5b0SBaptiste 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: 6900c8de5b0SBaptiste Daroussin discard unnecessary call on write_code_lineno() from Tom Shield's changes 6910c8de5b0SBaptiste Daroussin 6920c8de5b0SBaptiste 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: 6930c8de5b0SBaptiste Daroussin use fix from Tom Shield's btyacc changes: prefix-definitions went to the 6940c8de5b0SBaptiste Daroussin output (.tab.c) file in a case where they should have gone to the code 6950c8de5b0SBaptiste Daroussin (.code.c) file. Remove now-redundant call to output_prefix(). 6960c8de5b0SBaptiste Daroussin 6970c8de5b0SBaptiste Daroussin * main.c: do the same for help-message 6980c8de5b0SBaptiste Daroussin 6990c8de5b0SBaptiste Daroussin * main.c: use OUTPUT_SUFFIX symbol in an overlooked case 7000c8de5b0SBaptiste Daroussin 7010c8de5b0SBaptiste Daroussin * test/run_make.sh: 7020c8de5b0SBaptiste Daroussin modify to avoid use of VPATH, which has no standard implementation 7030c8de5b0SBaptiste Daroussin 704*2aca18c7SJung-uk Kim2014-04-05 Thomas E. Dickey <dickey@invisible-island.net> 7050c8de5b0SBaptiste Daroussin 7060c8de5b0SBaptiste 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: 7070c8de5b0SBaptiste Daroussin discard a change which merged CountLines() with explicit comparisons against 7080c8de5b0SBaptiste Daroussin code_file because that adds extra to the #line values 7090c8de5b0SBaptiste Daroussin 7100c8de5b0SBaptiste 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: 7110c8de5b0SBaptiste Daroussin add Tom Shield's change to allow definition of YYSTYPE_IS_DECLARED symbol to 7120c8de5b0SBaptiste Daroussin override fallback typedef for YYSTYPE when that symbol is undefined 7130c8de5b0SBaptiste Daroussin 7140c8de5b0SBaptiste 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: 7150c8de5b0SBaptiste Daroussin minor tweak to coding style - use parenthesis for "defined" operator's parameter 7160c8de5b0SBaptiste Daroussin 7170c8de5b0SBaptiste 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: 7180c8de5b0SBaptiste Daroussin regen to make YYMAXTOKEN and YYUNDFTOKEN adjacent 7190c8de5b0SBaptiste Daroussin 7200c8de5b0SBaptiste 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: 7210c8de5b0SBaptiste Daroussin regen after adding the YYUNDFTOKEN symbol 7220c8de5b0SBaptiste Daroussin 7230c8de5b0SBaptiste Daroussin * output.c: 7240c8de5b0SBaptiste Daroussin integrate Tom Shield's btyacc changes which introduce the YYUNDFTOKEN symbol 7250c8de5b0SBaptiste Daroussin (I changed order of output to keep this adjacent to YYMAXTOKEN) 7260c8de5b0SBaptiste Daroussin 7270c8de5b0SBaptiste Daroussin * reader.c: 7280c8de5b0SBaptiste Daroussin merge all but one small change from Tom Shield's btyacc changes - that 7290c8de5b0SBaptiste Daroussin changes the order of code-file in the tests. 7300c8de5b0SBaptiste Daroussin 7310c8de5b0SBaptiste Daroussin * test/btyacc/btyacc_demo.tab.c: regen 7320c8de5b0SBaptiste Daroussin 7330c8de5b0SBaptiste Daroussin * test/btyacc_demo.y: fix prototypes 7340c8de5b0SBaptiste Daroussin 735*2aca18c7SJung-uk Kim2014-04-04 Thomas E. Dickey <dickey@invisible-island.net> 7360c8de5b0SBaptiste Daroussin 7370c8de5b0SBaptiste Daroussin * reader.c, defs.h, main.c: 7380c8de5b0SBaptiste Daroussin more merging of Tom Shield's btyacc changes. In the merge, I moved the 7390c8de5b0SBaptiste Daroussin symbol_pval inside the btyacc ifdef's and added some more btyacc ifdefs 7400c8de5b0SBaptiste Daroussin 741*2aca18c7SJung-uk Kim2014-04-03 Thomas E. Dickey <dickey@invisible-island.net> 7420c8de5b0SBaptiste Daroussin 7430c8de5b0SBaptiste Daroussin * reader.c: 7440c8de5b0SBaptiste Daroussin merge-in 3/4 of btyacc's changes, deferring those which change test-outputs. 7450c8de5b0SBaptiste Daroussin Tom Shield's changes split-out copy_string() and copy_comment() functions 7460c8de5b0SBaptiste Daroussin to simplify some logic, as well as adding btyacc-only chunks 7470c8de5b0SBaptiste Daroussin 7480c8de5b0SBaptiste Daroussin * makefile.in: build mstring.o, needed for changes in reader.c 7490c8de5b0SBaptiste Daroussin 7500c8de5b0SBaptiste Daroussin * output.c: 7510c8de5b0SBaptiste Daroussin merge-in all of btyacc's changes which do not change byacc's test-output. 7520c8de5b0SBaptiste Daroussin Some of the merge uses ifdef-changes which I applied to ongoing resync, 7530c8de5b0SBaptiste Daroussin e.g., the introduction of PER_STATE. 7540c8de5b0SBaptiste Daroussin 755*2aca18c7SJung-uk Kim2014-04-02 Thomas E. Dickey <dickey@invisible-island.net> 7560c8de5b0SBaptiste Daroussin 7570c8de5b0SBaptiste Daroussin * test/btyacc/pure_calc.tab.c, test/btyacc/pure_error.tab.c: regen 7580c8de5b0SBaptiste Daroussin 7590c8de5b0SBaptiste Daroussin * output.c: fix typo 7600c8de5b0SBaptiste Daroussin 7610c8de5b0SBaptiste Daroussin * output.c, reader.c: 7620c8de5b0SBaptiste Daroussin merge in some chunks of reader and output files which do not affect byacc tests 7630c8de5b0SBaptiste Daroussin 7640c8de5b0SBaptiste Daroussin * test/yacc/calc2.tab.c, test/yacc/calc3.tab.c: regen 7650c8de5b0SBaptiste Daroussin 7660c8de5b0SBaptiste 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: 7670c8de5b0SBaptiste Daroussin incorporate YYENOMEM and YYEOF symbols from btyacc 7680c8de5b0SBaptiste Daroussin 7690c8de5b0SBaptiste Daroussin * output.c: merge chunk from btyacc changes for header-guards 7700c8de5b0SBaptiste Daroussin 7710c8de5b0SBaptiste Daroussin * btyaccpar.skel: RCS_BASE 7720c8de5b0SBaptiste Daroussin 7730c8de5b0SBaptiste Daroussin * yaccpar.skel: comment-out yysccsid[], for FreeBSD build-issues 7740c8de5b0SBaptiste Daroussin remove GCC_UNUSED to reduce name-pollution as well as being simpler 7750c8de5b0SBaptiste Daroussin 7760c8de5b0SBaptiste Daroussin * main.c: 7770c8de5b0SBaptiste Daroussin move a btyacc symbol outside ifdef to work around current state of merge 7780c8de5b0SBaptiste Daroussin 7790c8de5b0SBaptiste Daroussin * defs.h: 7800c8de5b0SBaptiste Daroussin add USE_HEADER_GUARDS to defer whether to modify byacc's header-output 7810c8de5b0SBaptiste Daroussin 7820c8de5b0SBaptiste Daroussin * test/run_make.sh: 7830c8de5b0SBaptiste Daroussin do not try to compile files used for testing syntax-errors, since they are 7840c8de5b0SBaptiste Daroussin likely to be incomplete 7850c8de5b0SBaptiste Daroussin 7860c8de5b0SBaptiste Daroussin2014-04-02 Tom.Shields 7870c8de5b0SBaptiste Daroussin 7880c8de5b0SBaptiste Daroussin * main.c: changes for btyacc 7890c8de5b0SBaptiste Daroussin 790*2aca18c7SJung-uk Kim2014-04-01 Thomas E. Dickey <dickey@invisible-island.net> 7910c8de5b0SBaptiste Daroussin 7920c8de5b0SBaptiste Daroussin * reader.c: 7930c8de5b0SBaptiste Daroussin integrate change by Tom Shields to use bsearch rather than successive 7940c8de5b0SBaptiste Daroussin calls to matchec() 7950c8de5b0SBaptiste Daroussin 7960c8de5b0SBaptiste Daroussin * defs.h: typedef __compar_fn_t is unnecessary 7970c8de5b0SBaptiste Daroussin 7980c8de5b0SBaptiste 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: 7990c8de5b0SBaptiste Daroussin omit the GCC_UNUSED, as noted by Tom Shields not really essential 8000c8de5b0SBaptiste Daroussin 8010c8de5b0SBaptiste Daroussin2014-04-01 Tom.Shields 8020c8de5b0SBaptiste Daroussin 8030c8de5b0SBaptiste Daroussin * verbose.c: changes for btyacc, ifdef'd 8040c8de5b0SBaptiste Daroussin 805*2aca18c7SJung-uk Kim2014-04-01 Thomas E. Dickey <dickey@invisible-island.net> 8060c8de5b0SBaptiste Daroussin 8070c8de5b0SBaptiste Daroussin * mkpar.c: eliminate most of the ifdef's using macros 8080c8de5b0SBaptiste Daroussin 8090c8de5b0SBaptiste Daroussin2014-04-01 Tom.Shields 8100c8de5b0SBaptiste Daroussin 8110c8de5b0SBaptiste Daroussin * mkpar.c: merge btyacc changes (ifdef'd - no change to byacc) 8120c8de5b0SBaptiste Daroussin 8130c8de5b0SBaptiste Daroussin * error.c: 8140c8de5b0SBaptiste Daroussin new functions used for reporting errors from the btyacc configuration 8150c8de5b0SBaptiste Daroussin (I reordered some, and ifdef'd the new ones -TD) 8160c8de5b0SBaptiste Daroussin 817*2aca18c7SJung-uk Kim2014-03-31 Thomas E. Dickey <dickey@invisible-island.net> 8180c8de5b0SBaptiste Daroussin 8190c8de5b0SBaptiste Daroussin * test/btyacc/code_calc.code.c, test/btyacc/code_error.code.c: 8200c8de5b0SBaptiste Daroussin omit the GCC_UNUSED, as noted by Tom Shields not really essential 8210c8de5b0SBaptiste Daroussin 8220c8de5b0SBaptiste 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: 8230c8de5b0SBaptiste Daroussin regen 8240c8de5b0SBaptiste Daroussin 825*2aca18c7SJung-uk Kim2014-03-29 Thomas E. Dickey <dickey@invisible-island.net> 8260c8de5b0SBaptiste Daroussin 8270c8de5b0SBaptiste 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: 8280c8de5b0SBaptiste Daroussin comment-out yysccsid in the banner because it produces unnecessary compiler 8290c8de5b0SBaptiste Daroussin warnings. The suggested alternative (using #pragma ident) in the preceding 8300c8de5b0SBaptiste Daroussin comment is also obsolete; remove that comment (request by Gleb Smirnoff). 8310c8de5b0SBaptiste Daroussin 8320c8de5b0SBaptiste Daroussin * test/run_test.sh: 8330c8de5b0SBaptiste Daroussin for yacc, ignore the inherit testcases, since they are btyacc-specific 8340c8de5b0SBaptiste Daroussin 835*2aca18c7SJung-uk Kim2014-03-28 Thomas E. Dickey <dickey@invisible-island.net> 8360c8de5b0SBaptiste Daroussin 8370c8de5b0SBaptiste 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: 8380c8de5b0SBaptiste Daroussin reference output for testing 8390c8de5b0SBaptiste Daroussin 8400c8de5b0SBaptiste Daroussin * test/run_lint.sh, test/run_make.sh, test/run_test.sh: 8410c8de5b0SBaptiste Daroussin moving #define's out of makefile broke check for yacc vs btyacc (fix) 8420c8de5b0SBaptiste Daroussin 8430c8de5b0SBaptiste Daroussin2014-03-28 Tom.Shields 8440c8de5b0SBaptiste Daroussin 8450c8de5b0SBaptiste 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: 8460c8de5b0SBaptiste Daroussin reference output for testing 8470c8de5b0SBaptiste Daroussin 8480c8de5b0SBaptiste Daroussin * defs.h: new functions/variables for btyacc 8490c8de5b0SBaptiste Daroussin (I reordered and ifdef'd -TD) 8500c8de5b0SBaptiste Daroussin 8510c8de5b0SBaptiste Daroussin * test/inherit0.y, test/inherit1.y: testcase for btyacc 8520c8de5b0SBaptiste Daroussin 8530c8de5b0SBaptiste Daroussin2014-03-27 Tom.Shields 8540c8de5b0SBaptiste Daroussin 8550c8de5b0SBaptiste Daroussin * test/err_inherit5.y, test/err_inherit4.y, test/err_inherit3.y, test/err_inherit2.y, test/err_inherit1.y, test/inherit2.y: 8560c8de5b0SBaptiste Daroussin testcase for btyacc 8570c8de5b0SBaptiste Daroussin 8580c8de5b0SBaptiste Daroussin2014-03-25 Tom.Shields 8590c8de5b0SBaptiste Daroussin 8600c8de5b0SBaptiste Daroussin * symtab.c: extra initialization needed for btyacc 8610c8de5b0SBaptiste Daroussin (I ifdef'd -TD) 8620c8de5b0SBaptiste Daroussin 8630c8de5b0SBaptiste Daroussin * yacc.1: document -L/-B features from btyacc 8640c8de5b0SBaptiste Daroussin 865*2aca18c7SJung-uk Kim2014-03-25 Thomas E. Dickey <dickey@invisible-island.net> 8660c8de5b0SBaptiste Daroussin 8670c8de5b0SBaptiste Daroussin * yacc.1: typo 8680c8de5b0SBaptiste Daroussin 8690c8de5b0SBaptiste Daroussin * configure: regen 8700c8de5b0SBaptiste Daroussin 8710c8de5b0SBaptiste Daroussin * configure.in: 8720c8de5b0SBaptiste Daroussin modified new options to act like those in my other configure-scripts, e.g., 8730c8de5b0SBaptiste Daroussin showing what option is being tested, and the resulting value. Put the 8740c8de5b0SBaptiste Daroussin definitions in config.h rather than in the makefile. 8750c8de5b0SBaptiste Daroussin 8760c8de5b0SBaptiste Daroussin2014-03-25 Tom.Shields 8770c8de5b0SBaptiste Daroussin 8780c8de5b0SBaptiste Daroussin * makefile.in: add/use LINTFLAGS variable 8790c8de5b0SBaptiste Daroussin make all of the objects (not just skeleton) rebuild if makefile changes 8800c8de5b0SBaptiste Daroussin modify check-rule to reflect updates to run_test.sh vs subdirectory 8810c8de5b0SBaptiste Daroussin 8820c8de5b0SBaptiste Daroussin * mstring.c: byacc-btyacc-20140323 8830c8de5b0SBaptiste Daroussin 884*2aca18c7SJung-uk Kim2014-03-25 Thomas E. Dickey <dickey@invisible-island.net> 8850c8de5b0SBaptiste Daroussin 8860c8de5b0SBaptiste Daroussin * test/btyacc/RCS, test/yacc/RCS: PERMIT FILE 8870c8de5b0SBaptiste Daroussin 8880c8de5b0SBaptiste Daroussin * config_h.in: updated with autoheader-252 8890c8de5b0SBaptiste Daroussin 8900c8de5b0SBaptiste Daroussin2014-03-25 Tom.Shields 8910c8de5b0SBaptiste Daroussin 8920c8de5b0SBaptiste Daroussin * README.BTYACC: byacc-btyacc-20140323 8930c8de5b0SBaptiste Daroussin 8940c8de5b0SBaptiste Daroussin2014-03-24 Tom.Shields 8950c8de5b0SBaptiste Daroussin 8960c8de5b0SBaptiste 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: 8970c8de5b0SBaptiste Daroussin reference output for testing 8980c8de5b0SBaptiste Daroussin 899*2aca18c7SJung-uk Kim2014-03-24 Thomas E. Dickey <dickey@invisible-island.net> 9000c8de5b0SBaptiste Daroussin 9010c8de5b0SBaptiste Daroussin * defs.h: fix compiler warnings due to mputc() 9020c8de5b0SBaptiste Daroussin 9030c8de5b0SBaptiste Daroussin2014-03-23 Tom.Shields 9040c8de5b0SBaptiste Daroussin 9050c8de5b0SBaptiste Daroussin * test/btyacc_demo.y: testcase for btyacc 9060c8de5b0SBaptiste Daroussin 9070c8de5b0SBaptiste Daroussin * test/btyacc/varsyntax_calc1.error, test/btyacc/varsyntax_calc1.output, test/btyacc/varsyntax_calc1.tab.c, test/btyacc/varsyntax_calc1.tab.h: 9080c8de5b0SBaptiste Daroussin reference output for testing 9090c8de5b0SBaptiste Daroussin 9100c8de5b0SBaptiste Daroussin * test/varsyntax_calc1.y, test/btyacc_calc1.y: testcase for btyacc 9110c8de5b0SBaptiste Daroussin 912*2aca18c7SJung-uk Kim2014-03-23 Thomas E. Dickey <dickey@invisible-island.net> 9130c8de5b0SBaptiste Daroussin 9140c8de5b0SBaptiste 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: 9150c8de5b0SBaptiste Daroussin reference output for testing 9160c8de5b0SBaptiste Daroussin 9170c8de5b0SBaptiste Daroussin * test/err_syntax26.y: testcase for missing_brace() 9180c8de5b0SBaptiste Daroussin 9190c8de5b0SBaptiste 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: 9200c8de5b0SBaptiste Daroussin reference output for testing 9210c8de5b0SBaptiste Daroussin 9220c8de5b0SBaptiste Daroussin * test/err_syntax25.y: testcase for over_unionized() 9230c8de5b0SBaptiste Daroussin 9240c8de5b0SBaptiste 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: 9250c8de5b0SBaptiste Daroussin reference output for testing 9260c8de5b0SBaptiste Daroussin 9270c8de5b0SBaptiste Daroussin * test/err_syntax24.y: testcase for default_action_warning() 9280c8de5b0SBaptiste Daroussin 9290c8de5b0SBaptiste Daroussin2014-03-23 Tom.Shields 9300c8de5b0SBaptiste Daroussin 9310c8de5b0SBaptiste 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: 9320c8de5b0SBaptiste Daroussin reference output for testing 9330c8de5b0SBaptiste Daroussin 934*2aca18c7SJung-uk Kim2014-03-23 Thomas E. Dickey <dickey@invisible-island.net> 9350c8de5b0SBaptiste Daroussin 9360c8de5b0SBaptiste 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: 9370c8de5b0SBaptiste Daroussin reference output for testing 9380c8de5b0SBaptiste Daroussin 9390c8de5b0SBaptiste Daroussin * test/err_syntax23.y: testcase for untyped_lhs() 9400c8de5b0SBaptiste Daroussin 9410c8de5b0SBaptiste Daroussin2014-03-23 Tom.Shields 9420c8de5b0SBaptiste Daroussin 9430c8de5b0SBaptiste Daroussin * test/run_test.sh: 9440c8de5b0SBaptiste Daroussin move test-outputs into subdirectories to keep btyacc/yacc results separate 9450c8de5b0SBaptiste Daroussin 946*2aca18c7SJung-uk Kim2014-03-23 Thomas E. Dickey <dickey@invisible-island.net> 9470c8de5b0SBaptiste Daroussin 9480c8de5b0SBaptiste 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: 9490c8de5b0SBaptiste Daroussin reference output for testing 9500c8de5b0SBaptiste Daroussin 9510c8de5b0SBaptiste Daroussin * test/err_syntax22.y: testcase for untyped_rhs() 9520c8de5b0SBaptiste Daroussin 9530c8de5b0SBaptiste 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: 9540c8de5b0SBaptiste Daroussin reference output for testing 9550c8de5b0SBaptiste Daroussin 9560c8de5b0SBaptiste Daroussin * test/err_syntax20.y: testcase for undefined_symbol_warning() 9570c8de5b0SBaptiste Daroussin 9580c8de5b0SBaptiste Daroussin * test/err_syntax21.y: testcase for unknown_rhs() 9590c8de5b0SBaptiste Daroussin 9600c8de5b0SBaptiste 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: 9610c8de5b0SBaptiste Daroussin reference output for testing 9620c8de5b0SBaptiste Daroussin 9630c8de5b0SBaptiste Daroussin * test/err_syntax19.y: testcase for dollar_error() 9640c8de5b0SBaptiste Daroussin 9650c8de5b0SBaptiste 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: 9660c8de5b0SBaptiste Daroussin reference output for testing 9670c8de5b0SBaptiste Daroussin 9680c8de5b0SBaptiste Daroussin * test/err_syntax18.y: testcase for dollar_warning() 9690c8de5b0SBaptiste Daroussin 9700c8de5b0SBaptiste 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: 9710c8de5b0SBaptiste Daroussin reference output for testing 9720c8de5b0SBaptiste Daroussin 9730c8de5b0SBaptiste Daroussin * test/err_syntax17.y: testcase for unterminated_action() 9740c8de5b0SBaptiste Daroussin 975*2aca18c7SJung-uk Kim2014-03-22 Thomas E. Dickey <dickey@invisible-island.net> 9760c8de5b0SBaptiste Daroussin 9770c8de5b0SBaptiste 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: 9780c8de5b0SBaptiste Daroussin reference output for testing 9790c8de5b0SBaptiste Daroussin 9800c8de5b0SBaptiste Daroussin * test/err_syntax16.y: testcase for terminal_lhs() 9810c8de5b0SBaptiste Daroussin 9820c8de5b0SBaptiste 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: 9830c8de5b0SBaptiste Daroussin reference output for testing 9840c8de5b0SBaptiste Daroussin 9850c8de5b0SBaptiste Daroussin * test/err_syntax15.y: testcase for no_grammar() 9860c8de5b0SBaptiste Daroussin 9870c8de5b0SBaptiste 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: 9880c8de5b0SBaptiste Daroussin reference output for testing 9890c8de5b0SBaptiste Daroussin 9900c8de5b0SBaptiste Daroussin * test/err_syntax14.y: 9910c8de5b0SBaptiste Daroussin testcase for restarted_warning() and undefined_goal() 9920c8de5b0SBaptiste Daroussin 9930c8de5b0SBaptiste 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: 9940c8de5b0SBaptiste Daroussin reference output for testing 9950c8de5b0SBaptiste Daroussin 9960c8de5b0SBaptiste Daroussin * test/err_syntax13.y: testcase for terminal_start() 9970c8de5b0SBaptiste Daroussin 9980c8de5b0SBaptiste 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: 9990c8de5b0SBaptiste Daroussin reference output for testing 10000c8de5b0SBaptiste Daroussin 10010c8de5b0SBaptiste Daroussin * test/err_syntax12.y: testcase for revalued_warning() 10020c8de5b0SBaptiste Daroussin 10030c8de5b0SBaptiste 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: 10040c8de5b0SBaptiste Daroussin reference output for testing 10050c8de5b0SBaptiste Daroussin 10060c8de5b0SBaptiste Daroussin * test/err_syntax11.y: testcase for reprec_warning() 10070c8de5b0SBaptiste Daroussin 10080c8de5b0SBaptiste 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: 10090c8de5b0SBaptiste Daroussin reference output for testing 10100c8de5b0SBaptiste Daroussin 10110c8de5b0SBaptiste Daroussin * test/err_syntax10.y: testcase for retyped_warning() 10120c8de5b0SBaptiste Daroussin 1013*2aca18c7SJung-uk Kim2014-03-21 Thomas E. Dickey <dickey@invisible-island.net> 10140c8de5b0SBaptiste Daroussin 10150c8de5b0SBaptiste 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: 10160c8de5b0SBaptiste Daroussin reference output for testing 10170c8de5b0SBaptiste Daroussin 10180c8de5b0SBaptiste Daroussin * test/err_syntax9.y: testcase for tokenized_start() 10190c8de5b0SBaptiste Daroussin 10200c8de5b0SBaptiste 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: 10210c8de5b0SBaptiste Daroussin reference output for testing 10220c8de5b0SBaptiste Daroussin 10230c8de5b0SBaptiste Daroussin * test/err_syntax8a.y, test/err_syntax8.y: testcase for used_reserved() 10240c8de5b0SBaptiste Daroussin 10250c8de5b0SBaptiste 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: 10260c8de5b0SBaptiste Daroussin reference output for testing 10270c8de5b0SBaptiste Daroussin 10280c8de5b0SBaptiste Daroussin * test/err_syntax7b.y, test/err_syntax7a.y, test/err_syntax7.y: 10290c8de5b0SBaptiste Daroussin testcase for illegal_character() 10300c8de5b0SBaptiste Daroussin 10310c8de5b0SBaptiste 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: 10320c8de5b0SBaptiste Daroussin reference output for testing 10330c8de5b0SBaptiste Daroussin 10340c8de5b0SBaptiste Daroussin * test/err_syntax6.y: testcase for illegal_tag() 10350c8de5b0SBaptiste Daroussin 10360c8de5b0SBaptiste 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: 10370c8de5b0SBaptiste Daroussin reference output for testing 10380c8de5b0SBaptiste Daroussin 10390c8de5b0SBaptiste Daroussin * test/err_syntax5.y: testcase for unterminated_union() 10400c8de5b0SBaptiste Daroussin 10410c8de5b0SBaptiste 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: 10420c8de5b0SBaptiste Daroussin reference output for testing 10430c8de5b0SBaptiste Daroussin 10440c8de5b0SBaptiste Daroussin * test/err_syntax4.y: testcase for unterminated_text() 10450c8de5b0SBaptiste Daroussin 10460c8de5b0SBaptiste 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: 10470c8de5b0SBaptiste Daroussin reference output for testing 10480c8de5b0SBaptiste Daroussin 10490c8de5b0SBaptiste Daroussin * test/err_syntax3.y: testcase for unterminated_string() 10500c8de5b0SBaptiste Daroussin 10510c8de5b0SBaptiste 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: 10520c8de5b0SBaptiste Daroussin reference output for testing 10530c8de5b0SBaptiste Daroussin 10540c8de5b0SBaptiste Daroussin * test/err_syntax2.y: testcase for unterminated_comment() 10550c8de5b0SBaptiste Daroussin 10560c8de5b0SBaptiste Daroussin * test/err_syntax1.error, test/yacc/err_syntax1.error: 10570c8de5b0SBaptiste Daroussin reference output for testing 10580c8de5b0SBaptiste Daroussin 10590c8de5b0SBaptiste Daroussin * test/err_syntax1.y: 10600c8de5b0SBaptiste Daroussin test-case with syntax error (and nonprinting character) 10610c8de5b0SBaptiste Daroussin 10620c8de5b0SBaptiste 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: 10630c8de5b0SBaptiste Daroussin reference output for testing 10640c8de5b0SBaptiste Daroussin 10650c8de5b0SBaptiste Daroussin * test/run_test.sh: 10660c8de5b0SBaptiste Daroussin save stderr to reference files, to capture shift/reduce messages as well 10670c8de5b0SBaptiste Daroussin as syntax-error messages 10680c8de5b0SBaptiste Daroussin 10690c8de5b0SBaptiste 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: 10700c8de5b0SBaptiste Daroussin reference output for testing 10710c8de5b0SBaptiste Daroussin 10720c8de5b0SBaptiste Daroussin * test/run_test.sh: generate a ".dot" file for the grammar file 10730c8de5b0SBaptiste Daroussin 10740c8de5b0SBaptiste Daroussin * test/grammar.dot: RCS_BASE 10750c8de5b0SBaptiste Daroussin 10760c8de5b0SBaptiste Daroussin * test/yacc/grammar.dot: reference output for testing 10770c8de5b0SBaptiste Daroussin 10780c8de5b0SBaptiste Daroussin2014-03-19 Tom.Shields 10790c8de5b0SBaptiste Daroussin 10800c8de5b0SBaptiste Daroussin * output.c: rename MAXSHORT to MAXYYINT 10810c8de5b0SBaptiste Daroussin 10820c8de5b0SBaptiste Daroussin2014-03-18 Tom.Shields 10830c8de5b0SBaptiste Daroussin 10840c8de5b0SBaptiste Daroussin * yaccpar.skel: skeleton with btyacc additions 10850c8de5b0SBaptiste Daroussin 10860c8de5b0SBaptiste Daroussin * NOTES-btyacc-Changes: byacc-btyacc-20140323 10870c8de5b0SBaptiste Daroussin 10880c8de5b0SBaptiste Daroussin * test/btyacc/btyacc_calc1.output, test/btyacc/btyacc_calc1.tab.c, test/btyacc/btyacc_calc1.tab.h: 10890c8de5b0SBaptiste Daroussin reference output for testing 10900c8de5b0SBaptiste Daroussin 10910c8de5b0SBaptiste Daroussin * test/run_make.sh: 10920c8de5b0SBaptiste Daroussin move test-outputs into subdirectories to keep btyacc/yacc results separate 10930c8de5b0SBaptiste Daroussin 10940c8de5b0SBaptiste 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: 10950c8de5b0SBaptiste Daroussin reference output for testing 10960c8de5b0SBaptiste Daroussin 10970c8de5b0SBaptiste Daroussin * defs.h: 10980c8de5b0SBaptiste Daroussin several changes to help decouple the use of 'short' as the type of value 10990c8de5b0SBaptiste Daroussin used in yacc parsers. 11000c8de5b0SBaptiste Daroussin 11010c8de5b0SBaptiste Daroussin * NOTES-btyacc-Disposition: byacc-btyacc-20140323 11020c8de5b0SBaptiste Daroussin 11030c8de5b0SBaptiste Daroussin2014-03-17 Tom.Shields 11040c8de5b0SBaptiste Daroussin 11050c8de5b0SBaptiste Daroussin * skel2c, yaccpar.skel, yaccpar.skel.old: RCS_BASE 11060c8de5b0SBaptiste Daroussin 11070c8de5b0SBaptiste Daroussin * test/run_lint.sh: 11080c8de5b0SBaptiste Daroussin move test-outputs into subdirectories to keep btyacc/yacc results separate 11090c8de5b0SBaptiste Daroussin 11100c8de5b0SBaptiste Daroussin * configure.in: add --with-max-table-size and --enable-btyacc options 11110c8de5b0SBaptiste Daroussin 11120c8de5b0SBaptiste Daroussin2014-03-16 Tom.Shields 11130c8de5b0SBaptiste Daroussin 11140c8de5b0SBaptiste Daroussin * main.c: use Value_t rather than short 11150c8de5b0SBaptiste Daroussin 11160c8de5b0SBaptiste Daroussin2014-03-11 Tom.Shields 11170c8de5b0SBaptiste Daroussin 11180c8de5b0SBaptiste Daroussin * test/empty.y: testcase for btyacc 11190c8de5b0SBaptiste Daroussin 11200c8de5b0SBaptiste Daroussin2014-03-10 Tom.Shields 11210c8de5b0SBaptiste Daroussin 11220c8de5b0SBaptiste Daroussin * test/calc3.y, test/calc2.y: fix unused-variable warning 11230c8de5b0SBaptiste Daroussin 11240c8de5b0SBaptiste Daroussin2014-02-18 Tom.Shields 11250c8de5b0SBaptiste Daroussin 11260c8de5b0SBaptiste Daroussin * lr0.c, graph.c: use Value_t rather than short 11270c8de5b0SBaptiste Daroussin 11280c8de5b0SBaptiste Daroussin * closure.c: use Value_t rather than short 11290c8de5b0SBaptiste Daroussin ifdef'd forward-reference prototypes to match ifdef'ing of the actual functions 11300c8de5b0SBaptiste Daroussin 11310c8de5b0SBaptiste Daroussin * lalr.c: rename MAXSHORT to MAXYYINT 11320c8de5b0SBaptiste Daroussin 1133*2aca18c7SJung-uk Kim2014-01-01 Thomas E. Dickey <dickey@invisible-island.net> 11344b4a8fcaSBaptiste Daroussin 11354b4a8fcaSBaptiste Daroussin * yacc.1: document %token-table, improve presentation of double-quotes 11364b4a8fcaSBaptiste Daroussin 11374b4a8fcaSBaptiste Daroussin * VERSION, package/byacc.spec, package/debian/changelog: bump 11384b4a8fcaSBaptiste Daroussin 11390c8de5b0SBaptiste 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: 11400c8de5b0SBaptiste Daroussin reference output for testing 11410c8de5b0SBaptiste Daroussin 11424b4a8fcaSBaptiste 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: 11434b4a8fcaSBaptiste Daroussin regen 11444b4a8fcaSBaptiste Daroussin 11454b4a8fcaSBaptiste Daroussin * output.c, skeleton.c: 11464b4a8fcaSBaptiste Daroussin amend the last change so that yytname is #define'd as needed rather than 11474b4a8fcaSBaptiste Daroussin permanent - to avoid breaking cproto for instance. 11484b4a8fcaSBaptiste Daroussin 11494b4a8fcaSBaptiste Daroussin2014-01-01 Christos.Zoulas 11504b4a8fcaSBaptiste Daroussin 11514b4a8fcaSBaptiste Daroussin * output.c, defs.h, main.c, reader.c, skeleton.c: 11524b4a8fcaSBaptiste Daroussin changes to build ntpd using byacc: 11534b4a8fcaSBaptiste Daroussin - rename yyname[] to yytname[] 11544b4a8fcaSBaptiste Daroussin - add YYTRANSLATE() macro 11554b4a8fcaSBaptiste Daroussin - recognize bison's %token-table declaration 11564b4a8fcaSBaptiste Daroussin 1157*2aca18c7SJung-uk Kim2014-01-01 Thomas E. Dickey <dickey@invisible-island.net> 11584b4a8fcaSBaptiste Daroussin 11594b4a8fcaSBaptiste Daroussin * configure: regen 11604b4a8fcaSBaptiste Daroussin 11614b4a8fcaSBaptiste Daroussin * yacc.1: s/EE/XE/ to work around groff bug on Debian 6 11624b4a8fcaSBaptiste Daroussin 11634b4a8fcaSBaptiste Daroussin * makefile.in: use CF_MAKE_DOCS 11644b4a8fcaSBaptiste Daroussin 11654b4a8fcaSBaptiste Daroussin * aclocal.m4: add CF_MAKE_DOCS 11664b4a8fcaSBaptiste Daroussin 11674b4a8fcaSBaptiste Daroussin * configure.in: use CF_MAKE_DOCS 11684b4a8fcaSBaptiste Daroussin 1169*2aca18c7SJung-uk Kim2013-12-26 Thomas E. Dickey <dickey@invisible-island.net> 11704b4a8fcaSBaptiste Daroussin 11714b4a8fcaSBaptiste Daroussin * config.guess: 2013-11-29 11724b4a8fcaSBaptiste Daroussin 1173*2aca18c7SJung-uk Kim2013-11-19 Thomas E. Dickey <dickey@invisible-island.net> 11744b4a8fcaSBaptiste Daroussin 11754b4a8fcaSBaptiste Daroussin * aclocal.m4: resync with my-autoconf (fixes for clang and mingw) 11764b4a8fcaSBaptiste Daroussin 1177*2aca18c7SJung-uk Kim2013-10-25 Thomas E. Dickey <dickey@invisible-island.net> 11784b4a8fcaSBaptiste Daroussin 11794b4a8fcaSBaptiste Daroussin * config.sub: 2013-10-01 11804b4a8fcaSBaptiste Daroussin 1181*2aca18c7SJung-uk Kim2013-09-25 Thomas E. Dickey <dickey@invisible-island.net> 11827dde5df4SBaptiste Daroussin 11837dde5df4SBaptiste Daroussin * reader.c: fix two loop-limits found by clang 3.3 --analyze 11847dde5df4SBaptiste Daroussin 11857dde5df4SBaptiste Daroussin * configure: regen 11867dde5df4SBaptiste Daroussin 11877dde5df4SBaptiste Daroussin * aclocal.m4: 11887dde5df4SBaptiste Daroussin tweaks to CF_MIXEDCASE_FILENAMES and CF_XOPEN_SOURCE for msys from ncurses 11897dde5df4SBaptiste Daroussin 11907dde5df4SBaptiste Daroussin * package/mingw-byacc.spec: RCS_BASE 11917dde5df4SBaptiste Daroussin 11927dde5df4SBaptiste 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: 11937dde5df4SBaptiste Daroussin regen 11947dde5df4SBaptiste Daroussin 11957dde5df4SBaptiste Daroussin * skeleton.c: 11967dde5df4SBaptiste Daroussin Increase default stack-size to match FreeBSD version noted as from 11977dde5df4SBaptiste Daroussin "BSD 4.4 Lite Usr.bin Sources". See 11987dde5df4SBaptiste Daroussin 11997dde5df4SBaptiste Daroussin http://svnweb.freebsd.org/base/vendor/CSRG/dist/usr.bin/yacc/ 12007dde5df4SBaptiste Daroussin http://svnweb.freebsd.org/base/head/usr.bin/yacc/ 12017dde5df4SBaptiste Daroussin http://svnweb.freebsd.org/base/vendor/byacc/ 12027dde5df4SBaptiste Daroussin 12037dde5df4SBaptiste Daroussin The original 1.9 sources (on which I based development) used 500 for 12047dde5df4SBaptiste Daroussin stacksize; the BSD Lite sources (a year or two later) used 10000. 12057dde5df4SBaptiste Daroussin 12067dde5df4SBaptiste Daroussin This is a change to default values; the YYMAXDEPTH and YYSTACKSIZE 12077dde5df4SBaptiste Daroussin symbols have "always" been overridable by applications, but rarely 12087dde5df4SBaptiste Daroussin needed to do this. RedHat began using the FreeBSD source in 2000, 12097dde5df4SBaptiste Daroussin and switched to this source in 2007 using the 20050813 snapshot. 12107dde5df4SBaptiste Daroussin 12117dde5df4SBaptiste Daroussin RedHat #743343 misattributed the change in default stacksize to 12127dde5df4SBaptiste Daroussin a regression in byacc, but did not report the issue upstream. 12137dde5df4SBaptiste Daroussin 12147dde5df4SBaptiste Daroussin * package/debian/changelog, VERSION, package/byacc.spec: bump 12157dde5df4SBaptiste Daroussin 1216*2aca18c7SJung-uk Kim2013-09-07 Thomas E. Dickey <dickey@invisible-island.net> 12177dde5df4SBaptiste Daroussin 12187dde5df4SBaptiste Daroussin * config.sub: update to 2013-09-15 12197dde5df4SBaptiste Daroussin 12207dde5df4SBaptiste Daroussin * config.guess: update to 2013-06-10 12217dde5df4SBaptiste Daroussin 1222*2aca18c7SJung-uk Kim2013-03-04 Thomas E. Dickey <dickey@invisible-island.net> 12235b91e83fSBaptiste Daroussin 12245b91e83fSBaptiste Daroussin * package/debian/changelog, VERSION, package/byacc.spec: bump 12255b91e83fSBaptiste Daroussin 12265b91e83fSBaptiste Daroussin * aclocal.m4: 12275b91e83fSBaptiste Daroussin adapt tweak from Dave Becket to work around long-ago breakage in "new" autoconf. 12285b91e83fSBaptiste Daroussin 12295b91e83fSBaptiste Daroussin * output.c: 12305b91e83fSBaptiste Daroussin fix bogus #include if "-i" is given but not "-d" (report by Richard Mitton). 12315b91e83fSBaptiste Daroussin also while testing that, found a case where the union_file is unused; added 12325b91e83fSBaptiste Daroussin a check for address that. 12335b91e83fSBaptiste Daroussin 12345b91e83fSBaptiste Daroussin * test/ftp.output, test/ftp.tab.c, test/ftp.tab.h: regen 12355b91e83fSBaptiste Daroussin 12365b91e83fSBaptiste Daroussin * test/ftp.y: fix most compiler warnings for "make check_make" 12375b91e83fSBaptiste Daroussin 12385b91e83fSBaptiste Daroussin * test/calc1.tab.c: regen 12395b91e83fSBaptiste Daroussin 12405b91e83fSBaptiste Daroussin * test/calc1.y: fix most compiler warnings for "make check_make" 12415b91e83fSBaptiste Daroussin 12425b91e83fSBaptiste 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: 12435b91e83fSBaptiste Daroussin regen 12445b91e83fSBaptiste Daroussin 12455b91e83fSBaptiste Daroussin * skeleton.c: quiet a gcc conversion-warning in yygrowstack() 12465b91e83fSBaptiste Daroussin 12475b91e83fSBaptiste Daroussin * configure: regen 12485b91e83fSBaptiste Daroussin 12495b91e83fSBaptiste Daroussin * aclocal.m4: 12505b91e83fSBaptiste Daroussin another fix for CF_GCC_VERSION to handle Debian's modification of gcc message. 12515b91e83fSBaptiste Daroussin 1252*2aca18c7SJung-uk Kim2013-02-10 Thomas E. Dickey <dickey@invisible-island.net> 12535b91e83fSBaptiste Daroussin 12547dde5df4SBaptiste Daroussin * config.sub, config.guess: update to 2013-02-04 12555b91e83fSBaptiste Daroussin 1256*2aca18c7SJung-uk Kim2012-10-03 Thomas E. Dickey <dickey@invisible-island.net> 12575b91e83fSBaptiste Daroussin 12585b91e83fSBaptiste Daroussin * package/debian/changelog, package/byacc.spec, VERSION: bump 12595b91e83fSBaptiste Daroussin 12605b91e83fSBaptiste Daroussin * configure: regen 12615b91e83fSBaptiste Daroussin 12625b91e83fSBaptiste Daroussin * configure.in: moved AC_PROG_CC_STDC call into CF_PROG_CC 12635b91e83fSBaptiste Daroussin 12645b91e83fSBaptiste Daroussin * aclocal.m4: 12655b91e83fSBaptiste Daroussin moved AC_PROG_CC_STDC call into CF_PROG_CC and (for other uses than byacc) 12665b91e83fSBaptiste Daroussin the CF_PROG_CC macro provides the CF_ANSI_CC_REQD for the 2.13 flavor. 12675b91e83fSBaptiste Daroussin 12685b91e83fSBaptiste Daroussin * aclocal.m4, configure.in: 12695b91e83fSBaptiste Daroussin Arian's change dropped my check for misused $CC variable - restore that with 12705b91e83fSBaptiste Daroussin alternate macro CF_PROG_CC. 12715b91e83fSBaptiste Daroussin 12725b91e83fSBaptiste Daroussin2012-10-03 Adrian.Bunk 12735b91e83fSBaptiste Daroussin 12745b91e83fSBaptiste Daroussin * aclocal.m4: 12755b91e83fSBaptiste Daroussin suggested patch: drop CF_ANSI_CC_REQD, CF_ANSI_CC_CHECK, CF_PROG_EXT since 12765b91e83fSBaptiste Daroussin they are not needed. 12775b91e83fSBaptiste Daroussin 1278*2aca18c7SJung-uk Kim2012-10-03 Thomas E. Dickey <dickey@invisible-island.net> 12795b91e83fSBaptiste Daroussin 12805b91e83fSBaptiste Daroussin * aclocal.m4: 12815b91e83fSBaptiste Daroussin split-out CF_CC_ENV_FLAGS from CF_ANSI_CC_CHECK to avoid losing it in 12825b91e83fSBaptiste Daroussin Adrian's suggested changes. 12835b91e83fSBaptiste Daroussin 12845b91e83fSBaptiste Daroussin * aclocal.m4: 12855b91e83fSBaptiste Daroussin CF_CLANG_COMPILER - check if the given compiler is really clang. 12865b91e83fSBaptiste Daroussin 12875b91e83fSBaptiste Daroussin * aclocal.m4: 12885b91e83fSBaptiste Daroussin add check for clang to CF_GCC_WARNINGS. modify CF_GCC_WARNINGS to work around 12895b91e83fSBaptiste Daroussin old gcc warning: ncurses change to (try to) use gnatgcc exposed gnatgcc 2.8.1 12905b91e83fSBaptiste Daroussin on my Sarge system (versus 3.3.5 for the normal gcc). The 2.8.1's 12915b91e83fSBaptiste Daroussin pointer-arithmetic checks fell afoul of gcc's misuse of void* in string.h; work 12925b91e83fSBaptiste Daroussin around by excluding that check for pre-3.x compilers. 12935b91e83fSBaptiste Daroussin 12945b91e83fSBaptiste Daroussin * aclocal.m4: 12955b91e83fSBaptiste Daroussin modify CF_GCC_ATTRIBUTES so that autoheader is able to see the definitions 12965b91e83fSBaptiste Daroussin provided by this macro. use AC_DEFINE_UNQUOTED() in CF_GCC_ATTRIBUTES rather 12975b91e83fSBaptiste Daroussin than appending to confdefs.h, since long-ago concern about the ability to 12985b91e83fSBaptiste Daroussin pass-through parameterized macros appears to be not a problem, testing with 12995b91e83fSBaptiste Daroussin 2.13 and 2.52 13005b91e83fSBaptiste Daroussin 13015b91e83fSBaptiste Daroussin2012-10-03 Adrian.Bunk 13025b91e83fSBaptiste Daroussin 13035b91e83fSBaptiste Daroussin * aclocal.m4: 13045b91e83fSBaptiste Daroussin add parameter to AC_DEFINE_UNQUOTED() to allow it to be recognized by 13055b91e83fSBaptiste Daroussin autoheader, updated macros: 13065b91e83fSBaptiste Daroussin CF_CHECK_CACHE 13075b91e83fSBaptiste Daroussin CF_DISABLE_LEAKS 13085b91e83fSBaptiste Daroussin CF_MKSTEMP 13095b91e83fSBaptiste Daroussin CF_MIXEDCASE_FILENAMES 13105b91e83fSBaptiste Daroussin CF_NO_LEAKS_OPTION 13115b91e83fSBaptiste Daroussin 1312*2aca18c7SJung-uk Kim2012-10-03 Thomas E. Dickey <dickey@invisible-island.net> 13135b91e83fSBaptiste Daroussin 13145b91e83fSBaptiste Daroussin * aclocal.m4: 13155b91e83fSBaptiste Daroussin move existence-check for mkstemp out of the AC_TRY_RUN, to help with 13165b91e83fSBaptiste Daroussin cross-compiles 13175b91e83fSBaptiste Daroussin 1318*2aca18c7SJung-uk Kim2012-10-02 Thomas E. Dickey <dickey@invisible-island.net> 13195b91e83fSBaptiste Daroussin 13205b91e83fSBaptiste Daroussin * config_h.in: 13215b91e83fSBaptiste Daroussin Adrian Bunk request - replace this with the output from autoheader 13225b91e83fSBaptiste Daroussin 13235b91e83fSBaptiste Daroussin2012-09-29 Adrian.Bunk 13245b91e83fSBaptiste Daroussin 13255b91e83fSBaptiste Daroussin * configure.in: 13265b91e83fSBaptiste Daroussin suggested change: replace CF_ANSI_CC_REQD by AC_PROG_CC_STDC (since no 13275b91e83fSBaptiste Daroussin check is needed anymore for standard C compilers), drop AC_CONST (same 13285b91e83fSBaptiste Daroussin reason), modify AC_OUTPUT to rely upon template generated by autoheader. 13295b91e83fSBaptiste Daroussin bump requirement to autoconf 2.52.20011201 and drop check for CF_PROG_EXT 13305b91e83fSBaptiste Daroussin as being obsolete with autoconf 2.52x 13315b91e83fSBaptiste Daroussin 13325b91e83fSBaptiste Daroussin * configure.in, main.c: drop check for atexit, because it is standard C 13335b91e83fSBaptiste Daroussin 13345b91e83fSBaptiste Daroussin * makefile.in: add assignment for datarootdir variable. 13355b91e83fSBaptiste Daroussin 1336*2aca18c7SJung-uk Kim2012-05-26 Thomas E. Dickey <dickey@invisible-island.net> 13373e066022SBaptiste Daroussin 13383e066022SBaptiste Daroussin * package/debian/changelog, package/byacc.spec, VERSION: bump 13393e066022SBaptiste Daroussin 13403e066022SBaptiste Daroussin * reader.c: 13413e066022SBaptiste Daroussin some versions of gcc may warn that bp is not set in mark_symbol, e.g., 13423e066022SBaptiste Daroussin if GCC_NORETURN is not handled; appease the compiler. 13433e066022SBaptiste Daroussin 13443e066022SBaptiste Daroussin * reader.c: 13453e066022SBaptiste Daroussin use the declared types Assoc_t and Value_t in some places where compiler only 13463e066022SBaptiste Daroussin cared about char versus short. 13473e066022SBaptiste Daroussin 13483e066022SBaptiste Daroussin * reader.c: 13493e066022SBaptiste Daroussin use TMALLOC() and TREALLOC() macros to simplify allocation/reallocation 13503e066022SBaptiste Daroussin (no object change) 13513e066022SBaptiste Daroussin 13523e066022SBaptiste Daroussin * defs.h: 13533e066022SBaptiste Daroussin add fallbacks for GCC_NORETURN and GCC_UNUSED to make it simpler for *BSD 13543e066022SBaptiste Daroussin packagers to build without configure script. Also remove duplicate declaration 13553e066022SBaptiste Daroussin of pure_parser variable (prompted by patch by Baptiste Daroussin). 13563e066022SBaptiste Daroussin 13573e066022SBaptiste Daroussin Also define new TMALLOC and TREALLOC macros to simplify/replace MALLOC and 13583e066022SBaptiste Daroussin REALLOC macros. 13593e066022SBaptiste Daroussin 13603e066022SBaptiste Daroussin * symtab.c: 13613e066022SBaptiste Daroussin use TMALLOC() and TREALLOC() macros to simplify allocation/reallocation 13623e066022SBaptiste Daroussin (no object change) 13633e066022SBaptiste Daroussin 1364*2aca18c7SJung-uk Kim2012-05-25 Thomas E. Dickey <dickey@invisible-island.net> 13653e066022SBaptiste Daroussin 13663e066022SBaptiste Daroussin * output.c, main.c, verbose.c, mkpar.c, lr0.c: 13673e066022SBaptiste Daroussin use TMALLOC() and TREALLOC() macros to simplify allocation/reallocation 13683e066022SBaptiste Daroussin (no object change) 13693e066022SBaptiste Daroussin 1370*2aca18c7SJung-uk Kim2012-01-15 Thomas E. Dickey <dickey@invisible-island.net> 137198e903e7SBaptiste Daroussin 137298e903e7SBaptiste Daroussin * package/debian/copyright: bump 137398e903e7SBaptiste Daroussin 137498e903e7SBaptiste Daroussin * test/run_make.sh: workaround for breakage due to GNU make 3.82 137598e903e7SBaptiste Daroussin 137698e903e7SBaptiste Daroussin * test/run_make.sh: 137798e903e7SBaptiste Daroussin tested with Solaris 10 (bison 1.875) and added scripting to exercise 137898e903e7SBaptiste Daroussin the /usr/ccs/bin/yacc executable 137998e903e7SBaptiste Daroussin 138098e903e7SBaptiste Daroussin * test/grammar.tab.c: regen 138198e903e7SBaptiste Daroussin 138298e903e7SBaptiste Daroussin * test/grammar.y: modify to also build with Solaris yacc 138398e903e7SBaptiste Daroussin 138498e903e7SBaptiste Daroussin * VERSION, package/debian/changelog, package/byacc.spec: bump 138598e903e7SBaptiste Daroussin 13860c8de5b0SBaptiste Daroussin * test/yacc/calc1.output: reference output for testing 13870c8de5b0SBaptiste Daroussin 138898e903e7SBaptiste Daroussin * test/calc1.output, test/calc1.tab.c: regen 138998e903e7SBaptiste Daroussin 139098e903e7SBaptiste Daroussin * test/calc1.y: 139198e903e7SBaptiste Daroussin undo the change made to appease bison, since it was only a warning. 139298e903e7SBaptiste Daroussin 139398e903e7SBaptiste Daroussin * test/pure_calc.tab.c, test/pure_error.tab.c: regen 139498e903e7SBaptiste Daroussin 139598e903e7SBaptiste Daroussin * test/run_make.sh: another fix for running from top-level directory 139698e903e7SBaptiste Daroussin 139798e903e7SBaptiste Daroussin * makefile.in: 139898e903e7SBaptiste Daroussin ensure that check_make rule depends on having byacc built. 139998e903e7SBaptiste Daroussin 140098e903e7SBaptiste Daroussin * test/run_make.sh: fixes for building from parent directory 140198e903e7SBaptiste Daroussin 140298e903e7SBaptiste Daroussin * test/pure_error.y, test/pure_calc.y: bison-fixes 140398e903e7SBaptiste Daroussin 140498e903e7SBaptiste 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: 140598e903e7SBaptiste Daroussin regen 140698e903e7SBaptiste Daroussin 14070c8de5b0SBaptiste Daroussin * test/code_debug.y: RCS_BASE 14080c8de5b0SBaptiste Daroussin 140998e903e7SBaptiste Daroussin * test/calc2.y, test/calc3.y, test/code_error.y, test/ftp.y: 141098e903e7SBaptiste Daroussin byacc already declares yyerror 141198e903e7SBaptiste Daroussin 141298e903e7SBaptiste Daroussin * test/pure_error.y, test/pure_calc.y: 141398e903e7SBaptiste Daroussin modified to help make the files build with bison 141498e903e7SBaptiste Daroussin 141598e903e7SBaptiste Daroussin * test/run_make.sh: 141698e903e7SBaptiste Daroussin supply a "%pure-parser" directive when bison needs it. 141798e903e7SBaptiste Daroussin 141898e903e7SBaptiste Daroussin * test/code_calc.code.c: regen 141998e903e7SBaptiste Daroussin 142098e903e7SBaptiste Daroussin * test/code_calc.y: modified to help make the files build with bison 142198e903e7SBaptiste Daroussin 142298e903e7SBaptiste Daroussin * yacc.1: 142398e903e7SBaptiste Daroussin in testing, found that %expect did not work as documented for bison. 142498e903e7SBaptiste Daroussin do not recommend it for portable code. 142598e903e7SBaptiste Daroussin 142698e903e7SBaptiste Daroussin * test/run_make.sh: workaround breakage in bison's %expect directive 142798e903e7SBaptiste Daroussin 142898e903e7SBaptiste Daroussin * test/grammar.y: modified to help make the files build with bison 142998e903e7SBaptiste Daroussin 143098e903e7SBaptiste Daroussin * test/calc1.output, test/calc1.tab.c, test/grammar.tab.c: regen 143198e903e7SBaptiste Daroussin 143298e903e7SBaptiste Daroussin * test/calc1.y: quiet a spurious warning from bison 2.3 143398e903e7SBaptiste Daroussin 143498e903e7SBaptiste Daroussin * test/calc1.tab.c: regen 143598e903e7SBaptiste Daroussin 143698e903e7SBaptiste Daroussin * test/calc1.y: modified to help make the files build with bison 143798e903e7SBaptiste Daroussin 143898e903e7SBaptiste Daroussin * yacc.1: comment on "-y" and "-P" options. 143998e903e7SBaptiste Daroussin 144098e903e7SBaptiste Daroussin * yacc.1: comment on portability 144198e903e7SBaptiste Daroussin 144298e903e7SBaptiste 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: 144398e903e7SBaptiste Daroussin regen 144498e903e7SBaptiste Daroussin 144598e903e7SBaptiste Daroussin * test/ftp.y: modified to help make the files build with bison 144698e903e7SBaptiste Daroussin (bison's "-y" option is of no use in providing "yacc" compatibility) 144798e903e7SBaptiste Daroussin 144898e903e7SBaptiste Daroussin * test/quote_calc2.tab.c, test/quote_calc3.tab.c, test/quote_calc4-s.tab.c, test/quote_calc4.tab.c: 144998e903e7SBaptiste Daroussin regen 145098e903e7SBaptiste Daroussin 145198e903e7SBaptiste Daroussin * test/code_calc.y, test/quote_calc2.y, test/quote_calc.y, test/quote_calc4.y, test/quote_calc3.y: 145298e903e7SBaptiste Daroussin modified to help make the files build with bison 145398e903e7SBaptiste Daroussin 145498e903e7SBaptiste Daroussin * test/calc.tab.c: regen 145598e903e7SBaptiste Daroussin 145698e903e7SBaptiste Daroussin * test/calc.y: modified to help make the files build with bison 145798e903e7SBaptiste Daroussin 145898e903e7SBaptiste Daroussin * test/error.tab.c: regen 145998e903e7SBaptiste Daroussin 146098e903e7SBaptiste Daroussin * test/error.y: modified to help make the files build with bison 146198e903e7SBaptiste Daroussin 146298e903e7SBaptiste Daroussin * test/calc2.tab.c, test/calc3.tab.c, test/code_error.code.c: regen 146398e903e7SBaptiste Daroussin 146498e903e7SBaptiste Daroussin * test/run_make.sh: 146598e903e7SBaptiste Daroussin check for older bisons which (2.3 for instance) do not support pure parsers 146698e903e7SBaptiste Daroussin 146798e903e7SBaptiste Daroussin * test/code_error.y, test/calc3.y, test/calc2.y: 146898e903e7SBaptiste Daroussin modified to help make the files build with bison 146998e903e7SBaptiste Daroussin 147098e903e7SBaptiste Daroussin * test/run_test.sh: use $opt2 in filenames of the generated files 147198e903e7SBaptiste Daroussin 147298e903e7SBaptiste 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: 147398e903e7SBaptiste Daroussin regen 147498e903e7SBaptiste Daroussin 1475*2aca18c7SJung-uk Kim2012-01-14 Thomas E. Dickey <dickey@invisible-island.net> 147698e903e7SBaptiste Daroussin 147798e903e7SBaptiste 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: 147898e903e7SBaptiste Daroussin regen 147998e903e7SBaptiste Daroussin 148098e903e7SBaptiste Daroussin * output.c: Several changes: 148198e903e7SBaptiste Daroussin a) add YYLEX_PARAM_TYPE, like YYPARSE_PARAM_TYPE, but for yylex. 148298e903e7SBaptiste Daroussin b) modify definitions for YYLEX_DECL to be more like YYPARSE_DECL, 148398e903e7SBaptiste Daroussin using YYLEX_PARAM_TYPE and YYLEX_PARAM. 148498e903e7SBaptiste Daroussin c) add ifdef's around #define's for YYERROR_DECL and YYERROR_CALL, 148598e903e7SBaptiste Daroussin to help with redefinitions. 148698e903e7SBaptiste Daroussin 148798e903e7SBaptiste Daroussin * test/pure_calc.tab.c: 148898e903e7SBaptiste Daroussin modified to help make the files build with bison 148998e903e7SBaptiste Daroussin 149098e903e7SBaptiste Daroussin * test/run_make.sh: 149198e903e7SBaptiste Daroussin start work on followup, to check if the generated files build with bison. 149298e903e7SBaptiste Daroussin 149398e903e7SBaptiste Daroussin * test/pure_calc.y, test/pure_error.tab.c: 149498e903e7SBaptiste Daroussin modified to help make the files build with bison 149598e903e7SBaptiste Daroussin 149698e903e7SBaptiste Daroussin * test/calc3.tab.c: regen 149798e903e7SBaptiste Daroussin 149898e903e7SBaptiste 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: 149998e903e7SBaptiste Daroussin RCS_BASE 150098e903e7SBaptiste Daroussin 15010c8de5b0SBaptiste 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: 15020c8de5b0SBaptiste Daroussin reference output for testing 15030c8de5b0SBaptiste Daroussin 150498e903e7SBaptiste Daroussin * test/run_test.sh: generate/test with "-s" option applied. 150598e903e7SBaptiste Daroussin 1506*2aca18c7SJung-uk Kim2012-01-13 Thomas E. Dickey <dickey@invisible-island.net> 150798e903e7SBaptiste Daroussin 150898e903e7SBaptiste Daroussin * package/debian/changelog, package/byacc.spec, VERSION: bump 150998e903e7SBaptiste Daroussin 151098e903e7SBaptiste Daroussin * yacc.1: improve documentation of -s option 151198e903e7SBaptiste Daroussin 151298e903e7SBaptiste Daroussin * yacc.1: note that yacc ignores -y 151398e903e7SBaptiste Daroussin 151498e903e7SBaptiste Daroussin * main.c: add -s option to usage message. 151598e903e7SBaptiste Daroussin 15160c8de5b0SBaptiste Daroussin * test/quote_calc3.output, test/quote_calc3.tab.c, test/quote_calc4.output, test/quote_calc4.tab.c, test/quote_calc4.tab.h: 151798e903e7SBaptiste Daroussin RCS_BASE 151898e903e7SBaptiste Daroussin 15190c8de5b0SBaptiste Daroussin * test/yacc/quote_calc3.output, test/yacc/quote_calc4.output, test/yacc/quote_calc4.tab.h: 15200c8de5b0SBaptiste Daroussin reference output for testing 15210c8de5b0SBaptiste Daroussin 15220c8de5b0SBaptiste Daroussin * test/quote_calc3.y, test/quote_calc.tab.h: RCS_BASE 15230c8de5b0SBaptiste Daroussin 15240c8de5b0SBaptiste Daroussin * test/yacc/quote_calc.tab.h: reference output for testing 15250c8de5b0SBaptiste Daroussin 15260c8de5b0SBaptiste 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: 15270c8de5b0SBaptiste Daroussin RCS_BASE 15280c8de5b0SBaptiste Daroussin 15290c8de5b0SBaptiste Daroussin * test/yacc/quote_calc.output, test/yacc/quote_calc2.output, test/yacc/quote_calc2.tab.h, test/yacc/quote_calc3.tab.h: 15300c8de5b0SBaptiste Daroussin reference output for testing 15310c8de5b0SBaptiste Daroussin 15320c8de5b0SBaptiste Daroussin * test/quote_calc4.y, test/quote_calc.y, test/quote_calc2.y: RCS_BASE 15330c8de5b0SBaptiste Daroussin 153498e903e7SBaptiste Daroussin * configure: regen 153598e903e7SBaptiste Daroussin 153698e903e7SBaptiste Daroussin * aclocal.m4: resync with my-autoconf, i.e., fixes for CF_XOPEN_SOURCE 153798e903e7SBaptiste Daroussin 1538*2aca18c7SJung-uk Kim2011-12-19 Thomas E. Dickey <dickey@invisible-island.net> 153998e903e7SBaptiste Daroussin 154098e903e7SBaptiste Daroussin * package/debian/changelog, package/byacc.spec, VERSION: bump 154198e903e7SBaptiste Daroussin 154298e903e7SBaptiste Daroussin * yacc.1, output.c, main.c, defs.h: 154398e903e7SBaptiste Daroussin add "-s" option to suppress generating #define's based on string contents 154498e903e7SBaptiste Daroussin in a %token statement. For instance 154598e903e7SBaptiste Daroussin %token EQLS "Equals" 154698e903e7SBaptiste Daroussin would generate 154798e903e7SBaptiste Daroussin #define EQLS 256 154898e903e7SBaptiste Daroussin #define Equals 257 154998e903e7SBaptiste Daroussin Simply suppressing the second #define makes the behavior closer to yacc. 155098e903e7SBaptiste Daroussin (report by Paulo Andrade). 155198e903e7SBaptiste Daroussin 1552*2aca18c7SJung-uk Kim2011-09-08 Thomas E. Dickey <dickey@invisible-island.net> 155398e903e7SBaptiste Daroussin 155498e903e7SBaptiste Daroussin * package/debian/changelog, package/byacc.spec, VERSION: bump 155598e903e7SBaptiste Daroussin 155698e903e7SBaptiste Daroussin * output.c: 155798e903e7SBaptiste Daroussin fix some more interaction between -i and -d flags to ensure YYERRCODE 155898e903e7SBaptiste Daroussin and YYSTYPE are declared, tested with cproto. 155998e903e7SBaptiste Daroussin 1560*2aca18c7SJung-uk Kim2011-09-07 Thomas E. Dickey <dickey@invisible-island.net> 156198e903e7SBaptiste Daroussin 156298e903e7SBaptiste Daroussin * yacc.1: document "-i" option. 156398e903e7SBaptiste Daroussin 156498e903e7SBaptiste Daroussin * package/debian/changelog, package/byacc.spec, VERSION: bump 156598e903e7SBaptiste Daroussin 156698e903e7SBaptiste Daroussin * output.c: fix an interaction between -i and -d 156798e903e7SBaptiste Daroussin 156898e903e7SBaptiste 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: 156998e903e7SBaptiste Daroussin regen - changes for "-i" option move the global/impure variables near the 157098e903e7SBaptiste Daroussin macros that may add a prefix, etc. 157198e903e7SBaptiste Daroussin 157298e903e7SBaptiste Daroussin * skeleton.c, output.c, defs.h: changes to support "-i" option. 157398e903e7SBaptiste Daroussin 1574*2aca18c7SJung-uk Kim2011-09-06 Thomas E. Dickey <dickey@invisible-island.net> 157598e903e7SBaptiste Daroussin 157698e903e7SBaptiste Daroussin * reader.c: pass explicit file-pointer to write_section() 157798e903e7SBaptiste Daroussin 157898e903e7SBaptiste Daroussin * main.c: 157998e903e7SBaptiste Daroussin add "-i" option, to generate interface-file (suggested by Denis M. Wilson) 158098e903e7SBaptiste Daroussin 1581*2aca18c7SJung-uk Kim2011-09-05 Thomas E. Dickey <dickey@invisible-island.net> 158298e903e7SBaptiste Daroussin 158398e903e7SBaptiste Daroussin * configure: regen 158498e903e7SBaptiste Daroussin 158598e903e7SBaptiste Daroussin * aclocal.m4: 158698e903e7SBaptiste Daroussin resync with my-autoconf: CF_ANSI_CC_CHECK (check for $CFLAGS in $CC) 158798e903e7SBaptiste Daroussin and CF_XOPEN_SOURCE (update aix, cygwin and netbsd checks) 158898e903e7SBaptiste Daroussin 158998e903e7SBaptiste Daroussin * defs.h, error.c, reader.c: 159098e903e7SBaptiste Daroussin add check for missing "}" on %parse-param and %lex-param lines (report by Denis M Wilson) 159198e903e7SBaptiste Daroussin 1592*2aca18c7SJung-uk Kim2011-04-01 Thomas E. Dickey <dickey@invisible-island.net> 159398e903e7SBaptiste Daroussin 15947dde5df4SBaptiste Daroussin * config.sub: update to 2011-04-01 159598e903e7SBaptiste Daroussin 1596*2aca18c7SJung-uk Kim2011-02-02 Thomas E. Dickey <dickey@invisible-island.net> 159798e903e7SBaptiste Daroussin 15987dde5df4SBaptiste Daroussin * config.guess: update to 2011-01-01 159998e903e7SBaptiste Daroussin 1600*2aca18c7SJung-uk Kim2010-12-29 Thomas E. Dickey <dickey@invisible-island.net> 160198e903e7SBaptiste Daroussin 160298e903e7SBaptiste Daroussin * defs.h, skeleton.c: 160398e903e7SBaptiste Daroussin add const qualifier to skeleton data, per NetBSD changes (report by Christos Zoulas) 160498e903e7SBaptiste Daroussin 160598e903e7SBaptiste Daroussin * defs.h: 160698e903e7SBaptiste Daroussin mark all of the error-functions as non-returning (report by Christos Zoulas) 160798e903e7SBaptiste Daroussin 160898e903e7SBaptiste 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: 160998e903e7SBaptiste Daroussin regen 161098e903e7SBaptiste Daroussin 161198e903e7SBaptiste Daroussin * skeleton.c: 161298e903e7SBaptiste Daroussin use only realloc() rather than realloc+malloc, agree that systems needing this 161398e903e7SBaptiste Daroussin are very rare (prompted by NetBSD change). 161498e903e7SBaptiste Daroussin 161598e903e7SBaptiste Daroussin * test/ftp.tab.c: regen 161698e903e7SBaptiste Daroussin 161798e903e7SBaptiste Daroussin2010-12-29 Christos.Zoulas 161898e903e7SBaptiste Daroussin 161998e903e7SBaptiste Daroussin * test/ftp.y: 162098e903e7SBaptiste Daroussin improve example, which was stuck in 19XX and assumed file sizes were longs. 162198e903e7SBaptiste Daroussin 1622*2aca18c7SJung-uk Kim2010-12-29 Thomas E. Dickey <dickey@invisible-island.net> 162398e903e7SBaptiste Daroussin 162498e903e7SBaptiste 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: 162598e903e7SBaptiste Daroussin regen 162698e903e7SBaptiste Daroussin 162798e903e7SBaptiste 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: 162898e903e7SBaptiste Daroussin use byacc's YYLEX_DECL/YYERROR_DECL symbols to prototype yylex/yyerror 162998e903e7SBaptiste Daroussin 163098e903e7SBaptiste Daroussin * skeleton.c: 163198e903e7SBaptiste Daroussin remove explicit prototype for yylex() via YYLEX_DECL() macro, since that 163298e903e7SBaptiste Daroussin would prevent declaring yylex() static (request by Christos Zoulas). 163398e903e7SBaptiste Daroussin 163498e903e7SBaptiste Daroussin * test/calc2.tab.c, test/calc3.tab.c: regen 163598e903e7SBaptiste Daroussin 163698e903e7SBaptiste Daroussin2010-12-29 Christos.Zoulas 163798e903e7SBaptiste Daroussin 163898e903e7SBaptiste Daroussin * output.c: correct definition for YYERROR_DECL() 163998e903e7SBaptiste Daroussin 1640*2aca18c7SJung-uk Kim2010-12-29 Thomas E. Dickey <dickey@invisible-island.net> 164198e903e7SBaptiste Daroussin 164298e903e7SBaptiste Daroussin * package/debian/changelog, package/byacc.spec, VERSION: bump 164398e903e7SBaptiste Daroussin 1644*2aca18c7SJung-uk Kim2010-12-26 Thomas E. Dickey <dickey@invisible-island.net> 164598e903e7SBaptiste Daroussin 164698e903e7SBaptiste Daroussin * defs.h, main.c: 164798e903e7SBaptiste Daroussin change return-type of allocate() to avoid warnings of alignment problems 164898e903e7SBaptiste Daroussin 164998e903e7SBaptiste Daroussin * main.c: Solaris declares chmod() in <sys/stat.h> 165098e903e7SBaptiste Daroussin 165198e903e7SBaptiste Daroussin * configure: regen 165298e903e7SBaptiste Daroussin 165398e903e7SBaptiste Daroussin * main.c: ifdef'd use of fcntl.h 165498e903e7SBaptiste Daroussin 165598e903e7SBaptiste Daroussin * configure.in: add configure checks for fcntl.h, atexit and mkstemp 165698e903e7SBaptiste Daroussin 165798e903e7SBaptiste Daroussin * main.c: for cases where mkstemp() is not available, use tempnam/open 165898e903e7SBaptiste Daroussin 165998e903e7SBaptiste Daroussin * aclocal.m4: add CF_MKSTEMP 166098e903e7SBaptiste Daroussin 166198e903e7SBaptiste Daroussin * aclocal.m4: 166298e903e7SBaptiste Daroussin improve quoting, deprecate ${name-value} in favor of standard ${name:-value} 166398e903e7SBaptiste Daroussin 1664*2aca18c7SJung-uk Kim2010-12-25 Thomas E. Dickey <dickey@invisible-island.net> 166598e903e7SBaptiste Daroussin 166698e903e7SBaptiste Daroussin * main.c: 166798e903e7SBaptiste Daroussin start revising use of tmpfile(), to make this work with MinGW. Start by 166898e903e7SBaptiste Daroussin implementing a mkstemp() alternative - noting that mkstemp() also is broken 166998e903e7SBaptiste Daroussin for MinGW. 167098e903e7SBaptiste Daroussin 167198e903e7SBaptiste Daroussin * package/debian/changelog, package/byacc.spec, VERSION: bump 167298e903e7SBaptiste Daroussin 1673*2aca18c7SJung-uk Kim2010-11-27 Thomas E. Dickey <dickey@invisible-island.net> 167498e903e7SBaptiste Daroussin 167598e903e7SBaptiste Daroussin * package/byacc.spec, package/debian/changelog, VERSION: bump 167698e903e7SBaptiste Daroussin 167798e903e7SBaptiste Daroussin * test/calc2.tab.c, test/calc3.tab.c: regen 167898e903e7SBaptiste Daroussin 167998e903e7SBaptiste Daroussin * output.c: 168098e903e7SBaptiste Daroussin corrected use of %parse-param value in yyerror(); it doesn't use &yylval 168198e903e7SBaptiste Daroussin (report by Clifford Yapp) 168298e903e7SBaptiste Daroussin 1683*2aca18c7SJung-uk Kim2010-11-26 Thomas E. Dickey <dickey@invisible-island.net> 168498e903e7SBaptiste Daroussin 168598e903e7SBaptiste Daroussin * skeleton.c: typo 168698e903e7SBaptiste Daroussin 168798e903e7SBaptiste Daroussin * output.c: 168898e903e7SBaptiste Daroussin correct line-numbering when "-r" option is used; the 'outline' variable 168998e903e7SBaptiste Daroussin should only be incremented when writing to the code-file. 169098e903e7SBaptiste Daroussin 169198e903e7SBaptiste Daroussin * test/code_calc.code.c, test/code_error.code.c: regen 169298e903e7SBaptiste Daroussin 169398e903e7SBaptiste Daroussin * yacc.1: bump date 169498e903e7SBaptiste Daroussin 169598e903e7SBaptiste Daroussin * yacc.1: comment on -b option vs -r 169698e903e7SBaptiste Daroussin 169798e903e7SBaptiste 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: 169898e903e7SBaptiste Daroussin regen 169998e903e7SBaptiste Daroussin 170098e903e7SBaptiste Daroussin * output.c: 170198e903e7SBaptiste Daroussin improve on YYERROR_DECL(), adding dummy params which can be used for the 170298e903e7SBaptiste Daroussin actual function declaration. Also add YYERROR_CALL(). The two macros 170398e903e7SBaptiste Daroussin simplify maintaining sets of grammars which may/may not be pure. 170498e903e7SBaptiste Daroussin 170598e903e7SBaptiste 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: 170698e903e7SBaptiste Daroussin regen 170798e903e7SBaptiste Daroussin 170898e903e7SBaptiste Daroussin * output.c: generate yyerror() calls in output.c 170998e903e7SBaptiste Daroussin This is for compatibility with bison, which passes the yylval to yyerror 171098e903e7SBaptiste Daroussin when the %parse-param feature is used. 171198e903e7SBaptiste Daroussin 171298e903e7SBaptiste Daroussin * skeleton.c, defs.h: generate yyerror() calls in output.c 171398e903e7SBaptiste Daroussin 171498e903e7SBaptiste Daroussin * output.c: simplified a little, using putc_code() and putl_code() 171598e903e7SBaptiste Daroussin 17160c8de5b0SBaptiste Daroussin * test/yacc/calc1.tab.h: reference output for testing 17170c8de5b0SBaptiste Daroussin 171898e903e7SBaptiste Daroussin * test/calc1.tab.h: regen 171998e903e7SBaptiste Daroussin 172098e903e7SBaptiste Daroussin * reader.c: 172198e903e7SBaptiste Daroussin improve ifdef for YYSTYPE union declaration (report by Clifford Yapp) 172298e903e7SBaptiste Daroussin 172398e903e7SBaptiste Daroussin * reader.c: 172498e903e7SBaptiste Daroussin accept underscore as a replacement for dash in command names, e.g., 172598e903e7SBaptiste Daroussin "%pure_parser" vs "%pure-parser". 172698e903e7SBaptiste Daroussin 172798e903e7SBaptiste Daroussin * test/calc1.tab.c: regen 172898e903e7SBaptiste Daroussin 172998e903e7SBaptiste Daroussin * output.c, reader.c: 173098e903e7SBaptiste Daroussin also ifdef YYSTYPE declaration in the generated code (report by Clifford Yapp) 173198e903e7SBaptiste Daroussin 173298e903e7SBaptiste Daroussin * package/debian/changelog, package/byacc.spec, VERSION: bump 173398e903e7SBaptiste Daroussin 1734*2aca18c7SJung-uk Kim2010-11-24 Thomas E. Dickey <dickey@invisible-island.net> 173598e903e7SBaptiste Daroussin 173698e903e7SBaptiste Daroussin * main.c, defs.h, symtab.c, error.c: reduce global variables 173798e903e7SBaptiste Daroussin 173898e903e7SBaptiste Daroussin * package/debian/changelog, package/byacc.spec, VERSION: bump 173998e903e7SBaptiste Daroussin 174098e903e7SBaptiste Daroussin * reader.c: 174198e903e7SBaptiste Daroussin amend fix for Redhat #112617 to still call default_action_warning() for 174298e903e7SBaptiste Daroussin empty rules (report by Bruce Cran). 174398e903e7SBaptiste Daroussin 1744*2aca18c7SJung-uk Kim2010-11-22 Thomas E. Dickey <dickey@invisible-island.net> 174598e903e7SBaptiste Daroussin 174698e903e7SBaptiste Daroussin * output.c: 174798e903e7SBaptiste Daroussin add ifdef to guard against redefinition of YYSTYPE union (request by Clifford Yapp). 174898e903e7SBaptiste Daroussin 174998e903e7SBaptiste Daroussin * test/calc1.tab.c: regen 175098e903e7SBaptiste Daroussin 175198e903e7SBaptiste Daroussin * test/calc1.y: cleanup compiler warnings 175298e903e7SBaptiste Daroussin 175398e903e7SBaptiste Daroussin * test/grammar.y: add "%expect" 175498e903e7SBaptiste Daroussin 175598e903e7SBaptiste Daroussin * test/calc1.tab.h: regen 175698e903e7SBaptiste Daroussin 175798e903e7SBaptiste Daroussin * test/calc1.output, test/calc1.tab.c, test/calc1.tab.h: RCS_BASE 175898e903e7SBaptiste Daroussin 175998e903e7SBaptiste Daroussin * test/calc2.tab.c, test/calc3.tab.c: regen 176098e903e7SBaptiste Daroussin 176198e903e7SBaptiste Daroussin * test/calc1.y: 176298e903e7SBaptiste Daroussin advanced example from Steve Johnson's paper, uses unions 176398e903e7SBaptiste Daroussin 176498e903e7SBaptiste Daroussin * test/calc3.y, test/calc2.y: init 'base', so examples can run 176598e903e7SBaptiste Daroussin 176698e903e7SBaptiste Daroussin * test/ftp.tab.c, test/ftp.y: tweaks to compile with g++ 176798e903e7SBaptiste Daroussin 176898e903e7SBaptiste Daroussin * output.c: compensate for fix in reader.c 176998e903e7SBaptiste Daroussin 177098e903e7SBaptiste Daroussin * reader.c: 177198e903e7SBaptiste Daroussin add/use putc_both() and puts_both(), incidentally fixing a place where 177298e903e7SBaptiste Daroussin a union copied to the union_file may be missing the end of the last line. 177398e903e7SBaptiste Daroussin 177498e903e7SBaptiste Daroussin * package/debian/changelog, package/byacc.spec, VERSION: bump 177598e903e7SBaptiste Daroussin 1776*2aca18c7SJung-uk Kim2010-09-28 Thomas E. Dickey <dickey@invisible-island.net> 177798e903e7SBaptiste Daroussin 17787dde5df4SBaptiste Daroussin * config.guess: update to 2010-09-24 177998e903e7SBaptiste Daroussin 1780*2aca18c7SJung-uk Kim2010-09-10 Thomas E. Dickey <dickey@invisible-island.net> 178198e903e7SBaptiste Daroussin 17827dde5df4SBaptiste Daroussin * config.sub: update to 2010-09-11 178398e903e7SBaptiste Daroussin 1784*2aca18c7SJung-uk Kim2010-06-10 Thomas E. Dickey <dickey@invisible-island.net> 178598e903e7SBaptiste Daroussin 178698e903e7SBaptiste Daroussin * yacc.1, package/debian/changelog, package/byacc.spec, VERSION: 178798e903e7SBaptiste Daroussin bump to 2010/06/10 178898e903e7SBaptiste Daroussin 1789*2aca18c7SJung-uk Kim2010-06-09 Thomas E. Dickey <dickey@invisible-island.net> 179098e903e7SBaptiste Daroussin 179198e903e7SBaptiste Daroussin * reader.c: free declarations in leak-testing code. 179298e903e7SBaptiste Daroussin 179398e903e7SBaptiste Daroussin * main.c: close code_file if -r option used, for leak-testing 179498e903e7SBaptiste Daroussin 179598e903e7SBaptiste Daroussin * defs.h, reader.c: 179698e903e7SBaptiste Daroussin improve %lex-param / %parse-param implementation by allowing for arrays to 179798e903e7SBaptiste Daroussin be passed as parameters, e.g., "int regs[26]". 179898e903e7SBaptiste Daroussin 17990c8de5b0SBaptiste Daroussin * test/calc3.tab.c, test/calc3.y, test/calc3.output, test/calc3.tab.h: 180098e903e7SBaptiste Daroussin RCS_BASE 180198e903e7SBaptiste Daroussin 18020c8de5b0SBaptiste Daroussin * test/yacc/calc3.output, test/yacc/calc3.tab.h: 18030c8de5b0SBaptiste Daroussin reference output for testing 18040c8de5b0SBaptiste Daroussin 18050c8de5b0SBaptiste Daroussin * test/calc2.tab.c, test/calc2.y, test/calc2.tab.h: RCS_BASE 18060c8de5b0SBaptiste Daroussin 18070c8de5b0SBaptiste Daroussin * test/yacc/calc2.tab.h: reference output for testing 18080c8de5b0SBaptiste Daroussin 18090c8de5b0SBaptiste Daroussin * test/calc2.output: RCS_BASE 18100c8de5b0SBaptiste Daroussin 18110c8de5b0SBaptiste Daroussin * test/yacc/calc2.output: reference output for testing 18120c8de5b0SBaptiste Daroussin 181398e903e7SBaptiste Daroussin * output.c: 181498e903e7SBaptiste Daroussin improve %lex-param / %parse-param implementation by allowing for arrays to 181598e903e7SBaptiste Daroussin be passed as parameters, e.g., "int regs[26]". 181698e903e7SBaptiste Daroussin 181798e903e7SBaptiste Daroussin * test/calc.tab.c, test/calc.y: 181898e903e7SBaptiste Daroussin test-cases and reference files for %lex-param / %parse-param 181998e903e7SBaptiste Daroussin 182098e903e7SBaptiste Daroussin * makefile.in: add docs-rule, for html/pdf/txt form of manpage 182198e903e7SBaptiste Daroussin 182298e903e7SBaptiste Daroussin * configure: regen 182398e903e7SBaptiste Daroussin 182498e903e7SBaptiste Daroussin * aclocal.m4: add CF_XOPEN_SOURCE, etc. 182598e903e7SBaptiste Daroussin 182698e903e7SBaptiste Daroussin * configure.in: 182798e903e7SBaptiste Daroussin use CF_XOPEN_SOURCE check to ensure that strdup is in scope, e.g., for c89 182898e903e7SBaptiste Daroussin 182998e903e7SBaptiste 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: 183098e903e7SBaptiste Daroussin fix warnings from clang --analyze 183198e903e7SBaptiste Daroussin 1832*2aca18c7SJung-uk Kim2010-06-08 Thomas E. Dickey <dickey@invisible-island.net> 183398e903e7SBaptiste Daroussin 183498e903e7SBaptiste Daroussin * output.c: fix to build with c89, etc. 183598e903e7SBaptiste Daroussin 183698e903e7SBaptiste Daroussin * reader.c: gcc warning 183798e903e7SBaptiste Daroussin 183898e903e7SBaptiste 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: 183998e903e7SBaptiste Daroussin modified test-cases to allow them to compile, to validate pure-parser changes. 184098e903e7SBaptiste Daroussin updated reference files to match. 184198e903e7SBaptiste Daroussin 184298e903e7SBaptiste Daroussin * output.c: 184398e903e7SBaptiste Daroussin move call for output_stype() earlier since it is used in pure-parser declarations 184498e903e7SBaptiste Daroussin 184598e903e7SBaptiste Daroussin * test/grammar.tab.c, test/grammar.y: 184698e903e7SBaptiste Daroussin modified test-cases to allow them to compile, to validate pure-parser changes. 184798e903e7SBaptiste Daroussin updated reference files to match. 184898e903e7SBaptiste Daroussin 184998e903e7SBaptiste Daroussin * test/calc.tab.c, test/error.tab.c, test/ftp.tab.c, test/grammar.tab.c: 185098e903e7SBaptiste Daroussin regen 185198e903e7SBaptiste Daroussin 185298e903e7SBaptiste Daroussin * yacc.1: document %lex-param and %parse-param 185398e903e7SBaptiste Daroussin 185498e903e7SBaptiste Daroussin * test/run_lint.sh, test/run_make.sh: RCS_BASE 185598e903e7SBaptiste Daroussin 185698e903e7SBaptiste Daroussin * test/run_test.sh: 185798e903e7SBaptiste Daroussin further modify to allow build-directory to be in a different location by 185898e903e7SBaptiste Daroussin passing this directory's location as a parameter to the script. 185998e903e7SBaptiste Daroussin 186098e903e7SBaptiste Daroussin * makefile.in: 186198e903e7SBaptiste Daroussin add check_make and check_lint rules to help validate the generated files 186298e903e7SBaptiste Daroussin in the test-directory 186398e903e7SBaptiste Daroussin 1864*2aca18c7SJung-uk Kim2010-06-07 Thomas E. Dickey <dickey@invisible-island.net> 186598e903e7SBaptiste Daroussin 186698e903e7SBaptiste Daroussin * test/pure_calc.tab.c, test/pure_error.tab.c: RCS_BASE 186798e903e7SBaptiste Daroussin 186898e903e7SBaptiste Daroussin * test/run_test.sh: 186998e903e7SBaptiste Daroussin provide for testing -r and -P options by checking if the ".y" filename 187098e903e7SBaptiste Daroussin begins with "code_" or "pure_", respectively. 187198e903e7SBaptiste Daroussin 18720c8de5b0SBaptiste Daroussin * test/code_error.code.c, test/code_error.tab.c, test/code_error.tab.h: 187398e903e7SBaptiste Daroussin RCS_BASE 187498e903e7SBaptiste Daroussin 18750c8de5b0SBaptiste Daroussin * test/yacc/code_error.tab.h: reference output for testing 18760c8de5b0SBaptiste Daroussin 18770c8de5b0SBaptiste Daroussin * test/code_calc.code.c, test/code_calc.tab.c, test/code_calc.tab.h: 18780c8de5b0SBaptiste Daroussin RCS_BASE 18790c8de5b0SBaptiste Daroussin 18800c8de5b0SBaptiste Daroussin * test/yacc/code_calc.tab.h: reference output for testing 18810c8de5b0SBaptiste Daroussin 18820c8de5b0SBaptiste Daroussin * test/pure_calc.output, test/pure_calc.tab.h, test/pure_error.output, test/pure_error.tab.h: 18830c8de5b0SBaptiste Daroussin RCS_BASE 18840c8de5b0SBaptiste Daroussin 18850c8de5b0SBaptiste Daroussin * test/yacc/pure_calc.output, test/yacc/pure_calc.tab.h, test/yacc/pure_error.output, test/yacc/pure_error.tab.h: 18860c8de5b0SBaptiste Daroussin reference output for testing 18870c8de5b0SBaptiste Daroussin 18880c8de5b0SBaptiste Daroussin * test/code_calc.output, test/code_error.output: RCS_BASE 18890c8de5b0SBaptiste Daroussin 18900c8de5b0SBaptiste Daroussin * test/yacc/code_calc.output, test/yacc/code_error.output: 18910c8de5b0SBaptiste Daroussin reference output for testing 18920c8de5b0SBaptiste Daroussin 189398e903e7SBaptiste Daroussin * test/error.tab.c, test/ftp.tab.c, test/grammar.tab.c: regen 189498e903e7SBaptiste Daroussin 189598e903e7SBaptiste Daroussin * test/run_test.sh: 189698e903e7SBaptiste Daroussin changes to support running "make check" in a separate build-tree 189798e903e7SBaptiste Daroussin 189898e903e7SBaptiste Daroussin * main.c: add "-P" to usage message 189998e903e7SBaptiste Daroussin 190098e903e7SBaptiste Daroussin * reader.c: use UCH() macro to hide casts. 190198e903e7SBaptiste Daroussin 190298e903e7SBaptiste Daroussin2010-06-07 Andres.Mejia 190398e903e7SBaptiste Daroussin 190498e903e7SBaptiste Daroussin * main.c, output.c, reader.c, defs.h, skeleton.c: 190598e903e7SBaptiste Daroussin Fix the output order of the generated parse code file. This allows for 190698e903e7SBaptiste Daroussin the use of YYPARSE_PARAM, by having the output that checks for 190798e903e7SBaptiste Daroussin YYPARSE_PARAM to be defined come after the C code block in the 190898e903e7SBaptiste Daroussin definitions section of a yacc file. 190998e903e7SBaptiste Daroussin 191098e903e7SBaptiste Daroussin Implement support for YYLEX_PARAM, similar to bison. This is useful for 191198e903e7SBaptiste Daroussin support for building reentrant lexers with flex. 191298e903e7SBaptiste Daroussin 191398e903e7SBaptiste Daroussin Fix a compatibility issue with bison's pure-parser option. Bison 191498e903e7SBaptiste Daroussin defines yylex as sending at least one parameter, &yylval, as the first 191598e903e7SBaptiste Daroussin parameter and doesn't seem to have an easy way to remove that parameter. 191698e903e7SBaptiste Daroussin This on the other hand is rather convenient to support saving to yylval 191798e903e7SBaptiste Daroussin from flex when building reentrant lexers and parsers. 191898e903e7SBaptiste Daroussin 191998e903e7SBaptiste Daroussin Add support for the %parse-param and %lex-param directives used in 192098e903e7SBaptiste Daroussin bison. This change bears some similarity to NetBSD's changes to byacc 192198e903e7SBaptiste Daroussin at http://www.mail-archive.com/source-changes-full@netbsd.org/msg08143.html 192298e903e7SBaptiste Daroussin 192398e903e7SBaptiste Daroussin Bison allows for POSIX yacc emulation via a yacc directive in the yacc 192498e903e7SBaptiste Daroussin file, and also via a command line switch. Implement this feature as a 192598e903e7SBaptiste Daroussin no-op for byacc, since byacc is designed to be POSIX yacc compatible 192698e903e7SBaptiste Daroussin anyway. This allows for better compatibility with yacc sources written 192798e903e7SBaptiste Daroussin for bison. 192898e903e7SBaptiste Daroussin 1929*2aca18c7SJung-uk Kim2010-06-07 Thomas E. Dickey <dickey@invisible-island.net> 193098e903e7SBaptiste Daroussin 193198e903e7SBaptiste Daroussin * VERSION: bump to 2010/06/07 193298e903e7SBaptiste Daroussin 1933*2aca18c7SJung-uk Kim2010-06-06 Thomas E. Dickey <dickey@invisible-island.net> 193498e903e7SBaptiste Daroussin 193598e903e7SBaptiste Daroussin * test/calc.tab.c, configure: regen 193698e903e7SBaptiste Daroussin 193798e903e7SBaptiste Daroussin * skeleton.c: 193898e903e7SBaptiste Daroussin move #include's down into the generated code, to allow user-defined code 193998e903e7SBaptiste Daroussin to override feature definitions, particularly with stdlib.h (request by 194098e903e7SBaptiste Daroussin Marcus Kool). 194198e903e7SBaptiste Daroussin 194298e903e7SBaptiste Daroussin * lr0.c, error.c, reader.c, defs.h: 194398e903e7SBaptiste Daroussin strict gcc 3.4.6 warnings on 64-bit platform 194498e903e7SBaptiste Daroussin 194598e903e7SBaptiste Daroussin * aclocal.m4, configure.in: add check for lint 194698e903e7SBaptiste Daroussin 194798e903e7SBaptiste Daroussin * makefile.in: add lint rule 194898e903e7SBaptiste Daroussin 194998e903e7SBaptiste Daroussin * defs.h, closure.c, lr0.c, warshall.c, main.c: 195098e903e7SBaptiste Daroussin fix gcc warnings, mostly for 64-bit platform 195198e903e7SBaptiste Daroussin 195298e903e7SBaptiste Daroussin * aclocal.m4: 195398e903e7SBaptiste Daroussin add macros for checking ctags/etags, e.g., to work with NetBSD pkgsrc 195498e903e7SBaptiste Daroussin 195598e903e7SBaptiste Daroussin * makefile.in: add etags/TAGS if available 195698e903e7SBaptiste Daroussin 195798e903e7SBaptiste Daroussin * configure.in: add configure check for actual ctags and etags programs 195898e903e7SBaptiste Daroussin 195998e903e7SBaptiste Daroussin * package/debian/copyright: add copyright notices for non-PD files 196098e903e7SBaptiste Daroussin 196198e903e7SBaptiste Daroussin * package/debian/changelog: 196298e903e7SBaptiste Daroussin incorporated scripts in upstream to use for test-builds 196398e903e7SBaptiste Daroussin 196498e903e7SBaptiste Daroussin * makefile.in: drop mkdirs.sh, just use "mkdir -p" 196598e903e7SBaptiste Daroussin 196698e903e7SBaptiste Daroussin * AUTHORS: nicknames for some contributors (see CHANGES for details) 196798e903e7SBaptiste Daroussin 196898e903e7SBaptiste Daroussin * package/byacc.spec: RPM file for byacc 196998e903e7SBaptiste Daroussin 197098e903e7SBaptiste Daroussin * VERSION: bump to 2010/06/06 197198e903e7SBaptiste Daroussin 197298e903e7SBaptiste Daroussin * aclocal.m4: add copyright notice, from "my-autoconf" macros 197398e903e7SBaptiste Daroussin http://invisible-island.net/autoconf/autoconf.html 197498e903e7SBaptiste Daroussin 197598e903e7SBaptiste Daroussin * package/RCS, package/debian/RCS, package/debian/source/RCS, package/pkgsrc/RCS: 197698e903e7SBaptiste Daroussin PERMIT FILE 197798e903e7SBaptiste Daroussin 197898e903e7SBaptiste Daroussin * aclocal.m4: resync with my-autoconf. summary of changes: 197998e903e7SBaptiste Daroussin a) CF_ADD_CFLAGS, etc., improve quoting of ifelse() parameter 198098e903e7SBaptiste Daroussin b) CF_DISABLE_ECHO, change indent-convention for substituted makefile 198198e903e7SBaptiste Daroussin c) CF_GCC_VERSION, ignore stderr 198298e903e7SBaptiste Daroussin d) CF_GCC_WARNINGS, adjust options to work with c89 wrapper of gcc 198398e903e7SBaptiste Daroussin 1984*2aca18c7SJung-uk Kim2010-04-20 Thomas E. Dickey <dickey@invisible-island.net> 198598e903e7SBaptiste Daroussin 198698e903e7SBaptiste 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: 198798e903e7SBaptiste Daroussin scripts from Debian package 198898e903e7SBaptiste Daroussin 1989*2aca18c7SJung-uk Kim2010-02-16 Thomas E. Dickey <dickey@invisible-island.net> 199098e903e7SBaptiste Daroussin 199198e903e7SBaptiste Daroussin * yacc.1: document -P and bison-extensions 199298e903e7SBaptiste Daroussin 199398e903e7SBaptiste Daroussin * test/ftp.tab.c, test/grammar.tab.c, test/calc.tab.c, test/error.tab.c: 199498e903e7SBaptiste Daroussin regen 199598e903e7SBaptiste Daroussin 199698e903e7SBaptiste Daroussin * output.c: implement %pure-parser 199798e903e7SBaptiste Daroussin 199898e903e7SBaptiste Daroussin * skeleton.c: 199998e903e7SBaptiste Daroussin implement %pure-parser, like bison. To help with this, changed the stack 200098e903e7SBaptiste Daroussin variables, putting them into a struct. 200198e903e7SBaptiste Daroussin 200298e903e7SBaptiste Daroussin * reader.c: implement %pure-parser 200398e903e7SBaptiste Daroussin 200498e903e7SBaptiste Daroussin * defs.h: modified skeleton to support %pure-parser feature 200598e903e7SBaptiste Daroussin 200698e903e7SBaptiste Daroussin * main.c: add -P option to set %pure-parser 200798e903e7SBaptiste Daroussin 200898e903e7SBaptiste Daroussin * output.c: 200998e903e7SBaptiste Daroussin make -r and -p options work together. The -r option splits the generated 201098e903e7SBaptiste Daroussin parser into code/table files; for this case we cannot use static data. 201198e903e7SBaptiste Daroussin Also, we have to repeat the #define's used for prefix (-p) as well as the 201298e903e7SBaptiste Daroussin redeclaration of yyparse(). Finally, allow any of the prefixed names to 201398e903e7SBaptiste Daroussin be overridden, e.g., by passing a -D option to the compiler. Make that 201498e903e7SBaptiste Daroussin a little more readable by putting a blank line before each chunk. 201598e903e7SBaptiste Daroussin 201698e903e7SBaptiste Daroussin * defs.h: add definitions for %pure-parser 201798e903e7SBaptiste Daroussin 201898e903e7SBaptiste Daroussin * skeleton.c: 201998e903e7SBaptiste Daroussin put blank line before/after the redeclaration of yyparse() 202098e903e7SBaptiste Daroussin 202198e903e7SBaptiste Daroussin * output.c: allow for other program redefining yylex() 202298e903e7SBaptiste Daroussin 202398e903e7SBaptiste Daroussin * skeleton.c: 202498e903e7SBaptiste Daroussin split-off xdecls[] array, to move declaration of yyparse() after #define's 202598e903e7SBaptiste Daroussin 202698e903e7SBaptiste Daroussin * defs.h: split-out xdecls[] 202798e903e7SBaptiste Daroussin 202898e903e7SBaptiste Daroussin * VERSION: bump 202998e903e7SBaptiste Daroussin 203098e903e7SBaptiste Daroussin * configure: regen 203198e903e7SBaptiste Daroussin 203298e903e7SBaptiste Daroussin * aclocal.m4: add CF_REMOVE_DEFINE, needed by CF_ADD_CFLAGS 203398e903e7SBaptiste Daroussin 203498e903e7SBaptiste Daroussin * aclocal.m4: 203598e903e7SBaptiste Daroussin resync with my-autoconf CF_ADD_CFLAGS and CF_DISABLE_ECHO changes. 203698e903e7SBaptiste Daroussin 203798e903e7SBaptiste Daroussin2010-02-16 Ostap.Cherkashi 203898e903e7SBaptiste Daroussin 203998e903e7SBaptiste Daroussin * skeleton.c: fix a memory leak in the generated skeleton 204098e903e7SBaptiste Daroussin 2041*2aca18c7SJung-uk Kim2010-01-01 Thomas E. Dickey <dickey@invisible-island.net> 204298e903e7SBaptiste Daroussin 204398e903e7SBaptiste Daroussin * package/debian/source/format: scripts from Debian package 204498e903e7SBaptiste Daroussin 2045*2aca18c7SJung-uk Kim2009-12-31 Thomas E. Dickey <dickey@invisible-island.net> 204698e903e7SBaptiste Daroussin 20477dde5df4SBaptiste Daroussin * config.guess: update to 2009-12-30 204898e903e7SBaptiste Daroussin 20497dde5df4SBaptiste Daroussin * config.sub: update to 2009-12-31 205098e903e7SBaptiste Daroussin 2051*2aca18c7SJung-uk Kim2009-10-27 Thomas E. Dickey <dickey@invisible-island.net> 205298e903e7SBaptiste Daroussin 205398e903e7SBaptiste Daroussin * VERSION: 20091027 205498e903e7SBaptiste Daroussin 205598e903e7SBaptiste Daroussin * output.c, mkpar.c, defs.h, lalr.c, closure.c, graph.c, lr0.c, verbose.c, main.c, reader.c: 205698e903e7SBaptiste Daroussin strict compiler warnings 205798e903e7SBaptiste Daroussin 2058*2aca18c7SJung-uk Kim2009-10-26 Thomas E. Dickey <dickey@invisible-island.net> 205998e903e7SBaptiste Daroussin 206098e903e7SBaptiste Daroussin * test/ftp.tab.c, test/grammar.tab.c, test/calc.tab.c, test/error.tab.c: 206198e903e7SBaptiste Daroussin resync 206298e903e7SBaptiste Daroussin 206398e903e7SBaptiste Daroussin * main.c, defs.h: introduce some typedefs for portability, etc. 206498e903e7SBaptiste Daroussin 206598e903e7SBaptiste Daroussin * makefile.in: 206698e903e7SBaptiste Daroussin don't remove "*.log" in mostlyclean rule since it interferes with regression 206798e903e7SBaptiste Daroussin script. 206898e903e7SBaptiste Daroussin 206998e903e7SBaptiste Daroussin * configure: regen 207098e903e7SBaptiste Daroussin 207198e903e7SBaptiste Daroussin * aclocal.m4: resync with my-autoconf 207298e903e7SBaptiste Daroussin 2073*2aca18c7SJung-uk Kim2009-08-25 Thomas E. Dickey <dickey@invisible-island.net> 207498e903e7SBaptiste Daroussin 20757dde5df4SBaptiste Daroussin * config.guess, config.sub: update to 2009-08-19 207698e903e7SBaptiste Daroussin 2077*2aca18c7SJung-uk Kim2009-02-21 Thomas E. Dickey <dickey@invisible-island.net> 207898e903e7SBaptiste Daroussin 207998e903e7SBaptiste Daroussin * VERSION: bump 208098e903e7SBaptiste Daroussin 208198e903e7SBaptiste Daroussin * output.c: restore "yylval" symbol, omitted in cleanup on 2008/8/25 208298e903e7SBaptiste Daroussin 2083*2aca18c7SJung-uk Kim2008-12-26 Thomas E. Dickey <dickey@invisible-island.net> 208498e903e7SBaptiste Daroussin 208598e903e7SBaptiste Daroussin * configure: regen with autoconf-2.52 (patched) 208698e903e7SBaptiste Daroussin 2087*2aca18c7SJung-uk Kim2008-12-25 Thomas E. Dickey <dickey@invisible-island.net> 208898e903e7SBaptiste Daroussin 208998e903e7SBaptiste Daroussin * test/error.tab.c, test/ftp.tab.c, test/grammar.tab.c, test/calc.tab.c: 209098e903e7SBaptiste Daroussin regenerated 209198e903e7SBaptiste Daroussin 2092*2aca18c7SJung-uk Kim2008-12-24 Thomas E. Dickey <dickey@invisible-island.net> 209398e903e7SBaptiste Daroussin 209498e903e7SBaptiste Daroussin * VERSION: bump 209598e903e7SBaptiste Daroussin 209698e903e7SBaptiste Daroussin * skeleton.c: 209798e903e7SBaptiste Daroussin remove ifdef-lint from goto yyerrlab, to quiet gcc warning 209898e903e7SBaptiste Daroussin 2099*2aca18c7SJung-uk Kim2008-11-26 Thomas E. Dickey <dickey@invisible-island.net> 210098e903e7SBaptiste Daroussin 210198e903e7SBaptiste Daroussin * verbose.c, main.c, defs.h, mkpar.c, reader.c: 210298e903e7SBaptiste Daroussin completed implementation of "%expect" (report by Perry E. Metzger). 210398e903e7SBaptiste Daroussin add "%expect-rr", which is (unlike bison) allowable in LALR parsers. 210498e903e7SBaptiste Daroussin 2105*2aca18c7SJung-uk Kim2008-11-24 Thomas E. Dickey <dickey@invisible-island.net> 210698e903e7SBaptiste Daroussin 210798e903e7SBaptiste 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: 210898e903e7SBaptiste Daroussin change indent-style (request by Perry E. Metzger) 210998e903e7SBaptiste Daroussin 2110*2aca18c7SJung-uk Kim2008-08-27 Thomas E. Dickey <dickey@invisible-island.net> 211198e903e7SBaptiste Daroussin 211298e903e7SBaptiste Daroussin * test/calc.tab.c, test/error.tab.c, test/ftp.tab.c, test/grammar.tab.c: 211398e903e7SBaptiste Daroussin better implementation of YYPARSE_PARAM, using YYPARSE_DECL() macro 211498e903e7SBaptiste Daroussin 211598e903e7SBaptiste Daroussin * VERSION: bump 211698e903e7SBaptiste Daroussin 211798e903e7SBaptiste Daroussin * skeleton.c: 211898e903e7SBaptiste Daroussin better implementation of YYPARSE_PARAM, using YYPARSE_DECL() macro 211998e903e7SBaptiste Daroussin 212098e903e7SBaptiste Daroussin * test/calc.tab.c, test/error.tab.c, test/ftp.tab.c, test/grammar.tab.c, skeleton.c: 212198e903e7SBaptiste Daroussin change YYRECOVERING to YYRECOVERING(), for compatibility with other yacc's. 212298e903e7SBaptiste Daroussin 212398e903e7SBaptiste Daroussin * configure: regen'd 212498e903e7SBaptiste Daroussin 212598e903e7SBaptiste Daroussin * configure.in: add -Wwrite-strings to warnings 212698e903e7SBaptiste Daroussin 212798e903e7SBaptiste Daroussin * test/ftp.tab.c, test/grammar.tab.c, test/calc.tab.c, test/error.tab.c: 212898e903e7SBaptiste Daroussin add YYPARSE_PARAM and YYPARSE_PARAM_TYPE 212998e903e7SBaptiste Daroussin 213098e903e7SBaptiste Daroussin * skeleton.c: 213198e903e7SBaptiste Daroussin add YYPARSE_PARAM (bison) and YYPARSE_PARAM_TYPE (FreeBSD) features. 213298e903e7SBaptiste Daroussin 213398e903e7SBaptiste Daroussin * main.c, defs.h, output.c, skeleton.c, symtab.c, error.c, reader.c: 213498e903e7SBaptiste Daroussin fixes for gcc -Wwrite-strings 213598e903e7SBaptiste Daroussin 213698e903e7SBaptiste Daroussin * test/calc.tab.c, test/error.tab.c, test/ftp.tab.c, test/grammar.tab.c: 213798e903e7SBaptiste Daroussin generate the tables as static-const (this is an interface change) 213898e903e7SBaptiste Daroussin 213998e903e7SBaptiste Daroussin * output.c: realign columns in start_table() 214098e903e7SBaptiste Daroussin 214198e903e7SBaptiste Daroussin * output.c: 214298e903e7SBaptiste Daroussin generate the tables as static-const (this is an interface change) 214398e903e7SBaptiste Daroussin 214498e903e7SBaptiste Daroussin * output.c: reorder functions to eliminate forward-references 214598e903e7SBaptiste Daroussin 214698e903e7SBaptiste Daroussin * test/calc.tab.c, test/error.tab.c, test/ftp.tab.c, test/grammar.tab.c: 214798e903e7SBaptiste Daroussin remove 'register' keywords 214898e903e7SBaptiste Daroussin 2149*2aca18c7SJung-uk Kim2008-08-26 Thomas E. Dickey <dickey@invisible-island.net> 215098e903e7SBaptiste Daroussin 215198e903e7SBaptiste 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: 215298e903e7SBaptiste Daroussin remove 'register' keywords 215398e903e7SBaptiste Daroussin 2154*2aca18c7SJung-uk Kim2008-08-25 Thomas E. Dickey <dickey@invisible-island.net> 215598e903e7SBaptiste Daroussin 215698e903e7SBaptiste Daroussin * test/ftp.tab.c: regen'd 215798e903e7SBaptiste Daroussin 215898e903e7SBaptiste Daroussin * reader.c: 215998e903e7SBaptiste Daroussin improve the left-curly fix by testing after blanks, to avoid having a 216098e903e7SBaptiste Daroussin " {" at the beginning of a line. 216198e903e7SBaptiste Daroussin 216298e903e7SBaptiste Daroussin * test/error.tab.c, test/grammar.tab.c: regen'd 216398e903e7SBaptiste Daroussin 216498e903e7SBaptiste Daroussin * output.c: 216598e903e7SBaptiste Daroussin move the remaining newline-counting into write_XXX functions. 216698e903e7SBaptiste Daroussin 216798e903e7SBaptiste Daroussin * test/calc.tab.c: regen'd 216898e903e7SBaptiste Daroussin 216998e903e7SBaptiste Daroussin * output.c: 217098e903e7SBaptiste Daroussin simplify part of the output_file formatting using new functions, e.g., 217198e903e7SBaptiste Daroussin start_int_table(), output_newline(). 217298e903e7SBaptiste Daroussin 217398e903e7SBaptiste Daroussin * reader.c: 217498e903e7SBaptiste Daroussin modify copy_action() to indent the first character, it if is is left-curly 217598e903e7SBaptiste Daroussin brace. That makes the output look more like the original, as well as makes 217698e903e7SBaptiste Daroussin it simpler to edit (not confuse editors which look for a left-curly in the 217798e903e7SBaptiste Daroussin first column as if it were the beginning of a function). 217898e903e7SBaptiste Daroussin 217998e903e7SBaptiste Daroussin * skeleton.c: minor fixes to avoid gcc -Wconversion warnings 218098e903e7SBaptiste Daroussin 218198e903e7SBaptiste Daroussin * output.c: align the #define's produced for "-p" option 218298e903e7SBaptiste Daroussin 218398e903e7SBaptiste Daroussin * test/run_test.sh: use the "-p" option for better coverage. 218498e903e7SBaptiste Daroussin 218598e903e7SBaptiste Daroussin * output.c: simplify output_prefix() with new define_prefixed() 218698e903e7SBaptiste Daroussin 218798e903e7SBaptiste Daroussin * skeleton.c: include string.h, for memset() 218898e903e7SBaptiste Daroussin change stack size to unsigned to fix gcc -Wconversion warnings. 218998e903e7SBaptiste Daroussin 219098e903e7SBaptiste Daroussin * VERSION: bump to 2008/8/25 219198e903e7SBaptiste Daroussin 219298e903e7SBaptiste Daroussin * makefile.in: add dependency on VERSION file. 219398e903e7SBaptiste Daroussin 2194*2aca18c7SJung-uk Kim2008-08-24 Thomas E. Dickey <dickey@invisible-island.net> 219598e903e7SBaptiste Daroussin 219698e903e7SBaptiste Daroussin * VERSION: bump 219798e903e7SBaptiste Daroussin 219898e903e7SBaptiste Daroussin * lalr.c: improved memory-leak checking by freeing data in includes[] 219998e903e7SBaptiste Daroussin 220098e903e7SBaptiste Daroussin * test/error.tab.c, test/ftp.tab.c, test/grammar.tab.c, test/calc.tab.c: 220198e903e7SBaptiste Daroussin update to match skeleton-change 220298e903e7SBaptiste Daroussin 220398e903e7SBaptiste Daroussin * configure: regen'd 220498e903e7SBaptiste Daroussin 220598e903e7SBaptiste Daroussin * skeleton.c: Add fix for stack discussed 220698e903e7SBaptiste Daroussin http://undeadly.org/cgi?action=article&sid=20080708155228 220798e903e7SBaptiste Daroussin and applied 220898e903e7SBaptiste Daroussin http://www.openbsd.org/cgi-bin/cvsweb/src/usr.bin/yacc/skeleton.c.diff?r1=1.28&r2=1.29 220998e903e7SBaptiste Daroussin 221098e903e7SBaptiste Daroussin * aclocal.m4: resync with my-autoconf (no major changes) 221198e903e7SBaptiste Daroussin 2212*2aca18c7SJung-uk Kim2008-07-24 Thomas E. Dickey <dickey@invisible-island.net> 221398e903e7SBaptiste Daroussin 221498e903e7SBaptiste Daroussin * package/pkgsrc/Makefile, package/pkgsrc/distinfo: 221598e903e7SBaptiste Daroussin scripts from NetBSD pkgsrc, for test-builds 221698e903e7SBaptiste Daroussin 2217*2aca18c7SJung-uk Kim2008-03-14 Thomas E. Dickey <dickey@invisible-island.net> 221898e903e7SBaptiste Daroussin 221998e903e7SBaptiste Daroussin * config.sub: update to 2008-03-08 222098e903e7SBaptiste Daroussin 222198e903e7SBaptiste Daroussin * config.guess: update to 2008-03-12 222298e903e7SBaptiste Daroussin 2223*2aca18c7SJung-uk Kim2007-05-09 Thomas E. Dickey <dickey@invisible-island.net> 222498e903e7SBaptiste Daroussin 222598e903e7SBaptiste Daroussin * main.c: close graph, verbose files if opened, on exit. 222698e903e7SBaptiste Daroussin 222798e903e7SBaptiste Daroussin * main.c: 222898e903e7SBaptiste Daroussin audit memory leaks - valgrind reported some memory still in use on exit. 222998e903e7SBaptiste Daroussin 223098e903e7SBaptiste Daroussin * lalr.c, output.c, reader.c, mkpar.c, lr0.c: 223198e903e7SBaptiste Daroussin add hook for auditing memory leaks 223298e903e7SBaptiste Daroussin 223398e903e7SBaptiste Daroussin * defs.h: add hooks for auditing memory leaks 223498e903e7SBaptiste Daroussin 223598e903e7SBaptiste Daroussin * configure: regen'd 223698e903e7SBaptiste Daroussin 223798e903e7SBaptiste Daroussin * configure.in: 223898e903e7SBaptiste Daroussin use CF_DISABLE_LEAKS, which combines --disable-leaks, --with-valgrind, 223998e903e7SBaptiste Daroussin --with-dbmalloc and --with-dmalloc 224098e903e7SBaptiste Daroussin 224198e903e7SBaptiste Daroussin * aclocal.m4: add CF_DISABLE_LEAKS and CF_WITH_VALGRIND 224298e903e7SBaptiste Daroussin 224398e903e7SBaptiste Daroussin * aclocal.m4: improve version-checking in CF_GCC_VERSION 224498e903e7SBaptiste Daroussin rework dbmalloc/dmalloc options using CF_NO_LEAKS_OPTION macro 224598e903e7SBaptiste Daroussin 224698e903e7SBaptiste Daroussin * VERSION: 2007/5/9 224798e903e7SBaptiste Daroussin 224898e903e7SBaptiste Daroussin * main.c: file_prefix did not always have a trailing null. 224998e903e7SBaptiste Daroussin 2250*2aca18c7SJung-uk Kim2007-03-25 Thomas E. Dickey <dickey@invisible-island.net> 225198e903e7SBaptiste Daroussin 225298e903e7SBaptiste Daroussin * mkdirs.sh: improved version for "make -j" 225398e903e7SBaptiste Daroussin 2254*2aca18c7SJung-uk Kim2006-12-22 Thomas E. Dickey <dickey@invisible-island.net> 225598e903e7SBaptiste Daroussin 22567dde5df4SBaptiste Daroussin * config.guess: update to 2006/12/22 225798e903e7SBaptiste Daroussin 2258*2aca18c7SJung-uk Kim2006-12-08 Thomas E. Dickey <dickey@invisible-island.net> 225998e903e7SBaptiste Daroussin 22607dde5df4SBaptiste Daroussin * config.sub: update to 2006/12/08 226198e903e7SBaptiste Daroussin 2262*2aca18c7SJung-uk Kim2005-08-13 Thomas E. Dickey <dickey@invisible-island.net> 226398e903e7SBaptiste Daroussin 226498e903e7SBaptiste Daroussin * main.c: add -V to usage message 226598e903e7SBaptiste Daroussin 226698e903e7SBaptiste Daroussin * makefile.in: remove -t option from ctags 226798e903e7SBaptiste Daroussin 226898e903e7SBaptiste Daroussin * VERSION: 2005/8/13 226998e903e7SBaptiste Daroussin 227098e903e7SBaptiste Daroussin2005-08-13 schmitz 227198e903e7SBaptiste Daroussin 227298e903e7SBaptiste Daroussin * main.c: Sylvain Schmitz: 227398e903e7SBaptiste Daroussin modify the '-o' option to work like bison's, which sets the file-prefix. 227498e903e7SBaptiste Daroussin 227598e903e7SBaptiste Daroussin2005-08-13 Matt.Kraai 227698e903e7SBaptiste Daroussin 227798e903e7SBaptiste Daroussin * output.c: 227898e903e7SBaptiste Daroussin Debian #322858 (don't close union_file, which contained data). 227998e903e7SBaptiste Daroussin This feature is used in groff. 228098e903e7SBaptiste Daroussin 2281*2aca18c7SJung-uk Kim2005-08-13 Thomas E. Dickey <dickey@invisible-island.net> 228298e903e7SBaptiste Daroussin 228398e903e7SBaptiste Daroussin * configure: regenerated 228498e903e7SBaptiste Daroussin 228598e903e7SBaptiste Daroussin * aclocal.m4: improve checks for Intel compiler warnings 228698e903e7SBaptiste Daroussin 2287*2aca18c7SJung-uk Kim2005-06-25 Thomas E. Dickey <dickey@invisible-island.net> 228898e903e7SBaptiste Daroussin 22897dde5df4SBaptiste Daroussin * config.sub: update to 2005/6/2 229098e903e7SBaptiste Daroussin 22917dde5df4SBaptiste Daroussin * config.guess: update to 2005/5/27 229298e903e7SBaptiste Daroussin 2293*2aca18c7SJung-uk Kim2005-05-05 Thomas E. Dickey <dickey@invisible-island.net> 229498e903e7SBaptiste Daroussin 229598e903e7SBaptiste Daroussin * defs.h: add a fallback for GCC_UNUSED 229698e903e7SBaptiste Daroussin 2297*2aca18c7SJung-uk Kim2005-05-04 Thomas E. Dickey <dickey@invisible-island.net> 229898e903e7SBaptiste Daroussin 229998e903e7SBaptiste Daroussin * makefile.in: add "." to include-path to pickup config.h 230098e903e7SBaptiste Daroussin 230198e903e7SBaptiste Daroussin * reader.c: 230298e903e7SBaptiste Daroussin apply fix suggested by Steve Dum for end_rule() in Redhat Bugzilla #112617. 230398e903e7SBaptiste Daroussin 230498e903e7SBaptiste Daroussin * output.c: 230598e903e7SBaptiste Daroussin correct a limit check in pack_vector() - report/analysis by William Evans 230698e903e7SBaptiste Daroussin 230798e903e7SBaptiste Daroussin * main.c: 230898e903e7SBaptiste Daroussin exit after printing version. Otherwise "yacc -V" will exit with an erro 230998e903e7SBaptiste Daroussin after printing the usage message. 231098e903e7SBaptiste Daroussin 231198e903e7SBaptiste Daroussin * test/calc.tab.c, test/error.tab.c, test/ftp.tab.c, test/grammar.tab.c: 231298e903e7SBaptiste Daroussin regenerated after skeleton-changes 231398e903e7SBaptiste Daroussin 231498e903e7SBaptiste Daroussin * skeleton.c: replace a few -1's with YYEMPTY 231598e903e7SBaptiste Daroussin 231698e903e7SBaptiste Daroussin * skeleton.c: 231798e903e7SBaptiste Daroussin delete yynewerror (no one uses it any more, and it just makes compiler warnings) 231898e903e7SBaptiste Daroussin 231998e903e7SBaptiste Daroussin * skeleton.c: adapt yygrowstack() and related definitions from FreeBSD 232098e903e7SBaptiste Daroussin 232198e903e7SBaptiste Daroussin * test/run_test.sh: 232298e903e7SBaptiste Daroussin filter out lines with YYPATCH, since that will change with each update 232398e903e7SBaptiste Daroussin 232498e903e7SBaptiste Daroussin * yacc.1: add -V option 232598e903e7SBaptiste Daroussin 232698e903e7SBaptiste Daroussin * main.c: add -V option to print the version. 232798e903e7SBaptiste Daroussin simplify option-parsing by moving the duplicate logic for setting flags into 232898e903e7SBaptiste Daroussin new function setflag(). 232998e903e7SBaptiste Daroussin 233098e903e7SBaptiste Daroussin * skeleton.c: 233198e903e7SBaptiste Daroussin move the actual definition of YYMAJOR and YYMINOR to defs.h (as numbers). 233298e903e7SBaptiste Daroussin add YYPATCH here so it can be tested by applications. 233398e903e7SBaptiste Daroussin 233498e903e7SBaptiste Daroussin * defs.h: 233598e903e7SBaptiste Daroussin add macros to define VERSION in terms of the (numeric) YYMAJOR, YYMINOR and 233698e903e7SBaptiste Daroussin YYPATCH symbols. 233798e903e7SBaptiste Daroussin 233898e903e7SBaptiste 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: 233998e903e7SBaptiste Daroussin reduce externs by making static the procedures that are not referenced outside 234098e903e7SBaptiste Daroussin the module in which they are defined. 234198e903e7SBaptiste Daroussin 234298e903e7SBaptiste Daroussin * makefile.in: 234398e903e7SBaptiste Daroussin the VERSION file holds the patch-date. Define YYPATCH, so this will be 234498e903e7SBaptiste Daroussin compiled into the skeleton. 234598e903e7SBaptiste Daroussin 234698e903e7SBaptiste Daroussin * VERSION: patch-level for byacc 234798e903e7SBaptiste Daroussin 234898e903e7SBaptiste Daroussin * main.c: 234998e903e7SBaptiste Daroussin add "-o" to usage message. It is too long for a single line; rewrite usage() 235098e903e7SBaptiste Daroussin to show one option per line. 235198e903e7SBaptiste Daroussin 2352*2aca18c7SJung-uk Kim2005-05-03 Thomas E. Dickey <dickey@invisible-island.net> 235398e903e7SBaptiste Daroussin 235498e903e7SBaptiste Daroussin * main.c: add -o option, to work with scripts that assume bison. 235598e903e7SBaptiste Daroussin simplify create_file_names() with a macro. 235698e903e7SBaptiste Daroussin simplify done() with a macro. 235798e903e7SBaptiste Daroussin adapt fix from FreeBSD for signal race, e.g., if done() is interrupted by 235898e903e7SBaptiste Daroussin onintr(), do not flush output via exit(), but use _exit() instead. 235998e903e7SBaptiste Daroussin 236098e903e7SBaptiste Daroussin * defs.h: remove unnecessary externs for main.c 236198e903e7SBaptiste Daroussin 236298e903e7SBaptiste Daroussin * yacc.1: add -o option 236398e903e7SBaptiste Daroussin 236498e903e7SBaptiste Daroussin * graph.c: remove unused parameter 236598e903e7SBaptiste Daroussin 236698e903e7SBaptiste Daroussin * mkpar.c, defs.h, reader.c: 236798e903e7SBaptiste Daroussin add support for "%expect", a bison feature from FreeBSD sources 236898e903e7SBaptiste Daroussin 236998e903e7SBaptiste 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: 237098e903e7SBaptiste Daroussin indent'd 237198e903e7SBaptiste Daroussin 237298e903e7SBaptiste Daroussin * configure: regenerated for 2005/5/5 237398e903e7SBaptiste Daroussin 237498e903e7SBaptiste Daroussin * aclocal.m4: miscellaneous updates (adds CF_INTEL_COMPILER) 237598e903e7SBaptiste Daroussin 237698e903e7SBaptiste Daroussin2005-04-27 schmitz 237798e903e7SBaptiste Daroussin 237898e903e7SBaptiste Daroussin * defs.h, graph.c, lr0.c, main.c, makefile.in, reader.c, yacc.1: 237998e903e7SBaptiste Daroussin Sylvain Schmitz <schmitz@i3s.unice.fr>: 238098e903e7SBaptiste Daroussin add graphical output of the LALR(1) automaton for graphviz, 238198e903e7SBaptiste Daroussin associated with command-line option `-g' 238298e903e7SBaptiste Daroussin 2383*2aca18c7SJung-uk Kim2005-04-16 Thomas E. Dickey <dickey@invisible-island.net> 238498e903e7SBaptiste Daroussin 23857dde5df4SBaptiste Daroussin * config.sub: update to 2005/2/10 238698e903e7SBaptiste Daroussin 23877dde5df4SBaptiste Daroussin * config.guess: update to 2005/3/24 238898e903e7SBaptiste Daroussin 2389*2aca18c7SJung-uk Kim2005-04-13 Thomas E. Dickey <dickey@invisible-island.net> 239098e903e7SBaptiste Daroussin 239198e903e7SBaptiste Daroussin * package/pkgsrc/PLIST: scripts from NetBSD pkgsrc, for test-builds 239298e903e7SBaptiste Daroussin 2393*2aca18c7SJung-uk Kim2005-03-21 Thomas E. Dickey <dickey@invisible-island.net> 239498e903e7SBaptiste Daroussin 239598e903e7SBaptiste Daroussin * package/pkgsrc/DESCR: scripts from NetBSD pkgsrc, for test-builds 239698e903e7SBaptiste Daroussin 2397*2aca18c7SJung-uk Kim2004-03-28 Thomas E. Dickey <dickey@invisible-island.net> 239898e903e7SBaptiste Daroussin 239998e903e7SBaptiste Daroussin * test/calc.tab.c, test/error.tab.c, test/ftp.tab.c, test/grammar.tab.c: 240098e903e7SBaptiste Daroussin updates due to adding yyparse() prototype 240198e903e7SBaptiste Daroussin 240298e903e7SBaptiste Daroussin * configure: RCS_BASE 240398e903e7SBaptiste Daroussin 240498e903e7SBaptiste Daroussin * configure.in: 240598e903e7SBaptiste Daroussin add AC_ARG_PROGRAM to make --program-prefix, etc., work. 240698e903e7SBaptiste Daroussin 240798e903e7SBaptiste Daroussin * makefile.in: first cut of script to support --program-prefix 240898e903e7SBaptiste Daroussin 240998e903e7SBaptiste Daroussin * configure.in: 241098e903e7SBaptiste Daroussin reorder AC_INIT/AC_CONFIG_HEADER to make this "work" with autoconf 2.52 241198e903e7SBaptiste Daroussin 241298e903e7SBaptiste Daroussin * makefile.in: modify so DESTDIR works 241398e903e7SBaptiste Daroussin 241498e903e7SBaptiste Daroussin * makefile.in: use EXEEXT and OBJEXT 241598e903e7SBaptiste Daroussin 241698e903e7SBaptiste Daroussin * configure.in: use CF_PROG_EXT 241798e903e7SBaptiste Daroussin generate a config.h 241898e903e7SBaptiste Daroussin 241998e903e7SBaptiste Daroussin * defs.h: make this use the generated config.h 242098e903e7SBaptiste Daroussin 242198e903e7SBaptiste Daroussin * skeleton.c: add a forward-reference for yyparse() 242298e903e7SBaptiste Daroussin 242398e903e7SBaptiste Daroussin * aclocal.m4: add CF_CHECK_CACHE, needed for CF_PROG_EXT 242498e903e7SBaptiste Daroussin 242598e903e7SBaptiste Daroussin * yacc.1: remove the discussion of TMPDIR since it is obsolete 242698e903e7SBaptiste Daroussin 242798e903e7SBaptiste Daroussin * skeleton.c: fix a couple of minor compiler-warnings in the skeleton 242898e903e7SBaptiste Daroussin 242998e903e7SBaptiste Daroussin * defs.h: remove action_file_name, etc., since we use tmpfile() now. 243098e903e7SBaptiste Daroussin 243198e903e7SBaptiste Daroussin * main.c: 243298e903e7SBaptiste Daroussin use tmpfile() for opening the working files. This quiets a warning 243398e903e7SBaptiste Daroussin advising the use of mkstemp(). 243498e903e7SBaptiste Daroussin 243598e903e7SBaptiste Daroussin * output.c: 243698e903e7SBaptiste Daroussin Do not close temporary-files here, since they are opened with tmpfile(). 243798e903e7SBaptiste Daroussin Just rewind them, and they're ready to read back the data stored in them. 243898e903e7SBaptiste Daroussin 243998e903e7SBaptiste Daroussin * test/grammar.output, test/grammar.tab.c, test/grammar.tab.h: RCS_BASE 244098e903e7SBaptiste Daroussin 24410c8de5b0SBaptiste Daroussin * test/yacc/grammar.output, test/yacc/grammar.tab.h: 24420c8de5b0SBaptiste Daroussin reference output for testing 24430c8de5b0SBaptiste Daroussin 244498e903e7SBaptiste Daroussin * makefile.in: turn on "make check" rule 244598e903e7SBaptiste Daroussin 24460c8de5b0SBaptiste Daroussin * test/calc.output: RCS_BASE 24470c8de5b0SBaptiste Daroussin 24480c8de5b0SBaptiste Daroussin * test/yacc/calc.output: reference output for testing 24490c8de5b0SBaptiste Daroussin 24500c8de5b0SBaptiste Daroussin * test/run_test.sh, test/calc.tab.h: RCS_BASE 24510c8de5b0SBaptiste Daroussin 24520c8de5b0SBaptiste Daroussin * test/yacc/calc.tab.h: reference output for testing 245398e903e7SBaptiste Daroussin 245498e903e7SBaptiste Daroussin * test/ftp.tab.c: yyparse() is now yyparse(void) 245598e903e7SBaptiste Daroussin 245698e903e7SBaptiste Daroussin * test/calc.tab.c: RCS_BASE 245798e903e7SBaptiste Daroussin 245898e903e7SBaptiste Daroussin * test/error.tab.c: yyparse() is now yyparse(void) 245998e903e7SBaptiste Daroussin 246098e903e7SBaptiste Daroussin * test/README: RCS_BASE 246198e903e7SBaptiste Daroussin 246298e903e7SBaptiste Daroussin * yacc.1: various typography fixes prompted by Debian #100947 246398e903e7SBaptiste Daroussin 246498e903e7SBaptiste Daroussin * aclocal.m4, makefile.in, configure.in: RCS_BASE 246598e903e7SBaptiste Daroussin 246698e903e7SBaptiste Daroussin * README: updated to note that this is not the original 246798e903e7SBaptiste Daroussin 2468*2aca18c7SJung-uk Kim2004-03-24 Thomas E. Dickey <dickey@invisible-island.net> 246998e903e7SBaptiste Daroussin 247098e903e7SBaptiste Daroussin * test/grammar.y: RCS_BASE 247198e903e7SBaptiste Daroussin 2472*2aca18c7SJung-uk Kim2004-02-23 Thomas E. Dickey <dickey@invisible-island.net> 247398e903e7SBaptiste Daroussin 247498e903e7SBaptiste Daroussin * config.sub: RCS_BASE 247598e903e7SBaptiste Daroussin 2476*2aca18c7SJung-uk Kim2004-02-17 Thomas E. Dickey <dickey@invisible-island.net> 247798e903e7SBaptiste Daroussin 247898e903e7SBaptiste Daroussin * config.guess: RCS_BASE 247998e903e7SBaptiste Daroussin 2480*2aca18c7SJung-uk Kim2003-11-29 Thomas E. Dickey <dickey@invisible-island.net> 248198e903e7SBaptiste Daroussin 248298e903e7SBaptiste Daroussin * install-sh: improved quoting 248398e903e7SBaptiste Daroussin 2484*2aca18c7SJung-uk Kim2002-06-29 Thomas E. Dickey <dickey@invisible-island.net> 248598e903e7SBaptiste Daroussin 248698e903e7SBaptiste Daroussin * mkdirs.sh: 248798e903e7SBaptiste Daroussin don't use character range, since some locales don't work as expected 248898e903e7SBaptiste Daroussin 2489*2aca18c7SJung-uk Kim2001-06-22 Thomas E. Dickey <dickey@clark.net> 249098e903e7SBaptiste Daroussin 249198e903e7SBaptiste Daroussin * install-sh: RCS_BASE 249298e903e7SBaptiste Daroussin 2493*2aca18c7SJung-uk Kim2000-11-20 Thomas E. Dickey <dickey@clark.net> 249498e903e7SBaptiste Daroussin 249598e903e7SBaptiste Daroussin * test/calc.y: RCS_BASE 249698e903e7SBaptiste Daroussin 249798e903e7SBaptiste Daroussin * test/code_calc.y, test/pure_calc.y: copy of calc.y 249898e903e7SBaptiste Daroussin 249998e903e7SBaptiste Daroussin * vmsbuild.com: original version 250098e903e7SBaptiste Daroussin 2501*2aca18c7SJung-uk Kim2000-02-23 dickey@clark.net 250298e903e7SBaptiste Daroussin 250398e903e7SBaptiste Daroussin * test/RCS, RCS: PERMIT FILE 250498e903e7SBaptiste Daroussin 2505*2aca18c7SJung-uk Kim2000-02-14 Thomas E. Dickey <dickey@clark.net> 250698e903e7SBaptiste Daroussin 250798e903e7SBaptiste Daroussin * main.c: fix for VMS port - making pathname for temp-file 250898e903e7SBaptiste Daroussin 250998e903e7SBaptiste Daroussin * descrip.mms: original version 251098e903e7SBaptiste Daroussin 2511*2aca18c7SJung-uk Kim2000-02-13 Thomas E. Dickey <dickey@clark.net> 251298e903e7SBaptiste Daroussin 251398e903e7SBaptiste 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: 251498e903e7SBaptiste Daroussin ansify 251598e903e7SBaptiste Daroussin 2516*2aca18c7SJung-uk Kim1999-11-30 Thomas E. Dickey <dickey@clark.net> 251798e903e7SBaptiste Daroussin 251898e903e7SBaptiste Daroussin * mkdirs.sh: RCS_BASE 251998e903e7SBaptiste Daroussin 2520*2aca18c7SJung-uk Kim1995-01-01 Thomas E. Dickey <dickey@clark.net> 252198e903e7SBaptiste Daroussin 252298e903e7SBaptiste Daroussin * config_h.in: RCS_BASE 252398e903e7SBaptiste Daroussin 252498e903e7SBaptiste Daroussin1993-12-23 unknown 252598e903e7SBaptiste Daroussin 252698e903e7SBaptiste Daroussin * README.DOS, main.c: MSDOS-port 252798e903e7SBaptiste Daroussin 252898e903e7SBaptiste Daroussin1993-12-22 unknown 252998e903e7SBaptiste Daroussin 253098e903e7SBaptiste Daroussin * reader.c, defs.h: MSDOS-port 253198e903e7SBaptiste Daroussin 253298e903e7SBaptiste Daroussin1993-03-02 unknown 253398e903e7SBaptiste Daroussin 253498e903e7SBaptiste Daroussin * README: original version 253598e903e7SBaptiste Daroussin 253698e903e7SBaptiste Daroussin1993-02-22 unknown 253798e903e7SBaptiste Daroussin 25380c8de5b0SBaptiste Daroussin * test/ftp.output, test/ftp.tab.c, test/ftp.tab.h: RCS_BASE 25390c8de5b0SBaptiste Daroussin 2540*2aca18c7SJung-uk Kim1993-02-22 Thomas E. Dickey <dickey@software.org> 25410c8de5b0SBaptiste Daroussin 25420c8de5b0SBaptiste Daroussin * test/yacc/error.output, test/yacc/error.tab.h: 25430c8de5b0SBaptiste Daroussin reference output for testing 25440c8de5b0SBaptiste Daroussin 25450c8de5b0SBaptiste Daroussin1993-02-22 unknown 25460c8de5b0SBaptiste Daroussin 25470c8de5b0SBaptiste Daroussin * test/error.output, test/error.tab.c, test/error.tab.h: RCS_BASE 254898e903e7SBaptiste Daroussin 254998e903e7SBaptiste Daroussin * skeleton.c, warshall.c, main.c, output.c, reader.c, closure.c, NOTES: 255098e903e7SBaptiste Daroussin original version 255198e903e7SBaptiste Daroussin 255298e903e7SBaptiste Daroussin1992-10-12 unknown 255398e903e7SBaptiste Daroussin 255498e903e7SBaptiste Daroussin * yacc.1: original version 255598e903e7SBaptiste Daroussin 255698e903e7SBaptiste Daroussin1992-10-11 unknown 255798e903e7SBaptiste Daroussin 255898e903e7SBaptiste Daroussin * defs.h: original version 255998e903e7SBaptiste Daroussin 256098e903e7SBaptiste Daroussin1991-01-20 unknown 256198e903e7SBaptiste Daroussin 256298e903e7SBaptiste Daroussin * mkpar.c, verbose.c: original version 256398e903e7SBaptiste Daroussin 256498e903e7SBaptiste Daroussin1991-01-14 unknown 256598e903e7SBaptiste Daroussin 256698e903e7SBaptiste Daroussin * lr0.c, Makefile, Makefile.old: original version 256798e903e7SBaptiste Daroussin 256898e903e7SBaptiste Daroussin1990-07-16 unknown 256998e903e7SBaptiste Daroussin 257098e903e7SBaptiste Daroussin * NEW_FEATURES: original version 257198e903e7SBaptiste Daroussin 257298e903e7SBaptiste Daroussin1990-06-03 unknown 257398e903e7SBaptiste Daroussin 257498e903e7SBaptiste Daroussin * ACKNOWLEDGEMENTS: original version 257598e903e7SBaptiste Daroussin 257698e903e7SBaptiste Daroussin1990-02-05 unknown 257798e903e7SBaptiste Daroussin 257898e903e7SBaptiste Daroussin * symtab.c, lalr.c, error.c: original version 257998e903e7SBaptiste Daroussin 2580*2aca18c7SJung-uk Kim1990-01-16 Thomas E. Dickey <dickey@software.org> 258198e903e7SBaptiste Daroussin 258298e903e7SBaptiste Daroussin * test/code_error.y, test/pure_error.y: RCS_BASE 258398e903e7SBaptiste Daroussin 258498e903e7SBaptiste Daroussin1990-01-16 unknown 258598e903e7SBaptiste Daroussin 258698e903e7SBaptiste Daroussin * test/error.y: RCS_BASE 258798e903e7SBaptiste Daroussin 258898e903e7SBaptiste Daroussin1989-11-22 unknown 258998e903e7SBaptiste Daroussin 259098e903e7SBaptiste Daroussin * NO_WARRANTY: original version 259198e903e7SBaptiste Daroussin 259298e903e7SBaptiste Daroussin1989-09-23 unknown 259398e903e7SBaptiste Daroussin 259498e903e7SBaptiste Daroussin * test/ftp.y: RCS_BASE 259598e903e7SBaptiste Daroussin 2596