diff options
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; } |