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.
This commit is contained in:
Pierre Muller 2002-11-13 09:13:39 +00:00
parent b1c58715b4
commit 80b4c67709
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
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.
2002-11-12 Daniel Jacobowitz <drow@mvista.com>
* gnu-nat.c (init_gnu_ops): Remove NULL initializations.

View File

@ -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;
}