svn commit: r250620 - vendor/flex/dist

Jung-uk Kim jkim at FreeBSD.org
Mon May 13 21:31:44 UTC 2013


Author: jkim
Date: Mon May 13 21:31:43 2013
New Revision: 250620
URL: http://svnweb.freebsd.org/changeset/base/250620

Log:
  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

Modified:
  vendor/flex/dist/flex.skl

Modified: vendor/flex/dist/flex.skl
==============================================================================
--- vendor/flex/dist/flex.skl	Mon May 13 21:18:00 2013	(r250619)
+++ vendor/flex/dist/flex.skl	Mon May 13 21:31:43 2013	(r250620)
@@ -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
 			"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
 


More information about the svn-src-vendor mailing list