bison/src scan-gram.l
Paul Eggert <[email protected]>
| Newsgroups | gmane.comp.parsers.bison.cvs |
|---|---|
| Message-ID | <[email protected]> |
CVSROOT: /cvsroot/bison Module name: bison Changes by: Paul Eggert <[email protected]> 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