Partially revert r250128.
http://flex.git.sourceforge.net/git/gitweb.cgi?p=flex/flex;a=commit;h=ec2fdb8 This patch is known to generate a broken scanner. http://sourceforge.net/mailarchive/message.php?msg_id=29909582
This commit is contained in:
parent
6ad8422b51
commit
c4cb121a57
6
flex.skl
6
flex.skl
@ -1277,6 +1277,8 @@ m4_ifdef( [[M4_YY_NOT_REENTRANT]],
|
||||
]])
|
||||
]])
|
||||
|
||||
%% [7.0] user's declarations go here
|
||||
|
||||
m4_ifdef( [[M4_YY_BISON_LVAL]],
|
||||
[[
|
||||
yylval = yylval_param;
|
||||
@ -1332,9 +1334,6 @@ m4_ifdef( [[M4_YY_USES_REJECT]],
|
||||
yy_load_buffer_state( M4_YY_CALL_ONLY_ARG );
|
||||
}
|
||||
|
||||
{
|
||||
%% [7.0] user's declarations go here
|
||||
|
||||
while ( 1 ) /* loops until end-of-file is reached */
|
||||
{
|
||||
%% [8.0] yymore()-related code goes here
|
||||
@ -1492,7 +1491,6 @@ do_action: /* This label is used only to access EOF actions. */
|
||||
"fatal flex scanner internal error--no action found" );
|
||||
} /* end of action switch */
|
||||
} /* end of scanning one token */
|
||||
} /* end of user's declarations */
|
||||
} /* end of yylex */
|
||||
%ok-for-header
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user