mojoshader_lexer.c
author Ryan C. Gordon <icculus@icculus.org>
Thu, 12 Feb 2009 13:54:01 -0500
changeset 584 9aea8877564d
parent 580 a7b038eb688c
child 600 f42d58194dc1
permissions -rw-r--r--
Updated lexer for HLSL. Added some operators, and I'm pretty sure TOKEN_ELLIPSIS isn't used in the D3D preprocessor or HLSL.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
584
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
     1
/* Generated by re2c 0.12.1 on Thu Feb 12 13:52:20 2009 */
580
a7b038eb688c Updated re2c-generated lexer code.
Ryan C. Gordon <icculus@icculus.org>
parents: 555
diff changeset
     2
#line 1 "/home/icculus/projects/mojoshader/mojoshader_lexer.re"
555
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
     3
/**
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
     4
 * MojoShader; generate shader programs from bytecode of compiled
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
     5
 *  Direct3D shaders.
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
     6
 *
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
     7
 * Please see the file LICENSE.txt in the source's root directory.
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
     8
 *
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
     9
 *  This file written by Ryan C. Gordon.
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    10
 */
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    11
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    12
// This was originally based on examples/pp-c.re from re2c: http://re2c.org/
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    13
//   re2c is public domain code.
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    14
//
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    15
// You build mojoshader_lexer_preprocessor.c from the .re file with re2c...
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    16
// re2c -is -o mojoshader_lexer_preprocessor.c mojoshader_lexer_preprocessor.re
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    17
//
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    18
// Changes to the lexer are done to the .re file, not the C code!
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    19
//
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    20
// Please note that this isn't a perfect C lexer, since it is used for both
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    21
//  HLSL and shader assembly language, and follows the quirks of Microsoft's
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    22
//  tools.
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    23
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    24
#define __MOJOSHADER_INTERNAL__ 1
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    25
#include "mojoshader_internal.h"
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    26
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    27
typedef unsigned char uchar;
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    28
580
a7b038eb688c Updated re2c-generated lexer code.
Ryan C. Gordon <icculus@icculus.org>
parents: 555
diff changeset
    29
#define RET(t) do { update_state(s, cursor, token); return t; } while (0)
555
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    30
#define YYCTYPE uchar
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    31
#define YYCURSOR cursor
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    32
#define YYLIMIT limit
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    33
#define YYMARKER s->lexer_marker
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    34
#define YYFILL(n) { if ((n) == 1) { RET(TOKEN_EOI); } }
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    35
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    36
static void update_state(IncludeState *s, const uchar *cur, const uchar *tok)
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    37
{
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    38
    s->bytes_left -= (unsigned int) (cur - ((const uchar *) s->source));
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    39
    s->source = (const char *) cur;
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    40
    s->token = (const char *) tok;
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    41
} // update_state
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    42
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    43
Token preprocessor_internal_lexer(IncludeState *s)
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    44
{
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    45
    const uchar *cursor = (const uchar *) s->source;
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    46
    const uchar *token;
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    47
    const uchar *limit = cursor + s->bytes_left;
580
a7b038eb688c Updated re2c-generated lexer code.
Ryan C. Gordon <icculus@icculus.org>
parents: 555
diff changeset
    48
    int saw_newline = 0;
555
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    49
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    50
scanner_loop:
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    51
    token = cursor;
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    52
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    53
    if (YYLIMIT == YYCURSOR)
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    54
        RET(TOKEN_EOI);
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    55
580
a7b038eb688c Updated re2c-generated lexer code.
Ryan C. Gordon <icculus@icculus.org>
parents: 555
diff changeset
    56
#line 67 "/home/icculus/projects/mojoshader/mojoshader_lexer.re"
555
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    57
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    58
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    59
580
a7b038eb688c Updated re2c-generated lexer code.
Ryan C. Gordon <icculus@icculus.org>
parents: 555
diff changeset
    60
#line 61 "/home/icculus/projects/mojoshader/mojoshader_lexer.c"
555
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    61
{
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    62
	YYCTYPE yych;
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    63
	unsigned int yyaccept = 0;
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    64
580
a7b038eb688c Updated re2c-generated lexer code.
Ryan C. Gordon <icculus@icculus.org>
parents: 555
diff changeset
    65
	if((YYLIMIT - YYCURSOR) < 8) YYFILL(8);
555
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    66
	yych = *YYCURSOR;
580
a7b038eb688c Updated re2c-generated lexer code.
Ryan C. Gordon <icculus@icculus.org>
parents: 555
diff changeset
    67
	switch(yych) {
a7b038eb688c Updated re2c-generated lexer code.
Ryan C. Gordon <icculus@icculus.org>
parents: 555
diff changeset
    68
	case 0x09:
a7b038eb688c Updated re2c-generated lexer code.
Ryan C. Gordon <icculus@icculus.org>
parents: 555
diff changeset
    69
	case 0x0B:
a7b038eb688c Updated re2c-generated lexer code.
Ryan C. Gordon <icculus@icculus.org>
parents: 555
diff changeset
    70
	case 0x0C:
555
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    71
	case ' ':	goto yy62;
580
a7b038eb688c Updated re2c-generated lexer code.
Ryan C. Gordon <icculus@icculus.org>
parents: 555
diff changeset
    72
	case 0x0A:	goto yy64;
a7b038eb688c Updated re2c-generated lexer code.
Ryan C. Gordon <icculus@icculus.org>
parents: 555
diff changeset
    73
	case 0x0D:	goto yy66;
584
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
    74
	case '!':	goto yy34;
555
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    75
	case '"':	goto yy13;
584
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
    76
	case '#':	goto yy36;
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
    77
	case '%':	goto yy24;
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
    78
	case '&':	goto yy28;
555
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    79
	case '\'':	goto yy9;
584
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
    80
	case '(':	goto yy38;
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
    81
	case ')':	goto yy40;
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
    82
	case '*':	goto yy22;
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
    83
	case '+':	goto yy18;
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
    84
	case ',':	goto yy46;
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
    85
	case '-':	goto yy20;
555
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    86
	case '.':	goto yy11;
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    87
	case '/':	goto yy2;
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    88
	case '0':	goto yy6;
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    89
	case '1':
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    90
	case '2':
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    91
	case '3':
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    92
	case '4':
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    93
	case '5':
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    94
	case '6':
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    95
	case '7':
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    96
	case '8':
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    97
	case '9':	goto yy8;
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    98
	case ':':	goto yy50;
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    99
	case ';':	goto yy52;
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   100
	case '<':	goto yy16;
584
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
   101
	case '=':	goto yy32;
555
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   102
	case '>':	goto yy14;
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   103
	case '?':	goto yy58;
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   104
	case 'A':
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   105
	case 'B':
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   106
	case 'C':
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   107
	case 'D':
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   108
	case 'E':
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   109
	case 'F':
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   110
	case 'G':
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   111
	case 'H':
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   112
	case 'I':
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   113
	case 'J':
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   114
	case 'K':
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   115
	case 'L':
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   116
	case 'M':
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   117
	case 'N':
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   118
	case 'O':
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   119
	case 'P':
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   120
	case 'Q':
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   121
	case 'R':
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   122
	case 'S':
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   123
	case 'T':
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   124
	case 'U':
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   125
	case 'V':
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   126
	case 'W':
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   127
	case 'X':
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   128
	case 'Y':
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   129
	case 'Z':
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   130
	case '_':
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   131
	case 'a':
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   132
	case 'b':
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   133
	case 'c':
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   134
	case 'd':
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   135
	case 'e':
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   136
	case 'f':
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   137
	case 'g':
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   138
	case 'h':
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   139
	case 'i':
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   140
	case 'j':
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   141
	case 'k':
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   142
	case 'l':
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   143
	case 'm':
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   144
	case 'n':
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   145
	case 'o':
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   146
	case 'p':
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   147
	case 'q':
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   148
	case 'r':
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   149
	case 's':
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   150
	case 't':
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   151
	case 'u':
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   152
	case 'v':
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   153
	case 'w':
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   154
	case 'x':
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   155
	case 'y':
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   156
	case 'z':	goto yy4;
584
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
   157
	case '[':	goto yy42;
555
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   158
	case '\\':	goto yy60;
584
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
   159
	case ']':	goto yy44;
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
   160
	case '^':	goto yy26;
555
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   161
	case '{':	goto yy54;
584
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
   162
	case '|':	goto yy30;
555
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   163
	case '}':	goto yy56;
584
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
   164
	case '~':	goto yy48;
555
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   165
	default:	goto yy67;
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   166
	}
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   167
yy2:
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   168
	++YYCURSOR;
584
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
   169
	if((yych = *YYCURSOR) <= '.') {
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
   170
		if(yych == '*') goto yy230;
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
   171
	} else {
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
   172
		if(yych <= '/') goto yy228;
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
   173
		if(yych == '=') goto yy226;
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
   174
	}
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
   175
#line 118 "/home/icculus/projects/mojoshader/mojoshader_lexer.re"
555
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   176
	{ RET('/'); }
584
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
   177
#line 178 "/home/icculus/projects/mojoshader/mojoshader_lexer.c"
555
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   178
yy4:
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   179
	++YYCURSOR;
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   180
	yych = *YYCURSOR;
584
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
   181
	goto yy225;
555
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   182
yy5:
580
a7b038eb688c Updated re2c-generated lexer code.
Ryan C. Gordon <icculus@icculus.org>
parents: 555
diff changeset
   183
#line 73 "/home/icculus/projects/mojoshader/mojoshader_lexer.re"
555
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   184
	{ RET(TOKEN_IDENTIFIER); }
584
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
   185
#line 186 "/home/icculus/projects/mojoshader/mojoshader_lexer.c"
555
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   186
yy6:
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   187
	yyaccept = 0;
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   188
	yych = *(YYMARKER = ++YYCURSOR);
580
a7b038eb688c Updated re2c-generated lexer code.
Ryan C. Gordon <icculus@icculus.org>
parents: 555
diff changeset
   189
	if(yych <= 'X') {
a7b038eb688c Updated re2c-generated lexer code.
Ryan C. Gordon <icculus@icculus.org>
parents: 555
diff changeset
   190
		if(yych <= 'T') {
584
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
   191
			if(yych == 'L') goto yy200;
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
   192
			goto yy216;
555
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   193
		} else {
584
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
   194
			if(yych <= 'U') goto yy200;
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
   195
			if(yych <= 'W') goto yy216;
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
   196
			goto yy217;
555
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   197
		}
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   198
	} else {
580
a7b038eb688c Updated re2c-generated lexer code.
Ryan C. Gordon <icculus@icculus.org>
parents: 555
diff changeset
   199
		if(yych <= 't') {
584
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
   200
			if(yych == 'l') goto yy200;
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
   201
			goto yy216;
555
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   202
		} else {
584
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
   203
			if(yych <= 'u') goto yy200;
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
   204
			if(yych == 'x') goto yy217;
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
   205
			goto yy216;
555
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   206
		}
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   207
	}
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   208
yy7:
580
a7b038eb688c Updated re2c-generated lexer code.
Ryan C. Gordon <icculus@icculus.org>
parents: 555
diff changeset
   209
#line 77 "/home/icculus/projects/mojoshader/mojoshader_lexer.re"
555
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   210
	{ RET(TOKEN_INT_LITERAL); }
584
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
   211
#line 212 "/home/icculus/projects/mojoshader/mojoshader_lexer.c"
555
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   212
yy8:
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   213
	yyaccept = 0;
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   214
	yych = *(YYMARKER = ++YYCURSOR);
584
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
   215
	goto yy198;
555
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   216
yy9:
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   217
	yyaccept = 1;
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   218
	yych = *(YYMARKER = ++YYCURSOR);
584
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
   219
	if(yych != 0x0A) goto yy188;
555
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   220
yy10:
584
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
   221
#line 147 "/home/icculus/projects/mojoshader/mojoshader_lexer.re"
555
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   222
	{ printf("bad char\n"); goto scanner_loop; }
584
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
   223
#line 224 "/home/icculus/projects/mojoshader/mojoshader_lexer.c"
555
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   224
yy11:
584
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
   225
	++YYCURSOR;
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
   226
	if((yych = *YYCURSOR) <= '/') goto yy12;
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
   227
	if(yych <= '9') goto yy179;
555
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   228
yy12:
584
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
   229
#line 110 "/home/icculus/projects/mojoshader/mojoshader_lexer.re"
555
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   230
	{ RET('.'); }
584
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
   231
#line 232 "/home/icculus/projects/mojoshader/mojoshader_lexer.c"
555
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   232
yy13:
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   233
	yyaccept = 1;
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   234
	yych = *(YYMARKER = ++YYCURSOR);
580
a7b038eb688c Updated re2c-generated lexer code.
Ryan C. Gordon <icculus@icculus.org>
parents: 555
diff changeset
   235
	if(yych == 0x0A) goto yy10;
584
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
   236
	goto yy170;
555
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   237
yy14:
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   238
	++YYCURSOR;
580
a7b038eb688c Updated re2c-generated lexer code.
Ryan C. Gordon <icculus@icculus.org>
parents: 555
diff changeset
   239
	if((yych = *YYCURSOR) <= '<') goto yy15;
584
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
   240
	if(yych <= '=') goto yy163;
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
   241
	if(yych <= '>') goto yy165;
555
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   242
yy15:
584
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
   243
#line 121 "/home/icculus/projects/mojoshader/mojoshader_lexer.re"
555
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   244
	{ RET('>'); }
584
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
   245
#line 246 "/home/icculus/projects/mojoshader/mojoshader_lexer.c"
555
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   246
yy16:
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   247
	++YYCURSOR;
580
a7b038eb688c Updated re2c-generated lexer code.
Ryan C. Gordon <icculus@icculus.org>
parents: 555
diff changeset
   248
	if((yych = *YYCURSOR) <= ';') goto yy17;
584
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
   249
	if(yych <= '<') goto yy159;
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
   250
	if(yych <= '=') goto yy157;
555
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   251
yy17:
584
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
   252
#line 120 "/home/icculus/projects/mojoshader/mojoshader_lexer.re"
555
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   253
	{ RET('<'); }
584
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
   254
#line 255 "/home/icculus/projects/mojoshader/mojoshader_lexer.c"
555
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   255
yy18:
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   256
	++YYCURSOR;
584
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
   257
	if((yych = *YYCURSOR) == '+') goto yy153;
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
   258
	if(yych == '=') goto yy155;
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
   259
#line 116 "/home/icculus/projects/mojoshader/mojoshader_lexer.re"
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
   260
	{ RET('+'); }
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
   261
#line 262 "/home/icculus/projects/mojoshader/mojoshader_lexer.c"
555
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   262
yy20:
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   263
	++YYCURSOR;
584
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
   264
	if((yych = *YYCURSOR) == '-') goto yy149;
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
   265
	if(yych == '=') goto yy151;
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
   266
#line 115 "/home/icculus/projects/mojoshader/mojoshader_lexer.re"
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
   267
	{ RET('-'); }
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
   268
#line 269 "/home/icculus/projects/mojoshader/mojoshader_lexer.c"
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
   269
yy22:
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
   270
	++YYCURSOR;
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
   271
	if((yych = *YYCURSOR) == '=') goto yy147;
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
   272
#line 117 "/home/icculus/projects/mojoshader/mojoshader_lexer.re"
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
   273
	{ RET('*'); }
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
   274
#line 275 "/home/icculus/projects/mojoshader/mojoshader_lexer.c"
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
   275
yy24:
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
   276
	++YYCURSOR;
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
   277
	if((yych = *YYCURSOR) == '=') goto yy145;
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
   278
#line 119 "/home/icculus/projects/mojoshader/mojoshader_lexer.re"
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
   279
	{ RET('%'); }
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
   280
#line 281 "/home/icculus/projects/mojoshader/mojoshader_lexer.c"
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
   281
yy26:
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
   282
	++YYCURSOR;
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
   283
	if((yych = *YYCURSOR) == '=') goto yy143;
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
   284
#line 122 "/home/icculus/projects/mojoshader/mojoshader_lexer.re"
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
   285
	{ RET('^'); }
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
   286
#line 287 "/home/icculus/projects/mojoshader/mojoshader_lexer.c"
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
   287
yy28:
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
   288
	++YYCURSOR;
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
   289
	if((yych = *YYCURSOR) == '&') goto yy139;
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
   290
	if(yych == '=') goto yy141;
580
a7b038eb688c Updated re2c-generated lexer code.
Ryan C. Gordon <icculus@icculus.org>
parents: 555
diff changeset
   291
#line 112 "/home/icculus/projects/mojoshader/mojoshader_lexer.re"
584
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
   292
	{ RET('&'); }
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
   293
#line 294 "/home/icculus/projects/mojoshader/mojoshader_lexer.c"
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
   294
yy30:
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
   295
	++YYCURSOR;
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
   296
	if((yych = *YYCURSOR) == '=') goto yy137;
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
   297
	if(yych == '|') goto yy135;
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
   298
#line 123 "/home/icculus/projects/mojoshader/mojoshader_lexer.re"
555
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   299
	{ RET('|'); }
584
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
   300
#line 301 "/home/icculus/projects/mojoshader/mojoshader_lexer.c"
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
   301
yy32:
555
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   302
	++YYCURSOR;
580
a7b038eb688c Updated re2c-generated lexer code.
Ryan C. Gordon <icculus@icculus.org>
parents: 555
diff changeset
   303
	if((yych = *YYCURSOR) == '=') goto yy133;
584
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
   304
#line 128 "/home/icculus/projects/mojoshader/mojoshader_lexer.re"
555
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   305
	{ RET('='); }
584
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
   306
#line 307 "/home/icculus/projects/mojoshader/mojoshader_lexer.c"
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
   307
yy34:
555
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   308
	++YYCURSOR;
580
a7b038eb688c Updated re2c-generated lexer code.
Ryan C. Gordon <icculus@icculus.org>
parents: 555
diff changeset
   309
	if((yych = *YYCURSOR) == '=') goto yy131;
584
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
   310
#line 113 "/home/icculus/projects/mojoshader/mojoshader_lexer.re"
555
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   311
	{ RET('!'); }
584
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
   312
#line 313 "/home/icculus/projects/mojoshader/mojoshader_lexer.c"
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
   313
yy36:
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
   314
	yyaccept = 2;
555
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   315
	yych = *(YYMARKER = ++YYCURSOR);
580
a7b038eb688c Updated re2c-generated lexer code.
Ryan C. Gordon <icculus@icculus.org>
parents: 555
diff changeset
   316
	if(yych <= 'c') {
a7b038eb688c Updated re2c-generated lexer code.
Ryan C. Gordon <icculus@icculus.org>
parents: 555
diff changeset
   317
		if(yych <= 0x1F) {
a7b038eb688c Updated re2c-generated lexer code.
Ryan C. Gordon <icculus@icculus.org>
parents: 555
diff changeset
   318
			if(yych == 0x09) goto yy72;
555
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   319
		} else {
580
a7b038eb688c Updated re2c-generated lexer code.
Ryan C. Gordon <icculus@icculus.org>
parents: 555
diff changeset
   320
			if(yych <= ' ') goto yy72;
a7b038eb688c Updated re2c-generated lexer code.
Ryan C. Gordon <icculus@icculus.org>
parents: 555
diff changeset
   321
			if(yych == '#') goto yy79;
555
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   322
		}
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   323
	} else {
580
a7b038eb688c Updated re2c-generated lexer code.
Ryan C. Gordon <icculus@icculus.org>
parents: 555
diff changeset
   324
		if(yych <= 'k') {
a7b038eb688c Updated re2c-generated lexer code.
Ryan C. Gordon <icculus@icculus.org>
parents: 555
diff changeset
   325
			if(yych <= 'e') goto yy72;
a7b038eb688c Updated re2c-generated lexer code.
Ryan C. Gordon <icculus@icculus.org>
parents: 555
diff changeset
   326
			if(yych == 'i') goto yy72;
555
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   327
		} else {
580
a7b038eb688c Updated re2c-generated lexer code.
Ryan C. Gordon <icculus@icculus.org>
parents: 555
diff changeset
   328
			if(yych <= 'l') goto yy72;
a7b038eb688c Updated re2c-generated lexer code.
Ryan C. Gordon <icculus@icculus.org>
parents: 555
diff changeset
   329
			if(yych == 'u') goto yy72;
555
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   330
		}
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   331
	}
584
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
   332
yy37:
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
   333
#line 131 "/home/icculus/projects/mojoshader/mojoshader_lexer.re"
555
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   334
	{ RET('#'); }
584
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
   335
#line 336 "/home/icculus/projects/mojoshader/mojoshader_lexer.c"
555
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   336
yy38:
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   337
	++YYCURSOR;
584
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
   338
#line 106 "/home/icculus/projects/mojoshader/mojoshader_lexer.re"
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
   339
	{ RET('('); }
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
   340
#line 341 "/home/icculus/projects/mojoshader/mojoshader_lexer.c"
555
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   341
yy40:
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   342
	++YYCURSOR;
584
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
   343
#line 107 "/home/icculus/projects/mojoshader/mojoshader_lexer.re"
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
   344
	{ RET(')'); }
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
   345
#line 346 "/home/icculus/projects/mojoshader/mojoshader_lexer.c"
555
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   346
yy42:
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   347
	++YYCURSOR;
584
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
   348
#line 108 "/home/icculus/projects/mojoshader/mojoshader_lexer.re"
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
   349
	{ RET('['); }
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
   350
#line 351 "/home/icculus/projects/mojoshader/mojoshader_lexer.c"
555
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   351
yy44:
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   352
	++YYCURSOR;
584
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
   353
#line 109 "/home/icculus/projects/mojoshader/mojoshader_lexer.re"
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
   354
	{ RET(']'); }
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
   355
#line 356 "/home/icculus/projects/mojoshader/mojoshader_lexer.c"
555
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   356
yy46:
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   357
	++YYCURSOR;
584
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
   358
#line 111 "/home/icculus/projects/mojoshader/mojoshader_lexer.re"
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
   359
	{ RET(','); }
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
   360
#line 361 "/home/icculus/projects/mojoshader/mojoshader_lexer.c"
555
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   361
yy48:
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   362
	++YYCURSOR;
584
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
   363
#line 114 "/home/icculus/projects/mojoshader/mojoshader_lexer.re"
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
   364
	{ RET('~'); }
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
   365
#line 366 "/home/icculus/projects/mojoshader/mojoshader_lexer.c"
555
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   366
yy50:
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   367
	++YYCURSOR;
584
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
   368
#line 124 "/home/icculus/projects/mojoshader/mojoshader_lexer.re"
555
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   369
	{ RET(':'); }
584
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
   370
#line 371 "/home/icculus/projects/mojoshader/mojoshader_lexer.c"
555
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   371
yy52:
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   372
	++YYCURSOR;
584
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
   373
#line 125 "/home/icculus/projects/mojoshader/mojoshader_lexer.re"
555
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   374
	{ RET(';'); }
584
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
   375
#line 376 "/home/icculus/projects/mojoshader/mojoshader_lexer.c"
555
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   376
yy54:
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   377
	++YYCURSOR;
584
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
   378
#line 126 "/home/icculus/projects/mojoshader/mojoshader_lexer.re"
555
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   379
	{ RET('{'); }
584
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
   380
#line 381 "/home/icculus/projects/mojoshader/mojoshader_lexer.c"
555
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   381
yy56:
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   382
	++YYCURSOR;
584
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
   383
#line 127 "/home/icculus/projects/mojoshader/mojoshader_lexer.re"
555
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   384
	{ RET('}'); }
584
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
   385
#line 386 "/home/icculus/projects/mojoshader/mojoshader_lexer.c"
555
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   386
yy58:
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   387
	++YYCURSOR;
584
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
   388
#line 129 "/home/icculus/projects/mojoshader/mojoshader_lexer.re"
555
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   389
	{ RET('?'); }
584
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
   390
#line 391 "/home/icculus/projects/mojoshader/mojoshader_lexer.c"
555
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   391
yy60:
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   392
	++YYCURSOR;
584
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
   393
#line 130 "/home/icculus/projects/mojoshader/mojoshader_lexer.re"
555
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   394
	{ RET('\\'); }
584
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
   395
#line 396 "/home/icculus/projects/mojoshader/mojoshader_lexer.c"
555
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   396
yy62:
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   397
	++YYCURSOR;
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   398
	yych = *YYCURSOR;
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   399
	goto yy70;
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   400
yy63:
584
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
   401
#line 145 "/home/icculus/projects/mojoshader/mojoshader_lexer.re"
555
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   402
	{ goto scanner_loop; }
584
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
   403
#line 404 "/home/icculus/projects/mojoshader/mojoshader_lexer.c"
555
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   404
yy64:
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   405
	++YYCURSOR;
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   406
yy65:
584
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
   407
#line 146 "/home/icculus/projects/mojoshader/mojoshader_lexer.re"
580
a7b038eb688c Updated re2c-generated lexer code.
Ryan C. Gordon <icculus@icculus.org>
parents: 555
diff changeset
   408
	{ s->line++; RET('\n'); }
584
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
   409
#line 410 "/home/icculus/projects/mojoshader/mojoshader_lexer.c"
555
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   410
yy66:
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   411
	yych = *++YYCURSOR;
580
a7b038eb688c Updated re2c-generated lexer code.
Ryan C. Gordon <icculus@icculus.org>
parents: 555
diff changeset
   412
	if(yych == 0x0A) goto yy68;
555
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   413
	goto yy65;
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   414
yy67:
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   415
	yych = *++YYCURSOR;
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   416
	goto yy10;
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   417
yy68:
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   418
	yych = *++YYCURSOR;
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   419
	goto yy65;
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   420
yy69:
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   421
	++YYCURSOR;
580
a7b038eb688c Updated re2c-generated lexer code.
Ryan C. Gordon <icculus@icculus.org>
parents: 555
diff changeset
   422
	if(YYLIMIT == YYCURSOR) YYFILL(1);
555
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   423
	yych = *YYCURSOR;
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   424
yy70:
580
a7b038eb688c Updated re2c-generated lexer code.
Ryan C. Gordon <icculus@icculus.org>
parents: 555
diff changeset
   425
	if(yych <= 0x0A) {
a7b038eb688c Updated re2c-generated lexer code.
Ryan C. Gordon <icculus@icculus.org>
parents: 555
diff changeset
   426
		if(yych == 0x09) goto yy69;
555
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   427
		goto yy63;
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   428
	} else {
580
a7b038eb688c Updated re2c-generated lexer code.
Ryan C. Gordon <icculus@icculus.org>
parents: 555
diff changeset
   429
		if(yych <= 0x0C) goto yy69;
a7b038eb688c Updated re2c-generated lexer code.
Ryan C. Gordon <icculus@icculus.org>
parents: 555
diff changeset
   430
		if(yych == ' ') goto yy69;
555
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   431
		goto yy63;
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   432
	}
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   433
yy71:
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   434
	++YYCURSOR;
580
a7b038eb688c Updated re2c-generated lexer code.
Ryan C. Gordon <icculus@icculus.org>
parents: 555
diff changeset
   435
	if((YYLIMIT - YYCURSOR) < 7) YYFILL(7);
555
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   436
	yych = *YYCURSOR;
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   437
yy72:
580
a7b038eb688c Updated re2c-generated lexer code.
Ryan C. Gordon <icculus@icculus.org>
parents: 555
diff changeset
   438
	if(yych <= 'e') {
a7b038eb688c Updated re2c-generated lexer code.
Ryan C. Gordon <icculus@icculus.org>
parents: 555
diff changeset
   439
		if(yych <= 0x1F) {
a7b038eb688c Updated re2c-generated lexer code.
Ryan C. Gordon <icculus@icculus.org>
parents: 555
diff changeset
   440
			if(yych == 0x09) goto yy71;
555
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   441
		} else {
580
a7b038eb688c Updated re2c-generated lexer code.
Ryan C. Gordon <icculus@icculus.org>
parents: 555
diff changeset
   442
			if(yych <= ' ') goto yy71;
a7b038eb688c Updated re2c-generated lexer code.
Ryan C. Gordon <icculus@icculus.org>
parents: 555
diff changeset
   443
			if(yych <= 'c') goto yy73;
a7b038eb688c Updated re2c-generated lexer code.
Ryan C. Gordon <icculus@icculus.org>
parents: 555
diff changeset
   444
			if(yych <= 'd') goto yy77;
555
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   445
			goto yy74;
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   446
		}
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   447
	} else {
580
a7b038eb688c Updated re2c-generated lexer code.
Ryan C. Gordon <icculus@icculus.org>
parents: 555
diff changeset
   448
		if(yych <= 'k') {
a7b038eb688c Updated re2c-generated lexer code.
Ryan C. Gordon <icculus@icculus.org>
parents: 555
diff changeset
   449
			if(yych == 'i') goto yy75;
555
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   450
		} else {
580
a7b038eb688c Updated re2c-generated lexer code.
Ryan C. Gordon <icculus@icculus.org>
parents: 555
diff changeset
   451
			if(yych <= 'l') goto yy78;
a7b038eb688c Updated re2c-generated lexer code.
Ryan C. Gordon <icculus@icculus.org>
parents: 555
diff changeset
   452
			if(yych == 'u') goto yy76;
555
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   453
		}
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   454
	}
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   455
yy73:
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   456
	YYCURSOR = YYMARKER;
580
a7b038eb688c Updated re2c-generated lexer code.
Ryan C. Gordon <icculus@icculus.org>
parents: 555
diff changeset
   457
	if(yyaccept <= 2) {
a7b038eb688c Updated re2c-generated lexer code.
Ryan C. Gordon <icculus@icculus.org>
parents: 555
diff changeset
   458
		if(yyaccept <= 1) {
a7b038eb688c Updated re2c-generated lexer code.
Ryan C. Gordon <icculus@icculus.org>
parents: 555
diff changeset
   459
			if(yyaccept <= 0) {
555
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   460
				goto yy7;
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   461
			} else {
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   462
				goto yy10;
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   463
			}
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   464
		} else {
584
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
   465
			goto yy37;
555
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   466
		}
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   467
	} else {
584
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
   468
		if(yyaccept <= 3) {
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
   469
			goto yy98;
555
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   470
		} else {
584
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
   471
			goto yy181;
555
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   472
		}
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   473
	}
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   474
yy74:
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   475
	yych = *++YYCURSOR;
580
a7b038eb688c Updated re2c-generated lexer code.
Ryan C. Gordon <icculus@icculus.org>
parents: 555
diff changeset
   476
	if(yych <= 'm') {
a7b038eb688c Updated re2c-generated lexer code.
Ryan C. Gordon <icculus@icculus.org>
parents: 555
diff changeset
   477
		if(yych == 'l') goto yy114;
555
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   478
		goto yy73;
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   479
	} else {
580
a7b038eb688c Updated re2c-generated lexer code.
Ryan C. Gordon <icculus@icculus.org>
parents: 555
diff changeset
   480
		if(yych <= 'n') goto yy115;
a7b038eb688c Updated re2c-generated lexer code.
Ryan C. Gordon <icculus@icculus.org>
parents: 555
diff changeset
   481
		if(yych == 'r') goto yy116;
555
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   482
		goto yy73;
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   483
	}
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   484
yy75:
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   485
	yych = *++YYCURSOR;
580
a7b038eb688c Updated re2c-generated lexer code.
Ryan C. Gordon <icculus@icculus.org>
parents: 555
diff changeset
   486
	if(yych == 'f') goto yy97;
a7b038eb688c Updated re2c-generated lexer code.
Ryan C. Gordon <icculus@icculus.org>
parents: 555
diff changeset
   487
	if(yych == 'n') goto yy96;
555
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   488
	goto yy73;
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   489
yy76:
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   490
	yych = *++YYCURSOR;
580
a7b038eb688c Updated re2c-generated lexer code.
Ryan C. Gordon <icculus@icculus.org>
parents: 555
diff changeset
   491
	if(yych == 'n') goto yy91;
555
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   492
	goto yy73;
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   493
yy77:
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   494
	yych = *++YYCURSOR;
580
a7b038eb688c Updated re2c-generated lexer code.
Ryan C. Gordon <icculus@icculus.org>
parents: 555
diff changeset
   495
	if(yych == 'e') goto yy85;
555
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   496
	goto yy73;
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   497
yy78:
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   498
	yych = *++YYCURSOR;
580
a7b038eb688c Updated re2c-generated lexer code.
Ryan C. Gordon <icculus@icculus.org>
parents: 555
diff changeset
   499
	if(yych == 'i') goto yy81;
555
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   500
	goto yy73;
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   501
yy79:
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   502
	++YYCURSOR;
584
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
   503
#line 105 "/home/icculus/projects/mojoshader/mojoshader_lexer.re"
555
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   504
	{ RET(TOKEN_HASHHASH); }
584
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
   505
#line 506 "/home/icculus/projects/mojoshader/mojoshader_lexer.c"
555
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   506
yy81:
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   507
	yych = *++YYCURSOR;
580
a7b038eb688c Updated re2c-generated lexer code.
Ryan C. Gordon <icculus@icculus.org>
parents: 555
diff changeset
   508
	if(yych != 'n') goto yy73;
555
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   509
	yych = *++YYCURSOR;
580
a7b038eb688c Updated re2c-generated lexer code.
Ryan C. Gordon <icculus@icculus.org>
parents: 555
diff changeset
   510
	if(yych != 'e') goto yy73;
555
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   511
	++YYCURSOR;
584
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
   512
#line 134 "/home/icculus/projects/mojoshader/mojoshader_lexer.re"
555
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   513
	{ RET(TOKEN_PP_LINE); }
584
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
   514
#line 515 "/home/icculus/projects/mojoshader/mojoshader_lexer.c"
555
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   515
yy85:
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   516
	yych = *++YYCURSOR;
580
a7b038eb688c Updated re2c-generated lexer code.
Ryan C. Gordon <icculus@icculus.org>
parents: 555
diff changeset
   517
	if(yych != 'f') goto yy73;
555
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   518
	yych = *++YYCURSOR;
580
a7b038eb688c Updated re2c-generated lexer code.
Ryan C. Gordon <icculus@icculus.org>
parents: 555
diff changeset
   519
	if(yych != 'i') goto yy73;
a7b038eb688c Updated re2c-generated lexer code.
Ryan C. Gordon <icculus@icculus.org>
parents: 555
diff changeset
   520
	yych = *++YYCURSOR;
a7b038eb688c Updated re2c-generated lexer code.
Ryan C. Gordon <icculus@icculus.org>
parents: 555
diff changeset
   521
	if(yych != 'n') goto yy73;
555
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   522
	yych = *++YYCURSOR;
580
a7b038eb688c Updated re2c-generated lexer code.
Ryan C. Gordon <icculus@icculus.org>
parents: 555
diff changeset
   523
	if(yych != 'e') goto yy73;
555
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   524
	++YYCURSOR;
584
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
   525
#line 135 "/home/icculus/projects/mojoshader/mojoshader_lexer.re"
555
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   526
	{ RET(TOKEN_PP_DEFINE); }
584
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
   527
#line 528 "/home/icculus/projects/mojoshader/mojoshader_lexer.c"
555
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   528
yy91:
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   529
	yych = *++YYCURSOR;
580
a7b038eb688c Updated re2c-generated lexer code.
Ryan C. Gordon <icculus@icculus.org>
parents: 555
diff changeset
   530
	if(yych != 'd') goto yy73;
555
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   531
	yych = *++YYCURSOR;
580
a7b038eb688c Updated re2c-generated lexer code.
Ryan C. Gordon <icculus@icculus.org>
parents: 555
diff changeset
   532
	if(yych != 'e') goto yy73;
555
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   533
	yych = *++YYCURSOR;
580
a7b038eb688c Updated re2c-generated lexer code.
Ryan C. Gordon <icculus@icculus.org>
parents: 555
diff changeset
   534
	if(yych != 'f') goto yy73;
555
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   535
	++YYCURSOR;
584
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
   536
#line 136 "/home/icculus/projects/mojoshader/mojoshader_lexer.re"
555
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   537
	{ RET(TOKEN_PP_UNDEF); }
584
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
   538
#line 539 "/home/icculus/projects/mojoshader/mojoshader_lexer.c"
555
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   539
yy96:
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   540
	yych = *++YYCURSOR;
580
a7b038eb688c Updated re2c-generated lexer code.
Ryan C. Gordon <icculus@icculus.org>
parents: 555
diff changeset
   541
	if(yych == 'c') goto yy108;
555
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   542
	goto yy73;
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   543
yy97:
584
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
   544
	yyaccept = 3;
555
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   545
	yych = *(YYMARKER = ++YYCURSOR);
580
a7b038eb688c Updated re2c-generated lexer code.
Ryan C. Gordon <icculus@icculus.org>
parents: 555
diff changeset
   546
	if(yych == 'd') goto yy100;
a7b038eb688c Updated re2c-generated lexer code.
Ryan C. Gordon <icculus@icculus.org>
parents: 555
diff changeset
   547
	if(yych == 'n') goto yy99;
555
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   548
yy98:
584
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
   549
#line 137 "/home/icculus/projects/mojoshader/mojoshader_lexer.re"
555
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   550
	{ RET(TOKEN_PP_IF); }
584
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
   551
#line 552 "/home/icculus/projects/mojoshader/mojoshader_lexer.c"
555
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   552
yy99:
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   553
	yych = *++YYCURSOR;
580
a7b038eb688c Updated re2c-generated lexer code.
Ryan C. Gordon <icculus@icculus.org>
parents: 555
diff changeset
   554
	if(yych == 'd') goto yy104;
555
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   555
	goto yy73;
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   556
yy100:
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   557
	yych = *++YYCURSOR;
580
a7b038eb688c Updated re2c-generated lexer code.
Ryan C. Gordon <icculus@icculus.org>
parents: 555
diff changeset
   558
	if(yych != 'e') goto yy73;
555
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   559
	yych = *++YYCURSOR;
580
a7b038eb688c Updated re2c-generated lexer code.
Ryan C. Gordon <icculus@icculus.org>
parents: 555
diff changeset
   560
	if(yych != 'f') goto yy73;
555
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   561
	++YYCURSOR;
584
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
   562
#line 138 "/home/icculus/projects/mojoshader/mojoshader_lexer.re"
555
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   563
	{ RET(TOKEN_PP_IFDEF); }
584
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
   564
#line 565 "/home/icculus/projects/mojoshader/mojoshader_lexer.c"
555
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   565
yy104:
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   566
	yych = *++YYCURSOR;
580
a7b038eb688c Updated re2c-generated lexer code.
Ryan C. Gordon <icculus@icculus.org>
parents: 555
diff changeset
   567
	if(yych != 'e') goto yy73;
555
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   568
	yych = *++YYCURSOR;
580
a7b038eb688c Updated re2c-generated lexer code.
Ryan C. Gordon <icculus@icculus.org>
parents: 555
diff changeset
   569
	if(yych != 'f') goto yy73;
555
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   570
	++YYCURSOR;
584
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
   571
#line 139 "/home/icculus/projects/mojoshader/mojoshader_lexer.re"
555
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   572
	{ RET(TOKEN_PP_IFNDEF); }
584
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
   573
#line 574 "/home/icculus/projects/mojoshader/mojoshader_lexer.c"
555
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   574
yy108:
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   575
	yych = *++YYCURSOR;
580
a7b038eb688c Updated re2c-generated lexer code.
Ryan C. Gordon <icculus@icculus.org>
parents: 555
diff changeset
   576
	if(yych != 'l') goto yy73;
555
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   577
	yych = *++YYCURSOR;
580
a7b038eb688c Updated re2c-generated lexer code.
Ryan C. Gordon <icculus@icculus.org>
parents: 555
diff changeset
   578
	if(yych != 'u') goto yy73;
a7b038eb688c Updated re2c-generated lexer code.
Ryan C. Gordon <icculus@icculus.org>
parents: 555
diff changeset
   579
	yych = *++YYCURSOR;
a7b038eb688c Updated re2c-generated lexer code.
Ryan C. Gordon <icculus@icculus.org>
parents: 555
diff changeset
   580
	if(yych != 'd') goto yy73;
555
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   581
	yych = *++YYCURSOR;
580
a7b038eb688c Updated re2c-generated lexer code.
Ryan C. Gordon <icculus@icculus.org>
parents: 555
diff changeset
   582
	if(yych != 'e') goto yy73;
555
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   583
	++YYCURSOR;
584
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
   584
#line 133 "/home/icculus/projects/mojoshader/mojoshader_lexer.re"
555
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   585
	{ RET(TOKEN_PP_INCLUDE); }
584
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
   586
#line 587 "/home/icculus/projects/mojoshader/mojoshader_lexer.c"
555
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   587
yy114:
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   588
	yych = *++YYCURSOR;
580
a7b038eb688c Updated re2c-generated lexer code.
Ryan C. Gordon <icculus@icculus.org>
parents: 555
diff changeset
   589
	if(yych == 'i') goto yy125;
a7b038eb688c Updated re2c-generated lexer code.
Ryan C. Gordon <icculus@icculus.org>
parents: 555
diff changeset
   590
	if(yych == 's') goto yy126;
555
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   591
	goto yy73;
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   592
yy115:
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   593
	yych = *++YYCURSOR;
580
a7b038eb688c Updated re2c-generated lexer code.
Ryan C. Gordon <icculus@icculus.org>
parents: 555
diff changeset
   594
	if(yych == 'd') goto yy121;
555
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   595
	goto yy73;
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   596
yy116:
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   597
	yych = *++YYCURSOR;
580
a7b038eb688c Updated re2c-generated lexer code.
Ryan C. Gordon <icculus@icculus.org>
parents: 555
diff changeset
   598
	if(yych != 'r') goto yy73;
555
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   599
	yych = *++YYCURSOR;
580
a7b038eb688c Updated re2c-generated lexer code.
Ryan C. Gordon <icculus@icculus.org>
parents: 555
diff changeset
   600
	if(yych != 'o') goto yy73;
555
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   601
	yych = *++YYCURSOR;
580
a7b038eb688c Updated re2c-generated lexer code.
Ryan C. Gordon <icculus@icculus.org>
parents: 555
diff changeset
   602
	if(yych != 'r') goto yy73;
555
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   603
	++YYCURSOR;
584
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
   604
#line 143 "/home/icculus/projects/mojoshader/mojoshader_lexer.re"
555
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   605
	{ RET(TOKEN_PP_ERROR); }
584
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
   606
#line 607 "/home/icculus/projects/mojoshader/mojoshader_lexer.c"
555
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   607
yy121:
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   608
	yych = *++YYCURSOR;
580
a7b038eb688c Updated re2c-generated lexer code.
Ryan C. Gordon <icculus@icculus.org>
parents: 555
diff changeset
   609
	if(yych != 'i') goto yy73;
555
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   610
	yych = *++YYCURSOR;
580
a7b038eb688c Updated re2c-generated lexer code.
Ryan C. Gordon <icculus@icculus.org>
parents: 555
diff changeset
   611
	if(yych != 'f') goto yy73;
555
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   612
	++YYCURSOR;
584
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
   613
#line 142 "/home/icculus/projects/mojoshader/mojoshader_lexer.re"
555
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   614
	{ RET(TOKEN_PP_ENDIF); }
584
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
   615
#line 616 "/home/icculus/projects/mojoshader/mojoshader_lexer.c"
555
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   616
yy125:
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   617
	yych = *++YYCURSOR;
580
a7b038eb688c Updated re2c-generated lexer code.
Ryan C. Gordon <icculus@icculus.org>
parents: 555
diff changeset
   618
	if(yych == 'f') goto yy129;
555
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   619
	goto yy73;
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   620
yy126:
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   621
	yych = *++YYCURSOR;
580
a7b038eb688c Updated re2c-generated lexer code.
Ryan C. Gordon <icculus@icculus.org>
parents: 555
diff changeset
   622
	if(yych != 'e') goto yy73;
555
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   623
	++YYCURSOR;
584
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
   624
#line 140 "/home/icculus/projects/mojoshader/mojoshader_lexer.re"
555
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   625
	{ RET(TOKEN_PP_ELSE); }
584
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
   626
#line 627 "/home/icculus/projects/mojoshader/mojoshader_lexer.c"
555
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   627
yy129:
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   628
	++YYCURSOR;
584
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
   629
#line 141 "/home/icculus/projects/mojoshader/mojoshader_lexer.re"
555
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   630
	{ RET(TOKEN_PP_ELIF); }
584
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
   631
#line 632 "/home/icculus/projects/mojoshader/mojoshader_lexer.c"
555
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   632
yy131:
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   633
	++YYCURSOR;
584
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
   634
#line 104 "/home/icculus/projects/mojoshader/mojoshader_lexer.re"
555
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   635
	{ RET(TOKEN_NEQ); }
584
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
   636
#line 637 "/home/icculus/projects/mojoshader/mojoshader_lexer.c"
555
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   637
yy133:
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   638
	++YYCURSOR;
584
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
   639
#line 103 "/home/icculus/projects/mojoshader/mojoshader_lexer.re"
555
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   640
	{ RET(TOKEN_EQL); }
584
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
   641
#line 642 "/home/icculus/projects/mojoshader/mojoshader_lexer.c"
555
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   642
yy135:
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   643
	++YYCURSOR;
584
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
   644
#line 100 "/home/icculus/projects/mojoshader/mojoshader_lexer.re"
555
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   645
	{ RET(TOKEN_OROR); }
584
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
   646
#line 647 "/home/icculus/projects/mojoshader/mojoshader_lexer.c"
555
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   647
yy137:
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   648
	++YYCURSOR;
584
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
   649
#line 94 "/home/icculus/projects/mojoshader/mojoshader_lexer.re"
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
   650
	{ RET(TOKEN_ORASSIGN); }
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
   651
#line 652 "/home/icculus/projects/mojoshader/mojoshader_lexer.c"
555
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   652
yy139:
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   653
	++YYCURSOR;
584
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
   654
#line 99 "/home/icculus/projects/mojoshader/mojoshader_lexer.re"
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
   655
	{ RET(TOKEN_ANDAND); }
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
   656
#line 657 "/home/icculus/projects/mojoshader/mojoshader_lexer.c"
555
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   657
yy141:
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   658
	++YYCURSOR;
584
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
   659
#line 93 "/home/icculus/projects/mojoshader/mojoshader_lexer.re"
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
   660
	{ RET(TOKEN_ANDASSIGN); }
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
   661
#line 662 "/home/icculus/projects/mojoshader/mojoshader_lexer.c"
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
   662
yy143:
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
   663
	++YYCURSOR;
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
   664
#line 92 "/home/icculus/projects/mojoshader/mojoshader_lexer.re"
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
   665
	{ RET(TOKEN_XORASSIGN); }
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
   666
#line 667 "/home/icculus/projects/mojoshader/mojoshader_lexer.c"
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
   667
yy145:
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
   668
	++YYCURSOR;
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
   669
#line 91 "/home/icculus/projects/mojoshader/mojoshader_lexer.re"
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
   670
	{ RET(TOKEN_MODASSIGN); }
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
   671
#line 672 "/home/icculus/projects/mojoshader/mojoshader_lexer.c"
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
   672
yy147:
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
   673
	++YYCURSOR;
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
   674
#line 89 "/home/icculus/projects/mojoshader/mojoshader_lexer.re"
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
   675
	{ RET(TOKEN_MULTASSIGN); }
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
   676
#line 677 "/home/icculus/projects/mojoshader/mojoshader_lexer.c"
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
   677
yy149:
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
   678
	++YYCURSOR;
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
   679
#line 96 "/home/icculus/projects/mojoshader/mojoshader_lexer.re"
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
   680
	{ RET(TOKEN_DECREMENT); }
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
   681
#line 682 "/home/icculus/projects/mojoshader/mojoshader_lexer.c"
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
   682
yy151:
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
   683
	++YYCURSOR;
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
   684
#line 88 "/home/icculus/projects/mojoshader/mojoshader_lexer.re"
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
   685
	{ RET(TOKEN_SUBASSIGN); }
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
   686
#line 687 "/home/icculus/projects/mojoshader/mojoshader_lexer.c"
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
   687
yy153:
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
   688
	++YYCURSOR;
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
   689
#line 95 "/home/icculus/projects/mojoshader/mojoshader_lexer.re"
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
   690
	{ RET(TOKEN_INCREMENT); }
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
   691
#line 692 "/home/icculus/projects/mojoshader/mojoshader_lexer.c"
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
   692
yy155:
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
   693
	++YYCURSOR;
580
a7b038eb688c Updated re2c-generated lexer code.
Ryan C. Gordon <icculus@icculus.org>
parents: 555
diff changeset
   694
#line 87 "/home/icculus/projects/mojoshader/mojoshader_lexer.re"
584
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
   695
	{ RET(TOKEN_ADDASSIGN); }
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
   696
#line 697 "/home/icculus/projects/mojoshader/mojoshader_lexer.c"
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
   697
yy157:
555
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   698
	++YYCURSOR;
584
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
   699
#line 101 "/home/icculus/projects/mojoshader/mojoshader_lexer.re"
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
   700
	{ RET(TOKEN_LEQ); }
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
   701
#line 702 "/home/icculus/projects/mojoshader/mojoshader_lexer.c"
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
   702
yy159:
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
   703
	++YYCURSOR;
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
   704
	if((yych = *YYCURSOR) == '=') goto yy161;
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
   705
#line 98 "/home/icculus/projects/mojoshader/mojoshader_lexer.re"
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
   706
	{ RET(TOKEN_LSHIFT); }
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
   707
#line 708 "/home/icculus/projects/mojoshader/mojoshader_lexer.c"
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
   708
yy161:
555
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   709
	++YYCURSOR;
580
a7b038eb688c Updated re2c-generated lexer code.
Ryan C. Gordon <icculus@icculus.org>
parents: 555
diff changeset
   710
#line 86 "/home/icculus/projects/mojoshader/mojoshader_lexer.re"
584
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
   711
	{ RET(TOKEN_LSHIFTASSIGN); }
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
   712
#line 713 "/home/icculus/projects/mojoshader/mojoshader_lexer.c"
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
   713
yy163:
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
   714
	++YYCURSOR;
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
   715
#line 102 "/home/icculus/projects/mojoshader/mojoshader_lexer.re"
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
   716
	{ RET(TOKEN_GEQ); }
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
   717
#line 718 "/home/icculus/projects/mojoshader/mojoshader_lexer.c"
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
   718
yy165:
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
   719
	++YYCURSOR;
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
   720
	if((yych = *YYCURSOR) == '=') goto yy167;
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
   721
#line 97 "/home/icculus/projects/mojoshader/mojoshader_lexer.re"
555
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   722
	{ RET(TOKEN_RSHIFT); }
584
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
   723
#line 724 "/home/icculus/projects/mojoshader/mojoshader_lexer.c"
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
   724
yy167:
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
   725
	++YYCURSOR;
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
   726
#line 85 "/home/icculus/projects/mojoshader/mojoshader_lexer.re"
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
   727
	{ RET(TOKEN_RSHIFTASSIGN); }
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
   728
#line 729 "/home/icculus/projects/mojoshader/mojoshader_lexer.c"
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
   729
yy169:
555
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   730
	++YYCURSOR;
580
a7b038eb688c Updated re2c-generated lexer code.
Ryan C. Gordon <icculus@icculus.org>
parents: 555
diff changeset
   731
	if(YYLIMIT == YYCURSOR) YYFILL(1);
555
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   732
	yych = *YYCURSOR;
584
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
   733
yy170:
580
a7b038eb688c Updated re2c-generated lexer code.
Ryan C. Gordon <icculus@icculus.org>
parents: 555
diff changeset
   734
	if(yych <= '!') {
a7b038eb688c Updated re2c-generated lexer code.
Ryan C. Gordon <icculus@icculus.org>
parents: 555
diff changeset
   735
		if(yych == 0x0A) goto yy73;
584
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
   736
		goto yy169;
555
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   737
	} else {
584
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
   738
		if(yych <= '"') goto yy172;
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
   739
		if(yych != '\\') goto yy169;
555
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   740
	}
584
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
   741
yy171:
555
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   742
	++YYCURSOR;
580
a7b038eb688c Updated re2c-generated lexer code.
Ryan C. Gordon <icculus@icculus.org>
parents: 555
diff changeset
   743
	if(YYLIMIT == YYCURSOR) YYFILL(1);
555
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   744
	yych = *YYCURSOR;
580
a7b038eb688c Updated re2c-generated lexer code.
Ryan C. Gordon <icculus@icculus.org>
parents: 555
diff changeset
   745
	if(yych <= 'b') {
a7b038eb688c Updated re2c-generated lexer code.
Ryan C. Gordon <icculus@icculus.org>
parents: 555
diff changeset
   746
		if(yych <= '7') {
a7b038eb688c Updated re2c-generated lexer code.
Ryan C. Gordon <icculus@icculus.org>
parents: 555
diff changeset
   747
			if(yych <= '&') {
584
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
   748
				if(yych == '"') goto yy169;
555
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   749
				goto yy73;
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   750
			} else {
584
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
   751
				if(yych <= '\'') goto yy169;
580
a7b038eb688c Updated re2c-generated lexer code.
Ryan C. Gordon <icculus@icculus.org>
parents: 555
diff changeset
   752
				if(yych <= '/') goto yy73;
584
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
   753
				goto yy175;
555
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   754
			}
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   755
		} else {
580
a7b038eb688c Updated re2c-generated lexer code.
Ryan C. Gordon <icculus@icculus.org>
parents: 555
diff changeset
   756
			if(yych <= '[') {
584
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
   757
				if(yych == '?') goto yy169;
555
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   758
				goto yy73;
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   759
			} else {
584
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
   760
				if(yych <= '\\') goto yy169;
580
a7b038eb688c Updated re2c-generated lexer code.
Ryan C. Gordon <icculus@icculus.org>
parents: 555
diff changeset
   761
				if(yych <= '`') goto yy73;
584
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
   762
				goto yy169;
555
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   763
			}
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   764
		}
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   765
	} else {
580
a7b038eb688c Updated re2c-generated lexer code.
Ryan C. Gordon <icculus@icculus.org>
parents: 555
diff changeset
   766
		if(yych <= 'r') {
a7b038eb688c Updated re2c-generated lexer code.
Ryan C. Gordon <icculus@icculus.org>
parents: 555
diff changeset
   767
			if(yych <= 'm') {
584
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
   768
				if(yych == 'f') goto yy169;
555
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   769
				goto yy73;
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   770
			} else {
584
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
   771
				if(yych <= 'n') goto yy169;
580
a7b038eb688c Updated re2c-generated lexer code.
Ryan C. Gordon <icculus@icculus.org>
parents: 555
diff changeset
   772
				if(yych <= 'q') goto yy73;
584
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
   773
				goto yy169;
555
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   774
			}
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   775
		} else {
580
a7b038eb688c Updated re2c-generated lexer code.
Ryan C. Gordon <icculus@icculus.org>
parents: 555
diff changeset
   776
			if(yych <= 'u') {
584
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
   777
				if(yych == 't') goto yy169;
555
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   778
				goto yy73;
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   779
			} else {
584
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
   780
				if(yych <= 'v') goto yy169;
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
   781
				if(yych == 'x') goto yy174;
555
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   782
				goto yy73;
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   783
			}
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   784
		}
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   785
	}
584
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
   786
yy172:
555
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   787
	++YYCURSOR;
580
a7b038eb688c Updated re2c-generated lexer code.
Ryan C. Gordon <icculus@icculus.org>
parents: 555
diff changeset
   788
#line 83 "/home/icculus/projects/mojoshader/mojoshader_lexer.re"
555
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   789
	{ RET(TOKEN_STRING_LITERAL); }
584
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
   790
#line 791 "/home/icculus/projects/mojoshader/mojoshader_lexer.c"
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
   791
yy174:
555
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   792
	++YYCURSOR;
580
a7b038eb688c Updated re2c-generated lexer code.
Ryan C. Gordon <icculus@icculus.org>
parents: 555
diff changeset
   793
	if(YYLIMIT == YYCURSOR) YYFILL(1);
555
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   794
	yych = *YYCURSOR;
580
a7b038eb688c Updated re2c-generated lexer code.
Ryan C. Gordon <icculus@icculus.org>
parents: 555
diff changeset
   795
	if(yych <= '@') {
a7b038eb688c Updated re2c-generated lexer code.
Ryan C. Gordon <icculus@icculus.org>
parents: 555
diff changeset
   796
		if(yych <= '/') goto yy73;
584
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
   797
		if(yych <= '9') goto yy177;
555
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   798
		goto yy73;
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   799
	} else {
584
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
   800
		if(yych <= 'F') goto yy177;
580
a7b038eb688c Updated re2c-generated lexer code.
Ryan C. Gordon <icculus@icculus.org>
parents: 555
diff changeset
   801
		if(yych <= '`') goto yy73;
584
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
   802
		if(yych <= 'f') goto yy177;
555
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   803
		goto yy73;
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   804
	}
584
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
   805
yy175:
555
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   806
	++YYCURSOR;
580
a7b038eb688c Updated re2c-generated lexer code.
Ryan C. Gordon <icculus@icculus.org>
parents: 555
diff changeset
   807
	if(YYLIMIT == YYCURSOR) YYFILL(1);
555
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   808
	yych = *YYCURSOR;
580
a7b038eb688c Updated re2c-generated lexer code.
Ryan C. Gordon <icculus@icculus.org>
parents: 555
diff changeset
   809
	if(yych <= '"') {
a7b038eb688c Updated re2c-generated lexer code.
Ryan C. Gordon <icculus@icculus.org>
parents: 555
diff changeset
   810
		if(yych == 0x0A) goto yy73;
584
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
   811
		if(yych <= '!') goto yy169;
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
   812
		goto yy172;
555
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   813
	} else {
580
a7b038eb688c Updated re2c-generated lexer code.
Ryan C. Gordon <icculus@icculus.org>
parents: 555
diff changeset
   814
		if(yych <= '7') {
584
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
   815
			if(yych <= '/') goto yy169;
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
   816
			goto yy175;
555
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   817
		} else {
584
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
   818
			if(yych == '\\') goto yy171;
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
   819
			goto yy169;
555
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   820
		}
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   821
	}
584
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
   822
yy177:
555
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   823
	++YYCURSOR;
580
a7b038eb688c Updated re2c-generated lexer code.
Ryan C. Gordon <icculus@icculus.org>
parents: 555
diff changeset
   824
	if(YYLIMIT == YYCURSOR) YYFILL(1);
555
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   825
	yych = *YYCURSOR;
580
a7b038eb688c Updated re2c-generated lexer code.
Ryan C. Gordon <icculus@icculus.org>
parents: 555
diff changeset
   826
	if(yych <= '9') {
a7b038eb688c Updated re2c-generated lexer code.
Ryan C. Gordon <icculus@icculus.org>
parents: 555
diff changeset
   827
		if(yych <= '!') {
a7b038eb688c Updated re2c-generated lexer code.
Ryan C. Gordon <icculus@icculus.org>
parents: 555
diff changeset
   828
			if(yych == 0x0A) goto yy73;
584
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
   829
			goto yy169;
555
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   830
		} else {
584
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
   831
			if(yych <= '"') goto yy172;
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
   832
			if(yych <= '/') goto yy169;
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
   833
			goto yy177;
555
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   834
		}
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   835
	} else {
580
a7b038eb688c Updated re2c-generated lexer code.
Ryan C. Gordon <icculus@icculus.org>
parents: 555
diff changeset
   836
		if(yych <= '[') {
584
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
   837
			if(yych <= '@') goto yy169;
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
   838
			if(yych <= 'F') goto yy177;
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
   839
			goto yy169;
555
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   840
		} else {
584
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
   841
			if(yych <= '\\') goto yy171;
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
   842
			if(yych <= '`') goto yy169;
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
   843
			if(yych <= 'f') goto yy177;
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
   844
			goto yy169;
555
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   845
		}
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   846
	}
584
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
   847
yy179:
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
   848
	yyaccept = 4;
555
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   849
	YYMARKER = ++YYCURSOR;
580
a7b038eb688c Updated re2c-generated lexer code.
Ryan C. Gordon <icculus@icculus.org>
parents: 555
diff changeset
   850
	if((YYLIMIT - YYCURSOR) < 3) YYFILL(3);
555
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   851
	yych = *YYCURSOR;
580
a7b038eb688c Updated re2c-generated lexer code.
Ryan C. Gordon <icculus@icculus.org>
parents: 555
diff changeset
   852
	if(yych <= 'K') {
a7b038eb688c Updated re2c-generated lexer code.
Ryan C. Gordon <icculus@icculus.org>
parents: 555
diff changeset
   853
		if(yych <= 'D') {
584
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
   854
			if(yych <= '/') goto yy181;
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
   855
			if(yych <= '9') goto yy179;
555
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   856
		} else {
584
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
   857
			if(yych <= 'E') goto yy182;
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
   858
			if(yych <= 'F') goto yy183;
555
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   859
		}
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   860
	} else {
580
a7b038eb688c Updated re2c-generated lexer code.
Ryan C. Gordon <icculus@icculus.org>
parents: 555
diff changeset
   861
		if(yych <= 'e') {
584
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
   862
			if(yych <= 'L') goto yy183;
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
   863
			if(yych >= 'e') goto yy182;
555
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   864
		} else {
584
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
   865
			if(yych <= 'f') goto yy183;
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
   866
			if(yych == 'l') goto yy183;
555
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   867
		}
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   868
	}
584
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
   869
yy181:
580
a7b038eb688c Updated re2c-generated lexer code.
Ryan C. Gordon <icculus@icculus.org>
parents: 555
diff changeset
   870
#line 80 "/home/icculus/projects/mojoshader/mojoshader_lexer.re"
555
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   871
	{ RET(TOKEN_FLOAT_LITERAL); }
584
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
   872
#line 873 "/home/icculus/projects/mojoshader/mojoshader_lexer.c"
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
   873
yy182:
555
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   874
	yych = *++YYCURSOR;
580
a7b038eb688c Updated re2c-generated lexer code.
Ryan C. Gordon <icculus@icculus.org>
parents: 555
diff changeset
   875
	if(yych <= ',') {
584
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
   876
		if(yych == '+') goto yy184;
555
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   877
		goto yy73;
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   878
	} else {
584
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
   879
		if(yych <= '-') goto yy184;
580
a7b038eb688c Updated re2c-generated lexer code.
Ryan C. Gordon <icculus@icculus.org>
parents: 555
diff changeset
   880
		if(yych <= '/') goto yy73;
584
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
   881
		if(yych <= '9') goto yy185;
555
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   882
		goto yy73;
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   883
	}
584
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
   884
yy183:
555
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   885
	yych = *++YYCURSOR;
584
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
   886
	goto yy181;
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
   887
yy184:
555
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   888
	yych = *++YYCURSOR;
580
a7b038eb688c Updated re2c-generated lexer code.
Ryan C. Gordon <icculus@icculus.org>
parents: 555
diff changeset
   889
	if(yych <= '/') goto yy73;
a7b038eb688c Updated re2c-generated lexer code.
Ryan C. Gordon <icculus@icculus.org>
parents: 555
diff changeset
   890
	if(yych >= ':') goto yy73;
584
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
   891
yy185:
555
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   892
	++YYCURSOR;
580
a7b038eb688c Updated re2c-generated lexer code.
Ryan C. Gordon <icculus@icculus.org>
parents: 555
diff changeset
   893
	if(YYLIMIT == YYCURSOR) YYFILL(1);
555
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   894
	yych = *YYCURSOR;
580
a7b038eb688c Updated re2c-generated lexer code.
Ryan C. Gordon <icculus@icculus.org>
parents: 555
diff changeset
   895
	if(yych <= 'K') {
a7b038eb688c Updated re2c-generated lexer code.
Ryan C. Gordon <icculus@icculus.org>
parents: 555
diff changeset
   896
		if(yych <= '9') {
584
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
   897
			if(yych <= '/') goto yy181;
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
   898
			goto yy185;
555
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   899
		} else {
584
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
   900
			if(yych == 'F') goto yy183;
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
   901
			goto yy181;
555
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   902
		}
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   903
	} else {
580
a7b038eb688c Updated re2c-generated lexer code.
Ryan C. Gordon <icculus@icculus.org>
parents: 555
diff changeset
   904
		if(yych <= 'f') {
584
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
   905
			if(yych <= 'L') goto yy183;
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
   906
			if(yych <= 'e') goto yy181;
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
   907
			goto yy183;
555
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   908
		} else {
584
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
   909
			if(yych == 'l') goto yy183;
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
   910
			goto yy181;
555
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   911
		}
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   912
	}
584
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
   913
yy187:
555
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   914
	++YYCURSOR;
580
a7b038eb688c Updated re2c-generated lexer code.
Ryan C. Gordon <icculus@icculus.org>
parents: 555
diff changeset
   915
	if(YYLIMIT == YYCURSOR) YYFILL(1);
555
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   916
	yych = *YYCURSOR;
584
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
   917
yy188:
580
a7b038eb688c Updated re2c-generated lexer code.
Ryan C. Gordon <icculus@icculus.org>
parents: 555
diff changeset
   918
	if(yych <= '&') {
a7b038eb688c Updated re2c-generated lexer code.
Ryan C. Gordon <icculus@icculus.org>
parents: 555
diff changeset
   919
		if(yych == 0x0A) goto yy73;
584
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
   920
		goto yy187;
555
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   921
	} else {
584
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
   922
		if(yych <= '\'') goto yy190;
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
   923
		if(yych != '\\') goto yy187;
555
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   924
	}
584
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
   925
yy189:
555
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   926
	++YYCURSOR;
580
a7b038eb688c Updated re2c-generated lexer code.
Ryan C. Gordon <icculus@icculus.org>
parents: 555
diff changeset
   927
	if(YYLIMIT == YYCURSOR) YYFILL(1);
555
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   928
	yych = *YYCURSOR;
580
a7b038eb688c Updated re2c-generated lexer code.
Ryan C. Gordon <icculus@icculus.org>
parents: 555
diff changeset
   929
	if(yych <= 'b') {
a7b038eb688c Updated re2c-generated lexer code.
Ryan C. Gordon <icculus@icculus.org>
parents: 555
diff changeset
   930
		if(yych <= '7') {
a7b038eb688c Updated re2c-generated lexer code.
Ryan C. Gordon <icculus@icculus.org>
parents: 555
diff changeset
   931
			if(yych <= '&') {
584
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
   932
				if(yych == '"') goto yy187;
555
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   933
				goto yy73;
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   934
			} else {
584
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
   935
				if(yych <= '\'') goto yy187;
580
a7b038eb688c Updated re2c-generated lexer code.
Ryan C. Gordon <icculus@icculus.org>
parents: 555
diff changeset
   936
				if(yych <= '/') goto yy73;
584
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
   937
				goto yy192;
555
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   938
			}
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   939
		} else {
580
a7b038eb688c Updated re2c-generated lexer code.
Ryan C. Gordon <icculus@icculus.org>
parents: 555
diff changeset
   940
			if(yych <= '[') {
584
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
   941
				if(yych == '?') goto yy187;
555
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   942
				goto yy73;
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   943
			} else {
584
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
   944
				if(yych <= '\\') goto yy187;
580
a7b038eb688c Updated re2c-generated lexer code.
Ryan C. Gordon <icculus@icculus.org>
parents: 555
diff changeset
   945
				if(yych <= '`') goto yy73;
584
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
   946
				goto yy187;
555
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   947
			}
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   948
		}
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   949
	} else {
580
a7b038eb688c Updated re2c-generated lexer code.
Ryan C. Gordon <icculus@icculus.org>
parents: 555
diff changeset
   950
		if(yych <= 'r') {
a7b038eb688c Updated re2c-generated lexer code.
Ryan C. Gordon <icculus@icculus.org>
parents: 555
diff changeset
   951
			if(yych <= 'm') {
584
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
   952
				if(yych == 'f') goto yy187;
555
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   953
				goto yy73;
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   954
			} else {
584
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
   955
				if(yych <= 'n') goto yy187;
580
a7b038eb688c Updated re2c-generated lexer code.
Ryan C. Gordon <icculus@icculus.org>
parents: 555
diff changeset
   956
				if(yych <= 'q') goto yy73;
584
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
   957
				goto yy187;
555
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   958
			}
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   959
		} else {
580
a7b038eb688c Updated re2c-generated lexer code.
Ryan C. Gordon <icculus@icculus.org>
parents: 555
diff changeset
   960
			if(yych <= 'u') {
584
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
   961
				if(yych == 't') goto yy187;
555
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   962
				goto yy73;
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   963
			} else {
584
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
   964
				if(yych <= 'v') goto yy187;
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
   965
				if(yych == 'x') goto yy191;
555
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   966
				goto yy73;
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   967
			}
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   968
		}
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   969
	}
584
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
   970
yy190:
555
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   971
	yych = *++YYCURSOR;
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   972
	goto yy7;
584
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
   973
yy191:
555
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   974
	++YYCURSOR;
580
a7b038eb688c Updated re2c-generated lexer code.
Ryan C. Gordon <icculus@icculus.org>
parents: 555
diff changeset
   975
	if(YYLIMIT == YYCURSOR) YYFILL(1);
555
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   976
	yych = *YYCURSOR;
580
a7b038eb688c Updated re2c-generated lexer code.
Ryan C. Gordon <icculus@icculus.org>
parents: 555
diff changeset
   977
	if(yych <= '@') {
a7b038eb688c Updated re2c-generated lexer code.
Ryan C. Gordon <icculus@icculus.org>
parents: 555
diff changeset
   978
		if(yych <= '/') goto yy73;
584
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
   979
		if(yych <= '9') goto yy194;
555
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   980
		goto yy73;
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   981
	} else {
584
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
   982
		if(yych <= 'F') goto yy194;
580
a7b038eb688c Updated re2c-generated lexer code.
Ryan C. Gordon <icculus@icculus.org>
parents: 555
diff changeset
   983
		if(yych <= '`') goto yy73;
584
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
   984
		if(yych <= 'f') goto yy194;
555
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   985
		goto yy73;
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   986
	}
584
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
   987
yy192:
555
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   988
	++YYCURSOR;
580
a7b038eb688c Updated re2c-generated lexer code.
Ryan C. Gordon <icculus@icculus.org>
parents: 555
diff changeset
   989
	if(YYLIMIT == YYCURSOR) YYFILL(1);
555
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   990
	yych = *YYCURSOR;
580
a7b038eb688c Updated re2c-generated lexer code.
Ryan C. Gordon <icculus@icculus.org>
parents: 555
diff changeset
   991
	if(yych <= '\'') {
a7b038eb688c Updated re2c-generated lexer code.
Ryan C. Gordon <icculus@icculus.org>
parents: 555
diff changeset
   992
		if(yych == 0x0A) goto yy73;
584
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
   993
		if(yych <= '&') goto yy187;
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
   994
		goto yy190;
555
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   995
	} else {
580
a7b038eb688c Updated re2c-generated lexer code.
Ryan C. Gordon <icculus@icculus.org>
parents: 555
diff changeset
   996
		if(yych <= '7') {
584
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
   997
			if(yych <= '/') goto yy187;
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
   998
			goto yy192;
555
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
   999
		} else {
584
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
  1000
			if(yych == '\\') goto yy189;
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
  1001
			goto yy187;
555
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1002
		}
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1003
	}
584
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
  1004
yy194:
555
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1005
	++YYCURSOR;
580
a7b038eb688c Updated re2c-generated lexer code.
Ryan C. Gordon <icculus@icculus.org>
parents: 555
diff changeset
  1006
	if(YYLIMIT == YYCURSOR) YYFILL(1);
555
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1007
	yych = *YYCURSOR;
580
a7b038eb688c Updated re2c-generated lexer code.
Ryan C. Gordon <icculus@icculus.org>
parents: 555
diff changeset
  1008
	if(yych <= '9') {
a7b038eb688c Updated re2c-generated lexer code.
Ryan C. Gordon <icculus@icculus.org>
parents: 555
diff changeset
  1009
		if(yych <= '&') {
a7b038eb688c Updated re2c-generated lexer code.
Ryan C. Gordon <icculus@icculus.org>
parents: 555
diff changeset
  1010
			if(yych == 0x0A) goto yy73;
584
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
  1011
			goto yy187;
555
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1012
		} else {
584
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
  1013
			if(yych <= '\'') goto yy190;
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
  1014
			if(yych <= '/') goto yy187;
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
  1015
			goto yy194;
555
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1016
		}
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1017
	} else {
580
a7b038eb688c Updated re2c-generated lexer code.
Ryan C. Gordon <icculus@icculus.org>
parents: 555
diff changeset
  1018
		if(yych <= '[') {
584
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
  1019
			if(yych <= '@') goto yy187;
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
  1020
			if(yych <= 'F') goto yy194;
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
  1021
			goto yy187;
555
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1022
		} else {
584
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
  1023
			if(yych <= '\\') goto yy189;
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
  1024
			if(yych <= '`') goto yy187;
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
  1025
			if(yych <= 'f') goto yy194;
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
  1026
			goto yy187;
555
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1027
		}
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1028
	}
584
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
  1029
yy196:
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
  1030
	yyaccept = 4;
555
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1031
	yych = *(YYMARKER = ++YYCURSOR);
584
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
  1032
	if(yych == 'E') goto yy207;
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
  1033
	if(yych == 'e') goto yy207;
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
  1034
	goto yy206;
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
  1035
yy197:
555
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1036
	yyaccept = 0;
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1037
	YYMARKER = ++YYCURSOR;
580
a7b038eb688c Updated re2c-generated lexer code.
Ryan C. Gordon <icculus@icculus.org>
parents: 555
diff changeset
  1038
	if((YYLIMIT - YYCURSOR) < 4) YYFILL(4);
555
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1039
	yych = *YYCURSOR;
584
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
  1040
yy198:
580
a7b038eb688c Updated re2c-generated lexer code.
Ryan C. Gordon <icculus@icculus.org>
parents: 555
diff changeset
  1041
	if(yych <= 'L') {
a7b038eb688c Updated re2c-generated lexer code.
Ryan C. Gordon <icculus@icculus.org>
parents: 555
diff changeset
  1042
		if(yych <= '9') {
584
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
  1043
			if(yych == '.') goto yy196;
580
a7b038eb688c Updated re2c-generated lexer code.
Ryan C. Gordon <icculus@icculus.org>
parents: 555
diff changeset
  1044
			if(yych <= '/') goto yy7;
584
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
  1045
			goto yy197;
555
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1046
		} else {
584
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
  1047
			if(yych == 'E') goto yy199;
580
a7b038eb688c Updated re2c-generated lexer code.
Ryan C. Gordon <icculus@icculus.org>
parents: 555
diff changeset
  1048
			if(yych <= 'K') goto yy7;
584
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
  1049
			goto yy200;
555
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1050
		}
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1051
	} else {
580
a7b038eb688c Updated re2c-generated lexer code.
Ryan C. Gordon <icculus@icculus.org>
parents: 555
diff changeset
  1052
		if(yych <= 'e') {
584
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
  1053
			if(yych == 'U') goto yy200;
580
a7b038eb688c Updated re2c-generated lexer code.
Ryan C. Gordon <icculus@icculus.org>
parents: 555
diff changeset
  1054
			if(yych <= 'd') goto yy7;
555
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1055
		} else {
580
a7b038eb688c Updated re2c-generated lexer code.
Ryan C. Gordon <icculus@icculus.org>
parents: 555
diff changeset
  1056
			if(yych <= 'l') {
a7b038eb688c Updated re2c-generated lexer code.
Ryan C. Gordon <icculus@icculus.org>
parents: 555
diff changeset
  1057
				if(yych <= 'k') goto yy7;
584
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
  1058
				goto yy200;
555
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1059
			} else {
584
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
  1060
				if(yych == 'u') goto yy200;
555
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1061
				goto yy7;
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1062
			}
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1063
		}
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1064
	}
584
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
  1065
yy199:
555
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1066
	yych = *++YYCURSOR;
580
a7b038eb688c Updated re2c-generated lexer code.
Ryan C. Gordon <icculus@icculus.org>
parents: 555
diff changeset
  1067
	if(yych <= ',') {
584
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
  1068
		if(yych == '+') goto yy202;
555
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1069
		goto yy73;
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1070
	} else {
584
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
  1071
		if(yych <= '-') goto yy202;
580
a7b038eb688c Updated re2c-generated lexer code.
Ryan C. Gordon <icculus@icculus.org>
parents: 555
diff changeset
  1072
		if(yych <= '/') goto yy73;
584
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
  1073
		if(yych <= '9') goto yy203;
555
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1074
		goto yy73;
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1075
	}
584
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
  1076
yy200:
555
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1077
	++YYCURSOR;
580
a7b038eb688c Updated re2c-generated lexer code.
Ryan C. Gordon <icculus@icculus.org>
parents: 555
diff changeset
  1078
	if(YYLIMIT == YYCURSOR) YYFILL(1);
555
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1079
	yych = *YYCURSOR;
580
a7b038eb688c Updated re2c-generated lexer code.
Ryan C. Gordon <icculus@icculus.org>
parents: 555
diff changeset
  1080
	if(yych <= 'U') {
584
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
  1081
		if(yych == 'L') goto yy200;
580
a7b038eb688c Updated re2c-generated lexer code.
Ryan C. Gordon <icculus@icculus.org>
parents: 555
diff changeset
  1082
		if(yych <= 'T') goto yy7;
584
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
  1083
		goto yy200;
555
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1084
	} else {
580
a7b038eb688c Updated re2c-generated lexer code.
Ryan C. Gordon <icculus@icculus.org>
parents: 555
diff changeset
  1085
		if(yych <= 'l') {
a7b038eb688c Updated re2c-generated lexer code.
Ryan C. Gordon <icculus@icculus.org>
parents: 555
diff changeset
  1086
			if(yych <= 'k') goto yy7;
584
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
  1087
			goto yy200;
555
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1088
		} else {
584
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
  1089
			if(yych == 'u') goto yy200;
555
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1090
			goto yy7;
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1091
		}
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1092
	}
584
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
  1093
yy202:
555
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1094
	yych = *++YYCURSOR;
580
a7b038eb688c Updated re2c-generated lexer code.
Ryan C. Gordon <icculus@icculus.org>
parents: 555
diff changeset
  1095
	if(yych <= '/') goto yy73;
a7b038eb688c Updated re2c-generated lexer code.
Ryan C. Gordon <icculus@icculus.org>
parents: 555
diff changeset
  1096
	if(yych >= ':') goto yy73;
584
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
  1097
yy203:
555
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1098
	++YYCURSOR;
580
a7b038eb688c Updated re2c-generated lexer code.
Ryan C. Gordon <icculus@icculus.org>
parents: 555
diff changeset
  1099
	if(YYLIMIT == YYCURSOR) YYFILL(1);
555
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1100
	yych = *YYCURSOR;
580
a7b038eb688c Updated re2c-generated lexer code.
Ryan C. Gordon <icculus@icculus.org>
parents: 555
diff changeset
  1101
	if(yych <= 'K') {
a7b038eb688c Updated re2c-generated lexer code.
Ryan C. Gordon <icculus@icculus.org>
parents: 555
diff changeset
  1102
		if(yych <= '9') {
584
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
  1103
			if(yych <= '/') goto yy181;
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
  1104
			goto yy203;
555
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1105
		} else {
584
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
  1106
			if(yych == 'F') goto yy183;
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
  1107
			goto yy181;
555
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1108
		}
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1109
	} else {
580
a7b038eb688c Updated re2c-generated lexer code.
Ryan C. Gordon <icculus@icculus.org>
parents: 555
diff changeset
  1110
		if(yych <= 'f') {
584
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
  1111
			if(yych <= 'L') goto yy183;
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
  1112
			if(yych <= 'e') goto yy181;
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
  1113
			goto yy183;
555
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1114
		} else {
584
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
  1115
			if(yych == 'l') goto yy183;
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
  1116
			goto yy181;
555
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1117
		}
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1118
	}
584
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
  1119
yy205:
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
  1120
	yyaccept = 4;
555
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1121
	YYMARKER = ++YYCURSOR;
580
a7b038eb688c Updated re2c-generated lexer code.
Ryan C. Gordon <icculus@icculus.org>
parents: 555
diff changeset
  1122
	if((YYLIMIT - YYCURSOR) < 3) YYFILL(3);
555
940821555fda Initial work on preprocessor. Not yet complete!
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
  1123
	yych = *YYCURSOR;
584
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
  1124
yy206:
580
a7b038eb688c Updated re2c-generated lexer code.
Ryan C. Gordon <icculus@icculus.org>
parents: 555
diff changeset
  1125
	if(yych <= 'K') {
a7b038eb688c Updated re2c-generated lexer code.
Ryan C. Gordon <icculus@icculus.org>
parents: 555
diff changeset
  1126
		if(yych <= 'D') {
584
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
  1127
			if(yych <= '/') goto yy181;
9aea8877564d Updated lexer for HLSL.
Ryan C. Gordon <icculus@icculus.org>
parents: 580
diff changeset
  1128
			if(yyc