diff options
author | Daniel Jacobowitz <drow@false.org> | 2003-12-24 21:59:05 +0000 |
---|---|---|
committer | Daniel Jacobowitz <drow@false.org> | 2003-12-24 21:59:05 +0000 |
commit | 25e77157c09747b961c187602970574ebc5f3f48 (patch) | |
tree | a8fe01be91ea877cd6be1f378164a31ddedbbd8e /libiberty/setenv.c | |
parent | 543385e1777075e10b3d389433e514122708c277 (diff) | |
download | gdb-25e77157c09747b961c187602970574ebc5f3f48.zip gdb-25e77157c09747b961c187602970574ebc5f3f48.tar.gz gdb-25e77157c09747b961c187602970574ebc5f3f48.tar.bz2 |
* cp-names.y (LONGEST, ULONGEST, DOUBLEST): Remove.
(d_qualify): Take an int argument. Update for new INT_LLONG
handling.
(INT_CHAR, INT_SHORT, INT_LONG, INT_LLONG, INT_SIGNED)
(INT_UNSIGNED): Change into bitflags.
(%union): Change lval and typed_val_int.val to ints.
(scope_id, typespec): Inline non-terminals at their use sites.
(sign, size, int_type): Remove.
(int_part, int_seq): New non-terminals.
(result): Add missing semicolon.
(name, nested_name): Inline scope_id here.
(template_arg, function_args): Inline type here.
(builtin_type): Use int_seq. Add missing semicolon.
(typespec_2): Inline typespec and colon_name here.
(start, qualifiers_opt, qualifiers): Remove redundant action.
(abstract_declarator, direct_abstract_declarator): Likewise.
(abstract_declarator_fn): Likewise.
(d_builtin_type): New helper function.
(parse_number): Use d_builtin_type.
(HANDLE_SPECIAL): Only take one argument.
(yylex): Remove unused variable unquoted_expr. Use d_builtin_type.
Update calls to HANDLE_SPECIAL. Jump around case '-' instead of
falling through it. Use ISALNUM and ISALPHA. Add a return
statement after a call to error. Match trailing speaces on special
tokens.
(cp_print): Take a len argument, and pass it to d_print. Print the
string instead of returning it.
(main): Pass len to cp_print. Allocate and free myinfo.comps.
Use putchar and puts instead of printf.
* Makefile.in (safe_ctype_h): Add.
(test-cpnames, cp-names-main.tab.o): New rules.
(clean): Remove test-cpnames.
(cp-names.tab.o): Update dependencies.
Diffstat (limited to 'libiberty/setenv.c')
0 files changed, 0 insertions, 0 deletions