This is the mail archive of the
gdb-cvs@sources.redhat.com
mailing list for the GDB project.
src/gdb ChangeLog.cplus Makefile.in cp-names.y
- From: drow at sources dot redhat dot com
- To: gdb-cvs at sources dot redhat dot com
- Date: 24 Dec 2003 21:59:06 -0000
- Subject: src/gdb ChangeLog.cplus Makefile.in cp-names.y
CVSROOT: /cvs/src
Module name: src
Branch: drow-cplus-branch
Changes by: drow@sourceware.org 2003-12-24 21:59:06
Modified files:
gdb : ChangeLog.cplus Makefile.in cp-names.y
Log message:
* 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.
Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/ChangeLog.cplus.diff?cvsroot=src&only_with_tag=drow-cplus-branch&r1=1.1.2.21&r2=1.1.2.22
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/Makefile.in.diff?cvsroot=src&only_with_tag=drow-cplus-branch&r1=1.268.2.6&r2=1.268.2.7
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/cp-names.y.diff?cvsroot=src&only_with_tag=drow-cplus-branch&r1=1.1.2.12&r2=1.1.2.13