]> git.saurik.com Git - bison.git/commit
* data/glr.c (yyparse): Don't assume that the initial calls
authorPaul Eggert <eggert@cs.ucla.edu>
Sun, 17 Jul 2005 07:30:38 +0000 (07:30 +0000)
committerPaul Eggert <eggert@cs.ucla.edu>
Sun, 17 Jul 2005 07:30:38 +0000 (07:30 +0000)
commit15f40952f7696eab92570c3be352204242bb80b3
treebaf39f629827943b4bacd068da0427d43c834801
parentc70fdfcd207a394121c7dac271bbd04ce2a91c98
* data/glr.c (yyparse): Don't assume that the initial calls
to YYMALLOC succeed; in that case, yyparse incorrectly returned 0.
Print a stack-overflow message and fail instead.
Initialize the line-number information before creating the stack,
so that the stack-overflow message can report line zero safely.
ChangeLog
data/glr.c