]> git.saurik.com Git - bison.git/commit
* src/lex.c (parse_percent_token): Change type of variable `tx', which
authorPascal Bart <pascal.bart@epita.fr>
Thu, 20 Sep 2001 18:32:20 +0000 (18:32 +0000)
committerPascal Bart <pascal.bart@epita.fr>
Thu, 20 Sep 2001 18:32:20 +0000 (18:32 +0000)
commit82b6d266fdd393132bf7073acaea31f4f624b223
treec079317a81336d255ceb463c721936383304ac01
parent75f5aaea275c480142ed8791e33933cda3a3ac90
* src/lex.c (parse_percent_token): Change type of variable `tx', which
is now an option_table_struct*.
(option_strcmp): New function option_strcmp.
(parse_percent_token): Call option_strcmp.
* src/getargs.c (xalloc.h, options.h): Include it.
(getargs): Call create_long_option_table.
(getargs): Free longopts at the end of the function.
(shortopts): Move in options.c.
* src/options.c (create_long_option_table): New function.  Convert
information from option_table to option structure.
* src/reader.c (options.h): Include it.
* src/Makefile.am: Adjust.
* src/options.c (option_table): Create from longopts and percent_table.
* src/getargs.c (longopts): Delete.
* src/lex.c (struct percent_table_struct): Delete.
(percent_table): Delete.
(options.h): Include it.
* src/options.c: Create.
* src/options.h: Create.
Declare enum opt_access_e.
Define struct option_table_struct.
ChangeLog
TODO
src/Makefile.am
src/getargs.c
src/lex.c
src/options.c [new file with mode: 0644]
src/options.h [new file with mode: 0644]
src/reader.c