+2012-05-08 Doug Evans <dje@google.com>
+
+ * go-exp.y (classify_name): Add missing assignment of fields of
+ yylval.ssym.
+
2012-05-08 Eli Zaretskii <eliz@gnu.org>
Display the ">" prompt in interactive mode while reading canned
&is_a_field_of_this);
if (sym)
{
- yylval.sval = sval;
+ yylval.ssym.stoken = sval;
yylval.ssym.sym = sym;
yylval.ssym.is_a_field_of_this = is_a_field_of_this;
return NAME;
YYSTYPE newlval; /* Its value is ignored. */
int hextype = parse_number (copy, yylval.sval.length, 0, &newlval);
if (hextype == INT)
- return NAME_OR_INT;
+ {
+ yylval.ssym.sym = NULL;
+ yylval.ssym.is_a_field_of_this = 0;
+ return NAME_OR_INT;
+ }
}
+ yylval.ssym.sym = NULL;
+ yylval.ssym.is_a_field_of_this = 0;
return NAME;
}