1 |
2002-06-30 Akim Demaille <akim@epita.fr> |
2002-06-30 Akim Demaille <akim@epita.fr> |
2 |
|
|
3 |
|
Have the GLR tests be `warning' checked, and fix the warnings. |
4 |
|
|
5 |
|
* data/glr.c (YYFPRINTF): Always define it, not only when YYDEBUG |
6 |
|
(yyuserAction, yyreportAmbiguity): `Use' all the arguments. |
7 |
|
(yyremoveDeletes): `yyi' and `yyj' are size_t. |
8 |
|
Use YYFPRINTF when under if (YYDEBUG) to avoid empty `if' bodies. |
9 |
|
(yyaddDeferredAction): static. |
10 |
|
(yyglrReduce): yyi, yyk, amd yyposn are size_t. |
11 |
|
(yyreportParseError): yyprefix is const. |
12 |
|
yytokenp is used only when verbose. |
13 |
|
(yy__GNUC__): Replace with __GNUC__. |
14 |
|
(yypdumpstack): yyi is size_t. |
15 |
|
(yypreference): Un-yy local variables and arguments, to avoid |
16 |
|
clashes with `yyr1'. Anyway, we are not in the user name space. |
17 |
|
(yytname_size): be an int, as is compared with ints. |
18 |
|
* tests/testsuite.at (AT_COMPILE, AT_PARSER_CHECK): New. |
19 |
|
Use them. |
20 |
|
* tests/cxx-gram.at: Use quotation to protect $1. |
21 |
|
Use AT_COMPILE to enable warnings hunts. |
22 |
|
Prototype yylex and yyerror. |
23 |
|
`Use' argc. |
24 |
|
Include `string.h', not `strings.h'. |
25 |
|
Produce and prototype stmtMerge only when used. |
26 |
|
yylex takes a location. |
27 |
|
|
28 |
|
|
29 |
|
2002-06-30 Akim Demaille <akim@epita.fr> |
30 |
|
|
31 |
We spend a lot of time in quotearg, in particular when --verbose. |
We spend a lot of time in quotearg, in particular when --verbose. |
32 |
|
|
33 |
* src/symtab.c (symbol_get): Store a quoted version of the key. |
* src/symtab.c (symbol_get): Store a quoted version of the key. |