1 |
|
2002-11-05 Paul Eggert <eggert@twinsun.com> |
2 |
|
|
3 |
|
Scan <% and %> digraphs in C code as POSIX 1003.1-2001 requires. |
4 |
|
Also, remove one static variable in the scanner. |
5 |
|
|
6 |
|
* src/scan-gram.l (braces_level): Now auto, not static. |
7 |
|
Initialize to zero if the compiler is being picky. |
8 |
|
(INITIAL): Clear braces_level instead of incrementing it. |
9 |
|
(SC_BRACED_CODE): Treat <% and %> as { and } when inside C code, |
10 |
|
as POSIX 1003.1-2001 requires. |
11 |
|
* src/system.h (IF_LINT): New macro, taken from coreutils. |
12 |
|
* configure.ac: Define "lint" if --enable-gcc-warnings. |
13 |
|
|
14 |
2002-11-05 Akim Demaille <akim@epita.fr> |
2002-11-05 Akim Demaille <akim@epita.fr> |
15 |
|
|
16 |
* src/scan-gram.l: When it starts with `%', complain about the |
* src/scan-gram.l: When it starts with `%', complain about the |