Akim Demaille
d511fbd576
gnulib: update
2012-07-26 16:51:26 +02:00
Akim Demaille
9c46ba16e3
formatting changes
...
* src/symtab.h: here.
2012-07-26 16:51:26 +02:00
Akim Demaille
55e075f229
tests: fix an assertion
...
* tests/local.at (AT_YYLEX_DEFINE): Be sure to check the array
against its length, not its size in bytes.
2012-07-26 16:51:26 +02:00
Akim Demaille
0bb672d87c
tests: adjust to GCC 4.8, which displays caret errors
...
With GCC 4.8, the tests on synclines are skipped. Transform
input.y:1:2: error: #error "1"
#error "1"
^
into
input.y:1: #error "1"
* tests/synclines.at (AT_SYNCLINES_COMPILE): Do it, using Perl instead of
sed.
2012-07-26 16:51:26 +02:00
Akim Demaille
8617d87e24
be sure to properly escape type names
...
* src/scan-code.l: Use obstack_quote when passing type_name to m4.
* tests/input.at (Code injection): New.
* NEWS: Document it.
Thanks to Paul Eggert for the wording.
2012-07-26 14:20:47 +02:00
Akim Demaille
0601c3bf0f
obstack_quote: escape and quote for M4
...
* src/system.h (obstack_quote): New.
* src/muscle-tab.c: Use it instead of obstack_escape where applicable.
* src/scan-code.l: Since obstack_quote supports NULL, leave type_name
as NULL instead of defaulting to "".
2012-07-26 14:20:18 +02:00
Akim Demaille
eea7239a23
muscles: shuffle responsabilities
...
* src/muscle-tab.c (muscle_boundary_grow): Be in charge of quotation,
instead of leaving this to the caller.
2012-07-26 12:30:03 +02:00
Akim Demaille
e58782294d
muscles: make private functions static
...
* src/muscle-tab.h, src/muscle-tab.c (muscle_boundary_grow)
(muscle_location_grow): Now static.
2012-07-26 12:30:03 +02:00
Akim Demaille
c1cc91bdcd
muscles: rename private functions/macros
...
* src/muscle-tab.c (MUSCLE_COMMON_DECODE, muscle_string_decode)
(muscle_location_decode): Not related to muscles, rename as...
(COMMON_DECODE, string_decode, location_decode): these.
2012-07-26 12:30:03 +02:00
Akim Demaille
13b712d7d4
obstack_escape: escape M4 characters
...
* src/muscle-tab.h (MUSCLE_OBSTACK_SGROW): This is not related to
muscles, so move to, and rename as...
* src/system.h (obstack_escape): this.
Adjust dependencies.
2012-07-26 12:30:02 +02:00
Akim Demaille
dba9149595
remove dead macro
...
* src/system.h (DEFAULT_TMPDIR): Remove, unused.
2012-07-26 12:28:40 +02:00
Akim Demaille
9b8585410a
maint: style changes
...
* src/scan-code.l: Remove useless braces.
Formatting changes.
Prefer NULL to 0.
* src/muscle-tab.c, src/system.h: Formatting changes.
2012-07-26 12:28:17 +02:00
Akim Demaille
f9b8635172
doc: avoid problems with case insensitive file systems
...
makeinfo --html generates index.html, and the node "Index" will result
in Index.html. On case insensitive file systems, such as on Mac OS X
by default, this results in a single, invalid, file (Texinfo 4.13).
See http://lists.gnu.org/archive/html/bug-texinfo/2012-07/msg00032.html
* doc/bison.texi (Index): Rename as...
(Index of Terms): this.
2012-07-24 13:30:49 +02:00
Stefano Lattarini
733d4546ce
configure: fix botched quoting
...
* configure.ac: In the AC_SUBST call on 'VALGRIND_PREBISON'. Without
this change, when running ./configure, I see:
...
checking for valgrind... valgrind
./configure: line 35221: -q: command not found
checking for Java compiler... gcj -C -fsource=1.3 -ftarget=1.4
...
Copyright-paperwork-exempt: yes
Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com >
2012-07-24 12:22:17 +02:00
Akim Demaille
aaf6103699
news: fix typo.
...
* NEWS: here.
Reported by Ben Pfaff.
2012-07-20 10:01:48 +02:00
Akim Demaille
d0d3313d10
maint: update gnu-web-doc-update.
...
* gnulib: here.
2012-07-19 16:24:33 +02:00
Akim Demaille
a4107f24bc
maint: post-release administrivia
...
* NEWS: Add header line for next release.
* .prev-version: Record previous version.
* cfg.mk (old_NEWS_hash): Auto-update.
2012-07-19 15:38:29 +02:00
Akim Demaille
1505e8bb78
version 2.6
...
* NEWS: Record release date.
v2.6
2012-07-19 15:24:23 +02:00
Akim Demaille
58c7e5ee2c
maint: prepare for release 2.6
...
* NEWS: here.
2012-07-19 15:21:32 +02:00
Akim Demaille
ad6b775fc5
maint: post-release administrivia
...
* NEWS: Add header line for next release.
* .prev-version: Record previous version.
* cfg.mk (old_NEWS_hash): Auto-update.
2012-07-18 18:33:25 +02:00
Akim Demaille
5d614dfa8c
version 2.5.91
...
* NEWS: Record release date.
2012-07-18 18:19:32 +02:00
Akim Demaille
858c700fc0
maint: prepare NEWS.
2012-07-18 18:19:12 +02:00
Akim Demaille
c30717cafa
maint: fix spaces.
...
* build-aux/Makefile.am: here.
2012-07-18 17:56:30 +02:00
Akim Demaille
0e98a81e00
tests: adjust to case where the C compiler is actually a C++ compiler
...
* tests/atlocal.in (CC_IS_CXX): New.
* tests/headers.at (Several parsers): Use it.
2012-07-18 09:17:31 +02:00
Akim Demaille
d5c20d1a36
tests: fix dependencies
...
* tests/Makefile.am: we need atconfig and atlocal to be up to date
when calling testsuite.
2012-07-18 09:17:31 +02:00
Akim Demaille
e6ae99fe75
doc: fix Texinfo command
...
* doc/bison.texi: In parens, use @pxref.
2012-07-18 09:17:31 +02:00
Akim Demaille
bcbbf65486
maint: Valgrind on OS X.
...
* configure.ac (VALGRIND_PREBISON): New.
* tests/Makefile.am (maintainer-check-valgrind): Use it.
* etc/darwin11.4.0.supp: New.
* configure.ac, etc/Makefile.am: Use it.
* configure.ac: Disable Valgrind on Mac OS X.
* README-hacking: Explain why.
2012-07-18 09:17:15 +02:00
Akim Demaille
1aa9fa823b
tests: be sure that backups are safe.
...
* tests/local.at (at_save_special_files): here.
2012-07-17 14:47:35 +02:00
Akim Demaille
321b8117a6
maint: dead comment.
...
* etc/README: here.
2012-07-17 14:47:35 +02:00
Akim Demaille
e4828e2384
tests: refactor for legibility.
...
* tests/local.at (AT_BISON_CHECK_WARNINGS, AT_BISON_CHECK_WARNINGS_):
New.
2012-07-17 14:47:34 +02:00
Akim Demaille
a122efad8a
tests: refactor the bison invocations.
...
* tests/local.at (m4_null_if, AT_BISON_CHECK_): New.
2012-07-17 14:47:34 +02:00
Akim Demaille
15ffba51b0
maint: fix syntax-check ignore patterns.
...
* cfg.mk: here.
2012-07-17 12:14:55 +02:00
Akim Demaille
ea6a2d96db
gnulib: update
2012-07-17 09:49:57 +02:00
Akim Demaille
ae63f0e8e2
gnulib: update.
...
* gnulib: Update so that gitlog-to-changelog support --srcdir.
* Makefile.am: Use it.
2012-07-16 20:40:18 +02:00
Akim Demaille
41c11ce484
gnulib: update
...
* bootstrap, build-aux/.gitignore, gnulib, m4/.gitignore: update.
2012-07-10 16:07:32 +02:00
Akim Demaille
a59a6ddef4
maint: update release instructions
...
* README-hacking: here.
2012-07-06 10:21:39 +02:00
Akim Demaille
aca4ddc75d
maint: post-release administrivia
...
* NEWS: Add header line for next release.
* .prev-version: Record previous version.
* cfg.mk (old_NEWS_hash): Auto-update.
2012-07-05 16:29:06 +02:00
Akim Demaille
47977a7e74
version 2.5.90
...
* NEWS: Record release date.
2012-07-05 16:20:44 +02:00
Akim Demaille
813f7d3482
build: fix gen-ChangeLog call.
...
* Makefile.am: Be sure to catch errors, and fix option name
2012-07-05 16:16:10 +02:00
Akim Demaille
7a9e6d65ea
gnulib: update.
...
* gnulib/build-aux/do-release-commit-and-tag: Fix.
2012-07-05 15:24:34 +02:00
Akim Demaille
916f26b65a
tests: fix SKIP_IF for Java.
...
* tests/local.at (AT_JAVA_COMPILE): here.
2012-07-05 14:27:09 +02:00
Akim Demaille
32ae07efde
api.prefix: incompatible with %name-prefix.
...
* data/bison.m4: Make it incompatible.
* tests/input.at: Check that it is.
2012-07-05 12:41:16 +02:00
Akim Demaille
ad60e80f3d
api.prefix: strengthen the tests and fix push-parsers.
...
* tests/calc.at: Check api.prefix in addition to %name-prefix.
* tests/headers.at: Check push parsers and pure interface.
* tests/local.at: Use YYLTYPE renamed.
* data/yacc.c (b4_declare_yyparse_push_): Handle api.prefix.
* doc/bison.texi: Style changes.
2012-07-05 12:41:15 +02:00
Akim Demaille
2a824fae30
skeletons: style changes.
...
* data/bison.m4: Define default values after having defined
the support macros.
Kill a dead comment.
2012-07-05 12:41:09 +02:00
Akim Demaille
c242519127
NEWS: minor changes.
...
* NEWS: style changes.
2012-07-05 12:41:09 +02:00
Akim Demaille
e358222ba8
api.prefix: improve the documentation for YYDEBUG.
...
* doc/bison.texi: Explain how api.prefix is applied to YYDEBUG.
2012-07-05 12:41:08 +02:00
Akim Demaille
9dcb193aeb
gnulib: update.
...
* bootstrap, gnulib: Update.
* cfg.mk (syntax-check): Don't check "error" usage in bison.texi.
2012-07-05 11:13:47 +02:00
Akim Demaille
faff3bef5b
tests: headers.at: strengthen.
...
* tests/headers.at (Several headers): Be stricter when checking
the exported macros.
2012-07-04 12:24:13 +02:00
Akim Demaille
53ab797db7
glr.cc: do not override C++ definitions by C macros.
...
* data/glr.c: here.
* data/glr.cc: Fix overquotation.
* tests/headers.at: Comment changes.
2012-07-04 12:24:13 +02:00
Akim Demaille
426903aa75
YYLLOC_DEFAULT: factor, and don't export it in headers.
...
* data/c++.m4, data/c.m4 (b4_yylloc_default_define): New.
* data/glr.c, data/glr.cc, data/lalr1.cc, data/yacc.c: Use it.
* data/glr.cc: Do not define YYLLOC_DEFAULT in the header file,
but in the implementation one.
2012-07-04 12:24:13 +02:00