https://sourceware.org/bugzilla/show_bug.cgi?id=21057
--- Comment #2 from Simon Marchi <simon.marchi at ericsson dot com> --- Here are the differences between the 2.6.2-generated ada-lex.c and the 2.6.3-generated ada-lex.c: --- ada-lex.c.2.6.2 2017-01-17 09:40:59.393641771 -0500 +++ ada-lex.c 2017-01-17 09:49:51.425905663 -0500 @@ -9,11 +9,89 @@ #define FLEX_SCANNER #define YY_FLEX_MAJOR_VERSION 2 #define YY_FLEX_MINOR_VERSION 6 -#define YY_FLEX_SUBMINOR_VERSION 2 +#define YY_FLEX_SUBMINOR_VERSION 3 #if YY_FLEX_SUBMINOR_VERSION > 0 #define FLEX_BETA #endif + #define yy_create_buffer yy_create_buffer + + #define yy_delete_buffer yy_delete_buffer + + #define yy_scan_buffer yy_scan_buffer + + #define yy_scan_string yy_scan_string + + #define yy_scan_bytes yy_scan_bytes + + #define yy_init_buffer yy_init_buffer + + #define yy_flush_buffer yy_flush_buffer + + #define yy_load_buffer_state yy_load_buffer_state + + #define yy_switch_to_buffer yy_switch_to_buffer + + #define yypush_buffer_state yypush_buffer_state + + #define yypop_buffer_state yypop_buffer_state + + #define yyensure_buffer_stack yyensure_buffer_stack + + #define yylex yylex + + #define yyrestart yyrestart + + #define yylex_init yylex_init + + #define yylex_init_extra yylex_init_extra + + #define yylex_destroy yylex_destroy + + #define yyget_debug yyget_debug + + #define yyset_debug yyset_debug + + #define yyget_extra yyget_extra + + #define yyset_extra yyset_extra + + #define yyget_in yyget_in + + #define yyset_in yyset_in + + #define yyget_out yyget_out + + #define yyset_out yyset_out + + #define yyget_leng yyget_leng + + #define yyget_text yyget_text + + #define yyget_lineno yyget_lineno + + #define yyset_lineno yyset_lineno + + #define yywrap yywrap + + #define yyalloc yyalloc + + #define yyrealloc yyrealloc + + #define yyfree yyfree + + #define yytext yytext + + #define yyleng yyleng + + #define yyin yyin + + #define yyout yyout + + #define yy_flex_debug yy_flex_debug + + #define yylineno yylineno + /* First, we deal with platform-specific or compiler-specific issues. */ /* begin standard C headers. */ @@ -215,7 +293,7 @@ int yy_bs_lineno; /**< The line count. */ int yy_bs_column; /**< The column count. */ - + /* Whether to try to fill the input buffer when we reach the * end of it. */ @@ -856,9 +934,9 @@ static int find_dot_all (const char *); -#line 859 "ada-lex.c" +#line 937 "ada-lex.c" -#line 861 "ada-lex.c" +#line 939 "ada-lex.c" #define INITIAL 0 #define BEFORE_QUAL_QUOTE 1 @@ -1079,7 +1157,7 @@ #line 85 "/home/simark/src/binutils-gdb/gdb/ada-lex.l" -#line 1082 "ada-lex.c" +#line 1160 "ada-lex.c" while ( /*CONSTCOND*/1 ) /* loops until end-of-file is reached */ { @@ -1524,7 +1602,7 @@ #line 291 "/home/simark/src/binutils-gdb/gdb/ada-lex.l" YY_FATAL_ERROR( "flex scanner jammed" ); YY_BREAK -#line 1527 "ada-lex.c" +#line 1605 "ada-lex.c" case YY_STATE_EOF(INITIAL): case YY_STATE_EOF(BEFORE_QUAL_QUOTE): yyterminate(); @@ -2206,9 +2284,9 @@ ); if ( ! (yy_buffer_stack) ) YY_FATAL_ERROR( "out of dynamic memory in yyensure_buffer_stack()" ); - + memset((yy_buffer_stack), 0, num_to_alloc * sizeof(struct yy_buffer_state*)); - + (yy_buffer_stack_max) = num_to_alloc; (yy_buffer_stack_top) = 0; return; @@ -2237,7 +2315,7 @@ * @param base the character buffer * @param size the size in bytes of the character buffer * - * @return the newly allocated buffer state object. + * @return the newly allocated buffer state object. */ YY_BUFFER_STATE yy_scan_buffer (char * base, yy_size_t size ) { @@ -2353,7 +2431,7 @@ */ int yyget_lineno (void) { - + return yylineno; } -- You are receiving this mail because: You are on the CC list for the bug. _______________________________________________ bug-binutils mailing list bug-binutils@gnu.org https://lists.gnu.org/mailman/listinfo/bug-binutils