1 |
|
2002-11-30 Paul Eggert <eggert@twinsun.com> |
2 |
|
|
3 |
|
Add Yacc library, since POSIX requires it. |
4 |
|
* doc/bison.texinfo (Yacc Library): New node. Regenerate top menu. |
5 |
|
* lib/Makefile.am (lib_LIBRARIES, liby_a_SOURCES): New macros. |
6 |
|
* lib/main.c, lib/yyerror.c: New files. |
7 |
|
|
8 |
|
gram_error can be static; it need not be extern. |
9 |
|
* src/reader.h (gram_error): Remove decl. |
10 |
|
* src/parse-gram.y (gram_error): Now static. Add static decl. |
11 |
|
(print_token_value): Omit parameter names from forward decl, |
12 |
|
for consistency. |
13 |
|
|
14 |
2002-11-29 Paul Eggert <eggert@twinsun.com> |
2002-11-29 Paul Eggert <eggert@twinsun.com> |
15 |
|
|
16 |
|
* doc/bison.texinfo: Emphasize that yylex and yyerror must |
17 |
|
be declared before being used. E.g., one should typically |
18 |
|
declare them in the prologue. Use GNU coding style in examples. |
19 |
|
Put "const" consistently after the type it modifies. Mention |
20 |
|
that C99 supports "inline". Mention that yyerror traditionally |
21 |
|
returns "int". |
22 |
|
|
23 |
%parse-param and %lex-param now take just one argument, the |
%parse-param and %lex-param now take just one argument, the |
24 |
declaration; the argument name is deduced from the declaration. |
declaration; the argument name is deduced from the declaration. |
25 |
|
|