summaryrefslogtreecommitdiff
path: root/flex.skl
diff options
context:
space:
mode:
authorManoj Srivastava <srivasta@golden-gryphon.com>2006-03-16 14:55:07 -0800
committerManoj Srivastava <srivasta@golden-gryphon.com>2006-03-16 14:55:07 -0800
commitada7779d8b7a39d01dd70d733883db2383e61a6e (patch)
treefb8afee4077c205ae70ed28fbeca06f4bb43690a /flex.skl
parent8b69e240c2db8dd998a1f285a33a9dc7952c5a4d (diff)
Imported Upstream version 2.5.35
Diffstat (limited to 'flex.skl')
-rw-r--r--flex.skl10
1 files changed, 3 insertions, 7 deletions
diff --git a/flex.skl b/flex.skl
index fabb270..6ebf2fd 100644
--- a/flex.skl
+++ b/flex.skl
@@ -522,14 +522,9 @@ m4_ifdef( [[M4_YY_NOT_IN_HEADER]],
#define unput(c) yyunput( c, YY_G(yytext_ptr) M4_YY_CALL_LAST_ARG )
]])
-/* The following is because we cannot portably get our hands on size_t
- * (without autoconf's help, which isn't available because we want
- * flex-generated scanners to compile on their own).
- */
-
#ifndef YY_TYPEDEF_YY_SIZE_T
#define YY_TYPEDEF_YY_SIZE_T
-typedef unsigned int yy_size_t;
+typedef size_t yy_size_t;
#endif
#ifndef YY_STRUCT_YY_BUFFER_STATE
@@ -894,6 +889,8 @@ int yylex_init_extra M4_YY_PARAMS( YY_EXTRA_TYPE user_defined, yyscan_t* scanner
%endif
+%endif End reentrant structures and macros.
+
/* Accessor methods to globals.
These are made visible to non-reentrant scanners for convenience. */
@@ -983,7 +980,6 @@ m4_ifdef( [[<M4_YY_BISON_LLOC>]],
]])
]])
%endif
-%endif End reentrant structures and macros.
/* Macros after this point can all be overridden by user definitions in
* section 1.