mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-09 12:23:04 +00:00
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.
This commit is contained in:
@@ -91,7 +91,7 @@ static void fail_for_invalid_at (char const *at);
|
|||||||
\n out_lineno++; ECHO;
|
\n out_lineno++; ECHO;
|
||||||
[^@\n]+ ECHO;
|
[^@\n]+ ECHO;
|
||||||
|
|
||||||
<<EOF>> {
|
<INITIAL><<EOF>> {
|
||||||
if (outname)
|
if (outname)
|
||||||
{
|
{
|
||||||
free (outname);
|
free (outname);
|
||||||
|
|||||||
Reference in New Issue
Block a user