Module Name: src Committed By: christos Date: Mon Jan 9 15:14:41 UTC 2017
Modified Files: src/external/bsd/flex/dist/src: flex.skl Log Message: revert the c++ yy_size_t changes to maintain existing ABI. To generate a diff of this commit: cvs rdiff -u -r1.10 -r1.11 src/external/bsd/flex/dist/src/flex.skl Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/external/bsd/flex/dist/src/flex.skl diff -u src/external/bsd/flex/dist/src/flex.skl:1.10 src/external/bsd/flex/dist/src/flex.skl:1.11 --- src/external/bsd/flex/dist/src/flex.skl:1.10 Mon Jan 2 21:51:56 2017 +++ src/external/bsd/flex/dist/src/flex.skl Mon Jan 9 10:14:41 2017 @@ -1503,9 +1503,9 @@ void yyFlexLexer::switch_streams( std::i } #ifdef YY_INTERACTIVE -int yyFlexLexer::LexerInput( char* buf, yy_size_t /* max_size */ ) +int yyFlexLexer::LexerInput( char* buf, int /* max_size */ ) #else -int yyFlexLexer::LexerInput( char* buf, yy_size_t max_size ) +int yyFlexLexer::LexerInput( char* buf, int max_size ) #endif { if ( yyin.eof() || yyin.fail() ) @@ -1989,7 +1989,7 @@ static void yy_load_buffer_state (M4_YY YY_BUFFER_STATE yy_create_buffer YYFARGS2( FILE *,file, yy_size_t ,size) %endif %if-c++-only - YY_BUFFER_STATE yyFlexLexer::yy_create_buffer( std::istream& file, yy_size_t size ) + YY_BUFFER_STATE yyFlexLexer::yy_create_buffer( std::istream& file, int size ) %endif { YY_BUFFER_STATE b; @@ -2022,7 +2022,7 @@ static void yy_load_buffer_state (M4_YY * M4_YY_DOC_PARAM * @return the allocated buffer state. */ - YY_BUFFER_STATE yyFlexLexer::yy_create_buffer( std::istream* file, yy_size_t size ) + YY_BUFFER_STATE yyFlexLexer::yy_create_buffer( std::istream* file, int size ) { return yy_create_buffer( *file, size ); }