1 |
|
2001-09-20 Pascal Bart <pascal.bart@epita.fr> |
2 |
|
|
3 |
|
* src/lex.c (parse_percent_token): Change type of variable `tx', which |
4 |
|
is now an option_table_struct*. |
5 |
|
(option_strcmp): New function option_strcmp. |
6 |
|
(parse_percent_token): Call option_strcmp. |
7 |
|
* src/getargs.c (xalloc.h, options.h): Include it. |
8 |
|
(getargs): Call create_long_option_table. |
9 |
|
(getargs): Free longopts at the end of the function. |
10 |
|
(shortopts): Move in options.c. |
11 |
|
* src/options.c (create_long_option_table): New function. Convert |
12 |
|
information from option_table to option structure. |
13 |
|
* src/reader.c (options.h): Include it. |
14 |
|
|
15 |
|
* src/Makefile.am: Adjust. |
16 |
|
* src/options.c (option_table): Create from longopts and percent_table. |
17 |
|
* src/getargs.c (longopts): Delete. |
18 |
|
* src/lex.c (struct percent_table_struct): Delete. |
19 |
|
(percent_table): Delete. |
20 |
|
(options.h): Include it. |
21 |
|
* src/options.c: Create. |
22 |
|
* src/options.h: Create. |
23 |
|
Declare enum opt_access_e. |
24 |
|
Define struct option_table_struct. |
25 |
|
|
26 |
2001-09-20 Marc Autret <autret_m@epita.fr> |
2001-09-20 Marc Autret <autret_m@epita.fr> |
27 |
|
|
28 |
* doc/bison.texinfo: Adjust terminologies about prologue and epilogue |
* doc/bison.texinfo: Adjust terminologies about prologue and epilogue |