]> git.saurik.com Git - bison.git/commit
(YYRHSLOC): Don't have two definitions, one for
authorPaul Eggert <eggert@cs.ucla.edu>
Sun, 12 Dec 2004 09:25:45 +0000 (09:25 +0000)
committerPaul Eggert <eggert@cs.ucla.edu>
Sun, 12 Dec 2004 09:25:45 +0000 (09:25 +0000)
commit9fafc4ddfd1d67c1b8b1b2c9ad2ecb7c7b69d4a1
treee5210679186d3f82845c43c83a46d6423773e2a5
parent24e0cbd0e11ecab72d40f1f51ab4b1450f8d145f
(YYRHSLOC): Don't have two definitions, one for
the normal case and one for the error case.  Just use the
first one uniformly.  Problem reported by Frank Heckenbach.
(YYLLOC_DEFAULT): Use the conventions of yacc.c, so we can
use exactly the same macro in both places.
(yyerror_range): Now of type yyGLRStackItem, not YYLTYPE,
so that the normal-case YYRHSLOC works for the error case too.
All uses changed.
data/glr.c