Commit Graph

5749 Commits

Author SHA1 Message Date
Josh Soref
75964cf0df spelling: incorrectly 2018-10-05 07:01:05 +02:00
Josh Soref
3c2b71cde6 spelling: included 2018-10-05 07:01:05 +02:00
Josh Soref
37c6dbb8ad spelling: illicit 2018-10-05 07:01:05 +02:00
Josh Soref
0883e6591f spelling: handling 2018-10-05 07:01:05 +02:00
Josh Soref
a538d0d8aa spelling: gratuitously 2018-10-05 07:01:05 +02:00
Josh Soref
2645ee3519 spelling: grammar 2018-10-05 07:01:04 +02:00
Josh Soref
ad15cd977a spelling: generation 2018-10-05 07:01:04 +02:00
Josh Soref
4e97614f5a spelling: generate 2018-10-05 07:01:04 +02:00
Josh Soref
82c36f0f0b spelling: forewarn 2018-10-05 07:01:04 +02:00
Josh Soref
ee1bcce627 spelling: fnchange 2018-10-05 07:01:04 +02:00
Josh Soref
8347aabe14 spelling: family 2018-10-05 07:01:04 +02:00
Josh Soref
25bdc41ee0 spelling: extensions 2018-10-05 07:01:04 +02:00
Josh Soref
57e3f5a80c spelling: enum 2018-10-05 07:01:04 +02:00
Josh Soref
8c3eae0d44 spelling: diagnostics 2018-10-05 07:01:04 +02:00
Josh Soref
6fe281271c spelling: determined 2018-10-05 07:01:04 +02:00
Josh Soref
23a37cc1c5 spelling: detailed 2018-10-05 07:01:04 +02:00
Josh Soref
eb1b04fa00 spelling: descriptive 2018-10-05 07:01:04 +02:00
Josh Soref
cdc252ace9 spelling: definitions 2018-10-05 07:01:04 +02:00
Josh Soref
95b55cc5c4 spelling: declaration 2018-10-05 07:01:04 +02:00
Josh Soref
e96d567a27 spelling: corrupted 2018-10-05 07:01:04 +02:00
Josh Soref
b62b690ccf spelling: consuming 2018-10-05 07:01:04 +02:00
Josh Soref
7d687eaee3 spelling: consistently 2018-10-05 07:01:04 +02:00
Josh Soref
a2ab59fa18 spelling: conflicts 2018-10-05 07:01:04 +02:00
Josh Soref
777226dd9f spelling: concatenation 2018-10-05 07:01:04 +02:00
Josh Soref
95e1b48e20 spelling: complete 2018-10-05 07:01:04 +02:00
Josh Soref
bb077f38f7 spelling: compatibility 2018-10-05 07:01:04 +02:00
Josh Soref
a6316700e8 spelling: comparison 2018-10-05 07:01:04 +02:00
Josh Soref
795f7e32cc spelling: combination 2018-10-05 07:01:04 +02:00
Josh Soref
c721eb9e28 spelling: characters 2018-10-05 07:01:04 +02:00
Josh Soref
3aed6a21f5 spelling: builddir 2018-10-05 07:01:04 +02:00
Josh Soref
b6d3f107fe spelling: assoc 2018-10-05 07:01:03 +02:00
Josh Soref
704a04512c spelling: appropriate 2018-10-05 07:01:03 +02:00
Josh Soref
2586398fcc spelling: alignment 2018-10-05 07:01:03 +02:00
Josh Soref
d9b37a62ff spelling: aggregate 2018-10-05 07:01:03 +02:00
Josh Soref
3d2bf2a8e3 spelling: adjust 2018-10-05 07:01:03 +02:00
Josh Soref
a3ced22c06 spelling: additional 2018-10-05 07:01:03 +02:00
Josh Soref
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