| OLD | NEW | 
|---|
| 1 /* | 1 /* | 
| 2  * Copyright 2016 Google Inc. | 2  * Copyright 2016 Google Inc. | 
| 3  * | 3  * | 
| 4  * Use of this source code is governed by a BSD-style license that can be | 4  * Use of this source code is governed by a BSD-style license that can be | 
| 5  * found in the LICENSE file. | 5  * found in the LICENSE file. | 
| 6  */ | 6  */ | 
| 7 | 7 | 
| 8 #line 3 "lex.sksl.c" | 8 #line 3 "lex.sksl.c" | 
| 9 | 9 | 
| 10 #define  YY_INT_ALIGNED short int | 10 #define  YY_INT_ALIGNED short int | 
| 11 | 11 | 
| 12 /* A lexical scanner generated by flex */ | 12 /* A lexical scanner generated by flex */ | 
| 13 | 13 | 
| 14 #define FLEX_SCANNER | 14 #define FLEX_SCANNER | 
| 15 #define YY_FLEX_MAJOR_VERSION 2 | 15 #define YY_FLEX_MAJOR_VERSION 2 | 
| 16 #define YY_FLEX_MINOR_VERSION 5 | 16 #define YY_FLEX_MINOR_VERSION 5 | 
| 17 #define YY_FLEX_SUBMINOR_VERSION 35 | 17 #define YY_FLEX_SUBMINOR_VERSION 37 | 
| 18 #if YY_FLEX_SUBMINOR_VERSION > 0 | 18 #if YY_FLEX_SUBMINOR_VERSION > 0 | 
| 19 #define FLEX_BETA | 19 #define FLEX_BETA | 
| 20 #endif | 20 #endif | 
| 21 | 21 | 
| 22 /* First, we deal with  platform-specific or compiler-specific issues. */ | 22 /* First, we deal with  platform-specific or compiler-specific issues. */ | 
| 23 | 23 | 
| 24 /* begin standard C headers. */ | 24 /* begin standard C headers. */ | 
| 25 #include <stdio.h> | 25 #include <stdio.h> | 
| 26 #include <string.h> | 26 #include <string.h> | 
| 27 #include <errno.h> | 27 #include <errno.h> | 
| (...skipping 17 matching lines...) Expand all  Loading... | 
| 45 #define __STDC_LIMIT_MACROS 1 | 45 #define __STDC_LIMIT_MACROS 1 | 
| 46 #endif | 46 #endif | 
| 47 | 47 | 
| 48 #include <inttypes.h> | 48 #include <inttypes.h> | 
| 49 typedef int8_t flex_int8_t; | 49 typedef int8_t flex_int8_t; | 
| 50 typedef uint8_t flex_uint8_t; | 50 typedef uint8_t flex_uint8_t; | 
| 51 typedef int16_t flex_int16_t; | 51 typedef int16_t flex_int16_t; | 
| 52 typedef uint16_t flex_uint16_t; | 52 typedef uint16_t flex_uint16_t; | 
| 53 typedef int32_t flex_int32_t; | 53 typedef int32_t flex_int32_t; | 
| 54 typedef uint32_t flex_uint32_t; | 54 typedef uint32_t flex_uint32_t; | 
| 55 typedef uint64_t flex_uint64_t; |  | 
| 56 #else | 55 #else | 
| 57 typedef signed char flex_int8_t; | 56 typedef signed char flex_int8_t; | 
| 58 typedef short int flex_int16_t; | 57 typedef short int flex_int16_t; | 
| 59 typedef int flex_int32_t; | 58 typedef int flex_int32_t; | 
| 60 typedef unsigned char flex_uint8_t; | 59 typedef unsigned char flex_uint8_t; | 
| 61 typedef unsigned short int flex_uint16_t; | 60 typedef unsigned short int flex_uint16_t; | 
| 62 typedef unsigned int flex_uint32_t; | 61 typedef unsigned int flex_uint32_t; | 
| 63 #endif /* ! C99 */ |  | 
| 64 | 62 | 
| 65 /* Limits of integral types. */ | 63 /* Limits of integral types. */ | 
| 66 #ifndef INT8_MIN | 64 #ifndef INT8_MIN | 
| 67 #define INT8_MIN               (-128) | 65 #define INT8_MIN               (-128) | 
| 68 #endif | 66 #endif | 
| 69 #ifndef INT16_MIN | 67 #ifndef INT16_MIN | 
| 70 #define INT16_MIN              (-32767-1) | 68 #define INT16_MIN              (-32767-1) | 
| 71 #endif | 69 #endif | 
| 72 #ifndef INT32_MIN | 70 #ifndef INT32_MIN | 
| 73 #define INT32_MIN              (-2147483647-1) | 71 #define INT32_MIN              (-2147483647-1) | 
| (...skipping 10 matching lines...) Expand all  Loading... | 
| 84 #ifndef UINT8_MAX | 82 #ifndef UINT8_MAX | 
| 85 #define UINT8_MAX              (255U) | 83 #define UINT8_MAX              (255U) | 
| 86 #endif | 84 #endif | 
| 87 #ifndef UINT16_MAX | 85 #ifndef UINT16_MAX | 
| 88 #define UINT16_MAX             (65535U) | 86 #define UINT16_MAX             (65535U) | 
| 89 #endif | 87 #endif | 
| 90 #ifndef UINT32_MAX | 88 #ifndef UINT32_MAX | 
| 91 #define UINT32_MAX             (4294967295U) | 89 #define UINT32_MAX             (4294967295U) | 
| 92 #endif | 90 #endif | 
| 93 | 91 | 
|  | 92 #endif /* ! C99 */ | 
|  | 93 | 
| 94 #endif /* ! FLEXINT_H */ | 94 #endif /* ! FLEXINT_H */ | 
| 95 | 95 | 
| 96 #ifdef __cplusplus | 96 #ifdef __cplusplus | 
| 97 | 97 | 
| 98 /* The "const" storage-class-modifier is valid. */ | 98 /* The "const" storage-class-modifier is valid. */ | 
| 99 #define YY_USE_CONST | 99 #define YY_USE_CONST | 
| 100 | 100 | 
| 101 #else   /* ! __cplusplus */ | 101 #else   /* ! __cplusplus */ | 
| 102 | 102 | 
| 103 /* C99 requires __STDC__ to be defined as 1. */ | 103 /* C99 requires __STDC__ to be defined as 1. */ | 
| (...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 187 | 187 | 
| 188     /* Note: We specifically omit the test for yy_rule_can_match_eol because it 
      requires | 188     /* Note: We specifically omit the test for yy_rule_can_match_eol because it 
      requires | 
| 189      *       access to the local variable yy_act. Since yyless() is a macro, it 
      would break | 189      *       access to the local variable yy_act. Since yyless() is a macro, it 
      would break | 
| 190      *       existing scanners that call yyless() from OUTSIDE sksllex. | 190      *       existing scanners that call yyless() from OUTSIDE sksllex. | 
| 191      *       One obvious solution it to make yy_act a global. I tried that, and 
      saw | 191      *       One obvious solution it to make yy_act a global. I tried that, and 
      saw | 
| 192      *       a 5% performance hit in a non-yylineno scanner, because yy_act is | 192      *       a 5% performance hit in a non-yylineno scanner, because yy_act is | 
| 193      *       normally declared as a register variable-- so it is not worth it. | 193      *       normally declared as a register variable-- so it is not worth it. | 
| 194      */ | 194      */ | 
| 195     #define  YY_LESS_LINENO(n) \ | 195     #define  YY_LESS_LINENO(n) \ | 
| 196             do { \ | 196             do { \ | 
| 197                 yy_size_t yyl;\ | 197                 int yyl;\ | 
| 198                 for ( yyl = n; yyl < yyleng; ++yyl )\ | 198                 for ( yyl = n; yyl < yyleng; ++yyl )\ | 
| 199                     if ( yytext[yyl] == '\n' )\ | 199                     if ( yytext[yyl] == '\n' )\ | 
| 200                         --yylineno;\ | 200                         --yylineno;\ | 
| 201             }while(0) | 201             }while(0) | 
| 202 | 202 | 
| 203 /* Return all but the first "n" matched characters back to the input stream. */ | 203 /* Return all but the first "n" matched characters back to the input stream. */ | 
| 204 #define yyless(n) \ | 204 #define yyless(n) \ | 
| 205         do \ | 205         do \ | 
| 206                 { \ | 206                 { \ | 
| 207                 /* Undo effects of setting up yytext. */ \ | 207                 /* Undo effects of setting up yytext. */ \ | 
| (...skipping 145 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 353 static yy_state_type yy_get_previous_state (yyscan_t yyscanner ); | 353 static yy_state_type yy_get_previous_state (yyscan_t yyscanner ); | 
| 354 static yy_state_type yy_try_NUL_trans (yy_state_type current_state  ,yyscan_t yy
      scanner); | 354 static yy_state_type yy_try_NUL_trans (yy_state_type current_state  ,yyscan_t yy
      scanner); | 
| 355 static int yy_get_next_buffer (yyscan_t yyscanner ); | 355 static int yy_get_next_buffer (yyscan_t yyscanner ); | 
| 356 static void yy_fatal_error (yyconst char msg[] ,yyscan_t yyscanner ); | 356 static void yy_fatal_error (yyconst char msg[] ,yyscan_t yyscanner ); | 
| 357 | 357 | 
| 358 /* Done after the current pattern has been matched and before the | 358 /* Done after the current pattern has been matched and before the | 
| 359  * corresponding action - sets up yytext. | 359  * corresponding action - sets up yytext. | 
| 360  */ | 360  */ | 
| 361 #define YY_DO_BEFORE_ACTION \ | 361 #define YY_DO_BEFORE_ACTION \ | 
| 362         yyg->yytext_ptr = yy_bp; \ | 362         yyg->yytext_ptr = yy_bp; \ | 
| 363 »       yyleng = (yy_size_t) (yy_cp - yy_bp); \ | 363 »       yyleng = (size_t) (yy_cp - yy_bp); \ | 
| 364         yyg->yy_hold_char = *yy_cp; \ | 364         yyg->yy_hold_char = *yy_cp; \ | 
| 365         *yy_cp = '\0'; \ | 365         *yy_cp = '\0'; \ | 
| 366         yyg->yy_c_buf_p = yy_cp; | 366         yyg->yy_c_buf_p = yy_cp; | 
| 367 | 367 | 
| 368 #define YY_NUM_RULES 84 | 368 #define YY_NUM_RULES 82 | 
| 369 #define YY_END_OF_BUFFER 85 | 369 #define YY_END_OF_BUFFER 83 | 
| 370 /* This struct is not used in this scanner, | 370 /* This struct is not used in this scanner, | 
| 371    but its presence is necessary. */ | 371    but its presence is necessary. */ | 
| 372 struct yy_trans_info | 372 struct yy_trans_info | 
| 373         { | 373         { | 
| 374         flex_int32_t yy_verify; | 374         flex_int32_t yy_verify; | 
| 375         flex_int32_t yy_nxt; | 375         flex_int32_t yy_nxt; | 
| 376         }; | 376         }; | 
| 377 static yyconst flex_int16_t yy_accept[205] = | 377 static yyconst flex_int16_t yy_accept[201] = | 
| 378     {   0, | 378     {   0, | 
| 379         0,    0,   85,   83,   82,   82,   56,   83,   30,   46, | 379         0,    0,   83,   81,   80,   80,   54,   81,   29,   45, | 
| 380        51,   32,   33,   44,   42,   39,   43,   38,   45,    4, | 380        50,   31,   32,   43,   41,   38,   42,   37,   44,    4, | 
| 381         4,   58,   79,   63,   59,   62,   57,   36,   37,   50, | 381        56,   77,   61,   57,   60,   55,   35,   36,   49,   29, | 
| 382        30,   30,   30,   30,   30,   30,   30,   30,   30,   30, | 382        29,   29,   29,   29,   29,   29,   29,   29,   29,   29, | 
| 383        30,   30,   30,   30,   30,   30,   30,   34,   49,   35, | 383        29,   29,   29,   29,   29,   29,   33,   48,   34,   80, | 
| 384        52,   82,   61,   31,   30,   70,   55,   75,   68,   40, | 384        59,   30,   29,   68,   53,   73,   66,   39,   64,   40, | 
| 385        66,   41,   67,    1,    0,   80,   69,    2,    4,    0, | 385        65,    1,    0,   78,   67,    2,    4,    0,   46,   63, | 
| 386         0,   47,   65,   60,   64,   48,   74,   54,   30,   30, | 386        58,   62,   47,   72,   52,   29,   29,   29,   11,   29, | 
| 387        30,   12,   30,   30,   30,   30,   30,    8,   17,   30, | 387        29,   29,   29,   29,    7,   16,   29,   29,   29,   29, | 
| 388        30,   30,   30,   30,   30,   30,   30,   30,   30,   30, | 388        29,   29,   29,   29,   29,   29,   29,   71,   51,   30, | 
| 389 | 389 | 
| 390        73,   53,   31,   78,    0,    0,    0,   80,    1,    0, | 390        76,    0,    0,    0,   78,    1,    0,    0,    3,   69, | 
| 391         0,    3,    5,   71,   72,   77,   30,   30,   30,   30, | 391        70,   75,   29,   29,   29,   29,   29,   29,    9,   29, | 
| 392        30,   30,   10,   30,   30,   30,   30,   30,   30,   18, | 392        29,   29,   29,   29,   29,   17,   29,   29,   29,   29, | 
| 393        30,   30,   30,   30,   30,   30,   76,    0,    1,   81, | 393        29,   29,   74,    0,    1,   79,    0,    0,    2,   29, | 
| 394         0,    0,    2,   30,   30,   30,   30,    9,   30,   25, | 394        29,   29,   29,    8,   29,   24,   29,   29,   29,   21, | 
| 395        30,   30,   30,   22,   30,   30,   30,   30,   30,    6, | 395        29,   29,   29,   29,   29,    5,   29,   29,    0,    1, | 
| 396        30,   30,    0,    1,   13,   21,   30,   30,    7,   24, | 396        12,   20,   29,   29,    6,   23,   18,   29,   29,   29, | 
| 397        19,   30,   30,   30,   30,   30,   30,   30,   11,   30, | 397        29,   29,   29,   29,   10,   29,   29,   27,   29,   29, | 
| 398        30,   28,   30,   30,   30,   16,   27,   30,   30,   15, | 398        29,   15,   26,   29,   29,   14,   22,   29,   29,   19, | 
| 399        23,   30,   30,   20,   14,   30,   30,   30,   29,   30, | 399        13,   29,   29,   29,   28,   29,   29,   29,   25,    0 | 
| 400 | 400 | 
| 401        30,   30,   26,    0 |  | 
| 402     } ; | 401     } ; | 
| 403 | 402 | 
| 404 static yyconst flex_int32_t yy_ec[256] = | 403 static yyconst flex_int32_t yy_ec[256] = | 
| 405     {   0, | 404     {   0, | 
| 406         1,    1,    1,    1,    1,    1,    1,    1,    2,    3, | 405         1,    1,    1,    1,    1,    1,    1,    1,    2,    3, | 
| 407         1,    1,    2,    1,    1,    1,    1,    1,    1,    1, | 406         1,    1,    2,    1,    1,    1,    1,    1,    1,    1, | 
| 408         1,    1,    1,    1,    1,    1,    1,    1,    1,    1, | 407         1,    1,    1,    1,    1,    1,    1,    1,    1,    1, | 
| 409         1,    2,    4,    1,    5,    6,    7,    8,    1,    9, | 408         1,    2,    4,    1,    5,    6,    7,    8,    1,    9, | 
| 410        10,   11,   12,   13,   14,   15,   16,   17,   18,   18, | 409        10,   11,   12,   13,   14,   15,   16,   17,   17,   17, | 
| 411        18,   18,   18,   18,   18,   18,   18,   19,   20,   21, | 410        17,   17,   17,   17,   17,   17,   17,   18,   19,   20, | 
| 412        22,   23,   24,    1,   25,   25,   25,   25,   26,   25, | 411        21,   22,   23,    1,    6,    6,    6,    6,   24,    6, | 
| 413         6,    6,    6,    6,    6,    6,    6,    6,    6,    6, | 412         6,    6,    6,    6,    6,    6,    6,    6,    6,    6, | 
| 414         6,    6,    6,    6,    6,    6,    6,    6,    6,    6, | 413         6,    6,    6,    6,    6,    6,    6,    6,    6,    6, | 
| 415        27,    1,   28,   29,    6,    1,   30,   31,   32,   33, | 414        25,    1,   26,   27,    6,    1,   28,   29,   30,   31, | 
| 416 | 415 | 
| 417        34,   35,   36,   37,   38,    6,   39,   40,   41,   42, | 416        32,   33,   34,   35,   36,    6,   37,   38,   39,   40, | 
| 418        43,   44,    6,   45,   46,   47,   48,   49,   50,   51, | 417        41,   42,    6,   43,   44,   45,   46,   47,   48,    6, | 
| 419        52,    6,   53,   54,   55,   56,    1,    1,    1,    1, | 418        49,    6,   50,   51,   52,    1,    1,    1,    1,    1, | 
| 420         1,    1,    1,    1,    1,    1,    1,    1,    1,    1, | 419         1,    1,    1,    1,    1,    1,    1,    1,    1,    1, | 
| 421         1,    1,    1,    1,    1,    1,    1,    1,    1,    1, | 420         1,    1,    1,    1,    1,    1,    1,    1,    1,    1, | 
| 422         1,    1,    1,    1,    1,    1,    1,    1,    1,    1, | 421         1,    1,    1,    1,    1,    1,    1,    1,    1,    1, | 
| 423         1,    1,    1,    1,    1,    1,    1,    1,    1,    1, | 422         1,    1,    1,    1,    1,    1,    1,    1,    1,    1, | 
| 424         1,    1,    1,    1,    1,    1,    1,    1,    1,    1, | 423         1,    1,    1,    1,    1,    1,    1,    1,    1,    1, | 
| 425         1,    1,    1,    1,    1,    1,    1,    1,    1,    1, | 424         1,    1,    1,    1,    1,    1,    1,    1,    1,    1, | 
| 426         1,    1,    1,    1,    1,    1,    1,    1,    1,    1, | 425         1,    1,    1,    1,    1,    1,    1,    1,    1,    1, | 
| 427 | 426 | 
| 428         1,    1,    1,    1,    1,    1,    1,    1,    1,    1, | 427         1,    1,    1,    1,    1,    1,    1,    1,    1,    1, | 
| 429         1,    1,    1,    1,    1,    1,    1,    1,    1,    1, | 428         1,    1,    1,    1,    1,    1,    1,    1,    1,    1, | 
| 430         1,    1,    1,    1,    1,    1,    1,    1,    1,    1, | 429         1,    1,    1,    1,    1,    1,    1,    1,    1,    1, | 
| 431         1,    1,    1,    1,    1,    1,    1,    1,    1,    1, | 430         1,    1,    1,    1,    1,    1,    1,    1,    1,    1, | 
| 432         1,    1,    1,    1,    1,    1,    1,    1,    1,    1, | 431         1,    1,    1,    1,    1,    1,    1,    1,    1,    1, | 
| 433         1,    1,    1,    1,    1 | 432         1,    1,    1,    1,    1 | 
| 434     } ; | 433     } ; | 
| 435 | 434 | 
| 436 static yyconst flex_int32_t yy_meta[57] = | 435 static yyconst flex_int32_t yy_meta[53] = | 
| 437     {   0, | 436     {   0, | 
| 438         1,    1,    2,    1,    1,    3,    1,    1,    1,    1, | 437         1,    1,    2,    1,    1,    3,    1,    1,    1,    1, | 
| 439         1,    1,    1,    1,    1,    1,    4,    4,    1,    1, | 438         1,    1,    1,    1,    1,    1,    4,    1,    1,    1, | 
| 440         1,    1,    1,    1,    5,    5,    1,    1,    1,    5, | 439         1,    1,    1,    3,    1,    1,    1,    3,    3,    3, | 
| 441         5,    5,    5,    5,    5,    3,    3,    3,    3,    3, |  | 
| 442         3,    3,    3,    3,    3,    3,    3,    3,    3,    3, | 440         3,    3,    3,    3,    3,    3,    3,    3,    3,    3, | 
| 443         3,    3,    1,    1,    1,    1 | 441         3,    3,    3,    3,    3,    3,    3,    3,    3,    1, | 
|  | 442         1,    1 | 
| 444     } ; | 443     } ; | 
| 445 | 444 | 
| 446 static yyconst flex_int16_t yy_base[211] = | 445 static yyconst flex_int16_t yy_base[206] = | 
| 447     {   0, | 446     {   0, | 
| 448         0,    0,  273,  274,   55,   57,  250,    0,    0,  249, | 447         0,    0,  238,  239,   51,   53,  216,    0,    0,  215, | 
| 449        53,  274,  274,  248,   50,  274,   49,   47,   57,   52, | 448        49,  239,  239,  214,   46,  239,   45,  217,   52,   45, | 
| 450        59,  274,  274,   59,  247,   60,  274,  274,  274,   62, | 449       239,  239,   44,  212,   50,  239,  239,  239,   53,  189, | 
| 451       223,  224,   49,  226,   58,  227,   54,   64,  230,  220, | 450       190,   40,  192,   47,  193,   46,   50,  196,  186,  180, | 
| 452       214,  216,  226,  212,  213,  215,  219,  274,   68,  274, | 451       182,  192,  178,  179,  181,  185,  239,   61,  239,   81, | 
| 453       274,   97,  274,    0,    0,  274,  233,  274,  274,  274, | 452       239,    0,    0,  239,  198,  239,  239,  239,  239,  239, | 
| 454       274,  274,  274,   87,  243,    0,  274,   91,   97,  112, | 453       239,   70,  207,    0,  239,   72,   75,   81,  196,  239, | 
| 455         0,  231,  274,  274,  274,  230,  274,  229,  216,  207, | 454       239,  239,  195,  239,  194,  182,  173,  168,    0,  167, | 
| 456       202,    0,  201,  206,  215,  199,  207,    0,  199,  189, | 455       172,  181,  165,  173,    0,  165,  156,  156,  172,  160, | 
| 457       190,  206,  194,  190,  202,  188,  189,  185,  194,  193, | 456       156,  168,  154,  155,  151,  160,  159,  239,  173,    0, | 
| 458 | 457 | 
| 459       274,  208,    0,  274,  120,  218,  212,    0,   93,  127, | 458       239,   89,  182,  176,    0,   91,   97,  174,  173,  239, | 
| 460       118,  125,    0,  274,  274,  274,  197,  100,  194,  191, | 459       239,  239,  161,   72,  158,  155,  142,  140,    0,  149, | 
| 461       178,  176,    0,  185,  173,  177,  175,  180,  183,    0, | 460       137,  141,  139,  144,  147,    0,  148,  131,  130,  143, | 
| 462       184,  167,  166,  179,  177,  171,  274,  131,  133,  274, | 461       141,  135,  239,  155,  154,  239,  107,  153,  152,  131, | 
| 463       140,  138,  142,  171,  162,  170,  177,    0,  172,    0, | 462       122,  130,  137,    0,  132,    0,  121,  117,  115,    0, | 
| 464       161,  157,  155,    0,  154,  156,  162,  154,  166,    0, | 463       114,  116,  122,  114,  126,    0,  114,  122,  136,  135, | 
| 465       154,  162,  144,  146,    0,    0,  153,  149,    0,    0, | 464         0,    0,  111,  107,    0,    0,    0,  104,  109,  103, | 
| 466         0,  146,  151,  145,  144,  147,  141,  142,    0,  138, | 465       102,  105,   99,  100,    0,   96,  110,    0,   98,   97, | 
| 467       147,    0,  122,  109,  102,    0,    0,   92,   94,    0, | 466       102,    0,    0,   98,  102,    0,    0,   90,   79,    0, | 
| 468         0,   86,   75,    0,    0,   84,   64,   55,    0,   59, | 467         0,   88,   73,   65,    0,   69,   53,   65,    0,  239, | 
| 469 | 468 | 
| 470        46,   32,    0,  274,  162,  165,  168,  173,  178,  180 | 469        58,  122,  124,  128,  132 | 
| 471     } ; | 470     } ; | 
| 472 | 471 | 
| 473 static yyconst flex_int16_t yy_def[211] = | 472 static yyconst flex_int16_t yy_def[206] = | 
| 474     {   0, | 473     {   0, | 
| 475       204,    1,  204,  204,  204,  204,  204,  205,  206,  204, | 474       200,    1,  200,  200,  200,  200,  200,  201,  202,  200, | 
| 476       204,  204,  204,  204,  204,  204,  204,  204,  204,  204, | 475       200,  200,  200,  200,  200,  200,  200,  200,  200,  200, | 
| 477       204,  204,  204,  204,  204,  204,  204,  204,  204,  204, | 476       200,  200,  200,  200,  200,  200,  200,  200,  200,  202, | 
| 478       206,  206,  206,  206,  206,  206,  206,  206,  206,  206, | 477       202,  202,  202,  202,  202,  202,  202,  202,  202,  202, | 
| 479       206,  206,  206,  206,  206,  206,  206,  204,  204,  204, | 478       202,  202,  202,  202,  202,  202,  200,  200,  200,  200, | 
| 480       204,  204,  204,  207,  206,  204,  204,  204,  204,  204, | 479       200,  203,  202,  200,  200,  200,  200,  200,  200,  200, | 
| 481       204,  204,  204,  204,  208,  209,  204,  204,  204,  204, | 480       200,  200,  204,  205,  200,  200,  200,  200,  200,  200, | 
| 482       210,  204,  204,  204,  204,  204,  204,  204,  206,  206, | 481       200,  200,  200,  200,  200,  202,  202,  202,  202,  202, | 
| 483       206,  206,  206,  206,  206,  206,  206,  206,  206,  206, | 482       202,  202,  202,  202,  202,  202,  202,  202,  202,  202, | 
| 484       206,  206,  206,  206,  206,  206,  206,  206,  206,  206, | 483       202,  202,  202,  202,  202,  202,  202,  200,  200,  203, | 
| 485 | 484 | 
| 486       204,  204,  207,  204,  204,  208,  208,  209,  204,  204, | 485       200,  200,  204,  204,  205,  200,  200,  200,  200,  200, | 
| 487       204,  204,  210,  204,  204,  204,  206,  206,  206,  206, | 486       200,  200,  202,  202,  202,  202,  202,  202,  202,  202, | 
| 488       206,  206,  206,  206,  206,  206,  206,  206,  206,  206, | 487       202,  202,  202,  202,  202,  202,  202,  202,  202,  202, | 
| 489       206,  206,  206,  206,  206,  206,  204,  204,  204,  204, | 488       202,  202,  200,  200,  200,  200,  200,  200,  200,  202, | 
| 490       204,  204,  204,  206,  206,  206,  206,  206,  206,  206, | 489       202,  202,  202,  202,  202,  202,  202,  202,  202,  202, | 
| 491       206,  206,  206,  206,  206,  206,  206,  206,  206,  206, | 490       202,  202,  202,  202,  202,  202,  202,  202,  200,  200, | 
| 492       206,  206,  204,  204,  206,  206,  206,  206,  206,  206, | 491       202,  202,  202,  202,  202,  202,  202,  202,  202,  202, | 
| 493       206,  206,  206,  206,  206,  206,  206,  206,  206,  206, | 492       202,  202,  202,  202,  202,  202,  202,  202,  202,  202, | 
| 494       206,  206,  206,  206,  206,  206,  206,  206,  206,  206, | 493       202,  202,  202,  202,  202,  202,  202,  202,  202,  202, | 
| 495       206,  206,  206,  206,  206,  206,  206,  206,  206,  206, | 494       202,  202,  202,  202,  202,  202,  202,  202,  202,    0, | 
| 496 | 495 | 
| 497       206,  206,  206,    0,  204,  204,  204,  204,  204,  204 | 496       200,  200,  200,  200,  200 | 
| 498     } ; | 497     } ; | 
| 499 | 498 | 
| 500 static yyconst flex_int16_t yy_nxt[331] = | 499 static yyconst flex_int16_t yy_nxt[292] = | 
| 501     {   0, | 500     {   0, | 
| 502         4,    5,    6,    7,    8,    9,   10,   11,   12,   13, | 501         4,    5,    6,    7,    8,    9,   10,   11,   12,   13, | 
| 503        14,   15,   16,   17,   18,   19,   20,   21,   22,   23, | 502        14,   15,   16,   17,   18,   19,   20,   21,   22,   23, | 
| 504        24,   25,   26,   27,    9,    9,   28,   29,   30,    9, | 503        24,   25,   26,    9,   27,   28,   29,    9,   30,   31, | 
| 505        31,   32,   33,   34,   35,    9,   36,   37,    9,   38, | 504        32,   33,   34,    9,   35,   36,    9,   37,   38,   39, | 
| 506        39,   40,   41,   42,   43,   44,   45,   46,    9,   47, | 505        40,   41,   42,   43,   44,   45,    9,   46,    9,   47, | 
| 507         9,    9,   48,   49,   50,   51,   52,   52,   52,   52, | 506        48,   49,   50,   50,   50,   50,   55,   58,   60,   66, | 
| 508        57,   60,   62,   64,   64,  203,   68,   65,   69,   69, | 507        52,   67,   63,   69,   70,   61,   59,   64,   68,   56, | 
| 509        63,   61,   66,   68,   58,   69,   69,   70,   67,   72, | 508        72,   73,   65,   74,   81,   78,   68,   87,   85,   75, | 
| 510        73,   75,   76,   77,   70,   70,   81,   84,   88,  101, | 509        79,   98,   50,   50,   82,   86,   62,   83,  106,   66, | 
| 511        78,   82,   70,   90,  202,   89,  201,   85,   52,   52, | 510        88,   67,  108,  102,  108,  107,  199,  109,   68,  198, | 
| 512 | 511 | 
| 513        86,  200,   71,   64,   64,  199,   91,  109,  109,  109, | 512       134,  102,  134,  107,  197,  135,   68,  106,  138,  196, | 
| 514       109,   68,  105,   69,   69,  198,  110,  197,  141,  196, | 513       138,   99,  195,  139,  137,  141,  142,  194,  159,  193, | 
| 515       105,  102,   70,  111,  110,  111,  141,  195,  112,  112, | 514       159,  192,  137,  160,   53,   53,  100,  100,  103,  103, | 
| 516        70,  138,  194,  138,  112,  112,  139,  139,  142,  193, | 515       103,  103,  105,  191,  105,  105,  190,  189,  188,  187, | 
| 517       142,  112,  112,  143,  143,  145,  146,  139,  139,  139, | 516       186,  185,  184,  183,  182,  181,  180,  179,  178,  177, | 
| 518       139,  163,  192,  163,  143,  143,  164,  164,  143,  143, | 517       176,  160,  160,  175,  174,  173,  172,  171,  170,  169, | 
| 519       164,  164,  164,  164,   54,  191,   54,   55,   55,   55, | 518       168,  167,  166,  165,  164,  163,  162,  161,  139,  139, | 
| 520       103,  103,  103,  106,  106,  106,  106,  106,  108,  190, | 519       135,  135,  158,  157,  156,  155,  154,  153,  152,  151, | 
| 521       108,  108,  108,  113,  113,  189,  188,  187,  186,  185, | 520       150,  149,  148,  147,  146,  145,  144,  143,  140,  109, | 
| 522       184,  183,  182,  181,  180,  179,  178,  177,  176,  175, | 521       109,  136,  104,  133,  132,  131,  130,  129,  128,  127, | 
| 523 | 522 | 
| 524       174,  173,  172,  171,  170,  169,  168,  167,  166,  165, |  | 
| 525       162,  161,  160,  159,  158,  157,  156,  155,  154,  153, |  | 
| 526       152,  151,  150,  149,  148,  147,  144,  140,  107,  137, |  | 
| 527       136,  135,  134,  133,  132,  131,  130,  129,  128,  127, |  | 
| 528       126,  125,  124,  123,  122,  121,  120,  119,  118,  117, | 523       126,  125,  124,  123,  122,  121,  120,  119,  118,  117, | 
| 529       116,  115,  114,  107,  104,  100,   99,   98,   97,   96, | 524       116,  115,  114,  113,  112,  111,  110,  104,  101,   97, | 
| 530        95,   94,   93,   92,   87,   83,   80,   79,   74,   59, | 525        96,   95,   94,   93,   92,   91,   90,   89,   84,   80, | 
| 531        56,   53,  204,    3,  204,  204,  204,  204,  204,  204, | 526        77,   76,   71,   62,   57,   54,   51,  200,    3,  200, | 
| 532       204,  204,  204,  204,  204,  204,  204,  204,  204,  204, | 527       200,  200,  200,  200,  200,  200,  200,  200,  200,  200, | 
| 533       204,  204,  204,  204,  204,  204,  204,  204,  204,  204, | 528       200,  200,  200,  200,  200,  200,  200,  200,  200,  200, | 
|  | 529       200,  200,  200,  200,  200,  200,  200,  200,  200,  200, | 
|  | 530       200,  200,  200,  200,  200,  200,  200,  200,  200,  200, | 
|  | 531       200,  200,  200,  200,  200,  200,  200,  200,  200,  200, | 
|  | 532       200 | 
| 534 | 533 | 
| 535       204,  204,  204,  204,  204,  204,  204,  204,  204,  204, |  | 
| 536       204,  204,  204,  204,  204,  204,  204,  204,  204,  204, |  | 
| 537       204,  204,  204,  204,  204,  204,  204,  204,  204,  204 |  | 
| 538     } ; | 534     } ; | 
| 539 | 535 | 
| 540 static yyconst flex_int16_t yy_chk[331] = | 536 static yyconst flex_int16_t yy_chk[292] = | 
| 541     {   0, | 537     {   0, | 
| 542         1,    1,    1,    1,    1,    1,    1,    1,    1,    1, | 538         1,    1,    1,    1,    1,    1,    1,    1,    1,    1, | 
| 543         1,    1,    1,    1,    1,    1,    1,    1,    1,    1, | 539         1,    1,    1,    1,    1,    1,    1,    1,    1,    1, | 
| 544         1,    1,    1,    1,    1,    1,    1,    1,    1,    1, | 540         1,    1,    1,    1,    1,    1,    1,    1,    1,    1, | 
| 545         1,    1,    1,    1,    1,    1,    1,    1,    1,    1, | 541         1,    1,    1,    1,    1,    1,    1,    1,    1,    1, | 
| 546         1,    1,    1,    1,    1,    1,    1,    1,    1,    1, | 542         1,    1,    1,    1,    1,    1,    1,    1,    1,    1, | 
| 547         1,    1,    1,    1,    1,    1,    5,    5,    6,    6, | 543         1,    1,    5,    5,    6,    6,   11,   15,   17,   20, | 
| 548        11,   15,   17,   18,   18,  202,   20,   19,   20,   20, | 544       201,   20,   19,   23,   23,   17,   15,   19,   20,   11, | 
| 549        17,   15,   19,   21,   11,   21,   21,   20,   19,   24, | 545        25,   25,   19,   29,   34,   32,   20,   37,   36,   29, | 
| 550        24,   26,   26,   30,   21,   20,   33,   35,   37,   49, | 546        32,   48,   50,   50,   34,   36,   62,   34,   66,   67, | 
| 551        30,   33,   21,   38,  201,   37,  200,   35,   52,   52, | 547        37,   67,   68,   62,   68,   66,  198,   68,   67,  197, | 
| 552 | 548 | 
| 553        35,  198,   20,   64,   64,  197,   38,   68,   68,  109, | 549       102,   62,  102,   66,  196,  102,   67,  106,  107,  194, | 
| 554       109,   69,   64,   69,   69,  196,   68,  193,  109,  192, | 550       107,   48,  193,  107,  106,  114,  114,  192,  137,  189, | 
| 555        64,   49,   69,   70,   68,   70,  109,  189,   70,   70, | 551       137,  188,  106,  137,  202,  202,  203,  203,  204,  204, | 
| 556        69,  105,  188,  105,  111,  111,  105,  105,  110,  185, | 552       204,  204,  205,  185,  205,  205,  184,  181,  180,  179, | 
| 557       110,  112,  112,  110,  110,  118,  118,  138,  138,  139, | 553       177,  176,  174,  173,  172,  171,  170,  169,  168,  164, | 
| 558       139,  141,  184,  141,  142,  142,  141,  141,  143,  143, | 554       163,  160,  159,  158,  157,  155,  154,  153,  152,  151, | 
| 559       163,  163,  164,  164,  205,  183,  205,  206,  206,  206, | 555       149,  148,  147,  145,  143,  142,  141,  140,  139,  138, | 
| 560       207,  207,  207,  208,  208,  208,  208,  208,  209,  181, | 556       135,  134,  132,  131,  130,  129,  128,  127,  125,  124, | 
| 561       209,  209,  209,  210,  210,  180,  178,  177,  176,  175, | 557       123,  122,  121,  120,  118,  117,  116,  115,  113,  109, | 
| 562       174,  173,  172,  168,  167,  162,  161,  159,  158,  157, | 558       108,  104,  103,   99,   97,   96,   95,   94,   93,   92, | 
| 563 | 559 | 
| 564       156,  155,  153,  152,  151,  149,  147,  146,  145,  144, | 560        91,   90,   89,   88,   87,   86,   84,   83,   82,   81, | 
| 565       136,  135,  134,  133,  132,  131,  129,  128,  127,  126, | 561        80,   78,   77,   76,   75,   73,   69,   63,   55,   46, | 
| 566       125,  124,  122,  121,  120,  119,  117,  107,  106,  102, | 562        45,   44,   43,   42,   41,   40,   39,   38,   35,   33, | 
| 567       100,   99,   98,   97,   96,   95,   94,   93,   92,   91, | 563        31,   30,   24,   18,   14,   10,    7,    3,  200,  200, | 
| 568        90,   89,   87,   86,   85,   84,   83,   81,   80,   79, | 564       200,  200,  200,  200,  200,  200,  200,  200,  200,  200, | 
| 569        78,   76,   72,   65,   57,   47,   46,   45,   44,   43, | 565       200,  200,  200,  200,  200,  200,  200,  200,  200,  200, | 
| 570        42,   41,   40,   39,   36,   34,   32,   31,   25,   14, | 566       200,  200,  200,  200,  200,  200,  200,  200,  200,  200, | 
| 571        10,    7,    3,  204,  204,  204,  204,  204,  204,  204, | 567       200,  200,  200,  200,  200,  200,  200,  200,  200,  200, | 
| 572       204,  204,  204,  204,  204,  204,  204,  204,  204,  204, | 568       200,  200,  200,  200,  200,  200,  200,  200,  200,  200, | 
| 573       204,  204,  204,  204,  204,  204,  204,  204,  204,  204, | 569       200 | 
| 574 | 570 | 
| 575       204,  204,  204,  204,  204,  204,  204,  204,  204,  204, |  | 
| 576       204,  204,  204,  204,  204,  204,  204,  204,  204,  204, |  | 
| 577       204,  204,  204,  204,  204,  204,  204,  204,  204,  204 |  | 
| 578     } ; | 571     } ; | 
| 579 | 572 | 
| 580 /* Table of booleans, true if rule could match eol. */ | 573 /* Table of booleans, true if rule could match eol. */ | 
| 581 static yyconst flex_int32_t yy_rule_can_match_eol[85] = | 574 static yyconst flex_int32_t yy_rule_can_match_eol[83] = | 
| 582     {   0, | 575     {   0, | 
| 583 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, | 576 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, | 
| 584     0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, | 577     0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, | 
| 585     0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, | 578     0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, | 
| 586     0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, | 579     0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, | 
| 587     0, 1, 1, 0, 0,     }; | 580     1, 0, 0,     }; | 
| 588 | 581 | 
| 589 /* The intent behind this definition is that it'll catch | 582 /* The intent behind this definition is that it'll catch | 
| 590  * any uses of REJECT which flex missed. | 583  * any uses of REJECT which flex missed. | 
| 591  */ | 584  */ | 
| 592 #define REJECT reject_used_but_not_detected | 585 #define REJECT reject_used_but_not_detected | 
| 593 #define yymore() yymore_used_but_not_detected | 586 #define yymore() yymore_used_but_not_detected | 
| 594 #define YY_MORE_ADJ 0 | 587 #define YY_MORE_ADJ 0 | 
| 595 #define YY_RESTORE_YY_MORE_OFFSET | 588 #define YY_RESTORE_YY_MORE_OFFSET | 
| 596 #line 1 "sksl.flex" | 589 #line 1 "sksl.flex" | 
| 597 /* | 590 /* | 
| 598 | 591 | 
| 599         This file is IGNORED during the build process! | 592         This file is IGNORED during the build process! | 
| 600 | 593 | 
| 601         As this file is updated so infrequently and flex is not universally pres
      ent on build machines, | 594         As this file is updated so infrequently and flex is not universally pres
      ent on build machines, | 
| 602         the lex.sksl.c file must be manually regenerated if you make any changes
       to this file. Just run: | 595         the lex.sksl.c file must be manually regenerated if you make any changes
       to this file. Just run: | 
| 603 | 596 | 
| 604                 flex sksl.flex | 597                 flex sksl.flex | 
| 605 | 598 | 
| 606     You will have to manually add a copyright notice to the top of lex.sksl.c. | 599     You will have to manually add a copyright notice to the top of lex.sksl.c. | 
| 607 | 600 | 
| 608 */ | 601 */ | 
| 609 #define YY_NO_UNISTD_H 1 | 602 #define YY_NO_UNISTD_H 1 | 
| 610 #line 605 "lex.sksl.c" | 603 #line 598 "lex.sksl.c" | 
| 611 | 604 | 
| 612 #define INITIAL 0 | 605 #define INITIAL 0 | 
| 613 | 606 | 
| 614 #ifndef YY_NO_UNISTD_H | 607 #ifndef YY_NO_UNISTD_H | 
| 615 /* Special case for "unistd.h", since it is non-ANSI. We include it way | 608 /* Special case for "unistd.h", since it is non-ANSI. We include it way | 
| 616  * down here because we want the user's section 1 to have been scanned first. | 609  * down here because we want the user's section 1 to have been scanned first. | 
| 617  * The user has a chance to override it with an option. | 610  * The user has a chance to override it with an option. | 
| 618  */ | 611  */ | 
| 619 #include <unistd.h> | 612 #include <unistd.h> | 
| 620 #endif | 613 #endif | 
| (...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 685 void skslset_out  (FILE * out_str ,yyscan_t yyscanner ); | 678 void skslset_out  (FILE * out_str ,yyscan_t yyscanner ); | 
| 686 | 679 | 
| 687 yy_size_t skslget_leng (yyscan_t yyscanner ); | 680 yy_size_t skslget_leng (yyscan_t yyscanner ); | 
| 688 | 681 | 
| 689 char *skslget_text (yyscan_t yyscanner ); | 682 char *skslget_text (yyscan_t yyscanner ); | 
| 690 | 683 | 
| 691 int skslget_lineno (yyscan_t yyscanner ); | 684 int skslget_lineno (yyscan_t yyscanner ); | 
| 692 | 685 | 
| 693 void skslset_lineno (int line_number ,yyscan_t yyscanner ); | 686 void skslset_lineno (int line_number ,yyscan_t yyscanner ); | 
| 694 | 687 | 
|  | 688 int skslget_column  (yyscan_t yyscanner ); | 
|  | 689 | 
|  | 690 void skslset_column (int column_no ,yyscan_t yyscanner ); | 
|  | 691 | 
| 695 /* Macros after this point can all be overridden by user definitions in | 692 /* Macros after this point can all be overridden by user definitions in | 
| 696  * section 1. | 693  * section 1. | 
| 697  */ | 694  */ | 
| 698 | 695 | 
| 699 #ifndef YY_SKIP_YYWRAP | 696 #ifndef YY_SKIP_YYWRAP | 
| 700 #ifdef __cplusplus | 697 #ifdef __cplusplus | 
| 701 extern "C" int skslwrap (yyscan_t yyscanner ); | 698 extern "C" int skslwrap (yyscan_t yyscanner ); | 
| 702 #else | 699 #else | 
| 703 extern int skslwrap (yyscan_t yyscanner ); | 700 extern int skslwrap (yyscan_t yyscanner ); | 
| 704 #endif | 701 #endif | 
| (...skipping 22 matching lines...) Expand all  Loading... | 
| 727 /* Amount of stuff to slurp up with each read. */ | 724 /* Amount of stuff to slurp up with each read. */ | 
| 728 #ifndef YY_READ_BUF_SIZE | 725 #ifndef YY_READ_BUF_SIZE | 
| 729 #define YY_READ_BUF_SIZE 8192 | 726 #define YY_READ_BUF_SIZE 8192 | 
| 730 #endif | 727 #endif | 
| 731 | 728 | 
| 732 /* Copy whatever the last rule matched to the standard output. */ | 729 /* Copy whatever the last rule matched to the standard output. */ | 
| 733 #ifndef ECHO | 730 #ifndef ECHO | 
| 734 /* This used to be an fputs(), but since the string might contain NUL's, | 731 /* This used to be an fputs(), but since the string might contain NUL's, | 
| 735  * we now use fwrite(). | 732  * we now use fwrite(). | 
| 736  */ | 733  */ | 
| 737 #define ECHO fwrite( yytext, yyleng, 1, yyout ) | 734 #define ECHO do { if (fwrite( yytext, yyleng, 1, yyout )) {} } while (0) | 
| 738 #endif | 735 #endif | 
| 739 | 736 | 
| 740 /* Gets input and stuffs it into "buf".  number of characters read, or YY_NULL, | 737 /* Gets input and stuffs it into "buf".  number of characters read, or YY_NULL, | 
| 741  * is returned in "result". | 738  * is returned in "result". | 
| 742  */ | 739  */ | 
| 743 #ifndef YY_INPUT | 740 #ifndef YY_INPUT | 
| 744 #define YY_INPUT(buf,result,max_size) \ | 741 #define YY_INPUT(buf,result,max_size) \ | 
| 745         if ( YY_CURRENT_BUFFER_LVALUE->yy_is_interactive ) \ | 742         if ( YY_CURRENT_BUFFER_LVALUE->yy_is_interactive ) \ | 
| 746                 { \ | 743                 { \ | 
| 747                 int c = '*'; \ | 744                 int c = '*'; \ | 
| 748 »       »       yy_size_t n; \ | 745 »       »       size_t n; \ | 
| 749                 for ( n = 0; n < max_size && \ | 746                 for ( n = 0; n < max_size && \ | 
| 750                              (c = getc( yyin )) != EOF && c != '\n'; ++n ) \ | 747                              (c = getc( yyin )) != EOF && c != '\n'; ++n ) \ | 
| 751                         buf[n] = (char) c; \ | 748                         buf[n] = (char) c; \ | 
| 752                 if ( c == '\n' ) \ | 749                 if ( c == '\n' ) \ | 
| 753                         buf[n++] = (char) c; \ | 750                         buf[n++] = (char) c; \ | 
| 754                 if ( c == EOF && ferror( yyin ) ) \ | 751                 if ( c == EOF && ferror( yyin ) ) \ | 
| 755                         YY_FATAL_ERROR( "input in flex scanner failed" ); \ | 752                         YY_FATAL_ERROR( "input in flex scanner failed" ); \ | 
| 756                 result = n; \ | 753                 result = n; \ | 
| 757                 } \ | 754                 } \ | 
| 758         else \ | 755         else \ | 
| (...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 824 YY_DECL | 821 YY_DECL | 
| 825 { | 822 { | 
| 826         register yy_state_type yy_current_state; | 823         register yy_state_type yy_current_state; | 
| 827         register char *yy_cp, *yy_bp; | 824         register char *yy_cp, *yy_bp; | 
| 828         register int yy_act; | 825         register int yy_act; | 
| 829     struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; | 826     struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; | 
| 830 | 827 | 
| 831 #line 23 "sksl.flex" | 828 #line 23 "sksl.flex" | 
| 832 | 829 | 
| 833 | 830 | 
| 834 #line 829 "lex.sksl.c" | 831 #line 826 "lex.sksl.c" | 
| 835 | 832 | 
| 836         if ( !yyg->yy_init ) | 833         if ( !yyg->yy_init ) | 
| 837                 { | 834                 { | 
| 838                 yyg->yy_init = 1; | 835                 yyg->yy_init = 1; | 
| 839 | 836 | 
| 840 #ifdef YY_USER_INIT | 837 #ifdef YY_USER_INIT | 
| 841                 YY_USER_INIT; | 838                 YY_USER_INIT; | 
| 842 #endif | 839 #endif | 
| 843 | 840 | 
| 844                 if ( ! yyg->yy_start ) | 841                 if ( ! yyg->yy_start ) | 
| (...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 877                         { | 874                         { | 
| 878                         register YY_CHAR yy_c = yy_ec[YY_SC_TO_UI(*yy_cp)]; | 875                         register YY_CHAR yy_c = yy_ec[YY_SC_TO_UI(*yy_cp)]; | 
| 879                         if ( yy_accept[yy_current_state] ) | 876                         if ( yy_accept[yy_current_state] ) | 
| 880                                 { | 877                                 { | 
| 881                                 yyg->yy_last_accepting_state = yy_current_state; | 878                                 yyg->yy_last_accepting_state = yy_current_state; | 
| 882                                 yyg->yy_last_accepting_cpos = yy_cp; | 879                                 yyg->yy_last_accepting_cpos = yy_cp; | 
| 883                                 } | 880                                 } | 
| 884                         while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_c
      urrent_state ) | 881                         while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_c
      urrent_state ) | 
| 885                                 { | 882                                 { | 
| 886                                 yy_current_state = (int) yy_def[yy_current_state
      ]; | 883                                 yy_current_state = (int) yy_def[yy_current_state
      ]; | 
| 887 »       »       »       »       if ( yy_current_state >= 205 ) | 884 »       »       »       »       if ( yy_current_state >= 201 ) | 
| 888                                         yy_c = yy_meta[(unsigned int) yy_c]; | 885                                         yy_c = yy_meta[(unsigned int) yy_c]; | 
| 889                                 } | 886                                 } | 
| 890                         yy_current_state = yy_nxt[yy_base[yy_current_state] + (u
      nsigned int) yy_c]; | 887                         yy_current_state = yy_nxt[yy_base[yy_current_state] + (u
      nsigned int) yy_c]; | 
| 891                         ++yy_cp; | 888                         ++yy_cp; | 
| 892                         } | 889                         } | 
| 893 »       »       while ( yy_current_state != 204 ); | 890 »       »       while ( yy_current_state != 200 ); | 
| 894                 yy_cp = yyg->yy_last_accepting_cpos; | 891                 yy_cp = yyg->yy_last_accepting_cpos; | 
| 895                 yy_current_state = yyg->yy_last_accepting_state; | 892                 yy_current_state = yyg->yy_last_accepting_state; | 
| 896 | 893 | 
| 897 yy_find_action: | 894 yy_find_action: | 
| 898                 yy_act = yy_accept[yy_current_state]; | 895                 yy_act = yy_accept[yy_current_state]; | 
| 899 | 896 | 
| 900                 YY_DO_BEFORE_ACTION; | 897                 YY_DO_BEFORE_ACTION; | 
| 901 | 898 | 
| 902                 if ( yy_act != YY_END_OF_BUFFER && yy_rule_can_match_eol[yy_act]
       ) | 899                 if ( yy_act != YY_END_OF_BUFFER && yy_rule_can_match_eol[yy_act]
       ) | 
| 903                         { | 900                         { | 
| 904 »       »       »       yy_size_t yyl; | 901 »       »       »       int yyl; | 
| 905                         for ( yyl = 0; yyl < yyleng; ++yyl ) | 902                         for ( yyl = 0; yyl < yyleng; ++yyl ) | 
| 906                                 if ( yytext[yyl] == '\n' ) | 903                                 if ( yytext[yyl] == '\n' ) | 
| 907 | 904 | 
| 908     do{ yylineno++; | 905     do{ yylineno++; | 
| 909         yycolumn=0; | 906         yycolumn=0; | 
| 910     }while(0) | 907     }while(0) | 
| 911 ; | 908 ; | 
| 912                         } | 909                         } | 
| 913 | 910 | 
| 914 do_action:      /* This label is used only to access EOF actions. */ | 911 do_action:      /* This label is used only to access EOF actions. */ | 
| (...skipping 23 matching lines...) Expand all  Loading... | 
| 938 { return SkSL::Token::FLOAT_LITERAL; } | 935 { return SkSL::Token::FLOAT_LITERAL; } | 
| 939         YY_BREAK | 936         YY_BREAK | 
| 940 case 4: | 937 case 4: | 
| 941 YY_RULE_SETUP | 938 YY_RULE_SETUP | 
| 942 #line 31 "sksl.flex" | 939 #line 31 "sksl.flex" | 
| 943 { return SkSL::Token::INT_LITERAL; } | 940 { return SkSL::Token::INT_LITERAL; } | 
| 944         YY_BREAK | 941         YY_BREAK | 
| 945 case 5: | 942 case 5: | 
| 946 YY_RULE_SETUP | 943 YY_RULE_SETUP | 
| 947 #line 33 "sksl.flex" | 944 #line 33 "sksl.flex" | 
| 948 { return SkSL::Token::INT_LITERAL; } | 945 { return SkSL::Token::TRUE_LITERAL; } | 
| 949         YY_BREAK | 946         YY_BREAK | 
| 950 case 6: | 947 case 6: | 
| 951 YY_RULE_SETUP | 948 YY_RULE_SETUP | 
| 952 #line 35 "sksl.flex" | 949 #line 35 "sksl.flex" | 
| 953 { return SkSL::Token::TRUE_LITERAL; } | 950 { return SkSL::Token::FALSE_LITERAL; } | 
| 954         YY_BREAK | 951         YY_BREAK | 
| 955 case 7: | 952 case 7: | 
| 956 YY_RULE_SETUP | 953 YY_RULE_SETUP | 
| 957 #line 37 "sksl.flex" | 954 #line 37 "sksl.flex" | 
| 958 { return SkSL::Token::FALSE_LITERAL; } | 955 { return SkSL::Token::IF; } | 
| 959         YY_BREAK | 956         YY_BREAK | 
| 960 case 8: | 957 case 8: | 
| 961 YY_RULE_SETUP | 958 YY_RULE_SETUP | 
| 962 #line 39 "sksl.flex" | 959 #line 39 "sksl.flex" | 
| 963 { return SkSL::Token::IF; } | 960 { return SkSL::Token::ELSE; } | 
| 964         YY_BREAK | 961         YY_BREAK | 
| 965 case 9: | 962 case 9: | 
| 966 YY_RULE_SETUP | 963 YY_RULE_SETUP | 
| 967 #line 41 "sksl.flex" | 964 #line 41 "sksl.flex" | 
| 968 { return SkSL::Token::ELSE; } | 965 { return SkSL::Token::FOR; } | 
| 969         YY_BREAK | 966         YY_BREAK | 
| 970 case 10: | 967 case 10: | 
| 971 YY_RULE_SETUP | 968 YY_RULE_SETUP | 
| 972 #line 43 "sksl.flex" | 969 #line 43 "sksl.flex" | 
| 973 { return SkSL::Token::FOR; } | 970 { return SkSL::Token::WHILE; } | 
| 974         YY_BREAK | 971         YY_BREAK | 
| 975 case 11: | 972 case 11: | 
| 976 YY_RULE_SETUP | 973 YY_RULE_SETUP | 
| 977 #line 45 "sksl.flex" | 974 #line 45 "sksl.flex" | 
| 978 { return SkSL::Token::WHILE; } | 975 { return SkSL::Token::DO; } | 
| 979         YY_BREAK | 976         YY_BREAK | 
| 980 case 12: | 977 case 12: | 
| 981 YY_RULE_SETUP | 978 YY_RULE_SETUP | 
| 982 #line 47 "sksl.flex" | 979 #line 47 "sksl.flex" | 
| 983 { return SkSL::Token::DO; } | 980 { return SkSL::Token::BREAK; } | 
| 984         YY_BREAK | 981         YY_BREAK | 
| 985 case 13: | 982 case 13: | 
| 986 YY_RULE_SETUP | 983 YY_RULE_SETUP | 
| 987 #line 49 "sksl.flex" | 984 #line 49 "sksl.flex" | 
| 988 { return SkSL::Token::BREAK; } | 985 { return SkSL::Token::CONTINUE; } | 
| 989         YY_BREAK | 986         YY_BREAK | 
| 990 case 14: | 987 case 14: | 
| 991 YY_RULE_SETUP | 988 YY_RULE_SETUP | 
| 992 #line 51 "sksl.flex" | 989 #line 51 "sksl.flex" | 
| 993 { return SkSL::Token::CONTINUE; } | 990 { return SkSL::Token::DISCARD; } | 
| 994         YY_BREAK | 991         YY_BREAK | 
| 995 case 15: | 992 case 15: | 
| 996 YY_RULE_SETUP | 993 YY_RULE_SETUP | 
| 997 #line 53 "sksl.flex" | 994 #line 53 "sksl.flex" | 
| 998 { return SkSL::Token::DISCARD; } | 995 { return SkSL::Token::RETURN; } | 
| 999         YY_BREAK | 996         YY_BREAK | 
| 1000 case 16: | 997 case 16: | 
| 1001 YY_RULE_SETUP | 998 YY_RULE_SETUP | 
| 1002 #line 55 "sksl.flex" | 999 #line 55 "sksl.flex" | 
| 1003 { return SkSL::Token::RETURN; } | 1000 { return SkSL::Token::IN; } | 
| 1004         YY_BREAK | 1001         YY_BREAK | 
| 1005 case 17: | 1002 case 17: | 
| 1006 YY_RULE_SETUP | 1003 YY_RULE_SETUP | 
| 1007 #line 57 "sksl.flex" | 1004 #line 57 "sksl.flex" | 
| 1008 { return SkSL::Token::IN; } | 1005 { return SkSL::Token::OUT; } | 
| 1009         YY_BREAK | 1006         YY_BREAK | 
| 1010 case 18: | 1007 case 18: | 
| 1011 YY_RULE_SETUP | 1008 YY_RULE_SETUP | 
| 1012 #line 59 "sksl.flex" | 1009 #line 59 "sksl.flex" | 
| 1013 { return SkSL::Token::OUT; } | 1010 { return SkSL::Token::INOUT; } | 
| 1014         YY_BREAK | 1011         YY_BREAK | 
| 1015 case 19: | 1012 case 19: | 
| 1016 YY_RULE_SETUP | 1013 YY_RULE_SETUP | 
| 1017 #line 61 "sksl.flex" | 1014 #line 61 "sksl.flex" | 
| 1018 { return SkSL::Token::INOUT; } | 1015 { return SkSL::Token::UNIFORM; } | 
| 1019         YY_BREAK | 1016         YY_BREAK | 
| 1020 case 20: | 1017 case 20: | 
| 1021 YY_RULE_SETUP | 1018 YY_RULE_SETUP | 
| 1022 #line 63 "sksl.flex" | 1019 #line 63 "sksl.flex" | 
| 1023 { return SkSL::Token::UNIFORM; } | 1020 { return SkSL::Token::CONST; } | 
| 1024         YY_BREAK | 1021         YY_BREAK | 
| 1025 case 21: | 1022 case 21: | 
| 1026 YY_RULE_SETUP | 1023 YY_RULE_SETUP | 
| 1027 #line 65 "sksl.flex" | 1024 #line 65 "sksl.flex" | 
| 1028 { return SkSL::Token::CONST; } | 1025 { return SkSL::Token::LOWP; } | 
| 1029         YY_BREAK | 1026         YY_BREAK | 
| 1030 case 22: | 1027 case 22: | 
| 1031 YY_RULE_SETUP | 1028 YY_RULE_SETUP | 
| 1032 #line 67 "sksl.flex" | 1029 #line 67 "sksl.flex" | 
| 1033 { return SkSL::Token::LOWP; } | 1030 { return SkSL::Token::MEDIUMP; } | 
| 1034         YY_BREAK | 1031         YY_BREAK | 
| 1035 case 23: | 1032 case 23: | 
| 1036 YY_RULE_SETUP | 1033 YY_RULE_SETUP | 
| 1037 #line 69 "sksl.flex" | 1034 #line 69 "sksl.flex" | 
| 1038 { return SkSL::Token::MEDIUMP; } | 1035 { return SkSL::Token::HIGHP; } | 
| 1039         YY_BREAK | 1036         YY_BREAK | 
| 1040 case 24: | 1037 case 24: | 
| 1041 YY_RULE_SETUP | 1038 YY_RULE_SETUP | 
| 1042 #line 71 "sksl.flex" | 1039 #line 71 "sksl.flex" | 
| 1043 { return SkSL::Token::HIGHP; } | 1040 { return SkSL::Token::FLAT; } | 
| 1044         YY_BREAK | 1041         YY_BREAK | 
| 1045 case 25: | 1042 case 25: | 
| 1046 YY_RULE_SETUP | 1043 YY_RULE_SETUP | 
| 1047 #line 73 "sksl.flex" | 1044 #line 73 "sksl.flex" | 
| 1048 { return SkSL::Token::FLAT; } | 1045 { return SkSL::Token::NOPERSPECTIVE; } | 
| 1049         YY_BREAK | 1046         YY_BREAK | 
| 1050 case 26: | 1047 case 26: | 
| 1051 YY_RULE_SETUP | 1048 YY_RULE_SETUP | 
| 1052 #line 75 "sksl.flex" | 1049 #line 75 "sksl.flex" | 
| 1053 { return SkSL::Token::NOPERSPECTIVE; } | 1050 { return SkSL::Token::STRUCT; } | 
| 1054         YY_BREAK | 1051         YY_BREAK | 
| 1055 case 27: | 1052 case 27: | 
| 1056 YY_RULE_SETUP | 1053 YY_RULE_SETUP | 
| 1057 #line 77 "sksl.flex" | 1054 #line 77 "sksl.flex" | 
| 1058 { return SkSL::Token::STRUCT; } | 1055 { return SkSL::Token::LAYOUT; } | 
| 1059         YY_BREAK | 1056         YY_BREAK | 
| 1060 case 28: | 1057 case 28: | 
| 1061 YY_RULE_SETUP | 1058 YY_RULE_SETUP | 
| 1062 #line 79 "sksl.flex" | 1059 #line 79 "sksl.flex" | 
| 1063 { return SkSL::Token::LAYOUT; } | 1060 { return SkSL::Token::PRECISION; } | 
| 1064         YY_BREAK | 1061         YY_BREAK | 
| 1065 case 29: | 1062 case 29: | 
| 1066 YY_RULE_SETUP | 1063 YY_RULE_SETUP | 
| 1067 #line 81 "sksl.flex" | 1064 #line 81 "sksl.flex" | 
| 1068 { return SkSL::Token::PRECISION; } | 1065 { return SkSL::Token::IDENTIFIER; } | 
| 1069         YY_BREAK | 1066         YY_BREAK | 
| 1070 case 30: | 1067 case 30: | 
| 1071 YY_RULE_SETUP | 1068 YY_RULE_SETUP | 
| 1072 #line 83 "sksl.flex" | 1069 #line 83 "sksl.flex" | 
| 1073 { return SkSL::Token::IDENTIFIER; } | 1070 { return SkSL::Token::DIRECTIVE; } | 
| 1074         YY_BREAK | 1071         YY_BREAK | 
| 1075 case 31: | 1072 case 31: | 
| 1076 YY_RULE_SETUP | 1073 YY_RULE_SETUP | 
| 1077 #line 85 "sksl.flex" | 1074 #line 85 "sksl.flex" | 
| 1078 { return SkSL::Token::DIRECTIVE; } | 1075 { return SkSL::Token::LPAREN; } | 
| 1079         YY_BREAK | 1076         YY_BREAK | 
| 1080 case 32: | 1077 case 32: | 
| 1081 YY_RULE_SETUP | 1078 YY_RULE_SETUP | 
| 1082 #line 87 "sksl.flex" | 1079 #line 87 "sksl.flex" | 
| 1083 { return SkSL::Token::LPAREN; } | 1080 { return SkSL::Token::RPAREN; } | 
| 1084         YY_BREAK | 1081         YY_BREAK | 
| 1085 case 33: | 1082 case 33: | 
| 1086 YY_RULE_SETUP | 1083 YY_RULE_SETUP | 
| 1087 #line 89 "sksl.flex" | 1084 #line 89 "sksl.flex" | 
| 1088 { return SkSL::Token::RPAREN; } | 1085 { return SkSL::Token::LBRACE; } | 
| 1089         YY_BREAK | 1086         YY_BREAK | 
| 1090 case 34: | 1087 case 34: | 
| 1091 YY_RULE_SETUP | 1088 YY_RULE_SETUP | 
| 1092 #line 91 "sksl.flex" | 1089 #line 91 "sksl.flex" | 
| 1093 { return SkSL::Token::LBRACE; } | 1090 { return SkSL::Token::RBRACE; } | 
| 1094         YY_BREAK | 1091         YY_BREAK | 
| 1095 case 35: | 1092 case 35: | 
| 1096 YY_RULE_SETUP | 1093 YY_RULE_SETUP | 
| 1097 #line 93 "sksl.flex" | 1094 #line 93 "sksl.flex" | 
| 1098 { return SkSL::Token::RBRACE; } | 1095 { return SkSL::Token::LBRACKET; } | 
| 1099         YY_BREAK | 1096         YY_BREAK | 
| 1100 case 36: | 1097 case 36: | 
| 1101 YY_RULE_SETUP | 1098 YY_RULE_SETUP | 
| 1102 #line 95 "sksl.flex" | 1099 #line 95 "sksl.flex" | 
| 1103 { return SkSL::Token::LBRACKET; } | 1100 { return SkSL::Token::RBRACKET; } | 
| 1104         YY_BREAK | 1101         YY_BREAK | 
| 1105 case 37: | 1102 case 37: | 
| 1106 YY_RULE_SETUP | 1103 YY_RULE_SETUP | 
| 1107 #line 97 "sksl.flex" | 1104 #line 97 "sksl.flex" | 
| 1108 { return SkSL::Token::RBRACKET; } | 1105 { return SkSL::Token::DOT; } | 
| 1109         YY_BREAK | 1106         YY_BREAK | 
| 1110 case 38: | 1107 case 38: | 
| 1111 YY_RULE_SETUP | 1108 YY_RULE_SETUP | 
| 1112 #line 99 "sksl.flex" | 1109 #line 99 "sksl.flex" | 
| 1113 { return SkSL::Token::DOT; } | 1110 { return SkSL::Token::COMMA; } | 
| 1114         YY_BREAK | 1111         YY_BREAK | 
| 1115 case 39: | 1112 case 39: | 
| 1116 YY_RULE_SETUP | 1113 YY_RULE_SETUP | 
| 1117 #line 101 "sksl.flex" | 1114 #line 101 "sksl.flex" | 
| 1118 { return SkSL::Token::COMMA; } | 1115 { return SkSL::Token::PLUSPLUS; } | 
| 1119         YY_BREAK | 1116         YY_BREAK | 
| 1120 case 40: | 1117 case 40: | 
| 1121 YY_RULE_SETUP | 1118 YY_RULE_SETUP | 
| 1122 #line 103 "sksl.flex" | 1119 #line 103 "sksl.flex" | 
| 1123 { return SkSL::Token::PLUSPLUS; } | 1120 { return SkSL::Token::MINUSMINUS; } | 
| 1124         YY_BREAK | 1121         YY_BREAK | 
| 1125 case 41: | 1122 case 41: | 
| 1126 YY_RULE_SETUP | 1123 YY_RULE_SETUP | 
| 1127 #line 105 "sksl.flex" | 1124 #line 105 "sksl.flex" | 
| 1128 { return SkSL::Token::MINUSMINUS; } | 1125 { return SkSL::Token::PLUS; } | 
| 1129         YY_BREAK | 1126         YY_BREAK | 
| 1130 case 42: | 1127 case 42: | 
| 1131 YY_RULE_SETUP | 1128 YY_RULE_SETUP | 
| 1132 #line 107 "sksl.flex" | 1129 #line 107 "sksl.flex" | 
| 1133 { return SkSL::Token::PLUS; } | 1130 { return SkSL::Token::MINUS; } | 
| 1134         YY_BREAK | 1131         YY_BREAK | 
| 1135 case 43: | 1132 case 43: | 
| 1136 YY_RULE_SETUP | 1133 YY_RULE_SETUP | 
| 1137 #line 109 "sksl.flex" | 1134 #line 109 "sksl.flex" | 
| 1138 { return SkSL::Token::MINUS; } | 1135 { return SkSL::Token::STAR; } | 
| 1139         YY_BREAK | 1136         YY_BREAK | 
| 1140 case 44: | 1137 case 44: | 
| 1141 YY_RULE_SETUP | 1138 YY_RULE_SETUP | 
| 1142 #line 111 "sksl.flex" | 1139 #line 111 "sksl.flex" | 
| 1143 { return SkSL::Token::STAR; } | 1140 { return SkSL::Token::SLASH; } | 
| 1144         YY_BREAK | 1141         YY_BREAK | 
| 1145 case 45: | 1142 case 45: | 
| 1146 YY_RULE_SETUP | 1143 YY_RULE_SETUP | 
| 1147 #line 113 "sksl.flex" | 1144 #line 113 "sksl.flex" | 
| 1148 { return SkSL::Token::SLASH; } | 1145 { return SkSL::Token::PERCENT; } | 
| 1149         YY_BREAK | 1146         YY_BREAK | 
| 1150 case 46: | 1147 case 46: | 
| 1151 YY_RULE_SETUP | 1148 YY_RULE_SETUP | 
| 1152 #line 115 "sksl.flex" | 1149 #line 115 "sksl.flex" | 
| 1153 { return SkSL::Token::PERCENT; } | 1150 { return SkSL::Token::SHL; } | 
| 1154         YY_BREAK | 1151         YY_BREAK | 
| 1155 case 47: | 1152 case 47: | 
| 1156 YY_RULE_SETUP | 1153 YY_RULE_SETUP | 
| 1157 #line 117 "sksl.flex" | 1154 #line 117 "sksl.flex" | 
| 1158 { return SkSL::Token::SHL; } | 1155 { return SkSL::Token::SHR; } | 
| 1159         YY_BREAK | 1156         YY_BREAK | 
| 1160 case 48: | 1157 case 48: | 
| 1161 YY_RULE_SETUP | 1158 YY_RULE_SETUP | 
| 1162 #line 119 "sksl.flex" | 1159 #line 119 "sksl.flex" | 
| 1163 { return SkSL::Token::SHR; } | 1160 { return SkSL::Token::BITWISEOR; } | 
| 1164         YY_BREAK | 1161         YY_BREAK | 
| 1165 case 49: | 1162 case 49: | 
| 1166 YY_RULE_SETUP | 1163 YY_RULE_SETUP | 
| 1167 #line 121 "sksl.flex" | 1164 #line 121 "sksl.flex" | 
| 1168 { return SkSL::Token::BITWISEOR; } | 1165 { return SkSL::Token::BITWISEXOR; } | 
| 1169         YY_BREAK | 1166         YY_BREAK | 
| 1170 case 50: | 1167 case 50: | 
| 1171 YY_RULE_SETUP | 1168 YY_RULE_SETUP | 
| 1172 #line 123 "sksl.flex" | 1169 #line 123 "sksl.flex" | 
| 1173 { return SkSL::Token::BITWISEXOR; } | 1170 { return SkSL::Token::BITWISEAND; } | 
| 1174         YY_BREAK | 1171         YY_BREAK | 
| 1175 case 51: | 1172 case 51: | 
| 1176 YY_RULE_SETUP | 1173 YY_RULE_SETUP | 
| 1177 #line 125 "sksl.flex" | 1174 #line 125 "sksl.flex" | 
| 1178 { return SkSL::Token::BITWISEAND; } | 1175 { return SkSL::Token::LOGICALOR; } | 
| 1179         YY_BREAK | 1176         YY_BREAK | 
| 1180 case 52: | 1177 case 52: | 
| 1181 YY_RULE_SETUP | 1178 YY_RULE_SETUP | 
| 1182 #line 127 "sksl.flex" | 1179 #line 127 "sksl.flex" | 
| 1183 { return SkSL::Token::BITWISENOT; } | 1180 { return SkSL::Token::LOGICALXOR; } | 
| 1184         YY_BREAK | 1181         YY_BREAK | 
| 1185 case 53: | 1182 case 53: | 
| 1186 YY_RULE_SETUP | 1183 YY_RULE_SETUP | 
| 1187 #line 129 "sksl.flex" | 1184 #line 129 "sksl.flex" | 
| 1188 { return SkSL::Token::LOGICALOR; } | 1185 { return SkSL::Token::LOGICALAND; } | 
| 1189         YY_BREAK | 1186         YY_BREAK | 
| 1190 case 54: | 1187 case 54: | 
| 1191 YY_RULE_SETUP | 1188 YY_RULE_SETUP | 
| 1192 #line 131 "sksl.flex" | 1189 #line 131 "sksl.flex" | 
| 1193 { return SkSL::Token::LOGICALXOR; } | 1190 { return SkSL::Token::NOT; } | 
| 1194         YY_BREAK | 1191         YY_BREAK | 
| 1195 case 55: | 1192 case 55: | 
| 1196 YY_RULE_SETUP | 1193 YY_RULE_SETUP | 
| 1197 #line 133 "sksl.flex" | 1194 #line 133 "sksl.flex" | 
| 1198 { return SkSL::Token::LOGICALAND; } | 1195 { return SkSL::Token::QUESTION; } | 
| 1199         YY_BREAK | 1196         YY_BREAK | 
| 1200 case 56: | 1197 case 56: | 
| 1201 YY_RULE_SETUP | 1198 YY_RULE_SETUP | 
| 1202 #line 135 "sksl.flex" | 1199 #line 135 "sksl.flex" | 
| 1203 { return SkSL::Token::LOGICALNOT; } | 1200 { return SkSL::Token::COLON; } | 
| 1204         YY_BREAK | 1201         YY_BREAK | 
| 1205 case 57: | 1202 case 57: | 
| 1206 YY_RULE_SETUP | 1203 YY_RULE_SETUP | 
| 1207 #line 137 "sksl.flex" | 1204 #line 137 "sksl.flex" | 
| 1208 { return SkSL::Token::QUESTION; } | 1205 { return SkSL::Token::EQ; } | 
| 1209         YY_BREAK | 1206         YY_BREAK | 
| 1210 case 58: | 1207 case 58: | 
| 1211 YY_RULE_SETUP | 1208 YY_RULE_SETUP | 
| 1212 #line 139 "sksl.flex" | 1209 #line 139 "sksl.flex" | 
| 1213 { return SkSL::Token::COLON; } | 1210 { return SkSL::Token::EQEQ; } | 
| 1214         YY_BREAK | 1211         YY_BREAK | 
| 1215 case 59: | 1212 case 59: | 
| 1216 YY_RULE_SETUP | 1213 YY_RULE_SETUP | 
| 1217 #line 141 "sksl.flex" | 1214 #line 141 "sksl.flex" | 
| 1218 { return SkSL::Token::EQ; } | 1215 { return SkSL::Token::NEQ; } | 
| 1219         YY_BREAK | 1216         YY_BREAK | 
| 1220 case 60: | 1217 case 60: | 
| 1221 YY_RULE_SETUP | 1218 YY_RULE_SETUP | 
| 1222 #line 143 "sksl.flex" | 1219 #line 143 "sksl.flex" | 
| 1223 { return SkSL::Token::EQEQ; } | 1220 { return SkSL::Token::GT; } | 
| 1224         YY_BREAK | 1221         YY_BREAK | 
| 1225 case 61: | 1222 case 61: | 
| 1226 YY_RULE_SETUP | 1223 YY_RULE_SETUP | 
| 1227 #line 145 "sksl.flex" | 1224 #line 145 "sksl.flex" | 
| 1228 { return SkSL::Token::NEQ; } | 1225 { return SkSL::Token::LT; } | 
| 1229         YY_BREAK | 1226         YY_BREAK | 
| 1230 case 62: | 1227 case 62: | 
| 1231 YY_RULE_SETUP | 1228 YY_RULE_SETUP | 
| 1232 #line 147 "sksl.flex" | 1229 #line 147 "sksl.flex" | 
| 1233 { return SkSL::Token::GT; } | 1230 { return SkSL::Token::GTEQ; } | 
| 1234         YY_BREAK | 1231         YY_BREAK | 
| 1235 case 63: | 1232 case 63: | 
| 1236 YY_RULE_SETUP | 1233 YY_RULE_SETUP | 
| 1237 #line 149 "sksl.flex" | 1234 #line 149 "sksl.flex" | 
| 1238 { return SkSL::Token::LT; } | 1235 { return SkSL::Token::LTEQ; } | 
| 1239         YY_BREAK | 1236         YY_BREAK | 
| 1240 case 64: | 1237 case 64: | 
| 1241 YY_RULE_SETUP | 1238 YY_RULE_SETUP | 
| 1242 #line 151 "sksl.flex" | 1239 #line 151 "sksl.flex" | 
| 1243 { return SkSL::Token::GTEQ; } | 1240 { return SkSL::Token::PLUSEQ; } | 
| 1244         YY_BREAK | 1241         YY_BREAK | 
| 1245 case 65: | 1242 case 65: | 
| 1246 YY_RULE_SETUP | 1243 YY_RULE_SETUP | 
| 1247 #line 153 "sksl.flex" | 1244 #line 153 "sksl.flex" | 
| 1248 { return SkSL::Token::LTEQ; } | 1245 { return SkSL::Token::MINUSEQ; } | 
| 1249         YY_BREAK | 1246         YY_BREAK | 
| 1250 case 66: | 1247 case 66: | 
| 1251 YY_RULE_SETUP | 1248 YY_RULE_SETUP | 
| 1252 #line 155 "sksl.flex" | 1249 #line 155 "sksl.flex" | 
| 1253 { return SkSL::Token::PLUSEQ; } | 1250 { return SkSL::Token::STAREQ; } | 
| 1254         YY_BREAK | 1251         YY_BREAK | 
| 1255 case 67: | 1252 case 67: | 
| 1256 YY_RULE_SETUP | 1253 YY_RULE_SETUP | 
| 1257 #line 157 "sksl.flex" | 1254 #line 157 "sksl.flex" | 
| 1258 { return SkSL::Token::MINUSEQ; } | 1255 { return SkSL::Token::SLASHEQ; } | 
| 1259         YY_BREAK | 1256         YY_BREAK | 
| 1260 case 68: | 1257 case 68: | 
| 1261 YY_RULE_SETUP | 1258 YY_RULE_SETUP | 
| 1262 #line 159 "sksl.flex" | 1259 #line 159 "sksl.flex" | 
| 1263 { return SkSL::Token::STAREQ; } | 1260 { return SkSL::Token::PERCENTEQ; } | 
| 1264         YY_BREAK | 1261         YY_BREAK | 
| 1265 case 69: | 1262 case 69: | 
| 1266 YY_RULE_SETUP | 1263 YY_RULE_SETUP | 
| 1267 #line 161 "sksl.flex" | 1264 #line 161 "sksl.flex" | 
| 1268 { return SkSL::Token::SLASHEQ; } | 1265 { return SkSL::Token::SHLEQ; } | 
| 1269         YY_BREAK | 1266         YY_BREAK | 
| 1270 case 70: | 1267 case 70: | 
| 1271 YY_RULE_SETUP | 1268 YY_RULE_SETUP | 
| 1272 #line 163 "sksl.flex" | 1269 #line 163 "sksl.flex" | 
| 1273 { return SkSL::Token::PERCENTEQ; } | 1270 { return SkSL::Token::SHREQ; } | 
| 1274         YY_BREAK | 1271         YY_BREAK | 
| 1275 case 71: | 1272 case 71: | 
| 1276 YY_RULE_SETUP | 1273 YY_RULE_SETUP | 
| 1277 #line 165 "sksl.flex" | 1274 #line 165 "sksl.flex" | 
| 1278 { return SkSL::Token::SHLEQ; } | 1275 { return SkSL::Token::BITWISEOREQ; } | 
| 1279         YY_BREAK | 1276         YY_BREAK | 
| 1280 case 72: | 1277 case 72: | 
| 1281 YY_RULE_SETUP | 1278 YY_RULE_SETUP | 
| 1282 #line 167 "sksl.flex" | 1279 #line 167 "sksl.flex" | 
| 1283 { return SkSL::Token::SHREQ; } | 1280 { return SkSL::Token::BITWISEXOREQ; } | 
| 1284         YY_BREAK | 1281         YY_BREAK | 
| 1285 case 73: | 1282 case 73: | 
| 1286 YY_RULE_SETUP | 1283 YY_RULE_SETUP | 
| 1287 #line 169 "sksl.flex" | 1284 #line 169 "sksl.flex" | 
| 1288 { return SkSL::Token::BITWISEOREQ; } | 1285 { return SkSL::Token::BITWISEANDEQ; } | 
| 1289         YY_BREAK | 1286         YY_BREAK | 
| 1290 case 74: | 1287 case 74: | 
| 1291 YY_RULE_SETUP | 1288 YY_RULE_SETUP | 
| 1292 #line 171 "sksl.flex" | 1289 #line 171 "sksl.flex" | 
| 1293 { return SkSL::Token::BITWISEXOREQ; } | 1290 { return SkSL::Token::LOGICALOREQ; } | 
| 1294         YY_BREAK | 1291         YY_BREAK | 
| 1295 case 75: | 1292 case 75: | 
| 1296 YY_RULE_SETUP | 1293 YY_RULE_SETUP | 
| 1297 #line 173 "sksl.flex" | 1294 #line 173 "sksl.flex" | 
| 1298 { return SkSL::Token::BITWISEANDEQ; } | 1295 { return SkSL::Token::LOGICALXOREQ; } | 
| 1299         YY_BREAK | 1296         YY_BREAK | 
| 1300 case 76: | 1297 case 76: | 
| 1301 YY_RULE_SETUP | 1298 YY_RULE_SETUP | 
| 1302 #line 175 "sksl.flex" | 1299 #line 175 "sksl.flex" | 
| 1303 { return SkSL::Token::LOGICALOREQ; } | 1300 { return SkSL::Token::LOGICALANDEQ; } | 
| 1304         YY_BREAK | 1301         YY_BREAK | 
| 1305 case 77: | 1302 case 77: | 
| 1306 YY_RULE_SETUP | 1303 YY_RULE_SETUP | 
| 1307 #line 177 "sksl.flex" | 1304 #line 177 "sksl.flex" | 
| 1308 { return SkSL::Token::LOGICALXOREQ; } | 1305 { return SkSL::Token::SEMICOLON; } | 
| 1309         YY_BREAK | 1306         YY_BREAK | 
| 1310 case 78: | 1307 case 78: | 
| 1311 YY_RULE_SETUP | 1308 YY_RULE_SETUP | 
| 1312 #line 179 "sksl.flex" | 1309 #line 179 "sksl.flex" | 
| 1313 { return SkSL::Token::LOGICALANDEQ; } | 1310 /* line comment */ | 
| 1314         YY_BREAK | 1311         YY_BREAK | 
| 1315 case 79: | 1312 case 79: | 
|  | 1313 /* rule 79 can match eol */ | 
| 1316 YY_RULE_SETUP | 1314 YY_RULE_SETUP | 
| 1317 #line 181 "sksl.flex" | 1315 #line 181 "sksl.flex" | 
| 1318 { return SkSL::Token::SEMICOLON; } | 1316 /* block comment */ | 
| 1319         YY_BREAK | 1317         YY_BREAK | 
| 1320 case 80: | 1318 case 80: | 
|  | 1319 /* rule 80 can match eol */ | 
| 1321 YY_RULE_SETUP | 1320 YY_RULE_SETUP | 
| 1322 #line 183 "sksl.flex" | 1321 #line 183 "sksl.flex" | 
| 1323 /* line comment */ | 1322 /* whitespace */ | 
| 1324         YY_BREAK | 1323         YY_BREAK | 
| 1325 case 81: | 1324 case 81: | 
| 1326 /* rule 81 can match eol */ |  | 
| 1327 YY_RULE_SETUP | 1325 YY_RULE_SETUP | 
| 1328 #line 185 "sksl.flex" | 1326 #line 185 "sksl.flex" | 
| 1329 /* block comment */ | 1327 { return SkSL::Token::INVALID_TOKEN; } | 
| 1330         YY_BREAK | 1328         YY_BREAK | 
| 1331 case 82: | 1329 case 82: | 
| 1332 /* rule 82 can match eol */ |  | 
| 1333 YY_RULE_SETUP | 1330 YY_RULE_SETUP | 
| 1334 #line 187 "sksl.flex" | 1331 #line 187 "sksl.flex" | 
| 1335 /* whitespace */ |  | 
| 1336         YY_BREAK |  | 
| 1337 case 83: |  | 
| 1338 YY_RULE_SETUP |  | 
| 1339 #line 189 "sksl.flex" |  | 
| 1340 { return SkSL::Token::INVALID_TOKEN; } |  | 
| 1341         YY_BREAK |  | 
| 1342 case 84: |  | 
| 1343 YY_RULE_SETUP |  | 
| 1344 #line 191 "sksl.flex" |  | 
| 1345 ECHO; | 1332 ECHO; | 
| 1346         YY_BREAK | 1333         YY_BREAK | 
| 1347 #line 1342 "lex.sksl.c" | 1334 #line 1329 "lex.sksl.c" | 
| 1348 case YY_STATE_EOF(INITIAL): | 1335 case YY_STATE_EOF(INITIAL): | 
| 1349         yyterminate(); | 1336         yyterminate(); | 
| 1350 | 1337 | 
| 1351         case YY_END_OF_BUFFER: | 1338         case YY_END_OF_BUFFER: | 
| 1352                 { | 1339                 { | 
| 1353                 /* Amount of text matched not including the EOB char. */ | 1340                 /* Amount of text matched not including the EOB char. */ | 
| 1354                 int yy_amount_of_matched_text = (int) (yy_cp - yyg->yytext_ptr) 
      - 1; | 1341                 int yy_amount_of_matched_text = (int) (yy_cp - yyg->yytext_ptr) 
      - 1; | 
| 1355 | 1342 | 
| 1356                 /* Undo the effects of YY_DO_BEFORE_ACTION. */ | 1343                 /* Undo the effects of YY_DO_BEFORE_ACTION. */ | 
| 1357                 *yy_cp = yyg->yy_hold_char; | 1344                 *yy_cp = yyg->yy_hold_char; | 
| (...skipping 174 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 1532 | 1519 | 
| 1533         else | 1520         else | 
| 1534                 { | 1521                 { | 
| 1535                         yy_size_t num_to_read = | 1522                         yy_size_t num_to_read = | 
| 1536                         YY_CURRENT_BUFFER_LVALUE->yy_buf_size - number_to_move -
       1; | 1523                         YY_CURRENT_BUFFER_LVALUE->yy_buf_size - number_to_move -
       1; | 
| 1537 | 1524 | 
| 1538                 while ( num_to_read <= 0 ) | 1525                 while ( num_to_read <= 0 ) | 
| 1539                         { /* Not enough room in the buffer - grow it. */ | 1526                         { /* Not enough room in the buffer - grow it. */ | 
| 1540 | 1527 | 
| 1541                         /* just a shorter name for the current buffer */ | 1528                         /* just a shorter name for the current buffer */ | 
| 1542 »       »       »       YY_BUFFER_STATE b = YY_CURRENT_BUFFER; | 1529 »       »       »       YY_BUFFER_STATE b = YY_CURRENT_BUFFER_LVALUE; | 
| 1543 | 1530 | 
| 1544                         int yy_c_buf_p_offset = | 1531                         int yy_c_buf_p_offset = | 
| 1545                                 (int) (yyg->yy_c_buf_p - b->yy_ch_buf); | 1532                                 (int) (yyg->yy_c_buf_p - b->yy_ch_buf); | 
| 1546 | 1533 | 
| 1547                         if ( b->yy_is_our_buffer ) | 1534                         if ( b->yy_is_our_buffer ) | 
| 1548                                 { | 1535                                 { | 
| 1549                                 yy_size_t new_size = b->yy_buf_size * 2; | 1536                                 yy_size_t new_size = b->yy_buf_size * 2; | 
| 1550 | 1537 | 
| 1551                                 if ( new_size <= 0 ) | 1538                                 if ( new_size <= 0 ) | 
| 1552                                         b->yy_buf_size += b->yy_buf_size / 8; | 1539                                         b->yy_buf_size += b->yy_buf_size / 8; | 
| (...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 1632                 { | 1619                 { | 
| 1633                 register YY_CHAR yy_c = (*yy_cp ? yy_ec[YY_SC_TO_UI(*yy_cp)] : 1
      ); | 1620                 register YY_CHAR yy_c = (*yy_cp ? yy_ec[YY_SC_TO_UI(*yy_cp)] : 1
      ); | 
| 1634                 if ( yy_accept[yy_current_state] ) | 1621                 if ( yy_accept[yy_current_state] ) | 
| 1635                         { | 1622                         { | 
| 1636                         yyg->yy_last_accepting_state = yy_current_state; | 1623                         yyg->yy_last_accepting_state = yy_current_state; | 
| 1637                         yyg->yy_last_accepting_cpos = yy_cp; | 1624                         yyg->yy_last_accepting_cpos = yy_cp; | 
| 1638                         } | 1625                         } | 
| 1639                 while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_s
      tate ) | 1626                 while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_s
      tate ) | 
| 1640                         { | 1627                         { | 
| 1641                         yy_current_state = (int) yy_def[yy_current_state]; | 1628                         yy_current_state = (int) yy_def[yy_current_state]; | 
| 1642 »       »       »       if ( yy_current_state >= 205 ) | 1629 »       »       »       if ( yy_current_state >= 201 ) | 
| 1643                                 yy_c = yy_meta[(unsigned int) yy_c]; | 1630                                 yy_c = yy_meta[(unsigned int) yy_c]; | 
| 1644                         } | 1631                         } | 
| 1645                 yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned 
      int) yy_c]; | 1632                 yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned 
      int) yy_c]; | 
| 1646                 } | 1633                 } | 
| 1647 | 1634 | 
| 1648         return yy_current_state; | 1635         return yy_current_state; | 
| 1649 } | 1636 } | 
| 1650 | 1637 | 
| 1651 /* yy_try_NUL_trans - try to make a transition on the NUL character | 1638 /* yy_try_NUL_trans - try to make a transition on the NUL character | 
| 1652  * | 1639  * | 
| 1653  * synopsis | 1640  * synopsis | 
| 1654  *      next_state = yy_try_NUL_trans( current_state ); | 1641  *      next_state = yy_try_NUL_trans( current_state ); | 
| 1655  */ | 1642  */ | 
| 1656     static yy_state_type yy_try_NUL_trans  (yy_state_type yy_current_state , yys
      can_t yyscanner) | 1643     static yy_state_type yy_try_NUL_trans  (yy_state_type yy_current_state , yys
      can_t yyscanner) | 
| 1657 { | 1644 { | 
| 1658         register int yy_is_jam; | 1645         register int yy_is_jam; | 
| 1659     struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; /* This var may be unus
      ed depending upon options. */ | 1646     struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; /* This var may be unus
      ed depending upon options. */ | 
| 1660         register char *yy_cp = yyg->yy_c_buf_p; | 1647         register char *yy_cp = yyg->yy_c_buf_p; | 
| 1661 | 1648 | 
| 1662         register YY_CHAR yy_c = 1; | 1649         register YY_CHAR yy_c = 1; | 
| 1663         if ( yy_accept[yy_current_state] ) | 1650         if ( yy_accept[yy_current_state] ) | 
| 1664                 { | 1651                 { | 
| 1665                 yyg->yy_last_accepting_state = yy_current_state; | 1652                 yyg->yy_last_accepting_state = yy_current_state; | 
| 1666                 yyg->yy_last_accepting_cpos = yy_cp; | 1653                 yyg->yy_last_accepting_cpos = yy_cp; | 
| 1667                 } | 1654                 } | 
| 1668         while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state ) | 1655         while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state ) | 
| 1669                 { | 1656                 { | 
| 1670                 yy_current_state = (int) yy_def[yy_current_state]; | 1657                 yy_current_state = (int) yy_def[yy_current_state]; | 
| 1671 »       »       if ( yy_current_state >= 205 ) | 1658 »       »       if ( yy_current_state >= 201 ) | 
| 1672                         yy_c = yy_meta[(unsigned int) yy_c]; | 1659                         yy_c = yy_meta[(unsigned int) yy_c]; | 
| 1673                 } | 1660                 } | 
| 1674         yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_
      c]; | 1661         yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_
      c]; | 
| 1675 »       yy_is_jam = (yy_current_state == 204); | 1662 »       yy_is_jam = (yy_current_state == 200); | 
| 1676 | 1663 | 
|  | 1664         (void)yyg; | 
| 1677         return yy_is_jam ? 0 : yy_current_state; | 1665         return yy_is_jam ? 0 : yy_current_state; | 
| 1678 } | 1666 } | 
| 1679 | 1667 | 
| 1680     static void yyunput (int c, register char * yy_bp , yyscan_t yyscanner) | 1668     static void yyunput (int c, register char * yy_bp , yyscan_t yyscanner) | 
| 1681 { | 1669 { | 
| 1682         register char *yy_cp; | 1670         register char *yy_cp; | 
| 1683     struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; | 1671     struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; | 
| 1684 | 1672 | 
| 1685     yy_cp = yyg->yy_c_buf_p; | 1673     yy_cp = yyg->yy_c_buf_p; | 
| 1686 | 1674 | 
| (...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 1761                                          */ | 1749                                          */ | 
| 1762 | 1750 | 
| 1763                                         /* Reset buffer status. */ | 1751                                         /* Reset buffer status. */ | 
| 1764                                         skslrestart(yyin ,yyscanner); | 1752                                         skslrestart(yyin ,yyscanner); | 
| 1765 | 1753 | 
| 1766                                         /*FALLTHROUGH*/ | 1754                                         /*FALLTHROUGH*/ | 
| 1767 | 1755 | 
| 1768                                 case EOB_ACT_END_OF_FILE: | 1756                                 case EOB_ACT_END_OF_FILE: | 
| 1769                                         { | 1757                                         { | 
| 1770                                         if ( skslwrap(yyscanner ) ) | 1758                                         if ( skslwrap(yyscanner ) ) | 
| 1771 »       »       »       »       »       »       return 0; | 1759 »       »       »       »       »       »       return EOF; | 
| 1772 | 1760 | 
| 1773                                         if ( ! yyg->yy_did_buffer_switch_on_eof 
      ) | 1761                                         if ( ! yyg->yy_did_buffer_switch_on_eof 
      ) | 
| 1774                                                 YY_NEW_FILE; | 1762                                                 YY_NEW_FILE; | 
| 1775 #ifdef __cplusplus | 1763 #ifdef __cplusplus | 
| 1776                                         return yyinput(yyscanner); | 1764                                         return yyinput(yyscanner); | 
| 1777 #else | 1765 #else | 
| 1778                                         return input(yyscanner); | 1766                                         return input(yyscanner); | 
| 1779 #endif | 1767 #endif | 
| 1780                                         } | 1768                                         } | 
| 1781 | 1769 | 
| (...skipping 335 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 2117  *       sksl_scan_bytes() instead. | 2105  *       sksl_scan_bytes() instead. | 
| 2118  */ | 2106  */ | 
| 2119 YY_BUFFER_STATE sksl_scan_string (yyconst char * yystr , yyscan_t yyscanner) | 2107 YY_BUFFER_STATE sksl_scan_string (yyconst char * yystr , yyscan_t yyscanner) | 
| 2120 { | 2108 { | 
| 2121 | 2109 | 
| 2122         return sksl_scan_bytes(yystr,strlen(yystr) ,yyscanner); | 2110         return sksl_scan_bytes(yystr,strlen(yystr) ,yyscanner); | 
| 2123 } | 2111 } | 
| 2124 | 2112 | 
| 2125 /** Setup the input buffer state to scan the given bytes. The next call to sksll
      ex() will | 2113 /** Setup the input buffer state to scan the given bytes. The next call to sksll
      ex() will | 
| 2126  * scan from a @e copy of @a bytes. | 2114  * scan from a @e copy of @a bytes. | 
| 2127  * @param bytes the byte buffer to scan | 2115  * @param yybytes the byte buffer to scan | 
| 2128  * @param len the number of bytes in the buffer pointed to by @a bytes. | 2116  * @param _yybytes_len the number of bytes in the buffer pointed to by @a bytes. | 
| 2129  * @param yyscanner The scanner object. | 2117  * @param yyscanner The scanner object. | 
| 2130  * @return the newly allocated buffer state object. | 2118  * @return the newly allocated buffer state object. | 
| 2131  */ | 2119  */ | 
| 2132 YY_BUFFER_STATE sksl_scan_bytes  (yyconst char * yybytes, yy_size_t  _yybytes_le
      n , yyscan_t yyscanner) | 2120 YY_BUFFER_STATE sksl_scan_bytes  (yyconst char * yybytes, yy_size_t  _yybytes_le
      n , yyscan_t yyscanner) | 
| 2133 { | 2121 { | 
| 2134         YY_BUFFER_STATE b; | 2122         YY_BUFFER_STATE b; | 
| 2135         char *buf; | 2123         char *buf; | 
| 2136 »       yy_size_t n, i; | 2124 »       yy_size_t n; | 
|  | 2125 »       int i; | 
| 2137 | 2126 | 
| 2138         /* Get memory for full buffer, including space for trailing EOB's. */ | 2127         /* Get memory for full buffer, including space for trailing EOB's. */ | 
| 2139         n = _yybytes_len + 2; | 2128         n = _yybytes_len + 2; | 
| 2140         buf = (char *) skslalloc(n ,yyscanner ); | 2129         buf = (char *) skslalloc(n ,yyscanner ); | 
| 2141         if ( ! buf ) | 2130         if ( ! buf ) | 
| 2142                 YY_FATAL_ERROR( "out of dynamic memory in sksl_scan_bytes()" ); | 2131                 YY_FATAL_ERROR( "out of dynamic memory in sksl_scan_bytes()" ); | 
| 2143 | 2132 | 
| 2144         for ( i = 0; i < _yybytes_len; ++i ) | 2133         for ( i = 0; i < _yybytes_len; ++i ) | 
| 2145                 buf[i] = yybytes[i]; | 2134                 buf[i] = yybytes[i]; | 
| 2146 | 2135 | 
| (...skipping 125 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 2272 /** Set the current line number. | 2261 /** Set the current line number. | 
| 2273  * @param line_number | 2262  * @param line_number | 
| 2274  * @param yyscanner The scanner object. | 2263  * @param yyscanner The scanner object. | 
| 2275  */ | 2264  */ | 
| 2276 void skslset_lineno (int  line_number , yyscan_t yyscanner) | 2265 void skslset_lineno (int  line_number , yyscan_t yyscanner) | 
| 2277 { | 2266 { | 
| 2278     struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; | 2267     struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; | 
| 2279 | 2268 | 
| 2280         /* lineno is only valid if an input buffer exists. */ | 2269         /* lineno is only valid if an input buffer exists. */ | 
| 2281         if (! YY_CURRENT_BUFFER ) | 2270         if (! YY_CURRENT_BUFFER ) | 
| 2282            yy_fatal_error( "skslset_lineno called with no buffer" , yyscanner); | 2271            YY_FATAL_ERROR( "skslset_lineno called with no buffer" ); | 
| 2283 | 2272 | 
| 2284     yylineno = line_number; | 2273     yylineno = line_number; | 
| 2285 } | 2274 } | 
| 2286 | 2275 | 
| 2287 /** Set the current column. | 2276 /** Set the current column. | 
| 2288  * @param line_number | 2277  * @param line_number | 
| 2289  * @param yyscanner The scanner object. | 2278  * @param yyscanner The scanner object. | 
| 2290  */ | 2279  */ | 
| 2291 void skslset_column (int  column_no , yyscan_t yyscanner) | 2280 void skslset_column (int  column_no , yyscan_t yyscanner) | 
| 2292 { | 2281 { | 
| 2293     struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; | 2282     struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; | 
| 2294 | 2283 | 
| 2295         /* column is only valid if an input buffer exists. */ | 2284         /* column is only valid if an input buffer exists. */ | 
| 2296         if (! YY_CURRENT_BUFFER ) | 2285         if (! YY_CURRENT_BUFFER ) | 
| 2297            yy_fatal_error( "skslset_column called with no buffer" , yyscanner); | 2286            YY_FATAL_ERROR( "skslset_column called with no buffer" ); | 
| 2298 | 2287 | 
| 2299     yycolumn = column_no; | 2288     yycolumn = column_no; | 
| 2300 } | 2289 } | 
| 2301 | 2290 | 
| 2302 /** Set the input stream. This does not discard the current | 2291 /** Set the input stream. This does not discard the current | 
| 2303  * input buffer. | 2292  * input buffer. | 
| 2304  * @param in_str A readable stream. | 2293  * @param in_str A readable stream. | 
| 2305  * @param yyscanner The scanner object. | 2294  * @param yyscanner The scanner object. | 
| 2306  * @see sksl_switch_to_buffer | 2295  * @see sksl_switch_to_buffer | 
| 2307  */ | 2296  */ | 
| (...skipping 191 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 2499         return (void *) realloc( (char *) ptr, size ); | 2488         return (void *) realloc( (char *) ptr, size ); | 
| 2500 } | 2489 } | 
| 2501 | 2490 | 
| 2502 void skslfree (void * ptr , yyscan_t yyscanner) | 2491 void skslfree (void * ptr , yyscan_t yyscanner) | 
| 2503 { | 2492 { | 
| 2504         free( (char *) ptr );   /* see skslrealloc() for (char *) cast */ | 2493         free( (char *) ptr );   /* see skslrealloc() for (char *) cast */ | 
| 2505 } | 2494 } | 
| 2506 | 2495 | 
| 2507 #define YYTABLES_NAME "yytables" | 2496 #define YYTABLES_NAME "yytables" | 
| 2508 | 2497 | 
| 2509 #line 191 "sksl.flex" | 2498 #line 187 "sksl.flex" | 
| 2510 | 2499 | 
| 2511 | 2500 | 
| 2512 | 2501 | 
| 2513 int skslwrap(yyscan_t scanner) { | 2502 int skslwrap(yyscan_t scanner) { | 
| 2514     return 1; // terminate | 2503     return 1; // terminate | 
| 2515 } | 2504 } | 
| 2516 | 2505 | 
| OLD | NEW | 
|---|