From: John Millaway Date: Thu, 9 Jan 2003 22:20:45 +0000 (+0000) Subject: Changed type of yyleng from size_t to int. This fixes bug in PostgreSQL compilation. X-Git-Tag: flex-2-5-26~6 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=0cfd40e1214f9f5f453bff100f309d05ba10fc4d;p=flex Changed type of yyleng from size_t to int. This fixes bug in PostgreSQL compilation. --- 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;