Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Import byacc 20141128

  • Loading branch information...
commit 1cf60d3863422f4adc3d79f16119d8e8ee627a19 1 parent 367dc4b
christos authored
Showing with 31,450 additions and 1,473 deletions.
  1. +1,053 −20 external/bsd/byacc/dist/CHANGES
  2. +667 −0 external/bsd/byacc/dist/MANIFEST
  3. +617 −0 external/bsd/byacc/dist/README.BTYACC
  4. +1 −1  external/bsd/byacc/dist/VERSION
  5. +95 −20 external/bsd/byacc/dist/aclocal.m4
  6. +1,248 −0 external/bsd/byacc/dist/btyaccpar.c
  7. +1,125 −0 external/bsd/byacc/dist/btyaccpar.skel
  8. +19 −11 external/bsd/byacc/dist/closure.c
  9. +98 −209 external/bsd/byacc/dist/config.guess
  10. +27 −14 external/bsd/byacc/dist/config.sub
  11. +9 −0 external/bsd/byacc/dist/config_h.in
  12. +890 −383 external/bsd/byacc/dist/configure
  13. +37 −2 external/bsd/byacc/dist/configure.in
  14. +124 −32 external/bsd/byacc/dist/defs.h
  15. +19 −3 external/bsd/byacc/dist/descrip.mms
  16. +118 −4 external/bsd/byacc/dist/error.c
  17. +5 −5 external/bsd/byacc/dist/graph.c
  18. +11 −6 external/bsd/byacc/dist/lalr.c
  19. +47 −41 external/bsd/byacc/dist/lr0.c
  20. +65 −20 external/bsd/byacc/dist/main.c
  21. +27 −35 external/bsd/byacc/dist/makefile.in
  22. +24 −5 external/bsd/byacc/dist/mkpar.c
  23. +209 −0 external/bsd/byacc/dist/mstring.c
  24. +659 −119 external/bsd/byacc/dist/output.c
  25. +2 −2 external/bsd/byacc/dist/package/byacc.spec
  26. +55 −0 external/bsd/byacc/dist/package/debian/changelog
  27. +1 −1  external/bsd/byacc/dist/package/debian/source/format
  28. +60 −0 external/bsd/byacc/dist/package/mingw-byacc.spec
  29. +1 −1  external/bsd/byacc/dist/package/pkgsrc/Makefile
  30. +1,779 −537 external/bsd/byacc/dist/reader.c
  31. +112 −0 external/bsd/byacc/dist/skel2c
  32. +8 −2 external/bsd/byacc/dist/symtab.c
  33. 0  external/bsd/byacc/dist/test/btyacc/big_b.error
  34. +18 −0 external/bsd/byacc/dist/test/btyacc/big_b.output
  35. 0  external/bsd/byacc/dist/test/btyacc/big_l.error
  36. +18 −0 external/bsd/byacc/dist/test/btyacc/big_l.output
  37. +1 −0  external/bsd/byacc/dist/test/btyacc/btyacc_calc1.error
  38. +949 −0 external/bsd/byacc/dist/test/btyacc/btyacc_calc1.output
  39. +1,753 −0 external/bsd/byacc/dist/test/btyacc/btyacc_calc1.tab.c
  40. +25 −0 external/bsd/byacc/dist/test/btyacc/btyacc_calc1.tab.h
  41. +1 −0  external/bsd/byacc/dist/test/btyacc/btyacc_demo.error
  42. +1,360 −0 external/bsd/byacc/dist/test/btyacc/btyacc_demo.output
  43. +2,358 −0 external/bsd/byacc/dist/test/btyacc/btyacc_demo.tab.c
  44. +38 −0 external/bsd/byacc/dist/test/btyacc/btyacc_demo.tab.h
  45. +1 −0  external/bsd/byacc/dist/test/btyacc/btyacc_demo2.error
  46. 0  external/bsd/byacc/dist/test/btyacc/btyacc_demo2.output
  47. +17 −0 external/bsd/byacc/dist/test/btyacc/btyacc_demo2.tab.c
  48. +2 −0  external/bsd/byacc/dist/test/btyacc/btyacc_demo2.tab.h
  49. 0  external/bsd/byacc/dist/test/btyacc/btyacc_destroy1.error
  50. +247 −0 external/bsd/byacc/dist/test/btyacc/btyacc_destroy1.output
  51. +1,453 −0 external/bsd/byacc/dist/test/btyacc/btyacc_destroy1.tab.c
  52. +27 −0 external/bsd/byacc/dist/test/btyacc/btyacc_destroy1.tab.h
  53. 0  external/bsd/byacc/dist/test/btyacc/btyacc_destroy2.error
  54. +247 −0 external/bsd/byacc/dist/test/btyacc/btyacc_destroy2.output
  55. +1,453 −0 external/bsd/byacc/dist/test/btyacc/btyacc_destroy2.tab.c
  56. +27 −0 external/bsd/byacc/dist/test/btyacc/btyacc_destroy2.tab.h
  57. 0  external/bsd/byacc/dist/test/btyacc/btyacc_destroy3.error
  58. +247 −0 external/bsd/byacc/dist/test/btyacc/btyacc_destroy3.output
  59. +1,453 −0 external/bsd/byacc/dist/test/btyacc/btyacc_destroy3.tab.c
  60. +27 −0 external/bsd/byacc/dist/test/btyacc/btyacc_destroy3.tab.h
  61. 0  external/bsd/byacc/dist/test/btyacc/calc.error
  62. +485 −0 external/bsd/byacc/dist/test/btyacc/calc.output
  63. +1,459 −0 external/bsd/byacc/dist/test/btyacc/calc.tab.c
  64. +10 −0 external/bsd/byacc/dist/test/btyacc/calc.tab.h
  65. +2 −0  external/bsd/byacc/dist/test/btyacc/calc1.error
  66. +900 −0 external/bsd/byacc/dist/test/btyacc/calc1.output
  67. +1,706 −0 external/bsd/byacc/dist/test/btyacc/calc1.tab.c
  68. +25 −0 external/bsd/byacc/dist/test/btyacc/calc1.tab.h
  69. 0  external/bsd/byacc/dist/test/btyacc/calc2.error
  70. +485 −0 external/bsd/byacc/dist/test/btyacc/calc2.output
  71. +1,472 −0 external/bsd/byacc/dist/test/btyacc/calc2.tab.c
  72. +10 −0 external/bsd/byacc/dist/test/btyacc/calc2.tab.h
  73. 0  external/bsd/byacc/dist/test/btyacc/calc3.error
  74. +485 −0 external/bsd/byacc/dist/test/btyacc/calc3.output
  75. +1,477 −0 external/bsd/byacc/dist/test/btyacc/calc3.tab.c
  76. +10 −0 external/bsd/byacc/dist/test/btyacc/calc3.tab.h
  77. +1,330 −0 external/bsd/byacc/dist/test/btyacc/code_calc.code.c
  78. 0  external/bsd/byacc/dist/test/btyacc/code_calc.error
  79. +485 −0 external/bsd/byacc/dist/test/btyacc/code_calc.output
  80. +165 −0 external/bsd/byacc/dist/test/btyacc/code_calc.tab.c
  81. +10 −0 external/bsd/byacc/dist/test/btyacc/code_calc.tab.h
Sorry, we could not display the entire diff because too many files (641) changed.
View
1,073 external/bsd/byacc/dist/CHANGES
@@ -1,3 +1,966 @@
+2014-11-28 Thomas E. Dickey <tom@invisible-island.net>
+
+ * lr0.c: coverity #39181: memory leak
+
+ * VERSION, package/byacc.spec, package/debian/changelog, package/mingw-byacc.spec, package/pkgsrc/Makefile:
+ bump
+
+2014-11-13 Jouk.Jansen
+
+ * descrip.mms:
+ I sucessfully compiled byacc on my OpenVMS systems. However, I had to update
+ the descrip.mms to include some extra c-source files and some dependenxcies
+ so that it also works when the distribution is located on an ODS5 disk.
+
+ The patched descrip.mms file can be found at:
+ http://nchrem.tnw.tudelft.nl/openvms/software2.html#BYACC
+
+ Please feel free to insert the file in your distribution.
+
+ Regards
+ Jouk.
+
+2014-10-06 Thomas E. Dickey <tom@invisible-island.net>
+
+ * package/debian/source/format:
+ change to native format to work around regression in Debian packaging.
+
+ * VERSION, package/byacc.spec, package/debian/changelog, package/mingw-byacc.spec, package/pkgsrc/Makefile:
+ bump
+
+ * configure: regen
+
+ * main.c:
+ correct parameter for umask - for very old mkstemp's - and use type mode_t
+ to quiet compiler warning
+
+ * configure.in: add configure check for mode_t
+
+ * reader.c:
+ better fix for get_line, by ensuring there is enough space to null-terminate
+ its result (prompted by discussion with Craig Rodrigues).
+
+2014-10-05 Thomas E. Dickey <tom@invisible-island.net>
+
+ * main.c:
+ make change to umask before calling mkstemp, as suggested in Coverity #56902
+
+ * reader.c:
+ adjust logic in copy_action to avoid potential null-pointer dereference
+ (Coverity #56901)
+
+ * reader.c:
+ adjust logic to avoid potential null-pointer dereference in compile_args
+ (Coverity #63407)
+
+ * reader.c: eliminate strcpy into fixed-size buffer (Coverity #63408)
+
+ * yacc.1: document changes made with respect to %parse-param
+
+ * output.c:
+ add parameters from %parse-param to destructor. The order of the parameters
+ is intentionally inconsistent with yyparse/yyerror, for "compatibility" with
+ bison.
+
+ * test/btyacc/btyacc_destroy1.tab.c, test/btyacc/btyacc_destroy2.tab.c, test/btyacc/btyacc_destroy3.tab.c:
+ regen
+
+ * output.c:
+ use puts_param_types/puts_param_names to output lex_param data.
+
+ * 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:
+ regen
+
+ * btyaccpar.c: add casts, change types to fix strict compiler warnings
+
+ * 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:
+ regen
+
+ * output.c: gcc-warning
+
+ * test/btyacc/code_calc.tab.c, test/btyacc/code_error.tab.c: regen
+
+ * output.c: fix limit when merging real/workaround tables
+
+ * output.c:
+ for btyacc, it is possible to have no conflicts - but in that case, the
+ "ctable" was not generated at all, while the skeleton uses the table.
+ The most straightforward (workaround) is generating a dummy table which
+ rejects any state.
+
+ * test/btyacc_destroy3.y, test/btyacc_destroy2.y, test/btyacc_destroy1.y:
+ fix "make check_make"
+
+ * 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:
+ regen
+
+ * reader.c:
+ trim blanks from interim value in copy_param() to handle special case when
+ a space precedes a comma.
+
+ * output.c:
+ use two new functions, puts_param_types and puts_param_names, to improve
+ format of the parse_param list (by trimming space after "*") as well as
+ correcting the output of the comma-separated names (only the last name
+ was output).
+
+ * test/btyacc/ok_syntax1.tab.c, test/btyacc/btyacc_destroy3.tab.c, test/btyacc/calc2.tab.c, test/btyacc/calc3.tab.c:
+ regen
+
+ * reader.c:
+ modify copy_param() to handle resulting comma-separated list. Before, it
+ only expected a single parameter.
+
+2014-10-04 Thomas E. Dickey <tom@invisible-island.net>
+
+ * reader.c: split-out save_param() from copy_param()
+
+ * reader.c: trim_blanks() did not always convert spaces - fix.
+
+ * reader.c: fix some minor regressions with error-reporting
+
+ * aclocal.m4: update CF_XOPEN_SOURCE for Unixware change from lynx
+
+ * VERSION, package/byacc.spec, package/debian/changelog, package/mingw-byacc.spec, package/pkgsrc/Makefile:
+ bump
+
+ * reader.c:
+ modify copy_param() to accept multiple parameters, each in curly braces like
+ recent bison, as well as honoring bison's undocumented feature to accept the
+ parameters as a comma-separated list.
+
+ * 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:
+ RCS_BASE
+
+2014-10-03 Thomas E. Dickey <tom@invisible-island.net>
+
+ * 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:
+ RCS_BASE
+
+2014-10-02 Thomas E. Dickey <tom@invisible-island.net>
+
+ * main.c, reader.c, defs.h:
+ use calloc in get_line() when allocating line to ensure it is fully initialized,
+ fixes a later uninitialized value in copy_param() (FreeBSD #193499).
+
+2014-09-17 Thomas E. Dickey <tom@invisible-island.net>
+
+ * closure.c, lalr.c, output.c, defs.h:
+ rephrase odd addressing to fix Coverity #48848, #38950, #38860, not actually
+ a bug.
+
+2014-09-01 Thomas E. Dickey <tom@invisible-island.net>
+
+ * config.sub: update to 2014-07-28
+
+2014-07-27 Thomas E. Dickey <tom@invisible-island.net>
+
+ * configure: regen
+
+ * aclocal.m4: modified to support port to Minix3.2
+
+ * package/pkgsrc/Makefile, VERSION, package/byacc.spec, package/debian/changelog, package/mingw-byacc.spec:
+ bump
+
+2014-07-15 Thomas E. Dickey <tom@invisible-island.net>
+
+ * aclocal.m4: resync with my-autoconf (no change to configure script)
+
+ * VERSION, package/byacc.spec, package/debian/changelog, package/mingw-byacc.spec, package/pkgsrc/Makefile:
+ bump
+
+ * test/run_test.sh:
+ make top-level "make check" work again, by adding another step to filtering
+ the test results.
+
+2014-07-14 Thomas E. Dickey <tom@invisible-island.net>
+
+ * test/run_test.sh: changes from Garrett Cooper's patch:
+ a) ensure that the script returns an error-code if there are differences
+ b) escape "." character in left side of sed expression for $YACC
+ c) ensure that $ifBTYACC has a value
+
+ * 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:
+ regen (reminder by Garrett Cooper)
+
+2014-07-14 Garrett.Cooper
+
+ * 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:
+ regen
+
+2014-05-27 Tom.Shields
+
+ * main.c: remove obsolete -D option from usage message
+
+2014-05-27 Thomas E. Dickey <tom@invisible-island.net>
+
+ * 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:
+ bump
+
+2014-04-22 Thomas E. Dickey <tom@invisible-island.net>
+
+ * mstring.c:
+ use vsnprintf() to ensure that msprintf's buffer is large enough.
+
+ * main.c, defs.h: add mstring_leaks()
+
+ * configure: regen
+
+ * output.c: fix a complementary warning
+
+ * mstring.c: introduce vsnprintf
+
+ * configure.in, config_h.in: add check for vsnprintf
+
+ * output.c: quiet a type-conversion warning
+
+ * mstring.c: fix a potential memory leak on ENOMEM
+ quiet a couple of type-conversion warnings
+
+ * defs.h: add/use GCC_PRINTFLIKE for msprintf()
+
+2014-04-22 Tom.Shields
+
+ * README.BTYACC:
+ drop "NOTES-btyacc-Changes" and "NOTES-btyacc-Disposition", merging relevant
+ content into README.BTYACC
+
+2014-04-22 Thomas E. Dickey <tom@invisible-island.net>
+
+ * package/pkgsrc/Makefile, VERSION, package/byacc.spec, package/debian/changelog, package/mingw-byacc.spec:
+ bump
+
+2014-04-19 Thomas E. Dickey <tom@invisible-island.net>
+
+ * config.sub: 2014-04-03
+
+ * config.guess: 2014-03-23
+
+2014-04-09 Rick.Spates
+
+ * main.c, defs.h: patch to allow DEBUG build with WIN32 system
+
+2014-04-09 Thomas E. Dickey <tom@invisible-island.net>
+
+ * output.c, reader.c: gcc warnings
+
+ * reader.c: fix const-cast warnings
+
+ * 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:
+ fix a few clang --analyze warnings; one was a case where output_ctable emitted
+ an empty table (which should be an error).
+
+ * reader.c: appease clang --analyze
+
+ * defs.h: mark two functions as no-return.
+
+ * package/debian/changelog: reason for release
+
+ * VERSION, package/byacc.spec, package/debian/changelog, package/mingw-byacc.spec, package/pkgsrc/Makefile:
+ bump
+
+ * makefile.in: use $LINT_OPTS from environment via configure script
+
+ * 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:
+ tweaks to make generated files from ok_syntax1.y compile with check_make rule
+
+ * 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:
+ reference output for testing
+
+ * test/run_test.sh:
+ retain the renaming done for code_debug.y so that check_make will work.
+
+ * test/yacc/rename_debug.error, test/yacc/rename_debug.h, test/yacc/rename_debug.i, test/yacc/rename_debug.output:
+ reference output for testing
+
+ * test/btyacc/ok_syntax1.error: RCS_BASE
+
+ * 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:
+ regen
+
+ * yacc.1:
+ clarify relationship of btyacc features to default configuration.
+
+2014-04-08 Thomas E. Dickey <tom@invisible-island.net>
+
+ * 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:
+ reference output for testing
+
+ * test/ok_syntax1.y: RCS_BASE
+
+ * test/yacc/ok_syntax1.error: reference output for testing
+
+ * 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:
+ exercise -L/-B options
+
+ * 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:
+ use a better renaming of the YYPATCH definition (none of the test-cases rely
+ upon it, but redefinition in the "make check_make" rule is a problem).
+
+ * 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:
+ undid temporary reordering in reader() by Tom Shields to align with byacc outputs
+
+ * test/run_test.sh: remove a repeated test-case
+
+ * mstring.c: minor reformatting to make coverage analysis simpler
+
+2014-04-07 Thomas E. Dickey <tom@invisible-island.net>
+
+ * test/run_test.sh: tidy
+
+ * 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:
+ reference output for testing
+
+ * test/run_test.sh:
+ add special checks for flags which depend on writable/existing files
+
+ * 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:
+ reference output for testing
+
+ * main.c:
+ change CREATE_FILE_NAMES() to use local function rather than inline code,
+ to simplify coverage analysis.
+
+ * 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:
+ reference output for testing
+
+ * test/err_syntax27.y: testcase for missing_brace()
+
+ * error.c: ifdef'd non-btyacc function
+
+ * lr0.c: ifdef'd debug-code
+
+ * yaccpar.skel: use YYINT's to replace short's as in btyaccpar.skel
+
+ * 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:
+ 2010/11/26 simplification of output.c using putc_code() and putl_code()
+ omitted an adjustment of the #line value used for code-file. Fix that.
+ Also, amend 2005/05/04 change to run_test.sh to retain a dummy line for
+ YYPATCH #define's to make test-outputs easier to compare #line's (report
+ by Tom Shields)
+
+2014-04-06 Thomas E. Dickey <tom@invisible-island.net>
+
+ * reader.c: fix for valgrind
+ (the calloc's are intentional - valgrind reported use of uninitialized memory)
+
+ * lr0.c, output.c: fix for valgrind
+
+ * 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:
+ RCS_BASE
+
+ * test/yacc/code_debug.c, test/yacc/code_debug.h:
+ exercise the -i option
+
+ * test/yacc/code_debug.i: reference output for testing
+
+ * test/run_test.sh: exercise the -i option
+
+ * test/yacc/code_debug.c: reference output for testing
+
+ * test/run_test.sh: exercise the "-o" option
+
+ * test/yacc/code_debug.error, test/yacc/code_debug.h, test/yacc/code_debug.output:
+ reference output for testing
+
+ * output.c: don't call exit() without giving a chance to cleanup.
+
+ * mstring.c: ifdef'd functions not used in byacc
+
+ * btyaccpar.c: generated from btyaccpar.skel
+
+ * yaccpar.c: generated from yaccpar.skel
+
+ * skel2c:
+ change the generated-by comment to show which version of this script (and
+ which version of the given skeleton file) were used to produce the C-file.
+
+ * configure: regen
+
+ * makefile.in:
+ add rules to generate byacc and btyacc parser skeleton files independently
+
+ * aclocal.m4: CF_PROG_AWK - add to byacc's configure script
+ CF_INTEL_COMPILER
+ cleanup the -no-gcc option which was leftover from testing - prcs does
+ not build with this option.
+ CF_MAKE_DOCS
+ protect $2 from substitution, for luit's "$(manext)"
+ CF_XOPEN_SOURCE
+ for Solaris (tested with gcc/g++ 3.4.3 on Solaris 10 and gcc/g++ 4.5.2
+ on Solaris 11), suppress the followup check for defining _XOPEN_SOURCE
+ because it is not needed, as well as because g++ 4.7.3 (no package,
+ used in Sage for Solaris 10) has some unspecified header breakage which
+ is triggered by the duplicate definition.
+
+ * configure.in:
+ modify so skeleton-source is determined by configure options rather than by
+ having developer rename yaccpar.skel.old to yaccpar.skel
+
+ * descrip.mms: rename skeleton
+
+ * vmsbuild.com:
+ fwiw, renamed the skeleton for consistency with makefile
+
+ * skel2c, skeleton.c: resync skeleton and its generating files
+
+ * yaccpar.skel:
+ renamed yaccpar.skel.old to yaccpar.skel, to allow using makefile suffix rules
+
+ * yaccpar.skel.old: resync skeleton and its generating files
+
+ * test/run_make.sh: improve cleanup after error recovery
+
+ * 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:
+ use improvement from Tom Shield's btyacc changes, getting rid of special cases for generating two yyerror calls in skeleton
+
+ * output.c: simplify output_yyerror_decl()
+
+ * 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:
+ add second "const" to string-table declarations, from Tom Shield's btyacc changes
+
+ * 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:
+ discard unnecessary call on write_code_lineno() from Tom Shield's changes
+
+ * 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:
+ use YYINT typedef from Tom Shield's btyacc changes to replace explicit "short"
+
+ * test/yacc/code_calc.code.c, test/yacc/code_error.code.c, output.c:
+ use fix from Tom Shield's btyacc changes: remove redundant extern-declaration for YYPARSE_DECL()
+
+ * 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:
+ discard unnecessary call on write_code_lineno() from Tom Shield's changes
+
+ * 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:
+ use fix from Tom Shield's btyacc changes: prefix-definitions went to the
+ output (.tab.c) file in a case where they should have gone to the code
+ (.code.c) file. Remove now-redundant call to output_prefix().
+
+ * main.c: do the same for help-message
+
+ * main.c: use OUTPUT_SUFFIX symbol in an overlooked case
+
+ * test/run_make.sh:
+ modify to avoid use of VPATH, which has no standard implementation
+
+2014-04-05 Thomas E. Dickey <tom@invisible-island.net>
+
+ * 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:
+ discard a change which merged CountLines() with explicit comparisons against
+ code_file because that adds extra to the #line values
+
+ * 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:
+ add Tom Shield's change to allow definition of YYSTYPE_IS_DECLARED symbol to
+ override fallback typedef for YYSTYPE when that symbol is undefined
+
+ * 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:
+ minor tweak to coding style - use parenthesis for "defined" operator's parameter
+
+ * 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:
+ regen to make YYMAXTOKEN and YYUNDFTOKEN adjacent
+
+ * 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:
+ regen after adding the YYUNDFTOKEN symbol
+
+ * output.c:
+ integrate Tom Shield's btyacc changes which introduce the YYUNDFTOKEN symbol
+ (I changed order of output to keep this adjacent to YYMAXTOKEN)
+
+ * reader.c:
+ merge all but one small change from Tom Shield's btyacc changes - that
+ changes the order of code-file in the tests.
+
+ * test/btyacc/btyacc_demo.tab.c: regen
+
+ * test/btyacc_demo.y: fix prototypes
+
+2014-04-04 Thomas E. Dickey <tom@invisible-island.net>
+
+ * reader.c, defs.h, main.c:
+ more merging of Tom Shield's btyacc changes. In the merge, I moved the
+ symbol_pval inside the btyacc ifdef's and added some more btyacc ifdefs
+
+2014-04-03 Thomas E. Dickey <tom@invisible-island.net>
+
+ * reader.c:
+ merge-in 3/4 of btyacc's changes, deferring those which change test-outputs.
+ Tom Shield's changes split-out copy_string() and copy_comment() functions
+ to simplify some logic, as well as adding btyacc-only chunks
+
+ * makefile.in: build mstring.o, needed for changes in reader.c
+
+ * output.c:
+ merge-in all of btyacc's changes which do not change byacc's test-output.
+ Some of the merge uses ifdef-changes which I applied to ongoing resync,
+ e.g., the introduction of PER_STATE.
+
+2014-04-02 Thomas E. Dickey <tom@invisible-island.net>
+
+ * test/btyacc/pure_calc.tab.c, test/btyacc/pure_error.tab.c: regen
+
+ * output.c: fix typo
+
+ * output.c, reader.c:
+ merge in some chunks of reader and output files which do not affect byacc tests
+
+ * test/yacc/calc2.tab.c, test/yacc/calc3.tab.c: regen
+
+ * 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:
+ incorporate YYENOMEM and YYEOF symbols from btyacc
+
+ * output.c: merge chunk from btyacc changes for header-guards
+
+ * btyaccpar.skel: RCS_BASE
+
+ * yaccpar.skel: comment-out yysccsid[], for FreeBSD build-issues
+ remove GCC_UNUSED to reduce name-pollution as well as being simpler
+
+ * main.c:
+ move a btyacc symbol outside ifdef to work around current state of merge
+
+ * defs.h:
+ add USE_HEADER_GUARDS to defer whether to modify byacc's header-output
+
+ * test/run_make.sh:
+ do not try to compile files used for testing syntax-errors, since they are
+ likely to be incomplete
+
+2014-04-02 Tom.Shields
+
+ * main.c: changes for btyacc
+
+2014-04-01 Thomas E. Dickey <tom@invisible-island.net>
+
+ * reader.c:
+ integrate change by Tom Shields to use bsearch rather than successive
+ calls to matchec()
+
+ * defs.h: typedef __compar_fn_t is unnecessary
+
+ * 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:
+ omit the GCC_UNUSED, as noted by Tom Shields not really essential
+
+2014-04-01 Tom.Shields
+
+ * verbose.c: changes for btyacc, ifdef'd
+
+2014-04-01 Thomas E. Dickey <tom@invisible-island.net>
+
+ * mkpar.c: eliminate most of the ifdef's using macros
+
+2014-04-01 Tom.Shields
+
+ * mkpar.c: merge btyacc changes (ifdef'd - no change to byacc)
+
+ * error.c:
+ new functions used for reporting errors from the btyacc configuration
+ (I reordered some, and ifdef'd the new ones -TD)
+
+2014-03-31 Thomas E. Dickey <tom@invisible-island.net>
+
+ * test/btyacc/code_calc.code.c, test/btyacc/code_error.code.c:
+ omit the GCC_UNUSED, as noted by Tom Shields not really essential
+
+ * 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:
+ regen
+
+2014-03-29 Thomas E. Dickey <tom@invisible-island.net>
+
+ * 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:
+ comment-out yysccsid in the banner because it produces unnecessary compiler
+ warnings. The suggested alternative (using #pragma ident) in the preceding
+ comment is also obsolete; remove that comment (request by Gleb Smirnoff).
+
+ * test/run_test.sh:
+ for yacc, ignore the inherit testcases, since they are btyacc-specific
+
+2014-03-28 Thomas E. Dickey <tom@invisible-island.net>
+
+ * 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:
+ reference output for testing
+
+ * test/run_lint.sh, test/run_make.sh, test/run_test.sh:
+ moving #define's out of makefile broke check for yacc vs btyacc (fix)
+
+2014-03-28 Tom.Shields
+
+ * 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:
+ reference output for testing
+
+ * defs.h: new functions/variables for btyacc
+ (I reordered and ifdef'd -TD)
+
+ * test/inherit0.y, test/inherit1.y: testcase for btyacc
+
+2014-03-27 Tom.Shields
+
+ * test/err_inherit5.y, test/err_inherit4.y, test/err_inherit3.y, test/err_inherit2.y, test/err_inherit1.y, test/inherit2.y:
+ testcase for btyacc
+
+2014-03-25 Tom.Shields
+
+ * symtab.c: extra initialization needed for btyacc
+ (I ifdef'd -TD)
+
+ * yacc.1: document -L/-B features from btyacc
+
+2014-03-25 Thomas E. Dickey <tom@invisible-island.net>
+
+ * yacc.1: typo
+
+ * configure: regen
+
+ * configure.in:
+ modified new options to act like those in my other configure-scripts, e.g.,
+ showing what option is being tested, and the resulting value. Put the
+ definitions in config.h rather than in the makefile.
+
+2014-03-25 Tom.Shields
+
+ * makefile.in: add/use LINTFLAGS variable
+ make all of the objects (not just skeleton) rebuild if makefile changes
+ modify check-rule to reflect updates to run_test.sh vs subdirectory
+
+ * mstring.c: byacc-btyacc-20140323
+
+2014-03-25 Thomas E. Dickey <tom@invisible-island.net>
+
+ * test/btyacc/RCS, test/yacc/RCS: PERMIT FILE
+
+ * config_h.in: updated with autoheader-252
+
+2014-03-25 Tom.Shields
+
+ * README.BTYACC: byacc-btyacc-20140323
+
+2014-03-24 Tom.Shields
+
+ * 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:
+ reference output for testing
+
+2014-03-24 Thomas E. Dickey <tom@invisible-island.net>
+
+ * defs.h: fix compiler warnings due to mputc()
+
+2014-03-23 Tom.Shields
+
+ * test/btyacc_demo.y: testcase for btyacc
+
+ * test/btyacc/varsyntax_calc1.error, test/btyacc/varsyntax_calc1.output, test/btyacc/varsyntax_calc1.tab.c, test/btyacc/varsyntax_calc1.tab.h:
+ reference output for testing
+
+ * test/varsyntax_calc1.y, test/btyacc_calc1.y: testcase for btyacc
+
+2014-03-23 Thomas E. Dickey <tom@invisible-island.net>
+
+ * 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:
+ reference output for testing
+
+ * test/err_syntax26.y: testcase for missing_brace()
+
+ * 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:
+ reference output for testing
+
+ * test/err_syntax25.y: testcase for over_unionized()
+
+ * 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:
+ reference output for testing
+
+ * test/err_syntax24.y: testcase for default_action_warning()
+
+2014-03-23 Tom.Shields
+
+ * 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:
+ reference output for testing
+
+2014-03-23 Thomas E. Dickey <tom@invisible-island.net>
+
+ * 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:
+ reference output for testing
+
+ * test/err_syntax23.y: testcase for untyped_lhs()
+
+2014-03-23 Tom.Shields
+
+ * test/run_test.sh:
+ move test-outputs into subdirectories to keep btyacc/yacc results separate
+
+2014-03-23 Thomas E. Dickey <tom@invisible-island.net>
+
+ * 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:
+ reference output for testing
+
+ * test/err_syntax22.y: testcase for untyped_rhs()
+
+ * 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:
+ reference output for testing
+
+ * test/err_syntax20.y: testcase for undefined_symbol_warning()
+
+ * test/err_syntax21.y: testcase for unknown_rhs()
+
+ * 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:
+ reference output for testing
+
+ * test/err_syntax19.y: testcase for dollar_error()
+
+ * 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:
+ reference output for testing
+
+ * test/err_syntax18.y: testcase for dollar_warning()
+
+ * 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:
+ reference output for testing
+
+ * test/err_syntax17.y: testcase for unterminated_action()
+
+2014-03-22 Thomas E. Dickey <tom@invisible-island.net>
+
+ * 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:
+ reference output for testing
+
+ * test/err_syntax16.y: testcase for terminal_lhs()
+
+ * 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:
+ reference output for testing
+
+ * test/err_syntax15.y: testcase for no_grammar()
+
+ * 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:
+ reference output for testing
+
+ * test/err_syntax14.y:
+ testcase for restarted_warning() and undefined_goal()
+
+ * 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:
+ reference output for testing
+
+ * test/err_syntax13.y: testcase for terminal_start()
+
+ * 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:
+ reference output for testing
+
+ * test/err_syntax12.y: testcase for revalued_warning()
+
+ * 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:
+ reference output for testing
+
+ * test/err_syntax11.y: testcase for reprec_warning()
+
+ * 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:
+ reference output for testing
+
+ * test/err_syntax10.y: testcase for retyped_warning()
+
+2014-03-21 Thomas E. Dickey <tom@invisible-island.net>
+
+ * 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:
+ reference output for testing
+
+ * test/err_syntax9.y: testcase for tokenized_start()
+
+ * 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:
+ reference output for testing
+
+ * test/err_syntax8a.y, test/err_syntax8.y: testcase for used_reserved()
+
+ * 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:
+ reference output for testing
+
+ * test/err_syntax7b.y, test/err_syntax7a.y, test/err_syntax7.y:
+ testcase for illegal_character()
+
+ * 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:
+ reference output for testing
+
+ * test/err_syntax6.y: testcase for illegal_tag()
+
+ * 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:
+ reference output for testing
+
+ * test/err_syntax5.y: testcase for unterminated_union()
+
+ * 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:
+ reference output for testing
+
+ * test/err_syntax4.y: testcase for unterminated_text()
+
+ * 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:
+ reference output for testing
+
+ * test/err_syntax3.y: testcase for unterminated_string()
+
+ * 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:
+ reference output for testing
+
+ * test/err_syntax2.y: testcase for unterminated_comment()
+
+ * test/err_syntax1.error, test/yacc/err_syntax1.error:
+ reference output for testing
+
+ * test/err_syntax1.y:
+ test-case with syntax error (and nonprinting character)
+
+ * 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:
+ reference output for testing
+
+ * test/run_test.sh:
+ save stderr to reference files, to capture shift/reduce messages as well
+ as syntax-error messages
+
+ * 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:
+ reference output for testing
+
+ * test/run_test.sh: generate a ".dot" file for the grammar file
+
+ * test/grammar.dot: RCS_BASE
+
+ * test/yacc/grammar.dot: reference output for testing
+
+2014-03-19 Tom.Shields
+
+ * output.c: rename MAXSHORT to MAXYYINT
+
+2014-03-18 Tom.Shields
+
+ * yaccpar.skel: skeleton with btyacc additions
+
+ * NOTES-btyacc-Changes: byacc-btyacc-20140323
+
+ * test/btyacc/btyacc_calc1.output, test/btyacc/btyacc_calc1.tab.c, test/btyacc/btyacc_calc1.tab.h:
+ reference output for testing
+
+ * test/run_make.sh:
+ move test-outputs into subdirectories to keep btyacc/yacc results separate
+
+ * 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:
+ reference output for testing
+
+ * defs.h:
+ several changes to help decouple the use of 'short' as the type of value
+ used in yacc parsers.
+
+ * NOTES-btyacc-Disposition: byacc-btyacc-20140323
+
+2014-03-17 Tom.Shields
+
+ * skel2c, yaccpar.skel, yaccpar.skel.old: RCS_BASE
+
+ * test/run_lint.sh:
+ move test-outputs into subdirectories to keep btyacc/yacc results separate
+
+ * configure.in: add --with-max-table-size and --enable-btyacc options
+
+2014-03-16 Tom.Shields
+
+ * main.c: use Value_t rather than short
+
+2014-03-11 Tom.Shields
+
+ * test/empty.y: testcase for btyacc
+
+2014-03-10 Tom.Shields
+
+ * test/calc3.y, test/calc2.y: fix unused-variable warning
+
+2014-02-18 Tom.Shields
+
+ * lr0.c, graph.c: use Value_t rather than short
+
+ * closure.c: use Value_t rather than short
+ ifdef'd forward-reference prototypes to match ifdef'ing of the actual functions
+
+ * lalr.c: rename MAXSHORT to MAXYYINT
+
+2014-01-01 Thomas E. Dickey <tom@invisible-island.net>
+
+ * yacc.1: document %token-table, improve presentation of double-quotes
+
+ * VERSION, package/byacc.spec, package/debian/changelog: bump
+
+ * 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:
+ reference output for testing
+
+ * 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:
+ regen
+
+ * output.c, skeleton.c:
+ amend the last change so that yytname is #define'd as needed rather than
+ permanent - to avoid breaking cproto for instance.
+
+2014-01-01 Christos.Zoulas
+
+ * output.c, defs.h, main.c, reader.c, skeleton.c:
+ changes to build ntpd using byacc:
+ - rename yyname[] to yytname[]
+ - add YYTRANSLATE() macro
+ - recognize bison's %token-table declaration
+
+2014-01-01 Thomas E. Dickey <tom@invisible-island.net>
+
+ * configure: regen
+
+ * yacc.1: s/EE/XE/ to work around groff bug on Debian 6
+
+ * makefile.in: use CF_MAKE_DOCS
+
+ * aclocal.m4: add CF_MAKE_DOCS
+
+ * configure.in: use CF_MAKE_DOCS
+
+2013-12-26 Thomas E. Dickey <tom@invisible-island.net>
+
+ * config.guess: 2013-11-29
+
+2013-11-19 Thomas E. Dickey <tom@invisible-island.net>
+
+ * aclocal.m4: resync with my-autoconf (fixes for clang and mingw)
+
+2013-10-25 Thomas E. Dickey <tom@invisible-island.net>
+
+ * config.sub: 2013-10-01
+
+2013-09-25 Thomas E. Dickey <tom@invisible-island.net>
+
+ * reader.c: fix two loop-limits found by clang 3.3 --analyze
+
+ * configure: regen
+
+ * aclocal.m4:
+ tweaks to CF_MIXEDCASE_FILENAMES and CF_XOPEN_SOURCE for msys from ncurses
+
+ * package/mingw-byacc.spec: RCS_BASE
+
+ * 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:
+ regen
+
+ * skeleton.c:
+ Increase default stack-size to match FreeBSD version noted as from
+ "BSD 4.4 Lite Usr.bin Sources". See
+
+ http://svnweb.freebsd.org/base/vendor/CSRG/dist/usr.bin/yacc/
+ http://svnweb.freebsd.org/base/head/usr.bin/yacc/
+ http://svnweb.freebsd.org/base/vendor/byacc/
+
+ The original 1.9 sources (on which I based development) used 500 for
+ stacksize; the BSD Lite sources (a year or two later) used 10000.
+
+ This is a change to default values; the YYMAXDEPTH and YYSTACKSIZE
+ symbols have "always" been overridable by applications, but rarely
+ needed to do this. RedHat began using the FreeBSD source in 2000,
+ and switched to this source in 2007 using the 20050813 snapshot.
+
+ RedHat #743343 misattributed the change in default stacksize to
+ a regression in byacc, but did not report the issue upstream.
+
+ * package/debian/changelog, VERSION, package/byacc.spec: bump
+
+2013-09-07 Thomas E. Dickey <tom@invisible-island.net>
+
+ * config.sub: update to 2013-09-15
+
+ * config.guess: update to 2013-06-10
+
2013-03-04 Thomas E. Dickey <tom@invisible-island.net>
* package/debian/changelog, VERSION, package/byacc.spec: bump
@@ -30,7 +993,7 @@
2013-02-10 Thomas E. Dickey <tom@invisible-island.net>
- * config.sub, config.guess: 2013-02-04
+ * config.sub, config.guess: update to 2013-02-04
2012-10-03 Thomas E. Dickey <tom@invisible-island.net>
@@ -162,6 +1125,8 @@
* VERSION, package/debian/changelog, package/byacc.spec: bump
+ * test/yacc/calc1.output: reference output for testing
+
* test/calc1.output, test/calc1.tab.c: regen
* test/calc1.y:
@@ -181,6 +1146,8 @@
* 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:
regen
+ * test/code_debug.y: RCS_BASE
+
* test/calc2.y, test/calc3.y, test/code_error.y, test/ftp.y:
byacc already declares yyerror
@@ -273,6 +1240,9 @@
* 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:
RCS_BASE
+ * 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:
+ reference output for testing
+
* test/run_test.sh: generate/test with "-s" option applied.
2012-01-13 Thomas E. Dickey <tom@invisible-island.net>
@@ -285,9 +1255,24 @@
* main.c: add -s option to usage message.
- * test/quote_calc3.output, test/quote_calc3.tab.c, test/quote_calc4.output, test/quote_calc4.tab.c, test/quote_calc4.tab.h, test/quote_calc3.y, test/quote_calc.tab.h, test/quote_calc.output, test/quote_calc.tab.c, test/quote_calc2.output, test/quote_calc2.tab.c, test/quote_calc2.tab.h, test/quote_calc3.tab.h, test/quote_calc4.y, test/quote_calc.y, test/quote_calc2.y:
+ * test/quote_calc3.output, test/quote_calc3.tab.c, test/quote_calc4.output, test/quote_calc4.tab.c, test/quote_calc4.tab.h:
RCS_BASE
+ * test/yacc/quote_calc3.output, test/yacc/quote_calc4.output, test/yacc/quote_calc4.tab.h:
+ reference output for testing
+
+ * test/quote_calc3.y, test/quote_calc.tab.h: RCS_BASE
+
+ * test/yacc/quote_calc.tab.h: reference output for testing
+
+ * 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:
+ RCS_BASE
+
+ * test/yacc/quote_calc.output, test/yacc/quote_calc2.output, test/yacc/quote_calc2.tab.h, test/yacc/quote_calc3.tab.h:
+ reference output for testing
+
+ * test/quote_calc4.y, test/quote_calc.y, test/quote_calc2.y: RCS_BASE
+
* configure: regen
* aclocal.m4: resync with my-autoconf, i.e., fixes for CF_XOPEN_SOURCE
@@ -348,11 +1333,11 @@
2011-04-01 Thomas E. Dickey <tom@invisible-island.net>
- * config.sub: 2011-04-01
+ * config.sub: update to 2011-04-01
2011-02-02 Thomas E. Dickey <tom@invisible-island.net>
- * config.guess: 2011-01-01
+ * config.guess: update to 2011-01-01
2010-12-29 Thomas E. Dickey <tom@invisible-island.net>
@@ -470,6 +1455,8 @@
* output.c: simplified a little, using putc_code() and putl_code()
+ * test/yacc/calc1.tab.h: reference output for testing
+
* test/calc1.tab.h: regen
* reader.c:
@@ -530,11 +1517,11 @@
2010-09-28 Thomas E. Dickey <tom@invisible-island.net>
- * config.guess: 2010-09-24
+ * config.guess: update to 2010-09-24
2010-09-10 Thomas E. Dickey <tom@invisible-island.net>
- * config.sub: 2010-09-11
+ * config.sub: update to 2010-09-11
2010-06-10 Thomas E. Dickey <tom@invisible-island.net>
@@ -551,9 +1538,20 @@
improve %lex-param / %parse-param implementation by allowing for arrays to
be passed as parameters, e.g., "int regs[26]".
- * test/calc3.tab.c, test/calc3.y, test/calc3.output, test/calc3.tab.h, test/calc2.tab.c, test/calc2.y, test/calc2.tab.h, test/calc2.output:
+ * test/calc3.tab.c, test/calc3.y, test/calc3.output, test/calc3.tab.h:
RCS_BASE
+ * test/yacc/calc3.output, test/yacc/calc3.tab.h:
+ reference output for testing
+
+ * test/calc2.tab.c, test/calc2.y, test/calc2.tab.h: RCS_BASE
+
+ * test/yacc/calc2.tab.h: reference output for testing
+
+ * test/calc2.output: RCS_BASE
+
+ * test/yacc/calc2.output: reference output for testing
+
* output.c:
improve %lex-param / %parse-param implementation by allowing for arrays to
be passed as parameters, e.g., "int regs[26]".
@@ -613,9 +1611,27 @@
provide for testing -r and -P options by checking if the ".y" filename
begins with "code_" or "pure_", respectively.
- * test/code_error.code.c, test/code_error.tab.c, test/code_error.tab.h, test/code_calc.code.c, test/code_calc.tab.c, test/code_calc.tab.h, test/pure_calc.output, test/pure_calc.tab.h, test/pure_error.output, test/pure_error.tab.h, test/code_calc.output, test/code_error.output:
+ * test/code_error.code.c, test/code_error.tab.c, test/code_error.tab.h:
+ RCS_BASE
+
+ * test/yacc/code_error.tab.h: reference output for testing
+
+ * test/code_calc.code.c, test/code_calc.tab.c, test/code_calc.tab.h:
+ RCS_BASE
+
+ * test/yacc/code_calc.tab.h: reference output for testing
+
+ * test/pure_calc.output, test/pure_calc.tab.h, test/pure_error.output, test/pure_error.tab.h:
RCS_BASE
+ * test/yacc/pure_calc.output, test/yacc/pure_calc.tab.h, test/yacc/pure_error.output, test/yacc/pure_error.tab.h:
+ reference output for testing
+
+ * test/code_calc.output, test/code_error.output: RCS_BASE
+
+ * test/yacc/code_calc.output, test/yacc/code_error.output:
+ reference output for testing
+
* test/error.tab.c, test/ftp.tab.c, test/grammar.tab.c: regen
* test/run_test.sh:
@@ -770,9 +1786,9 @@
2009-12-31 Thomas E. Dickey <tom@invisible-island.net>
- * config.guess: 2009-12-30
+ * config.guess: update to 2009-12-30
- * config.sub: 2009-12-31
+ * config.sub: update to 2009-12-31
2009-10-27 Thomas E. Dickey <tom@invisible-island.net>
@@ -798,7 +1814,7 @@
2009-08-25 Thomas E. Dickey <tom@invisible-island.net>
- * config.guess, config.sub: 2009-08-19
+ * config.guess, config.sub: update to 2009-08-19
2009-02-21 Thomas E. Dickey <tom@invisible-island.net>
@@ -979,11 +1995,11 @@
2006-12-22 Thomas E. Dickey <tom@invisible-island.net>
- * config.guess: 2006/12/22
+ * config.guess: update to 2006/12/22
2006-12-08 Thomas E. Dickey <tom@invisible-island.net>
- * config.sub: 2006/12/08
+ * config.sub: update to 2006/12/08
2005-08-13 Thomas E. Dickey <tom@invisible-island.net>
@@ -1012,9 +2028,9 @@
2005-06-25 Thomas E. Dickey <tom@invisible-island.net>
- * config.sub: 2005/6/2
+ * config.sub: update to 2005/6/2
- * config.guess: 2005/5/27
+ * config.guess: update to 2005/5/27
2005-05-05 Thomas E. Dickey <tom@invisible-island.net>
@@ -1108,9 +2124,9 @@
2005-04-16 Thomas E. Dickey <tom@invisible-island.net>
- * config.sub: 2005/2/10
+ * config.sub: update to 2005/2/10
- * config.guess: 2005/3/24
+ * config.guess: update to 2005/3/24
2005-04-13 Thomas E. Dickey <tom@invisible-island.net>
@@ -1164,9 +2180,18 @@
* test/grammar.output, test/grammar.tab.c, test/grammar.tab.h: RCS_BASE
+ * test/yacc/grammar.output, test/yacc/grammar.tab.h:
+ reference output for testing
+
* makefile.in: turn on "make check" rule
- * test/calc.output, test/run_test.sh, test/calc.tab.h: RCS_BASE
+ * test/calc.output: RCS_BASE
+
+ * test/yacc/calc.output: reference output for testing
+
+ * test/run_test.sh, test/calc.tab.h: RCS_BASE
+
+ * test/yacc/calc.tab.h: reference output for testing
* test/ftp.tab.c: yyparse() is now yyparse(void)
@@ -1252,8 +2277,16 @@
1993-02-22 unknown
- * test/ftp.output, test/ftp.tab.c, test/ftp.tab.h, test/error.output, test/error.tab.c, test/error.tab.h:
- RCS_BASE
+ * test/ftp.output, test/ftp.tab.c, test/ftp.tab.h: RCS_BASE
+
+1993-02-22 Thomas E. Dickey <tom@invisible-island.net>
+
+ * test/yacc/error.output, test/yacc/error.tab.h:
+ reference output for testing
+
+1993-02-22 unknown
+
+ * test/error.output, test/error.tab.c, test/error.tab.h: RCS_BASE
* skeleton.c, warshall.c, main.c, output.c, reader.c, closure.c, NOTES:
original version
View
667 external/bsd/byacc/dist/MANIFEST
@@ -0,0 +1,667 @@
+MANIFEST for byacc-20141128, version t20141128
+--------------------------------------------------------------------------------
+MANIFEST this file
+ACKNOWLEDGEMENTS original version of byacc - 1993
+AUTHORS nicknames for some contributors (see CHANGES for details)
+Makefile.old renamed from Makefile
+NEW_FEATURES original version of byacc - 1993
+NOTES original version of byacc - 1993
+NO_WARRANTY original version of byacc - 1993
+README original version of byacc - 1993
+README.BTYACC byacc-btyacc-20140323
+VERSION patch-level
+aclocal.m4 macros for configure-script
+btyaccpar.c generated from btyaccpar.skel
+btyaccpar.skel bytacc's parser skeleton (renamed from yaccpar.skel)
+closure.c original version of byacc - 1993
+config.guess configure-script utility
+config.sub configure-script utility
+config_h.in template for config.h
+configure snapshot 2004/3/28
+configure.in template for configure-script
+defs.h original version of byacc - 1993
+descrip.mms build-script for VMS
+error.c original version of byacc - 1993
+graph.c write the file y.dot in graphviz format
+install-sh install-script
+lalr.c original version of byacc - 1993
+lr0.c original version of byacc - 1993
+main.c original version of byacc - 1993
+makefile.in template for makefile
+mkpar.c original version of byacc - 1993
+mstring.c string-utilities
+output.c original version of byacc - 1993
+reader.c original version of byacc - 1993
+skel2c awk script to transform yaccpar.skel into skeleton.c
+symtab.c original version of byacc - 1993
+verbose.c original version of byacc - 1993
+vmsbuild.com build-script for VMS
+warshall.c original version of byacc - 1993
+yacc.1 original version of byacc - 1993
+yaccpar.c generated from yaccpar.skel
+yaccpar.skel data which can be transformed into skeleton.c
+package subdirectory
+package/byacc.spec RPM file for byacc
+package/debian subdirectory
+package/debian/changelog scripts from Debian package
+package/debian/compat scripts from Debian package
+package/debian/control scripts from Debian package
+package/debian/copyright scripts from Debian package
+package/debian/docs scripts from Debian package
+package/debian/postinst scripts from Debian package
+package/debian/prerm scripts from Debian package
+package/debian/rules scripts from Debian package
+package/debian/source subdirectory
+package/debian/source/format scripts from Debian package
+package/debian subdirectory
+package/debian/watch scripts from Debian package
+package subdirectory
+package/mingw-byacc.spec mingw spec-file, for cross-compiles
+package/pkgsrc subdirectory
+package/pkgsrc/DESCR scripts from NetBSD pkgsrc, for test-builds
+package/pkgsrc/Makefile scripts from NetBSD pkgsrc, for test-builds
+package/pkgsrc/PLIST scripts from NetBSD pkgsrc, for test-builds
+package/pkgsrc/distinfo scripts from NetBSD pkgsrc, for test-builds
+test subdirectory
+test/README describe contents of "test" subdirectory
+test/btyacc subdirectory
+test/btyacc/big_b.error exercise -L/-B options
+test/btyacc/big_b.output exercise -L/-B options
+test/btyacc/big_l.error exercise -L/-B options
+test/btyacc/big_l.output exercise -L/-B options
+test/btyacc/btyacc_calc1.error reference output for testing
+test/btyacc/btyacc_calc1.output reference output for testing
+test/btyacc/btyacc_calc1.tab.c reference output for testing
+test/btyacc/btyacc_calc1.tab.h reference output for testing
+test/btyacc/btyacc_demo.error reference output for testing
+test/btyacc/btyacc_demo.output reference output for testing
+test/btyacc/btyacc_demo.tab.c reference output for testing
+test/btyacc/btyacc_demo.tab.h reference output for testing
+test/btyacc/calc.error reference output for testing
+test/btyacc/calc.output reference output for testing
+test/btyacc/calc.tab.c reference output for testing
+test/btyacc/calc.tab.h reference output for testing
+test/btyacc/calc1.error reference output for testing
+test/btyacc/calc1.output reference output for testing
+test/btyacc/calc1.tab.c reference output for testing
+test/btyacc/calc1.tab.h reference output for testing
+test/btyacc/calc2.error reference output for testing
+test/btyacc/calc2.output reference output for testing
+test/btyacc/calc2.tab.c reference output for testing
+test/btyacc/calc2.tab.h reference output for testing
+test/btyacc/calc3.error reference output for testing
+test/btyacc/calc3.output reference output for testing
+test/btyacc/calc3.tab.c reference output for testing
+test/btyacc/calc3.tab.h reference output for testing
+test/btyacc/code_calc.code.c reference output for testing
+test/btyacc/code_calc.error reference output for testing
+test/btyacc/code_calc.output reference output for testing
+test/btyacc/code_calc.tab.c reference output for testing
+test/btyacc/code_calc.tab.h reference output for testing
+test/btyacc/code_debug.c reference for test-output
+test/btyacc/code_debug.error reference for test-output
+test/btyacc/code_debug.h reference for test-output
+test/btyacc/code_debug.i reference for test-output
+test/btyacc/code_debug.output reference for test-output
+test/btyacc/code_error.code.c reference output for testing
+test/btyacc/code_error.error reference output for testing
+test/btyacc/code_error.output reference output for testing
+test/btyacc/code_error.tab.c reference output for testing
+test/btyacc/code_error.tab.h reference output for testing
+test/btyacc/empty.error reference output for testing
+test/btyacc/empty.output reference output for testing
+test/btyacc/empty.tab.c reference output for testing
+test/btyacc/empty.tab.h reference output for testing
+test/btyacc/err_inherit1.error reference output for testing
+test/btyacc/err_inherit1.output reference output for testing
+test/btyacc/err_inherit1.tab.c reference output for testing
+test/btyacc/err_inherit1.tab.h reference output for testing
+test/btyacc/err_inherit2.error reference output for testing
+test/btyacc/err_inherit2.output reference output for testing
+test/btyacc/err_inherit2.tab.c reference output for testing
+test/btyacc/err_inherit2.tab.h reference output for testing
+test/btyacc/err_inherit3.error reference output for testing
+test/btyacc/err_inherit3.output reference output for testing
+test/btyacc/err_inherit3.tab.c reference output for testing
+test/btyacc/err_inherit3.tab.h reference output for testing
+test/btyacc/err_inherit4.error reference output for testing
+test/btyacc/err_inherit4.output reference output for testing
+test/btyacc/err_inherit4.tab.c reference output for testing
+test/btyacc/err_inherit4.tab.h reference output for testing
+test/btyacc/err_inherit5.error reference output for testing
+test/btyacc/err_inherit5.output reference output for testing
+test/btyacc/err_inherit5.tab.c reference output for testing
+test/btyacc/err_inherit5.tab.h reference output for testing
+test/btyacc/err_syntax1.error reference output for testing
+test/btyacc/err_syntax1.output reference output for testing
+test/btyacc/err_syntax1.tab.c reference output for testing
+test/btyacc/err_syntax1.tab.h reference output for testing
+test/btyacc/err_syntax10.error reference output for testing
+test/btyacc/err_syntax10.output reference output for testing
+test/btyacc/err_syntax10.tab.c reference output for testing
+test/btyacc/err_syntax10.tab.h reference output for testing
+test/btyacc/err_syntax11.error reference output for testing
+test/btyacc/err_syntax11.output reference output for testing
+test/btyacc/err_syntax11.tab.c reference output for testing
+test/btyacc/err_syntax11.tab.h reference output for testing
+test/btyacc/err_syntax12.error reference output for testing
+test/btyacc/err_syntax12.output reference output for testing
+test/btyacc/err_syntax12.tab.c reference output for testing
+test/btyacc/err_syntax12.tab.h reference output for testing
+test/btyacc/err_syntax13.error reference output for testing
+test/btyacc/err_syntax13.output reference output for testing
+test/btyacc/err_syntax13.tab.c reference output for testing
+test/btyacc/err_syntax13.tab.h reference output for testing
+test/btyacc/err_syntax14.error reference output for testing
+test/btyacc/err_syntax14.output reference output for testing
+test/btyacc/err_syntax14.tab.c reference output for testing
+test/btyacc/err_syntax14.tab.h reference output for testing
+test/btyacc/err_syntax15.error reference output for testing
+test/btyacc/err_syntax15.output reference output for testing
+test/btyacc/err_syntax15.tab.c reference output for testing
+test/btyacc/err_syntax15.tab.h reference output for testing
+test/btyacc/err_syntax16.error reference output for testing
+test/btyacc/err_syntax16.output reference output for testing
+test/btyacc/err_syntax16.tab.c reference output for testing
+test/btyacc/err_syntax16.tab.h reference output for testing
+test/btyacc/err_syntax17.error reference output for testing
+test/btyacc/err_syntax17.output reference output for testing
+test/btyacc/err_syntax17.tab.c reference output for testing
+test/btyacc/err_syntax17.tab.h reference output for testing
+test/btyacc/err_syntax18.error reference output for testing
+test/btyacc/err_syntax18.output reference output for testing
+test/btyacc/err_syntax18.tab.c reference output for testing
+test/btyacc/err_syntax18.tab.h reference output for testing
+test/btyacc/err_syntax19.error reference output for testing
+test/btyacc/err_syntax19.output reference output for testing
+test/btyacc/err_syntax19.tab.c reference output for testing
+test/btyacc/err_syntax19.tab.h reference output for testing
+test/btyacc/err_syntax2.error reference output for testing
+test/btyacc/err_syntax2.output reference output for testing
+test/btyacc/err_syntax2.tab.c reference output for testing
+test/btyacc/err_syntax2.tab.h reference output for testing
+test/btyacc/err_syntax20.error reference output for testing
+test/btyacc/err_syntax20.output reference output for testing
+test/btyacc/err_syntax20.tab.c reference output for testing
+test/btyacc/err_syntax20.tab.h reference output for testing
+test/btyacc/err_syntax21.error reference output for testing
+test/btyacc/err_syntax21.output reference output for testing
+test/btyacc/err_syntax21.tab.c reference output for testing
+test/btyacc/err_syntax21.tab.h reference output for testing
+test/btyacc/err_syntax22.error reference output for testing
+test/btyacc/err_syntax22.output reference output for testing
+test/btyacc/err_syntax22.tab.c reference output for testing
+test/btyacc/err_syntax22.tab.h reference output for testing
+test/btyacc/err_syntax23.error reference output for testing
+test/btyacc/err_syntax23.output reference output for testing
+test/btyacc/err_syntax23.tab.c reference output for testing
+test/btyacc/err_syntax23.tab.h reference output for testing
+test/btyacc/err_syntax24.error reference output for testing
+test/btyacc/err_syntax24.output reference output for testing
+test/btyacc/err_syntax24.tab.c reference output for testing
+test/btyacc/err_syntax24.tab.h reference output for testing
+test/btyacc/err_syntax25.error reference output for testing
+test/btyacc/err_syntax25.output reference output for testing
+test/btyacc/err_syntax25.tab.c reference output for testing
+test/btyacc/err_syntax25.tab.h reference output for testing
+test/btyacc/err_syntax26.error reference output for testing
+test/btyacc/err_syntax26.output reference output for testing
+test/btyacc/err_syntax26.tab.c reference output for testing
+test/btyacc/err_syntax26.tab.h reference output for testing
+test/btyacc/err_syntax27.error reference output for testing
+test/btyacc/err_syntax27.output reference output for testing
+test/btyacc/err_syntax27.tab.c reference output for testing
+test/btyacc/err_syntax27.tab.h reference output for testing
+test/btyacc/err_syntax3.error reference output for testing
+test/btyacc/err_syntax3.output reference output for testing
+test/btyacc/err_syntax3.tab.c reference output for testing
+test/btyacc/err_syntax3.tab.h reference output for testing
+test/btyacc/err_syntax4.error reference output for testing
+test/btyacc/err_syntax4.output reference output for testing
+test/btyacc/err_syntax4.tab.c reference output for testing
+test/btyacc/err_syntax4.tab.h reference output for testing
+test/btyacc/err_syntax5.error reference output for testing
+test/btyacc/err_syntax5.output reference output for testing
+test/btyacc/err_syntax5.tab.c reference output for testing
+test/btyacc/err_syntax5.tab.h reference output for testing
+test/btyacc/err_syntax6.error reference output for testing
+test/btyacc/err_syntax6.output reference output for testing
+test/btyacc/err_syntax6.tab.c reference output for testing
+test/btyacc/err_syntax6.tab.h reference output for testing
+test/btyacc/err_syntax7.error reference output for testing
+test/btyacc/err_syntax7.output reference output for testing
+test/btyacc/err_syntax7.tab.c reference output for testing
+test/btyacc/err_syntax7.tab.h reference output for testing
+test/btyacc/err_syntax7a.error reference output for testing
+test/btyacc/err_syntax7a.output reference output for testing
+test/btyacc/err_syntax7a.tab.c reference output for testing
+test/btyacc/err_syntax7a.tab.h reference output for testing
+test/btyacc/err_syntax7b.error reference output for testing
+test/btyacc/err_syntax7b.output reference output for testing
+test/btyacc/err_syntax7b.tab.c reference output for testing
+test/btyacc/err_syntax7b.tab.h reference output for testing
+test/btyacc/err_syntax8.error reference output for testing
+test/btyacc/err_syntax8.output reference output for testing
+test/btyacc/err_syntax8.tab.c reference output for testing
+test/btyacc/err_syntax8.tab.h reference output for testing
+test/btyacc/err_syntax8a.error reference output for testing
+test/btyacc/err_syntax8a.output reference output for testing
+test/btyacc/err_syntax8a.tab.c reference output for testing
+test/btyacc/err_syntax8a.tab.h reference output for testing
+test/btyacc/err_syntax9.error reference output for testing
+test/btyacc/err_syntax9.output reference output for testing
+test/btyacc/err_syntax9.tab.c reference output for testing
+test/btyacc/err_syntax9.tab.h reference output for testing
+test/btyacc/error.error reference output for testing
+test/btyacc/error.output reference output for testing
+test/btyacc/error.tab.c reference output for testing
+test/btyacc/error.tab.h reference output for testing
+test/btyacc/grammar.dot reference output for testing
+test/btyacc/grammar.error reference output for testing
+test/btyacc/grammar.output reference output for testing
+test/btyacc/grammar.tab.c reference output for testing
+test/btyacc/grammar.tab.h reference output for testing
+test/btyacc/help.error reference output for testing
+test/btyacc/help.output reference output for testing
+test/btyacc/inherit0.error reference output for testing
+test/btyacc/inherit0.output reference output for testing
+test/btyacc/inherit0.tab.c reference output for testing
+test/btyacc/inherit0.tab.h reference output for testing
+test/btyacc/inherit1.error reference output for testing
+test/btyacc/inherit1.output reference output for testing
+test/btyacc/inherit1.tab.c reference output for testing
+test/btyacc/inherit1.tab.h reference output for testing
+test/btyacc/inherit2.error reference output for testing
+test/btyacc/inherit2.output reference output for testing
+test/btyacc/inherit2.tab.c reference output for testing
+test/btyacc/inherit2.tab.h reference output for testing
+test/btyacc/no_b_opt.error reference output for testing
+test/btyacc/no_b_opt.output reference output for testing
+test/btyacc/no_b_opt1.error reference output for testing
+test/btyacc/no_b_opt1.output reference output for testing
+test/btyacc/no_code_c.error reference output for testing
+test/btyacc/no_code_c.output reference output for testing
+test/btyacc/no_defines.error reference output for testing
+test/btyacc/no_defines.output reference output for testing
+test/btyacc/no_graph.error reference output for testing
+test/btyacc/no_graph.output reference output for testing
+test/btyacc/no_include.error reference output for testing
+test/btyacc/no_include.output reference output for testing
+test/btyacc/no_opts.error reference output for testing
+test/btyacc/no_opts.output reference output for testing
+test/btyacc/no_output.error reference output for testing
+test/btyacc/no_output.output reference output for testing
+test/btyacc/no_output1.error reference output for testing
+test/btyacc/no_output1.output reference output for testing
+test/btyacc/no_output2.error reference output for testing
+test/btyacc/no_output2.output reference output for testing
+test/btyacc/no_p_opt.error reference output for testing
+test/btyacc/no_p_opt.output reference output for testing
+test/btyacc/no_p_opt1.error reference output for testing
+test/btyacc/no_p_opt1.output reference output for testing
+test/btyacc/no_verbose.error reference output for testing
+test/btyacc/no_verbose.output reference output for testing
+test/btyacc/nostdin.error reference output for testing
+test/btyacc/nostdin.output reference output for testing
+test/btyacc/ok_syntax1.error reference output for testing
+test/btyacc/ok_syntax1.output reference output for testing
+test/btyacc/ok_syntax1.tab.c reference output for testing
+test/btyacc/ok_syntax1.tab.h reference output for testing
+test/btyacc/pure_calc.error reference output for testing
+test/btyacc/pure_calc.output reference output for testing
+test/btyacc/pure_calc.tab.c reference output for testing
+test/btyacc/pure_calc.tab.h reference output for testing
+test/btyacc/pure_error.error reference output for testing
+test/btyacc/pure_error.output reference output for testing
+test/btyacc/pure_error.tab.c reference output for testing
+test/btyacc/pure_error.tab.h reference output for testing
+test/btyacc/quote_calc-s.error reference output for testing
+test/btyacc/quote_calc-s.output reference output for testing
+test/btyacc/quote_calc-s.tab.c reference output for testing
+test/btyacc/quote_calc-s.tab.h reference output for testing
+test/btyacc/quote_calc.error reference output for testing
+test/btyacc/quote_calc.output reference output for testing
+test/btyacc/quote_calc.tab.c reference output for testing
+test/btyacc/quote_calc.tab.h reference output for testing
+test/btyacc/quote_calc2-s.error reference output for testing
+test/btyacc/quote_calc2-s.output reference output for testing
+test/btyacc/quote_calc2-s.tab.c reference output for testing
+test/btyacc/quote_calc2-s.tab.h reference output for testing
+test/btyacc/quote_calc2.error reference output for testing
+test/btyacc/quote_calc2.output reference output for testing
+test/btyacc/quote_calc2.tab.c reference output for testing
+test/btyacc/quote_calc2.tab.h reference output for testing
+test/btyacc/quote_calc3-s.error reference output for testing
+test/btyacc/quote_calc3-s.output reference output for testing
+test/btyacc/quote_calc3-s.tab.c reference output for testing
+test/btyacc/quote_calc3-s.tab.h reference output for testing
+test/btyacc/quote_calc3.error reference output for testing
+test/btyacc/quote_calc3.output reference output for testing
+test/btyacc/quote_calc3.tab.c reference output for testing
+test/btyacc/quote_calc3.tab.h reference output for testing
+test/btyacc/quote_calc4-s.error reference output for testing
+test/btyacc/quote_calc4-s.output reference output for testing
+test/btyacc/quote_calc4-s.tab.c reference output for testing
+test/btyacc/quote_calc4-s.tab.h reference output for testing
+test/btyacc/quote_calc4.error reference output for testing
+test/btyacc/quote_calc4.output reference output for testing
+test/btyacc/quote_calc4.tab.c reference output for testing
+test/btyacc/quote_calc4.tab.h reference output for testing
+test/btyacc/rename_debug.c reference output for testing
+test/btyacc/rename_debug.error reference output for testing
+test/btyacc/rename_debug.h reference output for testing
+test/btyacc/rename_debug.i reference output for testing
+test/btyacc/rename_debug.output reference output for testing
+test/btyacc/varsyntax_calc1.error reference output for testing
+test/btyacc/varsyntax_calc1.output reference output for testing
+test/btyacc/varsyntax_calc1.tab.c reference output for testing
+test/btyacc/varsyntax_calc1.tab.h reference output for testing
+test subdirectory
+test/btyacc_calc1.y testcase for btyacc
+test/btyacc_demo.y testcase for btyacc
+test/calc.y example from VMS freeware version of byacc
+test/calc1.y advanced example from Steve Johnson's paper.
+test/calc2.y test-cases and reference files for %lex-param / %parse-param
+test/calc3.y test-cases and reference files for %lex-param / %parse-param
+test/code_calc.y reference input for testing
+test/code_debug.y test-input, for -i, -o, -d options
+test/code_error.y reference input for testing
+test/empty.y testcase for btyacc
+test/err_inherit1.y testcase for btyacc
+test/err_inherit2.y testcase for btyacc
+test/err_inherit3.y testcase for btyacc
+test/err_inherit4.y testcase for btyacc
+test/err_inherit5.y testcase for btyacc
+test/err_syntax1.y test-case with syntax error (and nonprinting character)
+test/err_syntax10.y testcase for retyped_warning()
+test/err_syntax11.y testcase for reprec_warning()
+test/err_syntax12.y testcase for revalued_warning()
+test/err_syntax13.y testcase for terminal_start()
+test/err_syntax14.y testcase for restarted_warning() and undefined_goal()
+test/err_syntax15.y testcase for no_grammar()
+test/err_syntax16.y testcase for terminal_lhs()
+test/err_syntax17.y testcase for unterminated_action()
+test/err_syntax18.y testcase for dollar_warning()
+test/err_syntax19.y testcase for dollar_error()
+test/err_syntax2.y testcase for unterminated_comment()
+test/err_syntax20.y testcase for undefined_symbol_warning()
+test/err_syntax21.y testcase for unknown_rhs()
+test/err_syntax22.y testcase for untyped_rhs()
+test/err_syntax23.y testcase for untyped_lhs()
+test/err_syntax24.y testcase for default_action_warning()
+test/err_syntax25.y testcase for over_unionized()
+test/err_syntax26.y testcase for unexpected_EOF()
+test/err_syntax27.y testcase for missing_brace()
+test/err_syntax3.y testcase for unterminated_string()
+test/err_syntax4.y testcase for unterminated_text()
+test/err_syntax5.y testcase for unterminated_union()
+test/err_syntax6.y testcase for illegal_tag()
+test/err_syntax7.y testcase for illegal_character()
+test/err_syntax7a.y testcase for illegal_character()
+test/err_syntax7b.y testcase for illegal_character()
+test/err_syntax8.y testcase for used_reserved()
+test/err_syntax8a.y testcase for used_reserved()
+test/err_syntax9.y testcase for tokenized_start()
+test/error.y original version of byacc - 1993
+test/grammar.y grammar from cproto
+test/inherit0.y testcase for btyacc
+test/inherit1.y testcase for btyacc
+test/inherit2.y testcase for btyacc
+test/ok_syntax1.y testcase for valid literal syntax
+test/pure_calc.y reference input for testing
+test/pure_error.y reference input for testing
+test/quote_calc.y test-case for %token using quoted name
+test/quote_calc2.y test-case for %token using quoted name
+test/quote_calc3.y test-case for %token using quoted name
+test/quote_calc4.y test-case for %token using quoted name
+test/run_lint.sh run lint, using the build-directory's makefile, on each ".c" file in test-directory
+test/run_make.sh do a test-compile of each ".c" file in the test-directory
+test/run_test.sh test-script for byacc
+test/varsyntax_calc1.y testcase for btyacc
+test/yacc subdirectory
+test/yacc/big_b.error exercise -L/-B options
+test/yacc/big_b.output exercise -L/-B options
+test/yacc/big_l.error exercise -L/-B options
+test/yacc/big_l.output exercise -L/-B options
+test/yacc/calc.error reference output for testing
+test/yacc/calc.output reference output for testing
+test/yacc/calc.tab.c reference output for testing
+test/yacc/calc.tab.h reference output for testing
+test/yacc/calc1.error reference output for testing
+test/yacc/calc1.output reference output for testing
+test/yacc/calc1.tab.c reference output for testing
+test/yacc/calc1.tab.h reference output for testing
+test/yacc/calc2.error reference output for testing
+test/yacc/calc2.output reference output for testing
+test/yacc/calc2.tab.c reference output for testing
+test/yacc/calc2.tab.h reference output for testing
+test/yacc/calc3.error reference output for testing
+test/yacc/calc3.output reference output for testing
+test/yacc/calc3.tab.c reference output for testing
+test/yacc/calc3.tab.h reference output for testing
+test/yacc/code_calc.code.c reference output for testing
+test/yacc/code_calc.error reference output for testing
+test/yacc/code_calc.output reference output for testing
+test/yacc/code_calc.tab.c reference output for testing
+test/yacc/code_calc.tab.h reference output for testing
+test/yacc/code_error.code.c reference output for testing
+test/yacc/code_error.error reference output for testing
+test/yacc/code_error.output reference output for testing
+test/yacc/code_error.tab.c reference output for testing
+test/yacc/code_error.tab.h reference output for testing
+test/yacc/empty.error reference output for testing
+test/yacc/empty.output reference output for testing
+test/yacc/empty.tab.c reference output for testing
+test/yacc/empty.tab.h reference output for testing
+test/yacc/err_syntax1.error reference output for testing
+test/yacc/err_syntax1.output reference output for testing
+test/yacc/err_syntax1.tab.c reference output for testing
+test/yacc/err_syntax1.tab.h reference output for testing
+test/yacc/err_syntax10.error reference output for testing
+test/yacc/err_syntax10.output reference output for testing
+test/yacc/err_syntax10.tab.c reference output for testing
+test/yacc/err_syntax10.tab.h reference output for testing
+test/yacc/err_syntax11.error reference output for testing
+test/yacc/err_syntax11.output reference output for testing
+test/yacc/err_syntax11.tab.c reference output for testing
+test/yacc/err_syntax11.tab.h reference output for testing
+test/yacc/err_syntax12.error reference output for testing
+test/yacc/err_syntax12.output reference output for testing
+test/yacc/err_syntax12.tab.c reference output for testing
+test/yacc/err_syntax12.tab.h reference output for testing
+test/yacc/err_syntax13.error reference output for testing
+test/yacc/err_syntax13.output reference output for testing
+test/yacc/err_syntax13.tab.c reference output for testing
+test/yacc/err_syntax13.tab.h reference output for testing
+test/yacc/err_syntax14.error reference output for testing
+test/yacc/err_syntax14.output reference output for testing
+test/yacc/err_syntax14.tab.c reference output for testing
+test/yacc/err_syntax14.tab.h reference output for testing
+test/yacc/err_syntax15.error reference output for testing
+test/yacc/err_syntax15.output reference output for testing
+test/yacc/err_syntax15.tab.c reference output for testing
+test/yacc/err_syntax15.tab.h reference output for testing
+test/yacc/err_syntax16.error reference output for testing
+test/yacc/err_syntax16.output reference output for testing
+test/yacc/err_syntax16.tab.c reference output for testing
+test/yacc/err_syntax16.tab.h reference output for testing
+test/yacc/err_syntax17.error reference output for testing
+test/yacc/err_syntax17.output reference output for testing
+test/yacc/err_syntax17.tab.c reference output for testing
+test/yacc/err_syntax17.tab.h reference output for testing
+test/yacc/err_syntax18.error reference output for testing
+test/yacc/err_syntax18.output reference output for testing
+test/yacc/err_syntax18.tab.c reference output for testing
+test/yacc/err_syntax18.tab.h reference output for testing
+test/yacc/err_syntax19.error reference output for testing
+test/yacc/err_syntax19.output reference output for testing
+test/yacc/err_syntax19.tab.c reference output for testing
+test/yacc/err_syntax19.tab.h reference output for testing
+test/yacc/err_syntax2.error reference output for testing
+test/yacc/err_syntax2.output reference output for testing
+test/yacc/err_syntax2.tab.c reference output for testing
+test/yacc/err_syntax2.tab.h reference output for testing
+test/yacc/err_syntax20.error reference output for testing
+test/yacc/err_syntax20.output reference output for testing
+test/yacc/err_syntax20.tab.c reference output for testing
+test/yacc/err_syntax20.tab.h reference output for testing
+test/yacc/err_syntax21.error reference output for testing
+test/yacc/err_syntax21.output reference output for testing
+test/yacc/err_syntax21.tab.c reference output for testing
+test/yacc/err_syntax21.tab.h reference output for testing
+test/yacc/err_syntax22.error reference output for testing
+test/yacc/err_syntax22.output reference output for testing
+test/yacc/err_syntax22.tab.c reference output for testing
+test/yacc/err_syntax22.tab.h reference output for testing
+test/yacc/err_syntax23.error reference output for testing
+test/yacc/err_syntax23.output reference output for testing
+test/yacc/err_syntax23.tab.c reference output for testing
+test/yacc/err_syntax23.tab.h reference output for testing
+test/yacc/err_syntax24.error reference output for testing
+test/yacc/err_syntax24.output reference output for testing
+test/yacc/err_syntax24.tab.c reference output for testing
+test/yacc/err_syntax24.tab.h reference output for testing
+test/yacc/err_syntax25.error reference output for testing
+test/yacc/err_syntax25.output reference output for testing
+test/yacc/err_syntax25.tab.c reference output for testing
+test/yacc/err_syntax25.tab.h reference output for testing
+test/yacc/err_syntax26.error reference output for testing
+test/yacc/err_syntax26.output reference output for testing
+test/yacc/err_syntax26.tab.c reference output for testing
+test/yacc/err_syntax26.tab.h reference output for testing
+test/yacc/err_syntax27.error reference output for testing
+test/yacc/err_syntax27.output reference output for testing
+test/yacc/err_syntax27.tab.c reference output for testing
+test/yacc/err_syntax27.tab.h reference output for testing
+test/yacc/err_syntax3.error reference output for testing
+test/yacc/err_syntax3.output reference output for testing
+test/yacc/err_syntax3.tab.c reference output for testing
+test/yacc/err_syntax3.tab.h reference output for testing
+test/yacc/err_syntax4.error reference output for testing
+test/yacc/err_syntax4.output reference output for testing
+test/yacc/err_syntax4.tab.c reference output for testing
+test/yacc/err_syntax4.tab.h reference output for testing
+test/yacc/err_syntax5.error reference output for testing
+test/yacc/err_syntax5.output reference output for testing
+test/yacc/err_syntax5.tab.c reference output for testing
+test/yacc/err_syntax5.tab.h reference output for testing
+test/yacc/err_syntax6.error reference output for testing
+test/yacc/err_syntax6.output reference output for testing
+test/yacc/err_syntax6.tab.c reference output for testing
+test/yacc/err_syntax6.tab.h reference output for testing
+test/yacc/err_syntax7.error reference output for testing
+test/yacc/err_syntax7.output reference output for testing
+test/yacc/err_syntax7.tab.c reference output for testing
+test/yacc/err_syntax7.tab.h reference output for testing
+test/yacc/err_syntax7a.error reference output for testing
+test/yacc/err_syntax7a.output reference output for testing
+test/yacc/err_syntax7a.tab.c reference output for testing
+test/yacc/err_syntax7a.tab.h reference output for testing
+test/yacc/err_syntax7b.error reference output for testing
+test/yacc/err_syntax7b.output reference output for testing
+test/yacc/err_syntax7b.tab.c reference output for testing
+test/yacc/err_syntax7b.tab.h reference output for testing
+test/yacc/err_syntax8.error reference output for testing
+test/yacc/err_syntax8.output reference output for testing
+test/yacc/err_syntax8.tab.c reference output for testing
+test/yacc/err_syntax8.tab.h reference output for testing
+test/yacc/err_syntax8a.error reference output for testing
+test/yacc/err_syntax8a.output reference output for testing
+test/yacc/err_syntax8a.tab.c reference output for testing
+test/yacc/err_syntax8a.tab.h reference output for testing
+test/yacc/err_syntax9.error reference output for testing
+test/yacc/err_syntax9.output reference output for testing
+test/yacc/err_syntax9.tab.c reference output for testing
+test/yacc/err_syntax9.tab.h reference output for testing
+test/yacc/error.error reference output for testing
+test/yacc/error.output reference output for testing
+test/yacc/error.tab.c reference output for testing
+test/yacc/error.tab.h reference output for testing
+test/yacc/grammar.dot reference output for testing
+test/yacc/grammar.error reference output for testing
+test/yacc/grammar.output reference output for testing
+test/yacc/grammar.tab.c reference output for testing
+test/yacc/grammar.tab.h reference output for testing
+test/yacc/help.error reference output for testing
+test/yacc/help.output reference output for testing
+test/yacc/no_b_opt.error reference output for testing
+test/yacc/no_b_opt.output reference output for testing
+test/yacc/no_b_opt1.error reference output for testing
+test/yacc/no_b_opt1.output reference output for testing
+test/yacc/no_code_c.error reference output for testing
+test/yacc/no_code_c.output reference output for testing
+test/yacc/no_defines.error reference output for testing
+test/yacc/no_defines.output reference output for testing
+test/yacc/no_graph.error reference output for testing
+test/yacc/no_graph.output reference output for testing
+test/yacc/no_include.error reference output for testing
+test/yacc/no_include.output reference output for testing
+test/yacc/no_opts.error reference output for testing
+test/yacc/no_opts.output reference output for testing
+test/yacc/no_output.error reference output for testing
+test/yacc/no_output.output reference output for testing
+test/yacc/no_output1.error reference output for testing
+test/yacc/no_output1.output reference output for testing
+test/yacc/no_output2.error reference output for testing
+test/yacc/no_output2.output reference output for testing
+test/yacc/no_p_opt.error reference output for testing
+test/yacc/no_p_opt.output reference output for testing
+test/yacc/no_p_opt1.error reference output for testing
+test/yacc/no_p_opt1.output reference output for testing
+test/yacc/no_verbose.error reference output for testing
+test/yacc/no_verbose.output reference output for testing
+test/yacc/nostdin.error reference output for testing
+test/yacc/nostdin.output reference output for testing
+test/yacc/ok_syntax1.error reference output for testing
+test/yacc/ok_syntax1.output reference output for testing
+test/yacc/ok_syntax1.tab.c reference output for testing
+test/yacc/ok_syntax1.tab.h reference output for testing
+test/yacc/pure_calc.error reference output for testing
+test/yacc/pure_calc.output reference output for testing
+test/yacc/pure_calc.tab.c reference output for testing
+test/yacc/pure_calc.tab.h reference output for testing
+test/yacc/pure_error.error reference output for testing
+test/yacc/pure_error.output reference output for testing
+test/yacc/pure_error.tab.c reference output for testing
+test/yacc/pure_error.tab.h reference output for testing
+test/yacc/quote_calc-s.error reference output for testing
+test/yacc/quote_calc-s.output reference output for testing
+test/yacc/quote_calc-s.tab.c reference output for testing
+test/yacc/quote_calc-s.tab.h reference output for testing
+test/yacc/quote_calc.error reference output for testing
+test/yacc/quote_calc.output reference output for testing
+test/yacc/quote_calc.tab.c reference output for testing
+test/yacc/quote_calc.tab.h reference output for testing
+test/yacc/quote_calc2-s.error reference output for testing
+test/yacc/quote_calc2-s.output reference output for testing
+test/yacc/quote_calc2-s.tab.c reference output for testing
+test/yacc/quote_calc2-s.tab.h reference output for testing
+test/yacc/quote_calc2.error reference output for testing
+test/yacc/quote_calc2.output reference output for testing
+test/yacc/quote_calc2.tab.c reference output for testing
+test/yacc/quote_calc2.tab.h reference output for testing
+test/yacc/quote_calc3-s.error reference output for testing
+test/yacc/quote_calc3-s.output reference output for testing
+test/yacc/quote_calc3-s.tab.c reference output for testing
+test/yacc/quote_calc3-s.tab.h reference output for testing
+test/yacc/quote_calc3.error reference output for testing
+test/yacc/quote_calc3.output reference output for testing
+test/yacc/quote_calc3.tab.c reference output for testing
+test/yacc/quote_calc3.tab.h reference output for testing
+test/yacc/quote_calc4-s.error reference output for testing
+test/yacc/quote_calc4-s.output reference output for testing
+test/yacc/quote_calc4-s.tab.c reference output for testing
+test/yacc/quote_calc4-s.tab.h reference output for testing
+test/yacc/quote_calc4.error reference output for testing
+test/yacc/quote_calc4.output reference output for testing
+test/yacc/quote_calc4.tab.c reference output for testing
+test/yacc/quote_calc4.tab.h reference output for testing
+test/yacc/rename_debug.c reference output for testing
+test/yacc/rename_debug.error reference output for testing
+test/yacc/rename_debug.h reference output for testing
+test/yacc/rename_debug.i reference output for testing
+test/yacc/rename_debug.output reference output for testing
+test/yacc/varsyntax_calc1.error reference output for testing
+test/yacc/varsyntax_calc1.output reference output for testing
+test/yacc/varsyntax_calc1.tab.c reference output for testing
+test/yacc/varsyntax_calc1.tab.h reference output for testing
View
617 external/bsd/byacc/dist/README.BTYACC
@@ -0,0 +1,617 @@
+-- Id: README.BTYACC,v 1.2 2014/04/22 08:18:57 Tom.Shields Exp
+
+The original README from btyacc is below.
+
+The backtracking enhancements to byacc have been merged into Thomas Dickey's
+byacc baseline.
+
+The %include and %define/%ifdef enhancements described below are not currently
+incorporated.
+
+The position management functionality ("YYPOSN", "yyposn", "YYREDUCEPOSNFUNC",
+"YYREDUCEPOSNFUNCARG" & "YYCALLREDUCEPOSN") is replaced by a bison-compatible
+"%locations" implementation.
+
+The memory management functionality ("YYDELETEVAL" & "YYDELETEPOSN") is
+replaced by a bison-compatible "%destructor" implementation.
+
+The detailed syntax error processing functionality ("YYERROR_DETAILED"
+& "yyerror_detailed()") is subsumed by the bison-compatible "yyerror()"
+implementation, as modified by the %parse-param and %locations directives.
+
+The debugging macro "YYDBPR()" in the parser skeleton is renamed
+"YYSTYPE_TOSTRING()".
+
+-------------------------------------------------------------------------------
+ BTYACC -- backtracking yacc
+ ===========================
+
+BTYACC was created by Chris Dodd using ideas from many
+places and lots of code from the Berkeley Yacc
+distribution, which is a public domain yacc clone put
+together by the good folks at Berkeley. This code is
+distributed with NO WARRANTY and is public domain.
+It is certain to contain bugs, which you should
+report to: chrisd@collins.com.
+
+Vadim Maslov of Siber Systems <vadik@siber.com>
+considerably modified BTYACC to make it suitable
+for production environment.
+
+Several people have suggested bug fixes that
+were incorporated into BtYacc.
+
+See the README.BYACC files for more about
+Berkeley Yacc and other sources of info.
+
+http://www.siber.com/btyacc/ is the current home of BtYacc.
+It is provided courtesy of Siber Systems http://www.siber.com/.
+
+
+ Version 3.0 changes
+ -------------------
+ by Vadim Maslov
+
+Changes mostly occurred in btyaccpa.ske file that
+contains the parsing shift/reduce/backtrack algorithm.
+
+Version 3.0 innovations focus on:
+- text position computation and propagation,
+- industrial-strength error processing and recovery.
+
+
+** Added mechanism for computing and propagating
+text position of tokens and non-terminals.
+
+Compilers often need to build AST trees such that every node
+in a tree can relate to the parsed program source it came from.
+The following applications are very likely to need this:
+- debuggers that show actual source of the debugged program,
+- source-to-source translators that want
+ unchanged parts of the tree to generate the unchanged code.
+
+The new YYPOSN mechanism added in this version of BtYacc
+helps you in automating the text position computation
+and in assigning the computed text positions to the AST.
+This mechanism is successfully used in commercial
+parsers and source-to-source translators.
+
+In standard Yaccs every token and every non-terminal
+has an YYSTYPE semantic value attached to it.
+In this new version every token and every non-terminal
+also has an YYPOSN text position attached to it.
+YYPOSN is a user-defined type that can be anything and
+that has a meaning of text position attached to
+token or non-terminal.
+
+In addition to semantic value stack BtYacc now maintains
+text position stack. Behavior of the text position stack
+is similar to the behavior of the semantic value stack.
+
+If using text position mechanism,
+you need to define the following:
+
+YYPOSN Preprocessor variable that contains C/C++ type of
+ the text position attached to
+ every token and non-terminal.
+
+yyposn Global variable of type YYPOSN.
+ The lexer must assign text position of
+ the returned token to yyposn, just like it assigns
+ semantic value of the returned token to yylval.
+
+YYREDUCEPOSNFUNC
+ Preprocessor variable that points to function that
+ is called after the grammar rule reduction
+ to reduce text positions located on the stack.
+
+ This function is called by BtYacc to reduce text
+ positions. The function is called immediately after
+ the regular rule reduction occurs.
+
+ The function has the following prototype:
+ void ReducePosn(YYPOSN &ret,
+ YYPOSN *terms,
+ YYSTYPE *term_vals,
+ int term_no,
+ int stk_pos,
+ int yychar,
+ YYPOSN &yyposn,
+ UserType extra);
+
+ The function arguments are:
+ - ret
+ Reference to the text position returned by
+ the rule. The function must write the computed
+ text position returned by the rule to ret.
+ This is analogue of the $$ semantic value.
+
+ - term_posns
+ Array of the right-hand side rule components
+ YYPOSN text positions. These are analogues of
+ $1, $2, ..., $N in the text position world.
+
+ - term_vals
+ Array of the right-hand side (RHS) rule components
+ YYSTYPE values. These are the $1,...,$N themselves.
+
+ - term_no
+ Number of the components in RHS of the reduced rule.
+ Equal to size of arrays term_posns and term_vals.
+ Also equal to N in $1,...,$N in the reduced rule.
+
+ - stk_pos
+ YYSTYPE/YYPOSN stack position before the reduction.
+
+ - yychar
+ Lookahead token that immediately follows
+ the reduced RHS components.
+
+ - yyposn
+ YYPOSN of the token that immediately follows
+ the reduced RHS components.
+
+ - extra
+ User-defined extra argument passed to ReducePosn.
+
+ Typically this function extracts text positions from
+ the right-hand side rule components and either
+ assigns them to the returned $$ structure/tree or
+ if no $$ value is returned, puts them into
+ the ret text position from where
+ it will be picked up by the later reduced rules.
+
+YYREDUCEPOSNFUNCARG
+ Extra user-defined argument passed to
+ the ReducePosn function. This argument can use
+ any variables defined in btyaccpa.ske.
+
+
+** Added code to btyaccpa.ske that automatically cleans up
+semantic semantic values and text positions of tokens
+and non-terminals that are discarded and deleted as
+a result of error processing.
+
+In the previous versions the discarded token and non-terminal
+semantic values were not cleaned that caused quite severe
+leaks. The only way to fix it was to add garbage collection
+to YYSTYPE class.
+
+Now BtYacc skeleton calls delete functions for semantic
+values and positions of the discarded tokens and
+non-terminals.
+
+You need to define the following functions that BtYacc
+calls when it needs to delete semantic value or text position.
+
+YYDELETEVAL
+ User-defined function that is called by BtYacc
+ to delete semantic value of the token or non-terminal.
+
+ The user-defined function must have the prototype:
+ void DeleteYYval(YYSTYPE v, int type);
+ v is semantic value to delete,
+ type is one of the following:
+ 0 discarding token
+ 1 discarding state
+ 2 cleaning up stack when aborting
+
+YYDELETEPOSN
+ User-defined function that is called by BtYacc
+ to delete text position of the token or non-terminal.
+
+ The user-defined function must have the prototype:
+ void DeleteYYposn(YYPOSN p, int type);
+ v is semantic value to delete,
+ type is one of the following:
+ 0 discarding token
+ 1 discarding state
+ 2 cleaning up stack when aborting
+
+
+** User can define "detailed" syntax error processing
+function that reports an *exact* position of
+the token that caused the error.
+
+If you define preprocessor variable YYERROR_DETAILED in
+your grammar then you need define the following
+error processing function:
+
+void yyerror_detailed(char *text,
+ int errt,
+ YYSTYPE &errt_value,
+ YYPOSN &errt_posn);
+
+It receives the following arguments:
+text Error message.
+errt Code of the token that caused the error.
+errt_value Value of the token that caused the error.
+errt_posn Text position of token that caused error.
+
+
+** Dropped compatibility with C.
+
+Compatibility with C became increasingly difficult
+to maintain as new features were added to btyaccpa.ske.
+So we dropped it. If anybody wants to make the new version
+compatible with C, we would gladly accept the changes.
+
+Meanwhile we expect that you use C++ to write grammar
+actions and everything else in grammar files.
+Since C is (in a sense) subset of C++, your C-based
+grammar may work if you use C++ compiler to compile it.
+
+ Version 3.0 bugs fixed
+ ----------------------
+
+Matthias Meixner <meixner@mes.th-darmstadt.de> fixed a bug:
+BtYacc does not correctly handle typenames, if one typename
+is a prefix of another one and if this type is used after
+the longer one. In this case BTYacc produces invalid code.
+
+
+ Version 2.1 changes
+ -------------------
+ by Vadim Maslov
+
+** Added preprocessor statements to BtYacc that are similar
+in function and behavior to C/C++ preprocessor statements.
+
+These statements are used to:
+
+- Introduce modularity into a grammar by breaking it
+ into several *.y files and assembling different
+ grammars from the *.y modules using %include and %ifdef.
+
+- Have several versions of the same grammar
+ by using %ifdef and $endif.
+
+- To include automatically generated grammar fragment.
+ For instance, we use %include to include
+ automatically generated list of tokens.
+
+Preprocessor statements are:
+
+%define <var-name>
+ Define preprocessor variable named <var-name>.
+
+%ifdef <var-name>
+ If preprocessor variable named <var-name>
+ is defined by %define, then process the text from
+ this %ifdef to the closing %endif.
+
+%endif
+ Closing bracket for %ifdef preprocessor statement.
+ Only one nesting level of %ifdef-%endif is allowed.
+
+%include <file-name>
+ Process contents of the file named <file-name>.
+ If <file-name> is a relative name, it is looked up
+ in a directory in which btyacc was started.
+ Only one nesting level of %include is allowed.
+
+
+ Version 2.0 changes
+ -------------------
+ by Vadim Maslov
+
+
+** Changed 16-bit short numbers to 32-bit int numbers in
+grammar tables, so that huge grammar tables (tables that
+are larger than 32768 elements) resulting from huge
+grammars (Cobol grammar, for instance) can work correctly.
+You need to have 32-bit integer to index table bigger than
+32768 elements, 16-bit integer is not enough.
+
+The original BtYacc just generated non-working tables
+larger than 32768 elements without even notifying about
+the table overflow.
+
+
+** Make error recovery work correctly when error happens
+while processing nested conflicts. Original BtYacc could
+infinitely cycle in certain situations that involved error
+recovery while in nested conflict.
+
+More detailed explanation: when we have nested conflicts
+(conflict that happens while trial-processing another
+conflict), it leads btyacc into NP-complete searching of
+conflict tree. The ultimate goal is YYVALID operator that
+selects a particular branch of that tree as a valid one.
+
+If no YYVALID is found on the tree, then error recovery
+takes over. The problem with this is that error recovery
+is started in the same state context that exists on the
+last surveyed branch of the conflict tree. Sometimes this
+last branch may be of zero length and it results in
+recovering to exactly the same state as existed before
+entering the conflict. BtYacc cycles then.
+
+We solved this problem by memorizing the longest path in
+the conflict tree while browsing it. If we ever get into
+error recovery, we restore state that existed on the
+longest path. Effectively we say: if we have an error,
+let us move forward as far as we possibly could while we
+were browsing the conflict tree.
+
+
+** Introduce YYVALID_NESTED operation in addition to
+simply YYVALID. When we have a nested conflict (conflict
+while processing in trial mode for another conflict), we
+want to relate YYVALID to a particular level of conflict
+being in trial.
+
+Since we mostly anticipate only 2-level nested conflicts
+YYVALID_NESTED tells the parser to satisfy only the
+internal conflict. Therefore, in 1-level conflict
+situation YYVALID_NESTED acts like a regular YYVALID, but
+in 2-level conflict it is a no-op and the other YYVALID
+for outer conflict will be searched for.
+
+
+** Improved handling of situation where /tmp directory is
+missing. Original btyacc just died quietly when /tmp
+directory was missing. We added code that states the
+problem explicitly. While on UNIX /tmp directory is always
+present, it may be missing on WIN32 systems, therefore
+diagnosing this situation is important.
+
+
+ Version 1.0 changes: BackTracking
+ =================================
+ by Chris Dodd
+
+BTYACC is a modified version of yacc that supports
+automatic backtracking and semantic disambiguation to
+parse ambiguous grammars, as well as syntactic sugar for
+inherited attributes (which tend to introduce conflicts).
+Whenever a btyacc generated parser runs into a
+shift-reduce or reduce-reduce error in the parse table, it
+remembers the current parse point (yacc stack and input
+stream state), and goes into trial parse mode. It then
+continues parsing, ignoring most rule actions. If it runs
+into an error (either through the parse table or through
+an action calling YYERROR), it backtracks to the most
+recent conflict point and tries a different alternative.
+If it finds a successful parse (reaches the end of the
+input or an action calls YYVALID), it backtracks to the
+point where it first entered trial parse mode, and
+continues with a full parse (executing all actions),
+following the path of the successful trial.
+
+Actions in btyacc come in two flavors -- {}-actions, which
+are only executed when not in trial mode, and []-actions
+which are executed regardless of mode. There are also
+inherited attributes, which look like arguments (they are
+enclosed in "()") and act like []-actions.
+
+What this buys you:
+
+* No more lexer feedback hack. In yacc grammars for C, a
+standard hack, know as the "lexer feedback hack" is used
+to find typedef names. The lexer uses semantic
+information to decide if any given identifier is a
+typedef-name or not and returns a special token. With
+btyacc, you no longer need to do this; the lexer should
+just always return an identifier. The btyacc grammar then
+needs a rule of the form:
+
+typename: ID [ if (!IsTypeName(LookupId($1))) YYERROR; ]
+
+While the hack works adequately well for parsing C, it
+becomes a nightmare when you try to parse something like
+C++, where treating an ID as a typedef becomes heavily
+dependent on context.
+
+* Easy disambiguation via simple ordering. Btyacc runs
+its trials via the rule "try shifting first, then try
+reducing by the order that the conflicting rules appear in
+the input file". This means you can deal with semantic a
+disambiguation rule like:
+ [1] If it looks like a declaration it is, otherwise
+ [2] If it looks like an expression it is, otherwise
+ [3] it is a syntax error
+ [Ellis&Stroustrup, Annotated C++ Reference Manual, p93]
+
+To deal with this, you need only put all the rules for
+declarations before the rules for expressions in the
+grammar file.
+
+* No extra cost if you do not use it. Backtracking is
+only triggered when the parse hits a shift/reduce or
+reduce/reduce conflict in the table. If you have no
+conflicts in your grammar, there is no extra cost, other
+than some extra code which will never be invoked.
+
+* C++ and ANSI C compatible parsers. The parsers produced
+by btyacc can be compiled with C++ correctly. If you
+"#define" YYSTYPE to be some C++ type with constructor and
+destructor, everything will work fine. My favorite is
+"#define YYSTYPE SmartPointer", where SmartPointer is a
+smart pointer type that does garbage collection on the
+pointed to objects.
+
+BTYACC was originally written to make it easy to write a
+C++ parser (my goal was to be able to use the grammar out
+of the back of the ARM with as few modifications as
+possible). Anyone who has ever looked at Jim Roskind
+public domain C++ yacc grammar, or the yacc-based grammar
+used in g++ knows how difficult this is. BTYACC is very
+useful for parsing any ambiguous grammar, particularly
+ones that come from trying to merge two (or more) complete
+grammars.
+
+Limitations of the backtracking: Currently, the generated
+parser does NO pruning of alternate parsing paths. To
+avoid an exponential explosion of possible paths (and
+parsing time), you need to manually tell the parser when
+it can throw away saved paths using YYVALID. In practice,
+this turns out to be fairly easy to do. A C++ parser (for
+example) can just put a [YYVALID;] after every complete
+declaration and statement rule, corresponding to pruning
+the backtracking state after seeing a ';' or '}' -- there
+will never be a situation in which it is useful to
+backtrack past either of these.
+
+Inherited attributes in btyacc:
+
+Inherited attributes look a lot like function arguments to
+non-terminals, which is what they end up being in a
+recursive descent parser, but NOT how they are implemented
+in btyacc. Basically they are just syntactic sugar for
+embedded semantic actions and $0, $-1, ... in normal yacc.
+btyacc gives you two big advantages besides just the
+syntax:
+ 1. it does type checking on the inherited attributes,
+ so you do not have to specify $<type>0 and makes sure
+ you give the correct number of arguments (inherited
+ attributes) to every use of a non-terminal.
+ 2. It "collapses" identical actions from that are produced
+ from inherited attributes. This eliminates many
+ potential reduce-reduce conflicts arising from
+ the inherited attributes.
+
+You use inherited attributes by declaring the types of the
+attributes in the preamble with a type declaration and
+declaring names of the attributes on the lhs of the yacc
+rule. You can of course have more than one rule with the
+same lhs, and you can even give them different names in
+each, but the type and number must be the same.
+
+Here is a small example:
+ /* lhs takes 2 inherited attributes */
+%type <t1> lhs(<t1>, <t2>)
+ stuff(<t1>, <t2>)
+%%
+lhs($i1, $i2) : { $$ = $i1 }
+ | lhs($i1, $i2) stuff($1,$i2) { $$ = $2; }
+
+This is roughly equivalent to the following yacc code:
+lhs :
+ { $$ = $<t1>-1; }
+ | lhs [ $<t1>$ = $-1; ] [ $<t2>$ = $<t2>0; ] stuff
+ { $$ = $4; }
+ ;
+
+See the file "test/t2.y" for a longer and more complete
+example. At the current time, the start symbol cannot
+have any arguments.
+
+Variant parsers:
+
+Btyacc supports the -S flag to use a different parser
+skeleton, changing the way that the parser is called and
+used. The skeleton "push.skel" is included to produce a
+"passive" parser that you feed tokens to (rather than
+having the parser call a separate yylex routine). With
+push.skel, yyparse is defined as follows:
+
+int yyparse(int token, YYSTYPE yylval)
+
+You should call yyparse repeatedly with successive tokens
+of input. It returns 0 if more input is needed, 1 for a
+successful parse, and -1 for an unrecoverable parse error.
+
+
+ Miscellaneous Features in ver. 1.0
+ ----------------------------------
+ by Chris Dodd
+
+ The -r option has been implemented. The -r option tells
+Yacc to put the read-only tables in y.tab.c and the code and
+variables in y.code.c. Keith Bostic asked for this option so
+that :yyfix could be eliminated.
+
+ The -l and -t options have been implemented. The -l
+option tells Yacc not to include #line directives in the code
+it produces. The -t option causes debugging code to be
+included in the compiled parser.
+
+ The code for error recovery has been changed to
+implement the same algorithm as AT&T Yacc. There will still
+be differences in the way error recovery works because AT&T
+Yacc uses more default reductions than Berkeley Yacc.
+
+ The environment variable TMPDIR determines the directory
+where temporary files will be created. If TMPDIR is defined,
+temporary files will be created in the directory whose
+pathname is the value of TMPDIR. By default, temporary files
+are created in /tmp.
+
+ The keywords are now case-insensitive. For example,
+%nonassoc, %NONASSOC, %NonAssoc, and %nOnAsSoC are
+all equivalent.
+
+ Commas and semicolons that are not part of C code are
+treated as commentary.
+
+ Line-end comments, as in BCPL, are permitted. Line-end
+comments begin with // and end at the next end-of-line.
+Line-end comments are permitted in C code; they are converted
+to C comments on output.
+
+ The form of y.output files has been changed to look more
+like those produced by AT&T Yacc.
+
+ A new kind of declaration has been added.
+The form of the declaration is
+
+ %ident string
+
+where string is a sequence of characters beginning with a
+double quote and ending with either a double quote or the
+next end-of-line, whichever comes first. The declaration
+will cause a #ident directive to be written near the start
+of the output file.
+
+ If a parser has been compiled with debugging code, that
+code can be enabled by setting an environment variable.
+If the environment variable YYDEBUG is set to 0, debugging
+output is suppressed. If it is set to 1, debugging output
+is written to standard output.
+