diff options
Diffstat (limited to 'gdb/c-exp.y')
-rw-r--r-- | gdb/c-exp.y | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/c-exp.y b/gdb/c-exp.y index 7339ee8..242c668 100644 --- a/gdb/c-exp.y +++ b/gdb/c-exp.y @@ -1353,12 +1353,12 @@ typebase /* Implements (approximately): (type-qualifier)* type-specifier */ expression_context_block); } | CLASS COMPLETE { - mark_completion_tag (TYPE_CODE_CLASS, "", 0); + mark_completion_tag (TYPE_CODE_STRUCT, "", 0); $$ = NULL; } | CLASS name COMPLETE { - mark_completion_tag (TYPE_CODE_CLASS, $2.ptr, + mark_completion_tag (TYPE_CODE_STRUCT, $2.ptr, $2.length); $$ = NULL; } |