commit-bison
[Top][All Lists]
Advanced

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

bison ./ChangeLog src/output.c src/reader.h src...


From: Paul N. Hilfinger
Subject: bison ./ChangeLog src/output.c src/reader.h src...
Date: Mon, 09 Jun 2003 22:44:58 -0400

CVSROOT:        /cvsroot/bison
Module name:    bison
Branch:         
Changes by:     Paul N. Hilfinger <address@hidden>      03/06/09 22:44:58

Modified files:
        .              : ChangeLog 
        src            : output.c reader.h scan-gram.l 
        tests          : cxx-type.at 
        data           : glr.c 

Log message:
        * data/glr.c (YYERROR): Update definition.
        (yyrecoverSyntaxError): Correct yyerrState logic. Correct comment.
        Allow states with only a default reduction.
        
        Fixes to avoid problem that $-N rules in GLR parsers can cause
        buffer overruns, corrupting state.
        
        * src/output.c (prepare_rules): Output max_left_semantic_context.
        * src/reader.h (max_left_semantic_context): New
        * src/scan-gram.l (max_left_semantic_context): Define.
        (handle_action_dollar): Update max_left_semantic_context.
        * data/glr.c (YYMAXLEFT): New.
        (yydoAction): Increase yyrhsVals size.
        (yyresolveAction): Ditto.
        
        Fixes to problems with location handling in GLR parsers reported by
        Frank Heckenbach (2003/06/05).
        
        * data/glr.c (YYLTYPE): Make trivial if locations not used.
        (YYRHSLOC): Add parentheses, make depend on whether locations used.
        (YYLLOC_DEFAULT): Ditto.
        (yyuserAction): Use YYLLOC_DEFAULT.
        (yydoAction): Remove redundant code.
        
        * tests/cxx-type.at: Exercise location information.
        (yylex): Track locations.
        (stmtMerge): Return value rather than printing.

CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/bison/bison/ChangeLog.diff?tr1=1.1049&tr2=1.1050&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/bison/bison/src/output.c.diff?tr1=1.221&tr2=1.222&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/bison/bison/src/reader.h.diff?tr1=1.39&tr2=1.40&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/bison/bison/src/scan-gram.l.diff?tr1=1.61&tr2=1.62&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/bison/bison/tests/cxx-type.at.diff?tr1=1.14&tr2=1.15&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/bison/bison/data/glr.c.diff?tr1=1.56&tr2=1.57&r1=text&r2=text





reply via email to

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