]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
* cp-names.y (demangler_special): New non-terminal.
authorDaniel Jacobowitz <drow@false.org>
Fri, 19 Dec 2003 06:23:13 +0000 (06:23 +0000)
committerDaniel Jacobowitz <drow@false.org>
Fri, 19 Dec 2003 06:23:13 +0000 (06:23 +0000)
commit47ac3688b3e1d6ecfc0d709d1e66a4ccb5e49738
treeef7af7bcd79ac5b14a5ae2f6c5b4e47fa51a4b51
parent20b9637255c5b27675452a84ae330c6d7b9fa0df
* cp-names.y (demangler_special): New non-terminal.
(DEMANGLER_SPECIAL, CONSTRUCTION_VTABLE, CONSTRUCTION_IN): New
terminals.
(GLOBAL_CONSTRUCTORS, GLOBAL_DESTRUCTORS): New enums.
(tokentab_big): New struct.
(yylex): Recognize them.  Handle negative literals.
(parse_number): Handle negative literals.
(start): Use demangler_special.
(operator): Correct typos for ->* and ().  Use typespec_2 instead of
typespec.
(unqualified_name): Allow operator templates.
(template_arg): Create a unary operation, not a reference type.
(exp): Set the type of D_COMP_LITERALs instead of adding a cast
operation.
(cp_print, trim_chars): New helper functions.
(main): Use them.
gdb/ChangeLog.cplus
gdb/cp-names.y