[Top][All Lists]
[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: |
Fri, 08 Nov 2002 00:20:21 -0500 |
CVSROOT: /cvsroot/bison
Module name: bison
Changes by: Paul Eggert <address@hidden> 02/11/08 00:20:20
Modified files:
src : scan-gram.l
Log message:
Remove stack option. We no longer use the stack, since the stack was
never deeper than 1; instead, use the new auto var c_context to record
the stacked value.
Remove nounput option. At an unexpected end of file, we now unput
the minimal input necessary to end cleanly; this simplifies the
code.
Avoid unbounded token sizes where this is easy.
(unexpected_end_of_file): New function.
Use it to systematize the error message on unexpected EOF.
(last-string): Now auto, not static.
(YY_OBS_FREE): Remove unnecessary do while (0) wrapper.
(scanner_last_string_free): Remove; not used.
(percent_percent_count): Move decl to just before use.
(SC_ESCAPED_CHARACTER): Return ID at unexpected end of file,
not the (never otherwised-used) CHARACTER.
CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/bison/bison/src/scan-gram.l.diff?tr1=1.36&tr2=1.37&r1=text&r2=text
- bison/src scan-gram.l, Paul Eggert, 2002/11/03
- bison/src scan-gram.l, Paul Eggert, 2002/11/05
- bison/src scan-gram.l, Paul Eggert, 2002/11/06
- bison/src scan-gram.l, Paul Eggert, 2002/11/07
- bison/src scan-gram.l,
Paul Eggert <=
- bison/src scan-gram.l, Paul Eggert, 2002/11/10
- bison/src scan-gram.l, Paul Eggert, 2002/11/12
- bison/src scan-gram.l, Paul Eggert, 2002/11/13
- bison/src scan-gram.l, Paul Eggert, 2002/11/27
- bison/src scan-gram.l, Paul Eggert, 2002/11/29
- bison/src scan-gram.l, Paul Eggert, 2002/11/29
- bison/src scan-gram.l, Paul Eggert, 2002/11/30