Fix comment about `$$ = $1': it can copy garbage.

This commit is contained in:
Paul Eggert
2002-08-12 15:04:54 +00:00
parent 93a1e33a1d
commit accea6db68

View File

@@ -1044,8 +1044,8 @@ yyreduce:
/* If YYLEN is nonzero, implement the default value of the action:
`$$ = $1'.
Otherwise, the following line sets YYVAL to the semantic value of
the lookahead token. This behavior is undocumented and Bison
Otherwise, the following line sets YYVAL to garbage.
This behavior is undocumented and Bison
users should not rely upon it. Assigning to YYVAL
unconditionally makes the parser a bit smaller, and it avoids a
GCC warning that YYVAL may be used uninitialized. */