Josh Soref and Akim Demaille
37c6dbb8ad
spelling: illicit
2018-10-05 07:01:05 +02:00
Josh Soref and Akim Demaille
0883e6591f
spelling: handling
2018-10-05 07:01:05 +02:00
Josh Soref and Akim Demaille
a538d0d8aa
spelling: gratuitously
2018-10-05 07:01:05 +02:00
Josh Soref and Akim Demaille
2645ee3519
spelling: grammar
2018-10-05 07:01:04 +02:00
Josh Soref and Akim Demaille
ad15cd977a
spelling: generation
2018-10-05 07:01:04 +02:00
Josh Soref and Akim Demaille
4e97614f5a
spelling: generate
2018-10-05 07:01:04 +02:00
Josh Soref and Akim Demaille
82c36f0f0b
spelling: forewarn
2018-10-05 07:01:04 +02:00
Josh Soref and Akim Demaille
ee1bcce627
spelling: fnchange
2018-10-05 07:01:04 +02:00
Josh Soref and Akim Demaille
8347aabe14
spelling: family
2018-10-05 07:01:04 +02:00
Josh Soref and Akim Demaille
25bdc41ee0
spelling: extensions
2018-10-05 07:01:04 +02:00
Josh Soref and Akim Demaille
57e3f5a80c
spelling: enum
2018-10-05 07:01:04 +02:00
Josh Soref and Akim Demaille
8c3eae0d44
spelling: diagnostics
2018-10-05 07:01:04 +02:00
Josh Soref and Akim Demaille
6fe281271c
spelling: determined
2018-10-05 07:01:04 +02:00
Josh Soref and Akim Demaille
23a37cc1c5
spelling: detailed
2018-10-05 07:01:04 +02:00
Josh Soref and Akim Demaille
eb1b04fa00
spelling: descriptive
2018-10-05 07:01:04 +02:00
Josh Soref and Akim Demaille
cdc252ace9
spelling: definitions
2018-10-05 07:01:04 +02:00
Josh Soref and Akim Demaille
95b55cc5c4
spelling: declaration
2018-10-05 07:01:04 +02:00
Josh Soref and Akim Demaille
e96d567a27
spelling: corrupted
2018-10-05 07:01:04 +02:00
Josh Soref and Akim Demaille
b62b690ccf
spelling: consuming
2018-10-05 07:01:04 +02:00
Josh Soref and Akim Demaille
7d687eaee3
spelling: consistently
2018-10-05 07:01:04 +02:00
Josh Soref and Akim Demaille
a2ab59fa18
spelling: conflicts
2018-10-05 07:01:04 +02:00
Josh Soref and Akim Demaille
777226dd9f
spelling: concatenation
2018-10-05 07:01:04 +02:00
Josh Soref and Akim Demaille
95e1b48e20
spelling: complete
2018-10-05 07:01:04 +02:00
Josh Soref and Akim Demaille
bb077f38f7
spelling: compatibility
2018-10-05 07:01:04 +02:00
Josh Soref and Akim Demaille
a6316700e8
spelling: comparison
2018-10-05 07:01:04 +02:00
Josh Soref and Akim Demaille
795f7e32cc
spelling: combination
2018-10-05 07:01:04 +02:00
Josh Soref and Akim Demaille
c721eb9e28
spelling: characters
2018-10-05 07:01:04 +02:00
Josh Soref and Akim Demaille
3aed6a21f5
spelling: builddir
2018-10-05 07:01:04 +02:00
Josh Soref and Akim Demaille
b6d3f107fe
spelling: assoc
2018-10-05 07:01:03 +02:00
Josh Soref and Akim Demaille
704a04512c
spelling: appropriate
2018-10-05 07:01:03 +02:00
Josh Soref and Akim Demaille
2586398fcc
spelling: alignment
2018-10-05 07:01:03 +02:00
Josh Soref and Akim Demaille
d9b37a62ff
spelling: aggregate
2018-10-05 07:01:03 +02:00
Josh Soref and Akim Demaille
3d2bf2a8e3
spelling: adjust
2018-10-05 07:01:03 +02:00
Josh Soref and Akim Demaille
a3ced22c06
spelling: additional
2018-10-05 07:01:03 +02:00
Josh Soref and Akim Demaille
a2b6281b39
spelling: accurately
2018-10-05 07:01:03 +02:00
Akim Demaille
cf4600ca45
README-hacking: details about make check-local
2018-10-05 06:21:59 +02:00
Akim Demaille
8d64416e8c
gnulib: update
2018-10-05 06:14:20 +02:00
Akim Demaille
26859f6d61
main: fix error message for missing argument
...
* src/getargs.c (getargs): Don't display any argv other that argv[0]
when reporting a missing argument.
* tests/bison.in: Neutralize path differences in stderr.
* tests/input.at (Invalid number of arguments): New.
2018-10-04 22:24:11 +02:00
Akim Demaille
f84a8e96d1
gnulib: move timevar to it
...
* lib/timevar.c, lib/timevar.h, m4/timevar.m4: Remove.
* gnulib: Update.
* configure.ac: Adjust.
* lib/timevar.def: Use lower case for the timevvars.
Adjust dependencies.
2018-09-30 14:19:53 +02:00
Akim Demaille
4247df921b
style: comment changes
...
* data/glr.cc, data/lalr1.cc: here.
2018-09-29 12:19:33 +02:00
Akim Demaille
9bdff3d271
gnulib: update
2018-09-29 09:39:00 +02:00
Paul Eggert
d03b1a7e8c
getargs: use LC_MESSAGES trick only on glibc
...
* src/getargs.c (usage): Rely on setlocale (LC_MESSAGES, NULL)
trick only on glibc, as POSIX does not specify the output
of setlocale in this case, and the Gnulib localename module
source code indicates that the trick works only on glibc.
2018-09-28 16:41:41 -07:00
Paul Eggert
973c456f63
uniqstr: avoid need for VLAs
...
C11 no longer requires support for variable-length arrays, and
VS2015 does not have them. Redo UNIQSTR_CONCAT to use a method
that is simpler and better anyway.
* src/uniqstr.c (uniqstr_vsprintf): Remove; no longer needed.
* src/uniqstr.h (UNIQSTR_GEN_FORMAT, UNIQSTR_GEN_FORMAT_):
* src/uniqstr.c (uniqstr_concat): New function.
* src/uniqstr.h (UNIQSTR_CONCAT): Use it instead of using
uniqstr_vsprintf.
2018-09-28 16:41:41 -07:00
Akim Demaille
2d07940325
doc: clean up the C++ section
...
* doc/bison.texi: Minor fixes in typography.
It is no longer require to pass --defines for C++ (it was addressed
long ago).
No longer refer to the `variant` define variable, it was replaced by
`api.value.type variant`.
Prefer nullptr to 0 for the null pointer.
Use deftypeop for constructors.
(Complete Symbols): Give the expected signature of yylex.
Don't document the symbol_type constructors, as we want users to focus
on make_TOKEN.
Also show the case without locations.
2018-09-26 21:49:20 +02:00
Akim Demaille
13cdb2d397
CI: fixes for clang and asan
...
Bison's test 464 (Syntax error as exception) fails on the CI.
Do not use clang with asan on Ubuntu's libc++.
https://bugs.llvm.org/show_bug.cgi?id=17379
* .travis.yml (Clang 7 libc++ and ASAN): New.
(Clang 6 -O3 and libc++): Really use libc++.
(Clang 5): Don't use libc++, nor asan (does not work either, same
reason).
2018-09-26 16:22:32 +02:00
Akim Demaille
b2a3a302e6
style: reduce scopes in muscle-tab.c
2018-09-24 21:52:56 +02:00
Akim Demaille
8c4a1163ee
style: remove useless parens
...
* data/bison.m4, data/glr.c, data/glr.cc, data/lalr1.cc,
* data/lalr1.java, data/location.cc, data/yacc.c: Call b4_output_end
without parens.
2018-09-24 21:52:55 +02:00
Akim Demaille
cf4e3eecef
c++: fix warning message for automove
...
* src/scan-code.l: Remove 'enabled'.
Use only $k (numeric), even for named references, for clarity.
* tests/c++.at: Adjust expectations.
2018-09-24 21:52:55 +02:00
Akim Demaille
2eaa7ed946
style: minor refactoring
...
* data/bison.m4: Formatting changes.
* src/scan-code.l: Avoid loops, prefer standard string functions.
(find_prefix_end): Be const correct.
Avoid useless intermediate variables.
(variant_add): Be const correct.
(parse_ref): Prefer variable definitions to assignments.
2018-09-24 21:52:55 +02:00
Akim Demaille
e198269f40
CI: don't exit
...
* .travis.yml: Prefer `false` to `exit`, as it completely ends the
script (so we don't get the logs).
2018-09-24 21:52:55 +02:00