]> git.saurik.com Git - bison.git/commitdiff
Fix comment about `$$ = $1': it can copy garbage.
authorPaul Eggert <eggert@cs.ucla.edu>
Mon, 12 Aug 2002 15:04:54 +0000 (15:04 +0000)
committerPaul Eggert <eggert@cs.ucla.edu>
Mon, 12 Aug 2002 15:04:54 +0000 (15:04 +0000)
data/yacc.c

index 5b5da3c5a3ffa4ae718a8366addb97ee04f9f9ea..b57db16493d41b4fc1647c35b9ab1c22f2ae6110 100644 (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.  */