Paul Eggert
b4582f1918
Update URLs to prefer https: to http:
...
Also, fix a few http: URLs that were no longer working.
2021-01-29 13:48:43 -08:00
Akim Demaille
77a8b84fc8
tests: provide check-examples and check-tests
...
* examples/local.mk (check-examples): New.
* tests/local.mk (check-tests): New.
* README-hacking.md: Document them.
2021-01-27 20:48:38 +01:00
Akim Demaille
d7e8aaa271
package: bump copyrights to 2021
...
Run 'make update-copyright'.
2021-01-16 16:11:17 +01:00
Akim Demaille
59653c8efd
doc: more about sanitizers
...
* README-hacking.md: here.
2020-12-26 08:08:06 +01:00
Akim Demaille
611348e67b
glr2.cc: more checks
...
* data/skeletons/glr2.cc: Clarify use of magic numbers.
(glr_stack_item::getState): Check the returned state.
2020-12-20 15:56:22 +01:00
Akim Demaille
5629305131
doc: using stow to set up a bison herd
...
* README-hacking.md (Stow): New.
2020-11-20 22:09:31 +01:00
Akim Demaille
042b916c0e
style: comment changes in the skeletons
...
* data/skeletons/lalr1.cc: Prepare for Java's LAC.
* data/skeletons/lalr1.java: Style fixes.
2020-11-03 08:46:54 +01:00
Akim Demaille
b329f0b5df
CI: beware of time limits
...
* .travis.yml (GCC 8): Run only the part 1 of the tests.
2020-09-17 19:42:46 +02:00
Akim Demaille
34476c449a
glr2.cc: disable GCC 4.6 warning
...
231. conflicts.at:1096: testing Syntax error in consistent error state: glr2.cc ...
tests/conflicts.at:1096: $CXX $CXXFLAGS $CPPFLAGS $LDFLAGS -o input input.cc $LIBS
input.cc: In member function 'YYRESULTTAG glr_stack::yyresolveValue(glr_state*)':
input.cc:2674:36: error: 'yysval' may be used uninitialized in this function [-Werror=uninitialized]
Do not initialize the variable: this way ASAN can really make sure we
do set it to a proper value.
If we initialize it, ASAN would report nothing.
* data/skeletons/c.m4 (YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN): Disable
GCC 4.6's -Wuninitialized.
* data/skeletons/glr2.cc: Disable the warning locally.
2020-09-15 07:27:00 +02:00
Akim Demaille
aa766d1560
maint: make it easier to update expectations
...
* tests/local.mk (update-tests): New.
2020-07-11 12:58:44 +02:00
Akim Demaille
238692ad77
doc: more details about symbols in m4
...
* data/README.md: here.
* README-hacking.md (Vocabulary): More.
2020-07-05 09:18:27 +02:00
Akim Demaille
688b3404a2
doc: tidy the text files
...
* etc/README: Rename/reformat as...
* etc/README.md: this.
And ship it.
2020-06-29 19:10:05 +02:00
Akim Demaille
160df55c56
doc: overhaul of the readmes
...
* README-hacking.md (Working from the Repository): Make it first to
make it easier to find the instructions to build from the repo.
(Implementation Notes): New.
* README: Provide more links.
2020-06-28 14:57:41 +02:00
Akim Demaille
0e5cbd38b2
style: shift/reduce, not shift-reduce
...
* src/reader.c: here.
2020-06-28 08:33:24 +02:00
Akim Demaille
0895858d8e
style: use 'nonterminal' consistently
...
* doc/bison.texi: Formatting changes.
* src/gram.h, src/gram.c (nvars): Rename as...
(nnterms): this.
Adjust dependencies.
(section): New. Use it.
Replace "non terminal" and "non-terminal" by "nonterminal".
2020-06-27 11:39:32 +02:00
Akim Demaille
e077bf1ebc
cex: don't assume the terminal supports "•"
...
Use of print_unicode_char suggested by Bruno Haible.
https://lists.gnu.org/r/bug-gettext/2020-06/msg00012.html
* src/gram.h (print_dot_fallback, print_dot): New.
* src/gram.c, src/derivation.c: Use it.
* tests/counterexample.at, tests/report.at: Adjust the test suite.
* .travis.yml, README-hacking.md: Adjust.
2020-06-16 07:58:40 +02:00
Akim Demaille
de5be4a693
doc: using asan
...
* README-hacking.md: here.
2020-06-01 18:52:23 +02:00
Akim Demaille
03a6b439f6
style: fix includes
...
* src/fixits.c: Follow our usual pattern.
* src/scan-code.l, src/scan-gram.l, src/scan-skel.l: Prefer "" to
include src/ headers.
* README-hacking.md: Document the pattern.
2020-06-01 18:52:22 +02:00
Akim Demaille
3fea8fade8
style: spell fixes
...
* Makefile.am (codespell): New.
* doc/bison.texi: Fixes.
Use @option for options.
* src/lssi.c, src/lssi.h, src/parse-simulation.h, src/state-item.c:
Fix spellos.
2020-05-23 11:19:27 +02:00
Akim Demaille
3aaa971096
doc: hacking tricks
...
* README-hacking.md: Here.
2020-04-26 16:08:42 +02:00
Akim Demaille
b74fc07d21
style: c: fix a few minor issues about indentation of cpp directives
...
* README-hacking.md: More about cpp.
* data/skeletons/c.m4, data/skeletons/yacc.c: Style changes.
2020-04-25 12:16:57 +02:00
Akim Demaille
758172a8b9
doc: spell check
...
* doc/bison.texi, NEWS, README-hacking.md: here.
And elsewhere.
2020-04-13 18:50:05 +02:00
Akim Demaille
8f01cf0269
doc: more about the coding style
...
* README-hacking.md: here.
(Troubleshooting): New.
2020-04-13 17:08:53 +02:00
Akim Demaille
79f967ac0d
java: use getExpectedTokens, not yyexpectedTokens
...
* data/skeletons/lalr1.java, examples/java/calc/Calc.y, tests/local.at:
here.
2020-04-06 18:43:34 +02:00
Akim Demaille
57bc3c9013
doc: remove obsolete release instructions
...
* README-hacking.md: here.
2020-04-05 14:49:46 +02:00
Akim Demaille
f9c73eec5f
readme: more about the coding style
2020-04-04 19:20:29 +02:00
Akim Demaille
ecd922024e
README: point to tests/bison, and document --trace
...
Reported by Victor Morales Cayuela.
* README, README-hacking.md: here.
2020-03-05 17:56:55 +01:00
Akim Demaille
8036635251
package: bump copyrights to 2020
...
Run 'make update-copyright'.
2020-01-05 10:26:35 +01:00
Akim Demaille
fa00c56c17
doc: minor changes
...
* README-hacking.md: here.
2019-12-07 18:23:08 +01:00
Akim Demaille
b92f064e9b
doc: more details about the test suite
...
* README-hacking.md: here.
2019-11-22 09:02:06 +01:00
Akim Demaille
c313360deb
doc: clarify build instructions
...
* README: A few fixes.
Explain how to install color support.
* README-hacking: Rename as...
* README-hacking.md: this, and convert to Markdown.
Improve typography.
Improve explanations about update-test.
2019-11-11 15:59:53 +01:00