]> granicus.if.org Git - flex/commitdiff
more c++ fixes
authorWill Estes <wlestes@users.sourceforge.net>
Thu, 9 Jan 2003 16:15:28 +0000 (16:15 +0000)
committerWill Estes <wlestes@users.sourceforge.net>
Thu, 9 Jan 2003 16:15:28 +0000 (16:15 +0000)
flex.skl

index a4157f6ffc3dd5fc4aac252d7f561ddb924f4234..802d5ef5a925d433a6c8bd431c8a5e716ddb27ae 100644 (file)
--- a/flex.skl
+++ b/flex.skl
@@ -707,6 +707,8 @@ static int input YY_PARAMS(( YY_PROTO_ONLY_ARG ));
 #endif
 
 
+%push
+%c-only
 #if YY_STACK_USED
 %if-not-reentrant
 %not-for-header
@@ -731,6 +733,7 @@ static int yy_top_state YY_PARAMS(( YY_PROTO_ONLY_ARG ));
 #define YY_NO_POP_STATE 1
 #define YY_NO_TOP_STATE 1
 #endif
+%pop
 
 /* Amount of stuff to slurp up with each read. */
 #ifndef YY_READ_BUF_SIZE