summaryrefslogtreecommitdiffstats
path: root/gdb/p-typeprint.c
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2010-02-19 20:22:03 +0000
committerTom Tromey <tromey@redhat.com>2010-02-19 20:22:03 +0000
commit48e32051ca17ba1cc1a2d5adc90ae5a63775e138 (patch)
treeceb4f1f24d0d7bb10e106f1d9416354b0d5e5915 /gdb/p-typeprint.c
parent629d6a470a1b61631c812ec417b522fb6d69d9d1 (diff)
downloadppe42-binutils-48e32051ca17ba1cc1a2d5adc90ae5a63775e138.tar.gz
ppe42-binutils-48e32051ca17ba1cc1a2d5adc90ae5a63775e138.zip
gdb
PR c++/8693, PR c++/9496: * cp-namespace.c (cp_lookup_nested_type): Handle TYPE_CODE_UNION. * c-exp.y (lex_one_token): Rename from yylex. Don't call write_dollar_variable. Don't try to classify NAME tokens. (token_and_value): New type. (token_fifo, popping, name_obstack): New globals. (classify_name): New function. (classify_inner_name): Likewise. (yylex): Likewise. (VARIABLE): Now has type sval. (exp : VARIABLE): Call write_dollar_variable. (qualified_name): Use TYPENAME, not typebase. Add production for multiple "::" instances. (variable): Use name_not_typename. (qualified_type): Remove. (typebase): Update. gdb/testsuite PR c++/8693, PR c++/9496: * gdb.cp/namespace.exp: Remove some setup_kfail calls. Added regression tests.
Diffstat (limited to 'gdb/p-typeprint.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud