summaryrefslogtreecommitdiff
path: root/src/scan-skel.l
diff options
context:
space:
mode:
authorAkim Demaille <akim@lrde.epita.fr>2012-07-30 14:54:27 +0200
committerAkim Demaille <akim@lrde.epita.fr>2012-07-30 14:54:27 +0200
commitdbfcf7a89f749a979031931202b432243ea712bd (patch)
treec5b459cf7bacef02ae373bec896d7ccf30c070c0 /src/scan-skel.l
parent8c707b10e78cbdf9eec1d2f1f7b2a8706645c075 (diff)
downloadbison-dbfcf7a89f749a979031931202b432243ea712bd.tar.gz
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.
Diffstat (limited to 'src/scan-skel.l')
-rw-r--r--src/scan-skel.l2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/scan-skel.l b/src/scan-skel.l
index 862b34fd..ed61b5c8 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;
[^@\n]+ ECHO;
-<<EOF>> {
+<INITIAL><<EOF>> {
if (outname)
{
free (outname);