commit-bison
[Top][All Lists]
Advanced

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

bison/src scan-gram.l


From: Paul Eggert
Subject: bison/src scan-gram.l
Date: Sun, 02 Mar 2003 01:55:17 -0500

CVSROOT:        /cvsroot/bison
Module name:    bison
Changes by:     Paul Eggert <address@hidden>    03/03/02 01:55:16

Modified files:
        src            : scan-gram.l 

Log message:
        (code_start): Initialize it to scanner_cursor,
        not loc->end, since loc->end might contain garbage and this leads
        to undefined behavior on some platforms.
        (id_loc, token_start): Use (IF_LINTed) initial values that do not
        depend on *loc, so that the reader doesn't give the the false
        impression that *loc is initialized.
        (<INITIAL>"%%"): Do not bother setting code_start, since its value
        does not survive the return.

CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/bison/bison/src/scan-gram.l.diff?tr1=1.56&tr2=1.57&r1=text&r2=text





reply via email to

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