summaryrefslogtreecommitdiff
path: root/flex.skl
diff options
context:
space:
mode:
authormillaway <millaway>2003-01-09 22:20:45 +0000
committermillaway <millaway>2003-01-09 22:20:45 +0000
commit4e4dfdc983ef7421bd63c4004c429f93bfd16385 (patch)
tree93ac3099d6f0a165c835d0ebda0470fe0987bfc6 /flex.skl
parent6914eddfd3ac0001007c35c275335e9dc212e5d0 (diff)
downloadflex-4e4dfdc983ef7421bd63c4004c429f93bfd16385.tar.gz
Changed type of yyleng from size_t to int. This fixes bug in PostgreSQL compilation.
Diffstat (limited to 'flex.skl')
-rw-r--r--flex.skl4
1 files changed, 2 insertions, 2 deletions
diff --git a/flex.skl b/flex.skl
index 802d5ef..eaec123 100644
--- a/flex.skl
+++ b/flex.skl
@@ -246,7 +246,7 @@ typedef struct yy_buffer_state *YY_BUFFER_STATE;
#endif
%if-not-reentrant
-extern size_t yyleng;
+extern int yyleng;
%endif
%push
@@ -415,7 +415,7 @@ static char yy_hold_char;
static int yy_n_chars; /* number of characters read into yy_ch_buf */
-size_t yyleng;
+int yyleng;
/* Points to current character in buffer. */
static char *yy_c_buf_p = (char *) 0;