diff options
author | Doug Evans <xdje42@gmail.com> | 2014-11-06 17:19:06 -0800 |
---|---|---|
committer | Doug Evans <xdje42@gmail.com> | 2014-11-06 17:19:06 -0800 |
commit | 4753d33b404f07e749f648c57ae61e3984d40029 (patch) | |
tree | 1d0999b959a4f9fc5dbb2f816de59b82dfe0edc6 /gdb/d-exp.y | |
parent | 9c1877ead06db18e19614a598d1e280acb97e971 (diff) | |
download | gdb-4753d33b404f07e749f648c57ae61e3984d40029.zip gdb-4753d33b404f07e749f648c57ae61e3984d40029.tar.gz gdb-4753d33b404f07e749f648c57ae61e3984d40029.tar.bz2 |
Delete TYPE_CODE_CLASS, it's just an alias of TYPE_CODE_STRUCT.
gdb/ChangeLog:
* gdbtypes.h (TYPE_CODE_CLASS): Delete. All uses changed to use
TYPE_CODE_STRUCT.
Diffstat (limited to 'gdb/d-exp.y')
-rw-r--r-- | gdb/d-exp.y | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/d-exp.y b/gdb/d-exp.y index cae3419..62348b1 100644 --- a/gdb/d-exp.y +++ b/gdb/d-exp.y @@ -605,10 +605,10 @@ BasicType: { $$ = lookup_struct (copy_name ($2), expression_context_block); } | CLASS_KEYWORD COMPLETE - { mark_completion_tag (TYPE_CODE_CLASS, "", 0); + { mark_completion_tag (TYPE_CODE_STRUCT, "", 0); $$ = NULL; } | CLASS_KEYWORD IdentifierExp COMPLETE - { mark_completion_tag (TYPE_CODE_CLASS, $2.ptr, $2.length); + { mark_completion_tag (TYPE_CODE_STRUCT, $2.ptr, $2.length); $$ = NULL; } | STRUCT_KEYWORD IdentifierExp { $$ = lookup_struct (copy_name ($2), |