Ignore:
Timestamp:
Oct 2, 2018 12:21:11 PM (4 years ago)
Author:
kanani
Message:

Merge chemistry branch at r3297 to trunk

Location:
palm/trunk/UTIL/chemistry/gasphase_preproc/kpp
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • palm/trunk/UTIL/chemistry/gasphase_preproc/kpp/src/lex.yy.c

    r2696 r3298  
    1010#define YY_FLEX_MAJOR_VERSION 2
    1111#define YY_FLEX_MINOR_VERSION 5
    12 #define YY_FLEX_SUBMINOR_VERSION 37
     12#define YY_FLEX_SUBMINOR_VERSION 35
    1313#if YY_FLEX_SUBMINOR_VERSION > 0
    1414#define FLEX_BETA
     
    143143/* Size of default input buffer. */
    144144#ifndef YY_BUF_SIZE
     145#ifdef __ia64__
     146/* On IA-64, the buffer size is 16k, not 8k.
     147 * Moreover, YY_BUF_SIZE is 2*YY_READ_BUF_SIZE in the general case.
     148 * Ditto for the __ia64__ case accordingly.
     149 */
     150#define YY_BUF_SIZE 32768
     151#else
    145152#define YY_BUF_SIZE 16384
     153#endif /* __ia64__ */
    146154#endif
    147155
     
    155163#endif
    156164
    157 #ifndef YY_TYPEDEF_YY_SIZE_T
    158 #define YY_TYPEDEF_YY_SIZE_T
    159 typedef size_t yy_size_t;
    160 #endif
    161 
    162 extern yy_size_t yyleng;
     165extern int yyleng;
    163166
    164167extern FILE *yyin, *yyout;
     
    186189#define unput(c) yyunput( c, (yytext_ptr)  )
    187190
     191#ifndef YY_TYPEDEF_YY_SIZE_T
     192#define YY_TYPEDEF_YY_SIZE_T
     193typedef size_t yy_size_t;
     194#endif
     195
    188196#ifndef YY_STRUCT_YY_BUFFER_STATE
    189197#define YY_STRUCT_YY_BUFFER_STATE
     
    203211         * characters.
    204212         */
    205         yy_size_t yy_n_chars;
     213        int yy_n_chars;
    206214
    207215        /* Whether we "own" the buffer - i.e., we know we created it,
     
    273281/* yy_hold_char holds the character lost when yytext is formed. */
    274282static char yy_hold_char;
    275 static yy_size_t yy_n_chars;            /* number of characters read into yy_ch_buf */
    276 yy_size_t yyleng;
     283static int yy_n_chars;          /* number of characters read into yy_ch_buf */
     284int yyleng;
    277285
    278286/* Points to current character in buffer. */
     
    302310YY_BUFFER_STATE yy_scan_buffer (char *base,yy_size_t size  );
    303311YY_BUFFER_STATE yy_scan_string (yyconst char *yy_str  );
    304 YY_BUFFER_STATE yy_scan_bytes (yyconst char *bytes,yy_size_t len  );
     312YY_BUFFER_STATE yy_scan_bytes (yyconst char *bytes,int len  );
    305313
    306314void *yyalloc (yy_size_t  );
     
    801809          return (x); \
    802810        }
    803 #line 804 "lex.yy.c"
     811#line 812 "lex.yy.c"
    804812
    805813#define INITIAL 0
     
    864872void yyset_out  (FILE * out_str  );
    865873
    866 yy_size_t yyget_leng (void );
     874int yyget_leng (void );
    867875
    868876char *yyget_text (void );
     
    906914/* Amount of stuff to slurp up with each read. */
    907915#ifndef YY_READ_BUF_SIZE
     916#ifdef __ia64__
     917/* On IA-64, the buffer size is 16k, not 8k */
     918#define YY_READ_BUF_SIZE 16384
     919#else
    908920#define YY_READ_BUF_SIZE 8192
     921#endif /* __ia64__ */
    909922#endif
    910923
     
    10091022#line 120 "scan.l"
    10101023
    1011 #line 1012 "lex.yy.c"
     1024#line 1025 "lex.yy.c"
    10121025
    10131026        if ( !(yy_init) )
     
    15261539ECHO;
    15271540        YY_BREAK
    1528 #line 1529 "lex.yy.c"
     1541#line 1542 "lex.yy.c"
    15291542
    15301543        case YY_END_OF_BUFFER:
     
    17101723        else
    17111724                {
    1712                         yy_size_t num_to_read =
     1725                        int num_to_read =
    17131726                        YY_CURRENT_BUFFER_LVALUE->yy_buf_size - number_to_move - 1;
    17141727
     
    17171730
    17181731                        /* just a shorter name for the current buffer */
    1719                         YY_BUFFER_STATE b = YY_CURRENT_BUFFER_LVALUE;
     1732                        YY_BUFFER_STATE b = YY_CURRENT_BUFFER;
    17201733
    17211734                        int yy_c_buf_p_offset =
     
    17241737                        if ( b->yy_is_our_buffer )
    17251738                                {
    1726                                 yy_size_t new_size = b->yy_buf_size * 2;
     1739                                int new_size = b->yy_buf_size * 2;
    17271740
    17281741                                if ( new_size <= 0 )
     
    17551768                /* Read in more data. */
    17561769                YY_INPUT( (&YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[number_to_move]),
    1757                         (yy_n_chars), num_to_read );
     1770                        (yy_n_chars), (size_t) num_to_read );
    17581771
    17591772                YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars);
     
    18501863        yy_is_jam = (yy_current_state == 198);
    18511864
    1852                 return yy_is_jam ? 0 : yy_current_state;
     1865        return yy_is_jam ? 0 : yy_current_state;
    18531866}
    18541867
     
    18651878                { /* need to shift things up to make room */
    18661879                /* +2 for EOB chars. */
    1867                 register yy_size_t number_to_move = (yy_n_chars) + 2;
     1880                register int number_to_move = (yy_n_chars) + 2;
    18681881                register char *dest = &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[
    18691882                                        YY_CURRENT_BUFFER_LVALUE->yy_buf_size + 2];
     
    19141927                else
    19151928                        { /* need more input */
    1916                         yy_size_t offset = (yy_c_buf_p) - (yytext_ptr);
     1929                        int offset = (yy_c_buf_p) - (yytext_ptr);
    19171930                        ++(yy_c_buf_p);
    19181931
     
    20742087}
    20752088
     2089#ifndef __cplusplus
     2090extern int isatty (int );
     2091#endif /* __cplusplus */
     2092   
    20762093/* Initializes or reinitializes a buffer.
    20772094 * This function is sometimes called more than once on the same buffer,
     
    21862203static void yyensure_buffer_stack (void)
    21872204{
    2188         yy_size_t num_to_alloc;
     2205        int num_to_alloc;
    21892206   
    21902207        if (!(yy_buffer_stack)) {
     
    22832300 * @return the newly allocated buffer state object.
    22842301 */
    2285 YY_BUFFER_STATE yy_scan_bytes  (yyconst char * yybytes, yy_size_t  _yybytes_len )
     2302YY_BUFFER_STATE yy_scan_bytes  (yyconst char * yybytes, int  _yybytes_len )
    22862303{
    22872304        YY_BUFFER_STATE b;
     
    23702387 *
    23712388 */
    2372 yy_size_t yyget_leng  (void)
     2389int yyget_leng  (void)
    23732390{
    23742391        return yyleng;
Note: See TracChangeset for help on using the changeset viewer.