]> granicus.if.org Git - flex/commitdiff
Changed type of yyleng from size_t to int. This fixes bug in PostgreSQL compilation.
authorJohn Millaway <john43@users.sourceforge.net>
Thu, 9 Jan 2003 22:20:45 +0000 (22:20 +0000)
committerJohn Millaway <john43@users.sourceforge.net>
Thu, 9 Jan 2003 22:20:45 +0000 (22:20 +0000)
flex.skl

index 802d5ef5a925d433a6c8bd431c8a5e716ddb27ae..eaec123bbc708df75c8c8c9eb6c89f419294fd16 100644 (file)
--- 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;