[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
{maint} scanner: restore a missing start condition
From: |
Akim Demaille |
Subject: |
{maint} scanner: restore a missing start condition |
Date: |
Mon, 30 Jul 2012 17:39:22 +0200 |
commit dbfcf7a89f749a979031931202b432243ea712bd
Author: Akim Demaille <address@hidden>
Date: Mon Jul 30 14:54:27 2012 +0200
scanner: restore a missing start condition
$ flex src/scan-skel.l
src/scan-skel.l:145: multiple <<EOF>> rules for start condition
SC_AT_DIRECTIVE_ARGS
src/scan-skel.l:145: multiple <<EOF>> rules for start condition
SC_AT_DIRECTIVE_SKIP_WS
This is warning, and it seems there are no means to make it an error.
* src/scan-skel.l: Restore the start-condition INITIAL for an <<EOF>>
clause.
diff --git a/src/scan-skel.l b/src/scan-skel.l
index 862b34f..ed61b5c 100644
--- a/src/scan-skel.l
+++ b/src/scan-skel.l
@@ -91,7 +91,7 @@ static void fail_for_invalid_at (char const *at);
\n out_lineno++; ECHO;
address@hidden ECHO;
-<<EOF>> {
+<INITIAL><<EOF>> {
if (outname)
{
free (outname);
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- {maint} scanner: restore a missing start condition,
Akim Demaille <=