Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Index: gengtype-lex.c
- ===================================================================
- RCS file: /cvsroot/src/external/gpl3/gcc/dist/gcc/gengtype-lex.c,v
- retrieving revision 1.10
- diff -r1.10 gengtype-lex.c
- 2c2
- < #line 2 "gengtype-lex.c"
- ---
- > #line 1 "/usr/src/tools/gcc/../../external/gpl3/gcc/dist/gcc/gengtype-lex.c"
- 4c4
- < #line 4 "gengtype-lex.c"
- ---
- > #line 3 "/usr/src/tools/gcc/../../external/gpl3/gcc/dist/gcc/gengtype-lex.c"
- 12,13c12,13
- < #define YY_FLEX_MINOR_VERSION 5
- < #define YY_FLEX_SUBMINOR_VERSION 37
- ---
- > #define YY_FLEX_MINOR_VERSION 6
- > #define YY_FLEX_SUBMINOR_VERSION 4
- 20a21,23
- > #ifdef _LIBC
- > #include "namespace.h"
- > #endif
- 27a31,32
- > /* $NetBSD: flexint.h,v 1.3 2018/12/23 16:27:17 christos Exp $ */
- >
- 87a93,96
- > #ifndef SIZE_MAX
- > #define SIZE_MAX (~(size_t)0)
- > #endif
- >
- 92,102c101
- < #ifdef __cplusplus
- <
- < /* The "const" storage-class-modifier is valid. */
- < #define YY_USE_CONST
- <
- < #else /* ! __cplusplus */
- <
- < /* C99 requires __STDC__ to be defined as 1. */
- < #if defined (__STDC__)
- <
- < #define YY_USE_CONST
- ---
- > /* begin standard C++ headers. */
- 104,107c103
- < #endif /* defined (__STDC__) */
- < #endif /* ! __cplusplus */
- <
- < #ifdef YY_USE_CONST
- ---
- > /* TODO: this is always defined, so inline it */
- 108a105,107
- >
- > #if defined(__GNUC__) && __GNUC__ >= 3
- > #define yynoreturn __attribute__((__noreturn__))
- 110c109
- < #define yyconst
- ---
- > #define yynoreturn
- 116,119c115,116
- < /* Promotes a possibly negative, possibly signed char to an unsigned
- < * integer for use as an array index. If the signed char is negative,
- < * we want to instead treat it as an 8-bit unsigned char, hence the
- < * double cast.
- ---
- > /* Promotes a possibly negative, possibly signed char to an
- > * integer in range [0..255] for use as an array index.
- 121c118
- < #define YY_SC_TO_UI(c) ((unsigned int) (unsigned char) c)
- ---
- > #define YY_SC_TO_UI(c) ((YY_CHAR) (c))
- 128d124
- <
- 135d130
- <
- 138d132
- <
- 140,141c134
- < #define YY_NEW_FILE yyrestart(yyin )
- <
- ---
- > #define YY_NEW_FILE yyrestart( yyin )
- 145a139,145
- > #ifdef __ia64__
- > /* On IA-64, the buffer size is 16k, not 8k.
- > * Moreover, YY_BUF_SIZE is 2*YY_READ_BUF_SIZE in the general case.
- > * Ditto for the __ia64__ case accordingly.
- > */
- > #define YY_BUF_SIZE 32768
- > #else
- 146a147
- > #endif /* __ia64__ */
- 170c171
- <
- ---
- >
- 171a173
- > #define YY_LINENO_REWIND_TO(ptr)
- 186d187
- <
- 201c202
- < int yy_buf_size;
- ---
- > size_t yy_buf_size;
- 206c207
- < int yy_n_chars;
- ---
- > size_t yy_n_chars;
- 229c230
- <
- ---
- >
- 257c258
- < static YY_BUFFER_STATE * yy_buffer_stack = 0; /**< Stack as an array. */
- ---
- > static YY_BUFFER_STATE * yy_buffer_stack = NULL; /**< Stack as an array. */
- 268d268
- <
- 276c276
- < static int yy_n_chars; /* number of characters read into yy_ch_buf */
- ---
- > static yy_size_t yy_n_chars; /* number of characters read into yy_ch_buf */
- 280c280
- < static char *yy_c_buf_p = (char *) 0;
- ---
- > static char *yy_c_buf_p = NULL;
- 289,309c289,308
- < void yyrestart (FILE *input_file );
- < void yy_switch_to_buffer (YY_BUFFER_STATE new_buffer );
- < YY_BUFFER_STATE yy_create_buffer (FILE *file,int size );
- < void yy_delete_buffer (YY_BUFFER_STATE b );
- < void yy_flush_buffer (YY_BUFFER_STATE b );
- < void yypush_buffer_state (YY_BUFFER_STATE new_buffer );
- < void yypop_buffer_state (void );
- <
- < static void yyensure_buffer_stack (void );
- < static void yy_load_buffer_state (void );
- < static void yy_init_buffer (YY_BUFFER_STATE b,FILE *file );
- <
- < #define YY_FLUSH_BUFFER yy_flush_buffer(YY_CURRENT_BUFFER )
- <
- < YY_BUFFER_STATE yy_scan_buffer (char *base,yy_size_t size );
- < YY_BUFFER_STATE yy_scan_string (yyconst char *yy_str );
- < YY_BUFFER_STATE yy_scan_bytes (yyconst char *bytes,yy_size_t len );
- <
- < void *yyalloc (yy_size_t );
- < void *yyrealloc (void *,yy_size_t );
- < void yyfree (void * );
- ---
- > void yyrestart ( FILE *input_file );
- > void yy_switch_to_buffer ( YY_BUFFER_STATE new_buffer );
- > YY_BUFFER_STATE yy_create_buffer ( FILE *file, yy_size_t size );
- > void yy_delete_buffer ( YY_BUFFER_STATE b );
- > void yy_flush_buffer ( YY_BUFFER_STATE b );
- > void yypush_buffer_state ( YY_BUFFER_STATE new_buffer );
- > void yypop_buffer_state ( void );
- >
- > static void yyensure_buffer_stack ( void );
- > static void yy_load_buffer_state ( void );
- > static void yy_init_buffer ( YY_BUFFER_STATE b, FILE *file );
- > #define YY_FLUSH_BUFFER yy_flush_buffer( YY_CURRENT_BUFFER )
- >
- > YY_BUFFER_STATE yy_scan_buffer ( char *base, yy_size_t size );
- > YY_BUFFER_STATE yy_scan_string ( const char *yy_str );
- > YY_BUFFER_STATE yy_scan_bytes ( const char *bytes, yy_size_t len );
- >
- > void *yyalloc ( yy_size_t );
- > void *yyrealloc ( void *, yy_size_t );
- > void yyfree ( void * );
- 312d310
- <
- 318c316
- < yy_create_buffer(yyin,YY_BUF_SIZE ); \
- ---
- > yy_create_buffer( yyin, YY_BUF_SIZE ); \
- 322d319
- <
- 328c325
- < yy_create_buffer(yyin,YY_BUF_SIZE ); \
- ---
- > yy_create_buffer( yyin, YY_BUF_SIZE ); \
- 332d328
- <
- 337c333
- < #define yywrap() 1
- ---
- > #define yywrap() (/*CONSTCOND*/1)
- 338a335
- > typedef flex_uint8_t YY_CHAR;
- 340,342c337
- < typedef unsigned char YY_CHAR;
- <
- < FILE *yyin = (FILE *) 0, *yyout = (FILE *) 0;
- ---
- > FILE *yyin = NULL, *yyout = NULL;
- 347d341
- <
- 350a345,347
- > #ifdef yytext_ptr
- > #undef yytext_ptr
- > #endif
- 353,356c350,353
- < static yy_state_type yy_get_previous_state (void );
- < static yy_state_type yy_try_NUL_trans (yy_state_type current_state );
- < static int yy_get_next_buffer (void );
- < static void yy_fatal_error (yyconst char msg[] );
- ---
- > static yy_state_type yy_get_previous_state ( void );
- > static yy_state_type yy_try_NUL_trans ( yy_state_type current_state );
- > static int yy_get_next_buffer ( void );
- > static void yynoreturn yy_fatal_error ( const char* msg );
- 363c360
- < yyleng = (int) (yy_cp - yy_bp); \
- ---
- > yyleng = (yy_size_t)(yy_cp - yy_bp); \
- 367d363
- <
- 377c373
- < static yyconst flex_int16_t yy_accept[561] =
- ---
- > static const flex_int16_t yy_accept[561] =
- 442c438
- < static yyconst flex_int32_t yy_ec[256] =
- ---
- > static const YY_CHAR yy_ec[256] =
- 474c470
- < static yyconst flex_int32_t yy_meta[68] =
- ---
- > static const YY_CHAR yy_meta[68] =
- 485c481
- < static yyconst flex_int16_t yy_base[608] =
- ---
- > static const flex_int16_t yy_base[608] =
- 556c552
- < static yyconst flex_int16_t yy_def[608] =
- ---
- > static const flex_int16_t yy_def[608] =
- 627c623
- < static yyconst flex_int16_t yy_nxt[2471] =
- ---
- > static const flex_int16_t yy_nxt[2471] =
- 902c898
- < static yyconst flex_int16_t yy_chk[2471] =
- ---
- > static const flex_int16_t yy_chk[2471] =
- 1191c1187
- < #line 1 "/space/rguenther/gcc-7.4.0/gcc-7.4.0/gcc/gengtype-lex.l"
- ---
- > #line 1 "/usr/src/tools/gcc/../../external/gpl3/gcc/dist/gcc/gengtype-lex.l"
- 1212c1208
- < #line 24 "/space/rguenther/gcc-7.4.0/gcc-7.4.0/gcc/gengtype-lex.l"
- ---
- > #line 24 "/usr/src/tools/gcc/../../external/gpl3/gcc/dist/gcc/gengtype-lex.l"
- 1240c1236,1238
- < /* Include '::' in identifiers to capture C++ scope qualifiers. */
- ---
- > #line 1235 "/usr/src/tools/gcc/../../external/gpl3/gcc/dist/gcc/gengtype-lex.c"
- > #line 59 "/usr/src/tools/gcc/../../external/gpl3/gcc/dist/gcc/gengtype-lex.l"
- > /* Include '::' in identifiers to capture C++ scope qualifiers. */
- 1242c1240
- < #line 1242 "gengtype-lex.c"
- ---
- > #line 1239 "/usr/src/tools/gcc/../../external/gpl3/gcc/dist/gcc/gengtype-lex.c"
- 1261c1259
- < static int yy_init_globals (void );
- ---
- > static int yy_init_globals ( void );
- 1266c1264
- < int yylex_destroy (void );
- ---
- > int yylex_destroy ( void );
- 1268c1266
- < int yyget_debug (void );
- ---
- > int yyget_debug ( void );
- 1270c1268
- < void yyset_debug (int debug_flag );
- ---
- > void yyset_debug ( int debug_flag );
- 1272c1270
- < YY_EXTRA_TYPE yyget_extra (void );
- ---
- > YY_EXTRA_TYPE yyget_extra ( void );
- 1274c1272
- < void yyset_extra (YY_EXTRA_TYPE user_defined );
- ---
- > void yyset_extra ( YY_EXTRA_TYPE user_defined );
- 1276c1274
- < FILE *yyget_in (void );
- ---
- > FILE *yyget_in ( void );
- 1278c1276
- < void yyset_in (FILE * in_str );
- ---
- > void yyset_in ( FILE * _in_str );
- 1280c1278
- < FILE *yyget_out (void );
- ---
- > FILE *yyget_out ( void );
- 1282c1280
- < void yyset_out (FILE * out_str );
- ---
- > void yyset_out ( FILE * _out_str );
- 1284c1282
- < yy_size_t yyget_leng (void );
- ---
- > yy_size_t yyget_leng ( void );
- 1286c1284
- < char *yyget_text (void );
- ---
- > char *yyget_text ( void );
- 1288c1286
- < int yyget_lineno (void );
- ---
- > int yyget_lineno ( void );
- 1290c1288
- < void yyset_lineno (int line_number );
- ---
- > void yyset_lineno ( int _line_number );
- 1298c1296
- < extern "C" int yywrap (void );
- ---
- > extern "C" int yywrap ( void );
- 1300c1298
- < extern int yywrap (void );
- ---
- > extern int yywrap ( void );
- 1303a1302,1305
- > #ifndef YY_NO_UNPUT
- >
- > #endif
- >
- 1305c1307
- < static void yy_flex_strncpy (char *,yyconst char *,int );
- ---
- > static void yy_flex_strncpy ( char *, const char *, int );
- 1309c1311
- < static int yy_flex_strlen (yyconst char * );
- ---
- > static int yy_flex_strlen ( const char * );
- 1313d1314
- <
- 1315c1316
- < static int yyinput (void );
- ---
- > static int yyinput ( void );
- 1317c1318
- < static int input (void );
- ---
- > static int input ( void );
- 1323a1325,1328
- > #ifdef __ia64__
- > /* On IA-64, the buffer size is 16k, not 8k */
- > #define YY_READ_BUF_SIZE 16384
- > #else
- 1324a1330
- > #endif /* __ia64__ */
- 1332c1338
- < #define ECHO do { if (fwrite( yytext, yyleng, 1, yyout )) {} } while (0)
- ---
- > #define ECHO do { if (fwrite( yytext, (size_t) yyleng, 1, yyout )) {} } while (0)
- 1343c1349
- < size_t n; \
- ---
- > yy_size_t n; \
- 1356c1362
- < while ( (result = (int) fread(buf, 1, max_size, yyin))==0 && ferror(yyin)) \
- ---
- > while ( (result = fread(buf, 1, (yy_size_t) max_size, yyin)) == 0 && ferror(yyin)) \
- 1411c1417
- < #define YY_BREAK break;
- ---
- > #define YY_BREAK /*LINTED*/break;
- 1424,1426c1430,1432
- < register yy_state_type yy_current_state;
- < register char *yy_cp, *yy_bp;
- < register int yy_act;
- ---
- > yy_state_type yy_current_state;
- > char *yy_cp, *yy_bp;
- > int yy_act;
- 1428,1440d1433
- < #line 66 "/space/rguenther/gcc-7.4.0/gcc-7.4.0/gcc/gengtype-lex.l"
- <
- < /* Do this on entry to yylex(): */
- < *yylval = 0;
- < if (lexer_toplevel_done)
- < {
- < BEGIN(INITIAL);
- < lexer_toplevel_done = 0;
- < }
- <
- < /* Things we look for in skipping mode: */
- < #line 1439 "gengtype-lex.c"
- <
- 1461c1454
- < yy_create_buffer(yyin,YY_BUF_SIZE );
- ---
- > yy_create_buffer( yyin, YY_BUF_SIZE );
- 1464c1457
- < yy_load_buffer_state( );
- ---
- > yy_load_buffer_state( );
- 1467c1460,1474
- < while ( 1 ) /* loops until end-of-file is reached */
- ---
- > {
- > #line 67 "/usr/src/tools/gcc/../../external/gpl3/gcc/dist/gcc/gengtype-lex.l"
- >
- > /* Do this on entry to yylex(): */
- > *yylval = 0;
- > if (lexer_toplevel_done)
- > {
- > BEGIN(INITIAL);
- > lexer_toplevel_done = 0;
- > }
- >
- > /* Things we look for in skipping mode: */
- > #line 1471 "/usr/src/tools/gcc/../../external/gpl3/gcc/dist/gcc/gengtype-lex.c"
- >
- > while ( /*CONSTCOND*/1 ) /* loops until end-of-file is reached */
- 1484c1491
- < register YY_CHAR yy_c = yy_ec[YY_SC_TO_UI(*yy_cp)];
- ---
- > YY_CHAR yy_c = yy_ec[YY_SC_TO_UI(*yy_cp)] ;
- 1494c1501
- < yy_c = yy_meta[(unsigned int) yy_c];
- ---
- > yy_c = yy_meta[yy_c];
- 1496c1503
- < yy_current_state = yy_nxt[yy_base[yy_current_state] + (flex_int16_t) yy_c];
- ---
- > yy_current_state = yy_nxt[yy_base[yy_current_state] + yy_c];
- 1521a1529
- > YY_LINENO_REWIND_TO(yy_cp - 1);
- 1525c1533
- < #line 77 "/space/rguenther/gcc-7.4.0/gcc-7.4.0/gcc/gengtype-lex.l"
- ---
- > #line 78 "/usr/src/tools/gcc/../../external/gpl3/gcc/dist/gcc/gengtype-lex.l"
- 1533a1542
- > YY_LINENO_REWIND_TO(yy_cp - 1);
- 1537c1546
- < #line 81 "/space/rguenther/gcc-7.4.0/gcc-7.4.0/gcc/gengtype-lex.l"
- ---
- > #line 82 "/usr/src/tools/gcc/../../external/gpl3/gcc/dist/gcc/gengtype-lex.l"
- 1545a1555
- > YY_LINENO_REWIND_TO(yy_cp - 1);
- 1549c1559
- < #line 85 "/space/rguenther/gcc-7.4.0/gcc-7.4.0/gcc/gengtype-lex.l"
- ---
- > #line 86 "/usr/src/tools/gcc/../../external/gpl3/gcc/dist/gcc/gengtype-lex.l"
- 1557a1568
- > YY_LINENO_REWIND_TO(yy_cp - 1);
- 1561c1572
- < #line 89 "/space/rguenther/gcc-7.4.0/gcc-7.4.0/gcc/gengtype-lex.l"
- ---
- > #line 90 "/usr/src/tools/gcc/../../external/gpl3/gcc/dist/gcc/gengtype-lex.l"
- 1569a1581
- > YY_LINENO_REWIND_TO(yy_cp - 1);
- 1573c1585
- < #line 93 "/space/rguenther/gcc-7.4.0/gcc-7.4.0/gcc/gengtype-lex.l"
- ---
- > #line 94 "/usr/src/tools/gcc/../../external/gpl3/gcc/dist/gcc/gengtype-lex.l"
- 1581a1594
- > YY_LINENO_REWIND_TO(yy_cp - 1);
- 1585c1598
- < #line 97 "/space/rguenther/gcc-7.4.0/gcc-7.4.0/gcc/gengtype-lex.l"
- ---
- > #line 98 "/usr/src/tools/gcc/../../external/gpl3/gcc/dist/gcc/gengtype-lex.l"
- 1596c1609
- < #line 105 "/space/rguenther/gcc-7.4.0/gcc-7.4.0/gcc/gengtype-lex.l"
- ---
- > #line 106 "/usr/src/tools/gcc/../../external/gpl3/gcc/dist/gcc/gengtype-lex.l"
- 1602c1615
- < #line 106 "/space/rguenther/gcc-7.4.0/gcc-7.4.0/gcc/gengtype-lex.l"
- ---
- > #line 107 "/usr/src/tools/gcc/../../external/gpl3/gcc/dist/gcc/gengtype-lex.l"
- 1608c1621
- < #line 108 "/space/rguenther/gcc-7.4.0/gcc-7.4.0/gcc/gengtype-lex.l"
- ---
- > #line 109 "/usr/src/tools/gcc/../../external/gpl3/gcc/dist/gcc/gengtype-lex.l"
- 1614c1627
- < #line 109 "/space/rguenther/gcc-7.4.0/gcc-7.4.0/gcc/gengtype-lex.l"
- ---
- > #line 110 "/usr/src/tools/gcc/../../external/gpl3/gcc/dist/gcc/gengtype-lex.l"
- 1619a1633
- > YY_LINENO_REWIND_TO(yy_bp + 5);
- 1623c1637
- < #line 111 "/space/rguenther/gcc-7.4.0/gcc-7.4.0/gcc/gengtype-lex.l"
- ---
- > #line 112 "/usr/src/tools/gcc/../../external/gpl3/gcc/dist/gcc/gengtype-lex.l"
- 1628a1643
- > YY_LINENO_REWIND_TO(yy_cp - 1);
- 1631c1646
- < #line 113 "/space/rguenther/gcc-7.4.0/gcc-7.4.0/gcc/gengtype-lex.l"
- ---
- > #line 114 "/usr/src/tools/gcc/../../external/gpl3/gcc/dist/gcc/gengtype-lex.l"
- 1634c1649
- < #line 114 "/space/rguenther/gcc-7.4.0/gcc-7.4.0/gcc/gengtype-lex.l"
- ---
- > #line 115 "/usr/src/tools/gcc/../../external/gpl3/gcc/dist/gcc/gengtype-lex.l"
- 1637c1652
- < #line 115 "/space/rguenther/gcc-7.4.0/gcc-7.4.0/gcc/gengtype-lex.l"
- ---
- > #line 116 "/usr/src/tools/gcc/../../external/gpl3/gcc/dist/gcc/gengtype-lex.l"
- 1641c1656
- < #line 115 "/space/rguenther/gcc-7.4.0/gcc-7.4.0/gcc/gengtype-lex.l"
- ---
- > #line 116 "/usr/src/tools/gcc/../../external/gpl3/gcc/dist/gcc/gengtype-lex.l"
- 1649a1665
- > YY_LINENO_REWIND_TO(yy_bp + 3);
- 1653c1669
- < #line 119 "/space/rguenther/gcc-7.4.0/gcc-7.4.0/gcc/gengtype-lex.l"
- ---
- > #line 120 "/usr/src/tools/gcc/../../external/gpl3/gcc/dist/gcc/gengtype-lex.l"
- 1658a1675
- > YY_LINENO_REWIND_TO(yy_bp + 5);
- 1662c1679
- < #line 120 "/space/rguenther/gcc-7.4.0/gcc-7.4.0/gcc/gengtype-lex.l"
- ---
- > #line 121 "/usr/src/tools/gcc/../../external/gpl3/gcc/dist/gcc/gengtype-lex.l"
- 1667a1685
- > YY_LINENO_REWIND_TO(yy_bp + 6);
- 1671c1689
- < #line 121 "/space/rguenther/gcc-7.4.0/gcc-7.4.0/gcc/gengtype-lex.l"
- ---
- > #line 122 "/usr/src/tools/gcc/../../external/gpl3/gcc/dist/gcc/gengtype-lex.l"
- 1676a1695
- > YY_LINENO_REWIND_TO(yy_bp + 5);
- 1680c1699
- < #line 122 "/space/rguenther/gcc-7.4.0/gcc-7.4.0/gcc/gengtype-lex.l"
- ---
- > #line 123 "/usr/src/tools/gcc/../../external/gpl3/gcc/dist/gcc/gengtype-lex.l"
- 1685a1705
- > YY_LINENO_REWIND_TO(yy_bp + 7);
- 1689c1709
- < #line 123 "/space/rguenther/gcc-7.4.0/gcc-7.4.0/gcc/gengtype-lex.l"
- ---
- > #line 124 "/usr/src/tools/gcc/../../external/gpl3/gcc/dist/gcc/gengtype-lex.l"
- 1694a1715
- > YY_LINENO_REWIND_TO(yy_bp + 4);
- 1698c1719
- < #line 124 "/space/rguenther/gcc-7.4.0/gcc-7.4.0/gcc/gengtype-lex.l"
- ---
- > #line 125 "/usr/src/tools/gcc/../../external/gpl3/gcc/dist/gcc/gengtype-lex.l"
- 1703a1725
- > YY_LINENO_REWIND_TO(yy_bp + 9);
- 1707c1729
- < #line 125 "/space/rguenther/gcc-7.4.0/gcc-7.4.0/gcc/gengtype-lex.l"
- ---
- > #line 126 "/usr/src/tools/gcc/../../external/gpl3/gcc/dist/gcc/gengtype-lex.l"
- 1712a1735
- > YY_LINENO_REWIND_TO(yy_bp + 10);
- 1716c1739
- < #line 126 "/space/rguenther/gcc-7.4.0/gcc-7.4.0/gcc/gengtype-lex.l"
- ---
- > #line 127 "/usr/src/tools/gcc/../../external/gpl3/gcc/dist/gcc/gengtype-lex.l"
- 1721a1745
- > YY_LINENO_REWIND_TO(yy_bp + 4);
- 1725c1749
- < #line 127 "/space/rguenther/gcc-7.4.0/gcc-7.4.0/gcc/gengtype-lex.l"
- ---
- > #line 128 "/usr/src/tools/gcc/../../external/gpl3/gcc/dist/gcc/gengtype-lex.l"
- 1730c1754
- < #line 128 "/space/rguenther/gcc-7.4.0/gcc-7.4.0/gcc/gengtype-lex.l"
- ---
- > #line 129 "/usr/src/tools/gcc/../../external/gpl3/gcc/dist/gcc/gengtype-lex.l"
- 1735a1760
- > YY_LINENO_REWIND_TO(yy_cp - 1);
- 1738c1763
- < #line 131 "/space/rguenther/gcc-7.4.0/gcc-7.4.0/gcc/gengtype-lex.l"
- ---
- > #line 132 "/usr/src/tools/gcc/../../external/gpl3/gcc/dist/gcc/gengtype-lex.l"
- 1742c1767
- < #line 131 "/space/rguenther/gcc-7.4.0/gcc-7.4.0/gcc/gengtype-lex.l"
- ---
- > #line 132 "/usr/src/tools/gcc/../../external/gpl3/gcc/dist/gcc/gengtype-lex.l"
- 1756a1782
- > YY_LINENO_REWIND_TO(yy_cp - 1);
- 1760c1786
- < #line 142 "/space/rguenther/gcc-7.4.0/gcc-7.4.0/gcc/gengtype-lex.l"
- ---
- > #line 143 "/usr/src/tools/gcc/../../external/gpl3/gcc/dist/gcc/gengtype-lex.l"
- 1769c1795
- < #line 147 "/space/rguenther/gcc-7.4.0/gcc-7.4.0/gcc/gengtype-lex.l"
- ---
- > #line 148 "/usr/src/tools/gcc/../../external/gpl3/gcc/dist/gcc/gengtype-lex.l"
- 1779c1805
- < #line 152 "/space/rguenther/gcc-7.4.0/gcc-7.4.0/gcc/gengtype-lex.l"
- ---
- > #line 153 "/usr/src/tools/gcc/../../external/gpl3/gcc/dist/gcc/gengtype-lex.l"
- 1788c1814
- < #line 156 "/space/rguenther/gcc-7.4.0/gcc-7.4.0/gcc/gengtype-lex.l"
- ---
- > #line 157 "/usr/src/tools/gcc/../../external/gpl3/gcc/dist/gcc/gengtype-lex.l"
- 1796c1822
- < #line 161 "/space/rguenther/gcc-7.4.0/gcc-7.4.0/gcc/gengtype-lex.l"
- ---
- > #line 162 "/usr/src/tools/gcc/../../external/gpl3/gcc/dist/gcc/gengtype-lex.l"
- 1801c1827
- < #line 162 "/space/rguenther/gcc-7.4.0/gcc-7.4.0/gcc/gengtype-lex.l"
- ---
- > #line 163 "/usr/src/tools/gcc/../../external/gpl3/gcc/dist/gcc/gengtype-lex.l"
- 1808c1834
- < #line 165 "/space/rguenther/gcc-7.4.0/gcc-7.4.0/gcc/gengtype-lex.l"
- ---
- > #line 166 "/usr/src/tools/gcc/../../external/gpl3/gcc/dist/gcc/gengtype-lex.l"
- 1813c1839
- < #line 167 "/space/rguenther/gcc-7.4.0/gcc-7.4.0/gcc/gengtype-lex.l"
- ---
- > #line 168 "/usr/src/tools/gcc/../../external/gpl3/gcc/dist/gcc/gengtype-lex.l"
- 1821c1847
- < #line 172 "/space/rguenther/gcc-7.4.0/gcc-7.4.0/gcc/gengtype-lex.l"
- ---
- > #line 173 "/usr/src/tools/gcc/../../external/gpl3/gcc/dist/gcc/gengtype-lex.l"
- 1827c1853
- < #line 173 "/space/rguenther/gcc-7.4.0/gcc-7.4.0/gcc/gengtype-lex.l"
- ---
- > #line 174 "/usr/src/tools/gcc/../../external/gpl3/gcc/dist/gcc/gengtype-lex.l"
- 1833c1859
- < #line 174 "/space/rguenther/gcc-7.4.0/gcc-7.4.0/gcc/gengtype-lex.l"
- ---
- > #line 175 "/usr/src/tools/gcc/../../external/gpl3/gcc/dist/gcc/gengtype-lex.l"
- 1837c1863
- < #line 176 "/space/rguenther/gcc-7.4.0/gcc-7.4.0/gcc/gengtype-lex.l"
- ---
- > #line 177 "/usr/src/tools/gcc/../../external/gpl3/gcc/dist/gcc/gengtype-lex.l"
- 1840c1866
- < #line 177 "/space/rguenther/gcc-7.4.0/gcc-7.4.0/gcc/gengtype-lex.l"
- ---
- > #line 178 "/usr/src/tools/gcc/../../external/gpl3/gcc/dist/gcc/gengtype-lex.l"
- 1844c1870
- < #line 177 "/space/rguenther/gcc-7.4.0/gcc-7.4.0/gcc/gengtype-lex.l"
- ---
- > #line 178 "/usr/src/tools/gcc/../../external/gpl3/gcc/dist/gcc/gengtype-lex.l"
- 1850c1876
- < #line 178 "/space/rguenther/gcc-7.4.0/gcc-7.4.0/gcc/gengtype-lex.l"
- ---
- > #line 179 "/usr/src/tools/gcc/../../external/gpl3/gcc/dist/gcc/gengtype-lex.l"
- 1855a1882
- > YY_LINENO_REWIND_TO(yy_bp + 1);
- 1859c1886
- < #line 179 "/space/rguenther/gcc-7.4.0/gcc-7.4.0/gcc/gengtype-lex.l"
- ---
- > #line 180 "/usr/src/tools/gcc/../../external/gpl3/gcc/dist/gcc/gengtype-lex.l"
- 1866c1893
- < #line 182 "/space/rguenther/gcc-7.4.0/gcc-7.4.0/gcc/gengtype-lex.l"
- ---
- > #line 183 "/usr/src/tools/gcc/../../external/gpl3/gcc/dist/gcc/gengtype-lex.l"
- 1870c1897
- < #line 184 "/space/rguenther/gcc-7.4.0/gcc-7.4.0/gcc/gengtype-lex.l"
- ---
- > #line 185 "/usr/src/tools/gcc/../../external/gpl3/gcc/dist/gcc/gengtype-lex.l"
- 1873c1900
- < #line 184 "/space/rguenther/gcc-7.4.0/gcc-7.4.0/gcc/gengtype-lex.l"
- ---
- > #line 185 "/usr/src/tools/gcc/../../external/gpl3/gcc/dist/gcc/gengtype-lex.l"
- 1878a1906
- > YY_LINENO_REWIND_TO(yy_bp + 1);
- 1882c1910
- < #line 185 "/space/rguenther/gcc-7.4.0/gcc-7.4.0/gcc/gengtype-lex.l"
- ---
- > #line 186 "/usr/src/tools/gcc/../../external/gpl3/gcc/dist/gcc/gengtype-lex.l"
- 1888c1916
- < #line 188 "/space/rguenther/gcc-7.4.0/gcc-7.4.0/gcc/gengtype-lex.l"
- ---
- > #line 189 "/usr/src/tools/gcc/../../external/gpl3/gcc/dist/gcc/gengtype-lex.l"
- 1893c1921
- < #line 189 "/space/rguenther/gcc-7.4.0/gcc-7.4.0/gcc/gengtype-lex.l"
- ---
- > #line 190 "/usr/src/tools/gcc/../../external/gpl3/gcc/dist/gcc/gengtype-lex.l"
- 1897c1925
- < #line 192 "/space/rguenther/gcc-7.4.0/gcc-7.4.0/gcc/gengtype-lex.l"
- ---
- > #line 193 "/usr/src/tools/gcc/../../external/gpl3/gcc/dist/gcc/gengtype-lex.l"
- 1900c1928
- < #line 192 "/space/rguenther/gcc-7.4.0/gcc-7.4.0/gcc/gengtype-lex.l"
- ---
- > #line 193 "/usr/src/tools/gcc/../../external/gpl3/gcc/dist/gcc/gengtype-lex.l"
- 1909c1937
- < #line 197 "/space/rguenther/gcc-7.4.0/gcc-7.4.0/gcc/gengtype-lex.l"
- ---
- > #line 198 "/usr/src/tools/gcc/../../external/gpl3/gcc/dist/gcc/gengtype-lex.l"
- 1914c1942
- < #line 199 "/space/rguenther/gcc-7.4.0/gcc-7.4.0/gcc/gengtype-lex.l"
- ---
- > #line 200 "/usr/src/tools/gcc/../../external/gpl3/gcc/dist/gcc/gengtype-lex.l"
- 1917c1945
- < #line 1917 "gengtype-lex.c"
- ---
- > #line 1944 "/usr/src/tools/gcc/../../external/gpl3/gcc/dist/gcc/gengtype-lex.c"
- 1999c2027
- < if ( yywrap( ) )
- ---
- > if ( yywrap( ) )
- 2051a2080
- > } /* end of user's declarations */
- 2063,2065c2092,2094
- < register char *dest = YY_CURRENT_BUFFER_LVALUE->yy_ch_buf;
- < register char *source = (yytext_ptr);
- < register int number_to_move, i;
- ---
- > char *dest = YY_CURRENT_BUFFER_LVALUE->yy_ch_buf;
- > char *source = (yytext_ptr);
- > yy_size_t number_to_move, i;
- 2094c2123
- < number_to_move = (int) ((yy_c_buf_p) - (yytext_ptr)) - 1;
- ---
- > number_to_move = (yy_size_t) ((yy_c_buf_p) - (yytext_ptr) - 1);
- 2107c2136
- < int num_to_read =
- ---
- > yy_size_t num_to_read =
- 2130c2159,2160
- < yyrealloc((void *) b->yy_ch_buf,b->yy_buf_size + 2 );
- ---
- > yyrealloc( (void *) b->yy_ch_buf,
- > (yy_size_t) (b->yy_buf_size + 2) );
- 2134c2164
- < b->yy_ch_buf = 0;
- ---
- > b->yy_ch_buf = NULL;
- 2142c2172
- < num_to_read = (int) YY_CURRENT_BUFFER_LVALUE->yy_buf_size -
- ---
- > num_to_read = YY_CURRENT_BUFFER_LVALUE->yy_buf_size -
- 2162c2192
- < yyrestart(yyin );
- ---
- > yyrestart( yyin );
- 2176c2206
- < if ((int) ((yy_n_chars) + number_to_move) > YY_CURRENT_BUFFER_LVALUE->yy_buf_size) {
- ---
- > if (((yy_n_chars) + number_to_move) > YY_CURRENT_BUFFER_LVALUE->yy_buf_size) {
- 2178,2179c2208,2210
- < int new_size = (yy_n_chars) + number_to_move + ((yy_n_chars) >> 1);
- < YY_CURRENT_BUFFER_LVALUE->yy_ch_buf = (char *) yyrealloc((void *) YY_CURRENT_BUFFER_LVALUE->yy_ch_buf,new_size );
- ---
- > yy_size_t new_size = (yy_n_chars) + number_to_move + ((yy_n_chars) >> 1);
- > YY_CURRENT_BUFFER_LVALUE->yy_ch_buf = (char *) yyrealloc(
- > (void *) YY_CURRENT_BUFFER_LVALUE->yy_ch_buf, (yy_size_t) new_size );
- 2181a2213,2214
- > /* "- 2" to take care of EOB's */
- > YY_CURRENT_BUFFER_LVALUE->yy_buf_size = (yy_size_t) (new_size - 2);
- 2197,2198c2230,2231
- < register yy_state_type yy_current_state;
- < register char *yy_cp;
- ---
- > yy_state_type yy_current_state;
- > char *yy_cp;
- 2205c2238
- < register YY_CHAR yy_c = (*yy_cp ? yy_ec[YY_SC_TO_UI(*yy_cp)] : 1);
- ---
- > YY_CHAR yy_c = (*yy_cp ? yy_ec[YY_SC_TO_UI(*yy_cp)] : 1);
- 2215c2248
- < yy_c = yy_meta[(unsigned int) yy_c];
- ---
- > yy_c = yy_meta[yy_c];
- 2217c2250
- < yy_current_state = yy_nxt[yy_base[yy_current_state] + (flex_int16_t) yy_c];
- ---
- > yy_current_state = yy_nxt[yy_base[yy_current_state] + yy_c];
- 2230,2231c2263,2264
- < register int yy_is_jam;
- < register char *yy_cp = (yy_c_buf_p);
- ---
- > int yy_is_jam;
- > char *yy_cp = (yy_c_buf_p);
- 2233c2266
- < register YY_CHAR yy_c = 1;
- ---
- > YY_CHAR yy_c = 1;
- 2243c2276
- < yy_c = yy_meta[(unsigned int) yy_c];
- ---
- > yy_c = yy_meta[yy_c];
- 2245c2278
- < yy_current_state = yy_nxt[yy_base[yy_current_state] + (flex_int16_t) yy_c];
- ---
- > yy_current_state = yy_nxt[yy_base[yy_current_state] + yy_c];
- 2250a2284,2287
- > #ifndef YY_NO_UNPUT
- >
- > #endif
- >
- 2275c2312
- < yy_size_t offset = (yy_c_buf_p) - (yytext_ptr);
- ---
- > yy_size_t offset = (int) ((yy_c_buf_p) - (yytext_ptr));
- 2292c2329
- < yyrestart(yyin );
- ---
- > yyrestart( yyin );
- 2298,2299c2335,2336
- < if ( yywrap( ) )
- < return EOF;
- ---
- > if ( yywrap( ) )
- > return 0;
- 2338c2375
- < yy_create_buffer(yyin,YY_BUF_SIZE );
- ---
- > yy_create_buffer( yyin, YY_BUF_SIZE );
- 2341,2342c2378,2379
- < yy_init_buffer(YY_CURRENT_BUFFER,input_file );
- < yy_load_buffer_state( );
- ---
- > yy_init_buffer( YY_CURRENT_BUFFER, input_file );
- > yy_load_buffer_state( );
- 2370c2407
- < yy_load_buffer_state( );
- ---
- > yy_load_buffer_state( );
- 2394c2431
- < YY_BUFFER_STATE yy_create_buffer (FILE * file, int size )
- ---
- > YY_BUFFER_STATE yy_create_buffer (FILE * file, yy_size_t size )
- 2398c2435
- < b = (YY_BUFFER_STATE) yyalloc(sizeof( struct yy_buffer_state ) );
- ---
- > b = (YY_BUFFER_STATE) yyalloc( sizeof( struct yy_buffer_state ) );
- 2407c2444
- < b->yy_ch_buf = (char *) yyalloc(b->yy_buf_size + 2 );
- ---
- > b->yy_ch_buf = (char *) yyalloc( (yy_size_t) (b->yy_buf_size + 2) );
- 2413c2450
- < yy_init_buffer(b,file );
- ---
- > yy_init_buffer( b, file );
- 2432c2469
- < yyfree((void *) b->yy_ch_buf );
- ---
- > yyfree( (void *) b->yy_ch_buf );
- 2434c2471
- < yyfree((void *) b );
- ---
- > yyfree( (void *) b );
- 2446c2483
- < yy_flush_buffer(b );
- ---
- > yy_flush_buffer( b );
- 2489c2526
- < yy_load_buffer_state( );
- ---
- > yy_load_buffer_state( );
- 2520c2557
- < yy_load_buffer_state( );
- ---
- > yy_load_buffer_state( );
- 2539c2576
- < yy_load_buffer_state( );
- ---
- > yy_load_buffer_state( );
- 2557c2594
- < num_to_alloc = 1;
- ---
- > num_to_alloc = 1; /* After all that talk, this was set to 1 anyways... */
- 2563c2600
- <
- ---
- >
- 2565c2602
- <
- ---
- >
- 2574c2611
- < int grow_size = 8 /* arbitrary grow size */;
- ---
- > yy_size_t grow_size = 8 /* arbitrary grow size */;
- 2594c2631
- < * @return the newly allocated buffer state object.
- ---
- > * @return the newly allocated buffer state object.
- 2604c2641
- < return 0;
- ---
- > return NULL;
- 2606c2643
- < b = (YY_BUFFER_STATE) yyalloc(sizeof( struct yy_buffer_state ) );
- ---
- > b = (YY_BUFFER_STATE) yyalloc( sizeof( struct yy_buffer_state ) );
- 2610c2647
- < b->yy_buf_size = size - 2; /* "- 2" to take care of EOB's */
- ---
- > b->yy_buf_size = (size - 2); /* "- 2" to take care of EOB's */
- 2613c2650
- < b->yy_input_file = 0;
- ---
- > b->yy_input_file = NULL;
- 2620c2657
- < yy_switch_to_buffer(b );
- ---
- > yy_switch_to_buffer( b );
- 2633c2670
- < YY_BUFFER_STATE yy_scan_string (yyconst char * yystr )
- ---
- > YY_BUFFER_STATE yy_scan_string (const char * yystr )
- 2636c2673
- < return yy_scan_bytes(yystr,(int) strlen(yystr) );
- ---
- > return yy_scan_bytes( yystr, strlen(yystr) );
- 2646c2683
- < YY_BUFFER_STATE yy_scan_bytes (yyconst char * yybytes, yy_size_t _yybytes_len )
- ---
- > YY_BUFFER_STATE yy_scan_bytes (const char * yybytes, yy_size_t _yybytes_len )
- 2651c2688
- < int i;
- ---
- > yy_size_t i;
- 2654,2655c2691,2692
- < n = (yy_size_t) _yybytes_len + 2;
- < buf = (char *) yyalloc(n );
- ---
- > n = (yy_size_t) (_yybytes_len + 2);
- > buf = (char *) yyalloc( n );
- 2664c2701
- < b = yy_scan_buffer(buf,n );
- ---
- > b = yy_scan_buffer( buf, n );
- 2680c2717
- < static void yy_fatal_error (yyconst char* msg )
- ---
- > static void yynoreturn yy_fatal_error (const char* msg )
- 2682c2719
- < (void) fprintf( stderr, "%s\n", msg );
- ---
- > fprintf( stderr, "%s\n", msg );
- 2710c2747
- <
- ---
- >
- 2748c2785
- < * @param line_number
- ---
- > * @param _line_number line number
- 2751c2788
- < void yyset_lineno (int line_number )
- ---
- > void yyset_lineno (int _line_number )
- 2754c2791
- < yylineno = line_number;
- ---
- > yylineno = _line_number;
- 2759c2796
- < * @param in_str A readable stream.
- ---
- > * @param _in_str A readable stream.
- 2763c2800
- < void yyset_in (FILE * in_str )
- ---
- > void yyset_in (FILE * _in_str )
- 2765c2802
- < yyin = in_str ;
- ---
- > yyin = _in_str ;
- 2768c2805
- < void yyset_out (FILE * out_str )
- ---
- > void yyset_out (FILE * _out_str )
- 2770c2807
- < yyout = out_str ;
- ---
- > yyout = _out_str ;
- 2778c2815
- < void yyset_debug (int bdebug )
- ---
- > void yyset_debug (int _bdebug )
- 2780c2817
- < yy_flex_debug = bdebug ;
- ---
- > yy_flex_debug = _bdebug ;
- 2789c2826
- < (yy_buffer_stack) = 0;
- ---
- > (yy_buffer_stack) = NULL;
- 2792c2829
- < (yy_c_buf_p) = (char *) 0;
- ---
- > (yy_c_buf_p) = NULL;
- 2801,2802c2838,2839
- < yyin = (FILE *) 0;
- < yyout = (FILE *) 0;
- ---
- > yyin = NULL;
- > yyout = NULL;
- 2817c2854
- < yy_delete_buffer(YY_CURRENT_BUFFER );
- ---
- > yy_delete_buffer( YY_CURRENT_BUFFER );
- 2838c2875
- < static void yy_flex_strncpy (char* s1, yyconst char * s2, int n )
- ---
- > static void yy_flex_strncpy (char* s1, const char * s2, int n )
- 2840c2877,2878
- < register int i;
- ---
- >
- > int i;
- 2847c2885
- < static int yy_flex_strlen (yyconst char * s )
- ---
- > static int yy_flex_strlen (const char * s )
- 2849c2887
- < register int n;
- ---
- > int n;
- 2859c2897
- < return (void *) malloc( size );
- ---
- > return malloc(size);
- 2863a2902
- >
- 2871c2910
- < return (void *) realloc( (char *) ptr, size );
- ---
- > return realloc(ptr, size);
- 2876c2915
- < free( (char *) ptr ); /* see yyrealloc() for (char *) cast */
- ---
- > free( (char *) ptr ); /* see yyrealloc() for (char *) cast */
- 2881,2882c2920
- < #line 199 "/space/rguenther/gcc-7.4.0/gcc-7.4.0/gcc/gengtype-lex.l"
- <
- ---
- > #line 200 "/usr/src/tools/gcc/../../external/gpl3/gcc/dist/gcc/gengtype-lex.l"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement