]> git.saurik.com Git - bison.git/commit - data/yacc.c
* data/yacc.c (yyparse): In the initial action, set
authorPaul Eggert <eggert@cs.ucla.edu>
Sat, 9 Jul 2005 07:14:18 +0000 (07:14 +0000)
committerPaul Eggert <eggert@cs.ucla.edu>
Sat, 9 Jul 2005 07:14:18 +0000 (07:14 +0000)
commit34160ec4ec58f5ece2ef980201aee2fb20cfab46
treeef0d7f5351fbe1cd26efc50112d7577b19fab5a7
parent6770ae09d335ea1acfb9c9a70e3fd16bd5d67f8b
* data/yacc.c (yyparse): In the initial action, set
yylsp[0] and yyvsp[0] rather than yylloc and yylval.
This avoids the use of undefined variables if the initial
action does not set yylloc and/or yylval.
ChangeLog
data/yacc.c