commit-bison
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bison/data glr.c


From: Paul N. Hilfinger
Subject: bison/data glr.c
Date: Wed, 29 Jan 2003 18:37:16 -0500

CVSROOT:        /cvsroot/bison
Module name:    bison
Changes by:     Paul N. Hilfinger <address@hidden>      03/01/29 18:37:16

Modified files:
        data           : glr.c 

Log message:
        Changes in response to error report by S. Eken: GLR mode does not
        handle negative $ indices or $ indices in embedded rules correctly.
        See <http://mail.gnu.org/archive/html/bug-bison/2003-01/msg00076.html>.
        
        (b4_rhs_value): Change to use YYFILL macro.
        (b4_rhs_location): Ditto.
        (yyfill): New function to copy from stack tree into array
        incrementally.
        (yyuserAction): Modify to allow incremental move of semantic values
        to rhs array when in GLR mode.
        Define YYFILL to use in user-defined actions to fill semantic array
        as needed.
        Remove dummy use of yystack, as there is now a guaranteed use.
        (yydoAction): Modify to allow incremental move of semantic values
        to rhs array when in GLR mode.
        (yyresolveAction): Ditto.
        (yyglrShiftDefer): Update comment.
        (yyresolveStates): Use X == NULL for pointers, not !X.
        (yyglrReduce): Ditto.
        (yydoAction): Ditto

CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/bison/bison/data/glr.c.diff?tr1=1.49&tr2=1.50&r1=text&r2=text





reply via email to

[Prev in Thread] Current Thread [Next in Thread]