diff options
author | Pierre Muller <muller@sourceware.org> | 2002-11-13 09:13:39 +0000 |
---|---|---|
committer | Pierre Muller <muller@sourceware.org> | 2002-11-13 09:13:39 +0000 |
commit | 80b4c677095c9f361c41638888dc0f7386014fe7 (patch) | |
tree | 0e38c4852aff7ff207de5d96a6e243227ad0b171 /gdb/p-exp.y | |
parent | b1c58715b47f59d4bfa9714a69644a1e35105742 (diff) | |
download | gdb-80b4c677095c9f361c41638888dc0f7386014fe7.zip gdb-80b4c677095c9f361c41638888dc0f7386014fe7.tar.gz gdb-80b4c677095c9f361c41638888dc0f7386014fe7.tar.bz2 |
2002-11-13 Pierre Muller <muller@ics.u-strasbg.fr>
* p-exp.y (name_not_typename): Use copy_name to
set current_type variable for fields of THIS.
Diffstat (limited to 'gdb/p-exp.y')
-rw-r--r-- | gdb/p-exp.y | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/p-exp.y b/gdb/p-exp.y index d52747b..cf521af 100644 --- a/gdb/p-exp.y +++ b/gdb/p-exp.y @@ -649,7 +649,7 @@ variable: name_not_typename if (this_type) current_type = lookup_struct_elt_type ( this_type, - $1.stoken.ptr, false); + copy_name($1.stoken), false); else current_type = NULL; } |