Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/external/bsd/flex/dist/src revert the c++ yy_size_t changes ...
details: https://anonhg.NetBSD.org/src/rev/24bde7ded70e
branches: trunk
changeset: 350281:24bde7ded70e
user: christos <christos%NetBSD.org@localhost>
date: Mon Jan 09 15:14:41 2017 +0000
description:
revert the c++ yy_size_t changes to maintain existing ABI.
diffstat:
external/bsd/flex/dist/src/flex.skl | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diffs (33 lines):
diff -r 0874a3fe9d19 -r 24bde7ded70e external/bsd/flex/dist/src/flex.skl
--- a/external/bsd/flex/dist/src/flex.skl Mon Jan 09 14:26:58 2017 +0000
+++ b/external/bsd/flex/dist/src/flex.skl Mon Jan 09 15:14:41 2017 +0000
@@ -1503,9 +1503,9 @@
}
#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 @@
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 @@
* 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 );
}
Home |
Main Index |
Thread Index |
Old Index