Skip to content
Tcl Source Code Artifact [dbc3c6bcda]
Login

Artifact [dbc3c6bcda]

Artifact dbc3c6bcda92c832d82b4df552505534221529e8:



#line 3 "<stdout>"

#define  YY_INT_ALIGNED short int

/* A lexical scanner generated by flex */

#define yy_create_buffer L__create_buffer
#define yy_delete_buffer L__delete_buffer
#define yy_flex_debug L__flex_debug
#define yy_init_buffer L__init_buffer
#define yy_flush_buffer L__flush_buffer
#define yy_load_buffer_state L__load_buffer_state
#define yy_switch_to_buffer L__switch_to_buffer
#define yyin L_in
#define yyleng L_leng
#define yylex L_lex
#define yylineno L_lineno
#define yyout L_out
#define yyrestart L_restart
#define yytext L_text
#define yywrap L_wrap
#define yyalloc L_alloc
#define yyrealloc L_realloc
#define yyfree L_free

#define FLEX_SCANNER
#define YY_FLEX_MAJOR_VERSION 2
#define YY_FLEX_MINOR_VERSION 5
#define YY_FLEX_SUBMINOR_VERSION 39
#if YY_FLEX_SUBMINOR_VERSION > 0
#define FLEX_BETA
#endif

/* First, we deal with  platform-specific or compiler-specific issues. */

/* begin standard C headers. */
#include <stdio.h>
#include <string.h>
#include <errno.h>
#include <stdlib.h>

/* end standard C headers. */

/* flex integer type definitions */

#ifndef FLEXINT_H
#define FLEXINT_H

/* C99 systems have <inttypes.h>. Non-C99 systems may or may not. */

#if defined (__STDC_VERSION__) && __STDC_VERSION__ >= 199901L

/* C99 says to define __STDC_LIMIT_MACROS before including stdint.h,
 * if you want the limit (max/min) macros for int types. 
 */
#ifndef __STDC_LIMIT_MACROS
#define __STDC_LIMIT_MACROS 1
#endif

#include <inttypes.h>
typedef int8_t flex_int8_t;
typedef uint8_t flex_uint8_t;
typedef int16_t flex_int16_t;
typedef uint16_t flex_uint16_t;
typedef int32_t flex_int32_t;
typedef uint32_t flex_uint32_t;
#else
typedef signed char flex_int8_t;
typedef short int flex_int16_t;
typedef int flex_int32_t;
typedef unsigned char flex_uint8_t; 
typedef unsigned short int flex_uint16_t;
typedef unsigned int flex_uint32_t;

/* Limits of integral types. */
#ifndef INT8_MIN
#define INT8_MIN               (-128)
#endif
#ifndef INT16_MIN
#define INT16_MIN              (-32767-1)
#endif
#ifndef INT32_MIN
#define INT32_MIN              (-2147483647-1)
#endif
#ifndef INT8_MAX
#define INT8_MAX               (127)
#endif
#ifndef INT16_MAX
#define INT16_MAX              (32767)
#endif
#ifndef INT32_MAX
#define INT32_MAX              (2147483647)
#endif
#ifndef UINT8_MAX
#define UINT8_MAX              (255U)
#endif
#ifndef UINT16_MAX
#define UINT16_MAX             (65535U)
#endif
#ifndef UINT32_MAX
#define UINT32_MAX             (4294967295U)
#endif

#endif /* ! C99 */

#endif /* ! FLEXINT_H */

#ifdef __cplusplus

/* The "const" storage-class-modifier is valid. */
#define YY_USE_CONST

#else	/* ! __cplusplus */

/* C99 requires __STDC__ to be defined as 1. */
#if defined (__STDC__)

#define YY_USE_CONST

#endif	/* defined (__STDC__) */
#endif	/* ! __cplusplus */

#ifdef YY_USE_CONST
#define yyconst const
#else
#define yyconst
#endif

/* Returned upon end-of-file. */
#define YY_NULL 0

/* Promotes a possibly negative, possibly signed char to an unsigned
 * integer for use as an array index.  If the signed char is negative,
 * we want to instead treat it as an 8-bit unsigned char, hence the
 * double cast.
 */
#define YY_SC_TO_UI(c) ((unsigned int) (unsigned char) c)

/* Enter a start condition.  This macro really ought to take a parameter,
 * but we do it the disgusting crufty way forced on us by the ()-less
 * definition of BEGIN.
 */
#define BEGIN (yy_start) = 1 + 2 *

/* Translate the current start state into a value that can be later handed
 * to BEGIN to return to the state.  The YYSTATE alias is for lex
 * compatibility.
 */
#define YY_START (((yy_start) - 1) / 2)
#define YYSTATE YY_START

/* Action number for EOF rule of a given start state. */
#define YY_STATE_EOF(state) (YY_END_OF_BUFFER + state + 1)

/* Special action meaning "start processing a new file". */
#define YY_NEW_FILE L_restart(L_in  )

#define YY_END_OF_BUFFER_CHAR 0

/* Size of default input buffer. */
#ifndef YY_BUF_SIZE
#ifdef __ia64__
/* On IA-64, the buffer size is 16k, not 8k.
 * Moreover, YY_BUF_SIZE is 2*YY_READ_BUF_SIZE in the general case.
 * Ditto for the __ia64__ case accordingly.
 */
#define YY_BUF_SIZE 32768
#else
#define YY_BUF_SIZE 16384
#endif /* __ia64__ */
#endif

/* The state buf must be large enough to hold one state per character in the main buffer.
 */
#define YY_STATE_BUF_SIZE   ((YY_BUF_SIZE + 2) * sizeof(yy_state_type))

#ifndef YY_TYPEDEF_YY_BUFFER_STATE
#define YY_TYPEDEF_YY_BUFFER_STATE
typedef struct yy_buffer_state *YY_BUFFER_STATE;
#endif

#ifndef YY_TYPEDEF_YY_SIZE_T
#define YY_TYPEDEF_YY_SIZE_T
typedef size_t yy_size_t;
#endif

extern yy_size_t L_leng;

extern FILE *L_in, *L_out;

#define EOB_ACT_CONTINUE_SCAN 0
#define EOB_ACT_END_OF_FILE 1
#define EOB_ACT_LAST_MATCH 2

    #define YY_LESS_LINENO(n)
    #define YY_LINENO_REWIND_TO(ptr)
    
/* Return all but the first "n" matched characters back to the input stream. */
#define yyless(n) \
	do \
		{ \
		/* Undo effects of setting up L_text. */ \
        int yyless_macro_arg = (n); \
        YY_LESS_LINENO(yyless_macro_arg);\
		*yy_cp = (yy_hold_char); \
		YY_RESTORE_YY_MORE_OFFSET \
		(yy_c_buf_p) = yy_cp = yy_bp + yyless_macro_arg - YY_MORE_ADJ; \
		YY_DO_BEFORE_ACTION; /* set up L_text again */ \
		} \
	while ( 0 )

#define unput(c) yyunput( c, (yytext_ptr)  )

#ifndef YY_STRUCT_YY_BUFFER_STATE
#define YY_STRUCT_YY_BUFFER_STATE
struct yy_buffer_state
	{
	FILE *yy_input_file;

	char *yy_ch_buf;		/* input buffer */
	char *yy_buf_pos;		/* current position in input buffer */

	/* Size of input buffer in bytes, not including room for EOB
	 * characters.
	 */
	yy_size_t yy_buf_size;

	/* Number of characters read into yy_ch_buf, not including EOB
	 * characters.
	 */
	yy_size_t yy_n_chars;

	/* Whether we "own" the buffer - i.e., we know we created it,
	 * and can realloc() it to grow it, and should free() it to
	 * delete it.
	 */
	int yy_is_our_buffer;

	/* Whether this is an "interactive" input source; if so, and
	 * if we're using stdio for input, then we want to use getc()
	 * instead of fread(), to make sure we stop fetching input after
	 * each newline.
	 */
	int yy_is_interactive;

	/* Whether we're considered to be at the beginning of a line.
	 * If so, '^' rules will be active on the next match, otherwise
	 * not.
	 */
	int yy_at_bol;

    int yy_bs_lineno; /**< The line count. */
    int yy_bs_column; /**< The column count. */
    
	/* Whether to try to fill the input buffer when we reach the
	 * end of it.
	 */
	int yy_fill_buffer;

	int yy_buffer_status;

#define YY_BUFFER_NEW 0
#define YY_BUFFER_NORMAL 1
	/* When an EOF's been seen but there's still some text to process
	 * then we mark the buffer as YY_EOF_PENDING, to indicate that we
	 * shouldn't try reading from the input source any more.  We might
	 * still have a bunch of tokens to match, though, because of
	 * possible backing-up.
	 *
	 * When we actually see the EOF, we change the status to "new"
	 * (via L_restart()), so that the user can continue scanning by
	 * just pointing L_in at a new input file.
	 */
#define YY_BUFFER_EOF_PENDING 2

	};
#endif /* !YY_STRUCT_YY_BUFFER_STATE */

/* Stack of input buffers. */
static size_t yy_buffer_stack_top = 0; /**< index of top of stack. */
static size_t yy_buffer_stack_max = 0; /**< capacity of stack. */
static YY_BUFFER_STATE * yy_buffer_stack = 0; /**< Stack as an array. */

/* We provide macros for accessing buffer states in case in the
 * future we want to put the buffer states in a more general
 * "scanner state".
 *
 * Returns the top of the stack, or NULL.
 */
#define YY_CURRENT_BUFFER ( (yy_buffer_stack) \
                          ? (yy_buffer_stack)[(yy_buffer_stack_top)] \
                          : NULL)

/* Same as previous macro, but useful when we know that the buffer stack is not
 * NULL or when we need an lvalue. For internal use only.
 */
#define YY_CURRENT_BUFFER_LVALUE (yy_buffer_stack)[(yy_buffer_stack_top)]

/* yy_hold_char holds the character lost when L_text is formed. */
static char yy_hold_char;
static yy_size_t yy_n_chars;		/* number of characters read into yy_ch_buf */
yy_size_t L_leng;

/* Points to current character in buffer. */
static char *yy_c_buf_p = (char *) 0;
static int yy_init = 0;		/* whether we need to initialize */
static int yy_start = 0;	/* start state number */

/* Flag which is used to allow L_wrap()'s to do buffer switches
 * instead of setting up a fresh L_in.  A bit of a hack ...
 */
static int yy_did_buffer_switch_on_eof;

void L_restart (FILE *input_file  );
void L__switch_to_buffer (YY_BUFFER_STATE new_buffer  );
YY_BUFFER_STATE L__create_buffer (FILE *file,int size  );
void L__delete_buffer (YY_BUFFER_STATE b  );
void L__flush_buffer (YY_BUFFER_STATE b  );
void L_push_buffer_state (YY_BUFFER_STATE new_buffer  );
void L_pop_buffer_state (void );

static void L_ensure_buffer_stack (void );
static void L__load_buffer_state (void );
static void L__init_buffer (YY_BUFFER_STATE b,FILE *file  );

#define YY_FLUSH_BUFFER L__flush_buffer(YY_CURRENT_BUFFER )

YY_BUFFER_STATE L__scan_buffer (char *base,yy_size_t size  );
YY_BUFFER_STATE L__scan_string (yyconst char *yy_str  );
YY_BUFFER_STATE L__scan_bytes (yyconst char *bytes,yy_size_t len  );

void *L_alloc (yy_size_t  );
void *L_realloc (void *,yy_size_t  );
void L_free (void *  );

#define yy_new_buffer L__create_buffer

#define yy_set_interactive(is_interactive) \
	{ \
	if ( ! YY_CURRENT_BUFFER ){ \
        L_ensure_buffer_stack (); \
		YY_CURRENT_BUFFER_LVALUE =    \
            L__create_buffer(L_in,YY_BUF_SIZE ); \
	} \
	YY_CURRENT_BUFFER_LVALUE->yy_is_interactive = is_interactive; \
	}

#define yy_set_bol(at_bol) \
	{ \
	if ( ! YY_CURRENT_BUFFER ){\
        L_ensure_buffer_stack (); \
		YY_CURRENT_BUFFER_LVALUE =    \
            L__create_buffer(L_in,YY_BUF_SIZE ); \
	} \
	YY_CURRENT_BUFFER_LVALUE->yy_at_bol = at_bol; \
	}

#define YY_AT_BOL() (YY_CURRENT_BUFFER_LVALUE->yy_at_bol)

/* Begin user sect3 */

#define L_wrap() 1
#define YY_SKIP_YYWRAP

typedef unsigned char YY_CHAR;

FILE *L_in = (FILE *) 0, *L_out = (FILE *) 0;

typedef int yy_state_type;

extern int L_lineno;

int L_lineno = 1;

extern char *L_text;
#define yytext_ptr L_text

static yy_state_type yy_get_previous_state (void );
static yy_state_type yy_try_NUL_trans (yy_state_type current_state  );
static int yy_get_next_buffer (void );
static void yy_fatal_error (yyconst char msg[]  );

/* Done after the current pattern has been matched and before the
 * corresponding action - sets up L_text.
 */
#define YY_DO_BEFORE_ACTION \
	(yytext_ptr) = yy_bp; \
	L_leng = (size_t) (yy_cp - yy_bp); \
	(yy_hold_char) = *yy_cp; \
	*yy_cp = '\0'; \
	(yy_c_buf_p) = yy_cp;

#define YY_NUM_RULES 206
#define YY_END_OF_BUFFER 207
/* This struct is not used in this scanner,
   but its presence is necessary. */
struct yy_trans_info
	{
	flex_int32_t yy_verify;
	flex_int32_t yy_nxt;
	};
static yyconst flex_int16_t yy_acclist[819] =
    {   0,
      138,  138,  142,  142,  207,  205,  206,  117,  205,  206,
      118,  206,  118,  205,  206,  118,  205,  206,    7,  205,
      206,  119,  205,  206,  205,  206,   12,  205,  206,   28,
      205,  206,  120,  205,  206,    1,  205,  206,    2,  205,
      206,   10,  205,  206,    8,  205,  206,    6,  205,  206,
        9,  205,  206,   36,  205,  206,   11,  205,  206,  103,
      205,  206,  103,  205,  206,   92,  205,  206,   35,  205,
      206,   89,  205,  206,   34,  205,  206,   87,  205,  206,
       93,  205,  206,   99,  205,  206,    4,  205,  206,    5,
      205,  206,   30,  205,  206,   99,  205,  206,  121,  205,

      206,   99,  205,  206,   99,  205,  206,   99,  205,  206,
       99,  205,  206,   99,  205,  206,   99,  205,  206,   99,
      205,  206,   99,  205,  206,   99,  205,  206,   99,  205,
      206,   99,  205,  206,   99,  205,  206,   99,  205,  206,
       99,  205,  206,   99,  205,  206,   99,  205,  206,   99,
      205,  206,   99,  205,  206,   99,  205,  206,   99,  205,
      206,    3,  205,  206,   29,  205,  206,  146,  205,  206,
       31,  205,  206,  205,  206,  200,  206,  199,  206,  202,
      206,  201,  202,  206,  141,  206,  138,  141,  206,  138,
      206,  139,  141,  206,  141,  206,  145,  206,  142,  145,

      206,  142,  206,  143,  145,  206,  145,  206,  198,  206,
      196,  206,  198,  206,  198,  206,  191,  206,  192,  206,
      159,  206,  158,  206,  162,  206,  157,  206,  206,  168,
      206,  166,  206,  170,  206,  206,  175,  206,  176,  206,
      174,  206,  206,  178,  206,  148,  206,  117,  148,  206,
      118,  148,  206,  118,  148,  206,    7,  148,  206,  119,
      148,  206,  148,  206,   12,  148,  206,   28,  148,  206,
      120,  148,  206,    1,  148,  206,    2,  148,  206,   10,
      148,  206,    8,  148,  206,    6,  148,  206,    9,  148,
      206,   36,  148,  206,   11,  148,  206,  103,  148,  206,

      103,  148,  206,   92,  148,  206,   35,  148,  206,   89,
      148,  206,   34,  148,  206,   87,  148,  206,   93,  148,
      206,   99,  148,  206,    4,  148,  206,    5,  148,  206,
       30,  148,  206,   99,  148,  206,  121,  148,  206,   99,
      148,  206,   99,  148,  206,   99,  148,  206,   99,  148,
      206,   99,  148,  206,   99,  148,  206,   99,  148,  206,
       99,  148,  206,   99,  148,  206,   99,  148,  206,   99,
      148,  206,   99,  148,  206,   99,  148,  206,   99,  148,
      206,   99,  148,  206,   99,  148,  206,   99,  148,  206,
       99,  148,  206,   99,  148,  206,   99,  148,  206,    3,

      148,  206,   29,  148,  206,  147,  148,  206,   31,  148,
      206,  148,  206,  190,  206,  190,  206,  190,  206,  187,
      190,  206,  189,  190,  206,  190,  206,  181,  206,  180,
      181,  206,  181,  206,  203,  206,  204,  206,  136,  206,
      136,  206,  136,  206,  137,  206,  117,   86,  102,   17,
       26,   18,   15,   24,   13,   25,   14,   91,   38,  106,
       23,  122,   16,  103,   99,   32,   90,   85,   78,   88,
       33,   94,   99,  100,   99,   20,   99,  100,   99,   99,
       99,   99,   99,   99,   99,   99,   99,   54,   99,   99,
       79,   99,   99,   99,   99,   84,   99,   99,   83,   99,

       50,   99,   99,   82,   99,   81,   99,   80,   99,   99,
       97,   99,   99,   99,   99,   99,   99,   99,   99,   99,
       99,   99,   99,   99,   99,   99,   19,   27,  114,  114,
      201,  138,  140,  142,  144,  197,  194,  195,  191,  193,
      159,  161,  160,  156,  150,  156,  149,  156,  151,  156,
      156,  168,  169,  167,  165,  164,  167,  163,  167,  175,
      177,  173,  172,  171,  173,  186,  185,  183,  182,  184,
      189,  188,  180,  179,  135,  115,  115,   37,  124,   39,
      116,  116,  104,  105,   21,   22,  101,   99,   99,   99,
       99,   95,   99,   99,   99,   99,   99,   99,   99,   99,

       99,   99,   99,   55,   99,   99,   99,   46,   99,   96,
       99,   99,   99,   99,   99,   99,   99,   99,   77,   99,
       99,   99,   99,   99,   99,   98,   99,  114,  152,  135,
      115,  123,  116,  125,   99,   99,   99,   99,   99,   75,
       99,   99,   99,   99,   99,   99,   99,   51,   99,   99,
       99,   99,   99,   73,   99,   99,   48,   99,   99,   99,
       99,   99,   99,   99,   99,   99,   99,   43,   99,   99,
       99,  153,  131,  131,  128,  131,  130,  126,  130,   99,
       99,   99,   99,   60,   99,   40,   99,   99,   99,   99,
       99,   99,   99,   99,   47,   99,   99,   99,   99,   99,

       99,   49,   99,   99,   99,   99,   99,   99,   53,   99,
       99,  154,  131,  131,  128,  131,   99,   99,   99,   99,
       99,   99,   99,   99,   99,   67,   99,   41,   99,   99,
       99,   99,   64,   99,   42,   99,   44,   99,   56,   99,
       74,   99,   99,   52,   99,   45,   99,  109,  114,  114,
      155,  133,  132,  127,  129,   99,   99,   99,   99,   99,
       99,   76,   99,   58,   99,   99,   59,   99,   99,   63,
       99,   57,   99,  109,  114,   68,   99,   99,   99,   99,
       99,   61,   99,   99,   62,   99,  112,  107,  109,  114,
      113,  134,   99,   99,   71,   99,   99,   99,   69,   99,

       99,   99,   66,   99,  114,  114,  114,   70,   99,   72,
       99,   65,   99,  110,  111,  108,  109,  114
    } ;

static yyconst flex_int16_t yy_accept[584] =
    {   0,
        1,    1,    1,    1,    1,    1,    1,    2,    3,    4,
        5,    5,    5,    5,    5,    5,    5,    5,    5,    5,
        5,    5,    5,    5,    5,    5,    5,    5,    5,    5,
        5,    5,    5,    5,    5,    6,    8,   11,   13,   16,
       19,   22,   25,   27,   30,   33,   36,   39,   42,   45,
       48,   51,   54,   57,   60,   63,   66,   69,   72,   75,
       78,   81,   84,   87,   90,   93,   96,   99,  102,  105,
      108,  111,  114,  117,  120,  123,  126,  129,  132,  135,
      138,  141,  144,  147,  150,  153,  156,  159,  162,  165,
      168,  171,  174,  176,  178,  180,  182,  185,  187,  190,

      192,  195,  197,  199,  202,  204,  207,  209,  211,  213,
      215,  217,  219,  221,  223,  225,  227,  229,  230,  232,
      234,  236,  237,  239,  241,  243,  244,  246,  248,  251,
      254,  257,  260,  263,  265,  268,  271,  274,  277,  280,
      283,  286,  289,  292,  295,  298,  301,  304,  307,  310,
      313,  316,  319,  322,  325,  328,  331,  334,  337,  340,
      343,  346,  349,  352,  355,  358,  361,  364,  367,  370,
      373,  376,  379,  382,  385,  388,  391,  394,  397,  400,
      403,  406,  409,  412,  414,  416,  418,  420,  423,  426,
      428,  430,  433,  435,  437,  439,  441,  443,  445,  447,

      448,  448,  448,  448,  449,  449,  450,  451,  452,  453,
      454,  455,  456,  457,  458,  459,  460,  461,  462,  463,
      463,  464,  464,  465,  465,  465,  466,  467,  468,  468,
      468,  469,  470,  470,  471,  472,  473,  474,  475,  476,
      477,  478,  479,  480,  481,  482,  483,  484,  485,  486,
      487,  488,  490,  491,  493,  494,  495,  496,  498,  499,
      501,  503,  504,  506,  508,  510,  511,  513,  514,  515,
      516,  517,  518,  519,  520,  521,  522,  523,  524,  525,
      526,  527,  528,  529,  529,  530,  531,  531,  531,  531,
      532,  533,  534,  535,  536,  537,  538,  539,  540,  541,

      542,  542,  543,  544,  545,  547,  549,  551,  552,  553,
      553,  554,  555,  556,  558,  560,  561,  562,  563,  564,
      566,  567,  568,  569,  570,  571,  572,  572,  573,  573,
      573,  574,  574,  575,  575,  575,  576,  576,  576,  577,
      578,  579,  579,  580,  580,  581,  581,  582,  583,  584,
      585,  586,  586,  586,  586,  587,  588,  589,  590,  591,
      592,  594,  595,  596,  597,  598,  599,  600,  601,  602,
      603,  604,  606,  607,  608,  610,  612,  613,  614,  615,
      616,  617,  618,  619,  621,  622,  623,  624,  625,  626,
      628,  629,  629,  629,  629,  630,  631,  631,  632,  633,

      634,  634,  634,  634,  634,  635,  636,  637,  638,  639,
      640,  642,  643,  644,  645,  646,  647,  648,  650,  651,
      652,  653,  654,  656,  657,  659,  660,  661,  662,  663,
      664,  665,  666,  667,  668,  670,  671,  672,  672,  672,
      672,  673,  673,  674,  674,  675,  675,  677,  678,  679,
      680,  681,  682,  683,  684,  686,  688,  689,  690,  691,
      692,  693,  694,  695,  697,  698,  699,  700,  701,  702,
      704,  705,  706,  707,  708,  709,  711,  712,  712,  712,
      712,  713,  713,  714,  714,  714,  715,  715,  717,  718,
      719,  720,  721,  722,  723,  724,  725,  726,  728,  730,

      731,  732,  733,  735,  737,  739,  741,  743,  744,  746,
      748,  748,  748,  748,  750,  751,  751,  752,  752,  753,
      753,  754,  755,  756,  756,  757,  758,  759,  760,  761,
      762,  764,  766,  767,  769,  770,  772,  774,  774,  774,
      776,  776,  776,  778,  779,  780,  781,  782,  784,  785,
      787,  788,  788,  791,  792,  793,  794,  795,  797,  798,
      799,  799,  799,  799,  799,  801,  802,  803,  805,  805,
      806,  806,  807,  807,  808,  808,  810,  812,  814,  815,
      816,  819,  819
    } ;

static yyconst flex_int32_t yy_ec[256] =
    {   0,
        1,    1,    1,    1,    1,    1,    1,    1,    2,    3,
        1,    4,    5,    1,    1,    1,    1,    1,    1,    1,
        1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
        1,    2,    6,    7,    8,    9,   10,   11,   12,   13,
       14,   15,   16,   17,   18,   19,   20,   21,   22,   22,
       22,   22,   22,   22,   22,   23,   23,   24,   25,   26,
       27,   28,   29,    1,   30,   30,   30,   30,   30,   30,
       31,   31,   31,   31,   31,   31,   31,   31,   31,   31,
       31,   31,   31,   31,   31,   31,   31,   31,   31,   31,
       32,   33,   34,   35,   36,   37,   38,   39,   40,   41,

       42,   43,   44,   45,   46,   47,   48,   49,   50,   51,
       52,   53,   54,   55,   56,   57,   58,   59,   60,   61,
       62,   47,   63,   64,   65,   66,    1,    1,    1,    1,
        1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
        1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
        1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
        1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
        1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
        1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
        1,    1,    1,    1,    1,    1,    1,    1,    1,    1,

        1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
        1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
        1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
        1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
        1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
        1,    1,    1,    1,    1
    } ;

static yyconst flex_int32_t yy_meta[67] =
    {   0,
        1,    2,    3,    1,    4,    1,    5,    1,    6,    1,
        1,    7,    4,    8,    9,    1,    1,    1,    1,    1,
       10,   10,   10,   11,   12,    1,    1,    1,    1,   13,
       14,    1,   15,    1,    1,   16,   17,   13,   13,   13,
       13,   13,   13,   14,   14,   14,   14,   14,   14,   14,
       14,   14,   14,   14,   14,   14,   14,   14,   14,   14,
       14,   14,    1,    1,    1,    1
    } ;

static yyconst flex_int16_t yy_base[637] =
    {   0,
        0, 1883, 1885, 1881,   23,   24,   72,   80,   84,   88,
       85,   92,   93,   94, 1866, 1865,  102,  103,   95,  111,
      110,  112,  149, 1870,  207,  243,    0,  304, 1874, 1871,
     1844,   91,    0,    0, 1867, 2002,  215,  219, 2002,  223,
      192, 2002,  110, 1839,  113, 2002, 2002, 2002, 1836,  121,
     2002,  209,  227,  236,  210,  238, 1836, 2002,   52,  305,
      114, 1831,  211, 2002, 2002, 1831,  215, 2002,  217,  254,
      287,  343,  344,  289,  345, 1833,  348,  346,  352,  351,
      355,  288,  358,  354,  219,  349,  376,  356, 2002,  250,
     2002, 2002,  378, 2002, 2002, 2002,  271, 2002,  316,  321,

     2002,    0, 2002,  387,  423, 2002,    0, 2002, 2002,  411,
        0,    0, 1836,    0, 2002,  433, 1790,  386,    0, 2002,
      443,  417,    0, 2002, 1773,  414, 2002, 2002,  451, 2002,
      458,  203, 2002,  443, 1792,  385, 2002, 2002, 2002, 1754,
      239, 2002,  440,  457,  442,  464,  469, 1753, 2002,  445,
      491,  454, 1747,  350, 2002, 2002, 1747,  451, 2002,  449,
      471,  475,  478,  474,  390,  480, 1749,  488,  487,  491,
      481,  490,  510,  514,  485,  517,  497,  527,  526, 2002,
      519, 2002, 2002,  550, 2002, 1709,  551, 2002, 1769,  427,
     2002, 1768,  555, 2002, 2002, 2002, 1738, 1715, 2002,  574,

      587,  324,  505, 2002,  561,  564, 2002, 2002, 2002, 2002,
     2002, 2002, 2002, 2002, 2002, 1744,  579, 2002, 2002,  556,
     2002,  586,  591,  548,    0,  580, 1735, 2002,  592, 1735,
     2002, 2002,  617, 2002, 1733, 2002,  581, 1735,  105, 2002,
     1734, 1733,  574,  567,  591,  597,  599,   60,  602,  600,
      603, 1732,  604, 1731,  608,  606,  609, 1728,  611, 1724,
     1722,  615, 1721, 1720, 1719,  612, 1718,  621,  610,  298,
      618,  625,  623,  630,  619,  624,  631,  633,  638,  642,
      639, 2002, 2002,  647, 2002,  682,  683,  686,  687,  649,
      694, 2002,  698, 2002, 2002, 2002, 2002,    0, 2002,    0,

      702, 2002, 2002, 2002, 2002, 2002, 2002,    0,    0,  708,
     2002, 2002, 2002, 2002, 2002,    0, 2002, 2002, 2002, 2002,
     2002, 2002, 2002, 2002, 2002, 1739,  699, 2002,  705, 1735,
     1733,  711, 2002,  712, 1731, 1706, 1686,  713, 2002,  714,
      720,  724, 2002,    0, 2002,  728, 2002,  735,  724,    0,
     2002,  774,  839,    0, 2002, 2002,  697,  704,  711,  715,
     1707,  719,  723,  819,  821,  724,  822,  726,  725,  727,
      728,  729,  824,  823, 1706, 1705,  825,  360,  832,  826,
      827,  828,  831, 1704,  731,  829,  841,  834,  846, 1703,
     2002,  857,  858,  861,    0, 2002, 1675, 2002, 2002, 2002,

        0,  909, 1694,  975, 2002,  833,  830,  843,  848,  844,
     1673,  845, 1018, 1019, 1020, 1021, 1022, 1670, 1023, 1024,
     1025,  869, 1648, 1026, 1640, 1028, 1027, 1029, 1030, 1032,
     1031, 1036, 1039, 1033, 1636, 1043, 1044, 1056, 1085, 1088,
        0, 1596,    0,    0, 1617,    0,    0, 2002, 2002,    0,
     1038, 1046, 1057, 1045, 1604, 1602, 1071, 1074, 1075, 1076,
     1077, 1078, 1079, 1591, 1080, 1082, 1083, 1088, 1085, 1568,
     1087, 1084, 1089, 1097, 1086, 1561, 1090, 1112,  900, 1140,
        0, 1574,    0, 1563, 1571, 1557, 1556,    0, 1113, 1099,
     1120, 1098, 1092, 1105, 1122, 1124, 1127, 1539, 1535, 1128,

     1129, 1130, 1534, 1533, 1261, 1260, 1252,  532, 1243, 1225,
     1153,  751, 1175, 2002,  755, 1154, 2002, 1162, 2002, 1154,
     2002, 2002, 2002, 1046, 1147, 1137, 1136, 1144, 1151, 1157,
      740,  735, 1150,  688, 1162,  482,  473, 1184, 1198, 2002,
     1203, 1206,  425, 1178, 1152, 1187, 1186,  353, 1188,  292,
     1239, 1245, 2002, 1213, 2002, 1189,  629,  240, 1193, 1198,
     1252,  901, 1234, 1227, 1200, 1209, 1214,  122, 1261, 1267,
     1255, 1258, 1268, 1274,  893,  115,   52,   47, 1220, 1277,
     2002, 2002, 1286, 1303, 1320, 1337, 1354, 1371, 1388, 1405,
     1422, 1439, 1456, 1473, 1490, 1507, 1515, 1522, 1538, 1555,

     1572, 1589, 1606, 1623, 1640, 1657, 1674, 1691, 1707, 1723,
     1737, 1752, 1766, 1782, 1799,  262,  552, 1816, 1833, 1517,
     1838, 1848, 1524, 1855, 1859, 1869, 1873, 1880, 1896, 1573,
     1907, 1923, 1934, 1950, 1967, 1984
    } ;

static yyconst flex_int16_t yy_def[637] =
    {   0,
      582,    1,  583,  583,  584,  584,  585,  585,  586,  586,
      587,  587,  587,  587,  588,  588,  589,  589,  590,  590,
      591,  591,  582,   23,  592,  592,  593,  593,  594,  594,
      595,  595,  596,  596,  582,  582,  582,  582,  582,  582,
      582,  582,  582,  582,  582,  582,  582,  582,  582,  582,
      582,  582,  582,  582,  582,  582,  582,  582,  582,  582,
      582,  582,  597,  582,  582,  582,  598,  582,  598,  598,
      598,  598,  598,  598,  598,  598,  598,  598,  598,  598,
      598,  598,  598,  598,  598,  598,  598,  598,  582,  582,
      582,  582,  599,  582,  582,  582,  582,  582,  582,  582,

      582,  600,  582,  582,  582,  582,  601,  582,  582,  582,
      602,  603,  582,  604,  582,  582,  582,  605,  606,  582,
      582,  607,  608,  582,  582,  609,  582,  582,  582,  582,
      582,  582,  582,  582,  582,  582,  582,  582,  582,  582,
      582,  582,  582,  582,  582,  582,  582,  582,  582,  582,
      582,  582,  582,  597,  582,  582,  582,  598,  582,  598,
      598,  598,  598,  598,  598,  598,  598,  598,  598,  598,
      598,  598,  598,  598,  598,  598,  598,  598,  598,  582,
      582,  582,  582,  599,  582,  582,  582,  582,  610,  611,
      582,  612,  613,  582,  582,  582,  582,  582,  582,  582,

      582,  614,  582,  582,  582,  582,  582,  582,  582,  582,
      582,  582,  582,  582,  582,  582,  582,  582,  582,  615,
      582,  582,  582,  582,  616,  597,  582,  582,  582,  582,
      582,  582,  582,  582,  582,  582,  597,  582,  598,  582,
      598,  582,  598,  598,  598,  598,  598,  598,  598,  598,
      598,  598,  598,  598,  598,  598,  598,  598,  598,  598,
      598,  598,  598,  598,  598,  598,  598,  598,  598,  598,
      598,  598,  598,  598,  598,  598,  598,  598,  598,  598,
      598,  582,  582,  599,  582,  599,  599,  599,  599,  582,
      582,  582,  582,  582,  582,  582,  582,  603,  582,  604,

      582,  582,  582,  582,  582,  582,  582,  617,  606,  582,
      582,  582,  582,  582,  582,  608,  582,  582,  582,  582,
      582,  582,  582,  582,  582,  610,  611,  582,  611,  582,
      612,  613,  582,  613,  582,  582,  582,  614,  582,  614,
      582,  582,  582,  618,  582,  615,  582,  615,  582,  616,
      582,  582,  582,  619,  582,  582,  598,  598,  598,  598,
      598,  598,  598,  598,  598,  598,  598,  598,  598,  598,
      598,  598,  598,  598,  598,  598,  598,  598,  598,  598,
      598,  598,  598,  598,  598,  598,  598,  598,  598,  598,
      582,  599,  599,  599,  620,  582,  582,  582,  582,  582,

      621,  582,  622,  582,  582,  598,  598,  598,  598,  598,
      598,  598,  598,  598,  598,  598,  598,  598,  598,  598,
      598,  598,  598,  598,  598,  598,  598,  598,  598,  598,
      598,  598,  598,  598,  598,  598,  598,  599,  599,  599,
      623,  582,  624,  625,  626,  627,  628,  582,  582,  404,
      598,  598,  598,  598,  598,  598,  598,  598,  598,  598,
      598,  598,  598,  598,  598,  598,  598,  598,  598,  598,
      598,  598,  598,  598,  598,  598,  598,  599,  629,  599,
      630,  582,  624,  631,  632,  626,  633,  628,  598,  598,
      598,  598,  598,  598,  598,  598,  598,  598,  598,  598,

      598,  598,  598,  598,  598,  598,  598,  598,  598,  598,
      599,  629,  629,  582,  629,  599,  582,  582,  582,  631,
      582,  582,  582,  633,  598,  598,  598,  598,  598,  598,
      598,  598,  598,  598,  598,  598,  598,  599,  629,  582,
      599,  582,  598,  598,  598,  598,  598,  598,  598,  598,
      599,  629,  582,  599,  582,  598,  598,  598,  598,  598,
      599,  634,  635,  636,  598,  598,  598,  598,  634,  634,
      635,  635,  636,  636,  629,  598,  598,  598,  599,  599,
      582,    0,  582,  582,  582,  582,  582,  582,  582,  582,
      582,  582,  582,  582,  582,  582,  582,  582,  582,  582,

      582,  582,  582,  582,  582,  582,  582,  582,  582,  582,
      582,  582,  582,  582,  582,  582,  582,  582,  582,  582,
      582,  582,  582,  582,  582,  582,  582,  582,  582,  582,
      582,  582,  582,  582,  582,  582
    } ;

static yyconst flex_int16_t yy_nxt[2069] =
    {   0,
       36,   37,   38,   39,   40,   41,   42,   36,   43,   44,
       45,   46,   47,   48,   49,   50,   51,   52,   53,   54,
       55,   56,   56,   57,   58,   59,   60,   61,   62,   63,
       63,   64,   36,   65,   66,   67,   68,   69,   70,   71,
       72,   73,   74,   75,   76,   77,   76,   76,   78,   76,
       79,   80,   81,   76,   82,   83,   84,   85,   86,   87,
       88,   76,   89,   90,   91,   92,   97,   97,   97,   97,
      242,   97,   97,   99,  100,  242,   99,  227,  228,   97,
       97,   99,  100,  242,   99,  104,  105,  109,  104,  104,
      105,  101,  104,  110,  109,  109,  109,  120,  198,  101,

      110,  110,  110,  106,  115,  115,  121,  106,  116,  116,
      117,  117,  124,  120,  124,  363,  197,  111,  125,  356,
      125,  102,  121,  208,  111,  111,  111,  122,  242,  102,
      206,  206,  206,  107,  118,  118,  211,  107,  242,  209,
      234,  235,  126,  122,  126,  242,  127,  212,  127,  128,
      129,   38,  130,  131,  132,  133,  128,  134,  135,  136,
      137,  138,  139,  140,  141,  142,  143,  144,  145,  146,
      147,  147,  148,  149,  150,  151,  152,  153,  154,  154,
      155,  128,  156,  157,  158,  159,  160,  161,  162,  163,
      164,  165,  166,  167,  168,  167,  167,  169,  167,  170,

      171,  172,  167,  173,  174,  175,  176,  177,  178,  179,
      167,  180,  181,  182,  183,  186,  200,  201,  204,  201,
      201,  201,  202,  201,  201,  201,  213,  201,  222,  204,
      223,  223,  223,  203,  238,  214,  215,  203,  242,  187,
      242,  203,  242,  188,  189,  216,  239,  217,  217,  217,
      219,  186,  243,  218,  211,  220,  222,  205,  223,  223,
      223,  224,  221,  242,  244,  212,  245,  246,  205,  277,
      225,  350,  190,  190,  350,  187,  282,  242,  190,  188,
      190,  190,  190,  190,  190,  190,  190,  190,  190,  190,
      190,  190,  190,  190,  190,  190,  190,  190,  190,  190,

      190,  190,  190,  190,  190,  192,  229,  229,  247,  229,
      242,  242,  242,  283,  290,  242,  290,  291,  291,  290,
      291,  242,  291,  291,  248,  291,  339,  290,  340,  271,
      230,  231,  232,  193,  193,  249,  379,  256,  250,  193,
      257,  193,  193,  193,  193,  193,  193,  193,  193,  193,
      193,  193,  193,  193,  193,  193,  193,  193,  193,  193,
      193,  193,  193,  193,  193,  193,  242,  242,  242,  242,
      233,  242,  242,  238,  242,  242,  242,  242,  242,  242,
      285,  242,  286,  242,  251,  239,  258,  263,  293,  293,
      261,  293,  253,  265,  252,  208,  259,  254,  262,  242,

      278,  260,  264,  266,  255,  267,  268,  281,  275,  269,
      272,  209,  270,  242,  273,  276,  319,  274,  426,  313,
      279,  280,  320,  287,  293,  293,  288,  293,  314,  328,
      289,  295,  295,  295,  301,  301,  305,  301,  256,  302,
      306,  257,  307,  308,  310,  310,  320,  310,  242,  315,
      320,  330,  200,  201,  311,  201,  219,  213,  202,  201,
      201,  220,  201,  206,  206,  206,  214,  215,  221,  203,
      227,  228,  242,  296,  242,  216,  203,  217,  217,  217,
      234,  235,  222,  218,  223,  223,  223,  222,  243,  223,
      223,  223,  229,  229,  242,  229,  242,  242,  242,  246,

      244,  242,  245,  242,  242,  242,  341,  341,  242,  341,
      242,  242,  248,  242,  242,  224,  230,  231,  232,  251,
      242,  258,  253,  249,  225,  247,  250,  254,  263,  252,
      261,  259,  265,  242,  255,  267,  260,  242,  262,  275,
      242,  268,  266,  264,  269,  282,  276,  270,  278,  242,
      242,  271,  285,  322,  286,  242,  233,  333,  347,  323,
      348,  395,  342,  342,  395,  342,  272,  277,  349,  349,
      273,  279,  280,  274,  537,  200,  201,  281,  201,  335,
      343,  202,  283,  324,  206,  206,  206,  325,  201,  201,
      242,  201,  203,  229,  229,  287,  229,  242,  288,  217,

      217,  217,  289,  238,  238,  203,  217,  217,  217,  222,
      344,  223,  223,  223,  242,  239,  239,  230,  353,  353,
      242,  353,  242,  242,  359,  242,  242,  242,  357,  242,
      358,  242,  242,  242,  242,  242,  343,  361,  242,  364,
      362,  242,  242,  360,  242,  366,  242,  242,  242,  285,
      365,  286,  242,  242,  242,  378,  242,  371,  367,  368,
      369,  242,  242,  372,  370,  242,  344,  373,  376,  377,
      374,  375,  354,  381,  380,  383,  385,  382,  387,  386,
      384,  566,  389,  388,  391,  285,  286,  286,  285,  285,
      286,  286,  290,  390,  290,  291,  291,  290,  291,  293,

      293,  328,  293,  301,  301,  290,  301,  328,  302,  310,
      310,  242,  310,  333,  333,  339,  398,  340,  340,  311,
      242,  341,  341,  330,  341,  342,  342,  242,  342,  330,
      347,  393,  348,  392,  242,  335,  335,  400,  242,  348,
      406,  394,  242,  343,  349,  349,  242,  242,  242,  242,
      242,  242,  242,  514,  242,  515,  410,  540,  242,  515,
      407,  415,  419,  242,  411,  421,  408,  418,  420,  416,
      422,  409,  433,  344,  401,  401,  401,  401,  401,  401,
      401,  401,  401,  401,  401,  402,  401,  401,  401,  401,
      401,  403,  401,  401,  401,  401,  401,  401,  401,  401,

      401,  401,  401,  404,  404,  401,  401,  401,  401,  404,
      401,  404,  404,  404,  404,  404,  404,  404,  404,  404,
      404,  404,  404,  404,  404,  404,  404,  404,  404,  404,
      404,  404,  404,  404,  404,  404,  401,  401,  401,  401,
      353,  353,  242,  353,  242,  242,  242,  242,  242,  242,
      242,  242,  242,  242,  242,  242,  242,  242,  343,  285,
      285,  286,  286,  285,  242,  286,  242,  242,  242,  242,
      434,  242,  429,  430,  412,  423,  413,  414,  417,  424,
      427,  435,  436,  428,  452,  431,  425,  432,  344,  437,
      451,  455,  242,  454,  354,  581,  438,  515,  440,  453,

      456,  513,  514,  285,  515,  570,  465,  284,  439,  444,
      444,  444,  444,  444,  444,  444,  444,  444,  444,  444,
      444,  444,  444,  444,  444,  444,  444,  444,  444,  444,
      444,  444,  444,  444,  444,  444,  444,  444,  445,  445,
      444,  444,  444,  444,  445,  444,  445,  445,  445,  445,
      445,  445,  445,  445,  445,  445,  445,  445,  445,  445,
      445,  445,  445,  445,  445,  445,  445,  445,  445,  445,
      445,  444,  444,  444,  444,  448,  448,  449,  448,  448,
      448,  448,  448,  448,  448,  448,  448,  448,  448,  448,
      448,  448,  448,  448,  448,  450,  450,  450,  448,  448,

      448,  448,  448,  448,  450,  450,  448,  448,  448,  448,
      450,  448,  450,  450,  450,  450,  450,  450,  450,  450,
      450,  450,  450,  450,  450,  450,  450,  450,  450,  450,
      450,  450,  450,  450,  450,  450,  450,  448,  448,  448,
      448,  242,  242,  242,  242,  242,  242,  242,  242,  242,
      242,  242,  242,  242,  242,  242,  242,  523,  285,  242,
      286,  242,  242,  466,  458,  467,  242,  242,  242,  242,
      472,  460,  468,  462,  457,  473,  461,  459,  463,  474,
      242,  464,  471,  469,  476,  477,  470,  285,  475,  286,
      285,  490,  286,  489,  242,  491,  492,  242,  242,  242,

      242,  242,  242,  242,  478,  242,  242,  242,  242,  242,
      242,  242,  242,  242,  285,  242,  286,  496,  498,  500,
      242,  242,  242,  495,  494,  493,  479,  503,  242,  499,
      505,  480,  501,  507,  497,  504,  242,  526,  508,  502,
      506,  509,  285,  242,  286,  242,  510,  242,  528,  529,
      242,  242,  242,  242,  525,  285,  285,  286,  286,  242,
      242,  527,  530,  518,  532,  519,  533,  242,  535,  511,
      242,  536,  534,  242,  242,  242,  513,  514,  531,  515,
      242,  546,  542,  542,  542,  242,  285,  543,  286,  516,
      547,  541,  545,  538,  544,  539,  539,  539,  548,  552,

      553,  242,  515,  550,  554,  285,  549,  286,  555,  242,
      242,  242,  242,  557,  554,  285,  242,  286,  539,  539,
      539,  242,  285,  242,  286,  551,  542,  542,  542,  514,
      565,  574,  242,  575,  556,  558,  285,  242,  572,  560,
      561,  285,  559,  286,  567,  562,  552,  514,  242,  515,
      577,  564,  568,  561,  285,  576,  286,  285,  562,  572,
      391,  284,  572,  285,  563,  570,  242,  579,  578,  391,
      514,  570,  574,  579,  575,  242,  540,  563,  574,  285,
      575,  286,  580,  242,  242,  580,   94,   94,   94,   94,
       94,   94,   94,   94,   94,   94,   94,   94,   94,   94,

       94,   94,   94,   96,   96,   96,   96,   96,   96,   96,
       96,   96,   96,   96,   96,   96,   96,   96,   96,   96,
       98,   98,   98,   98,   98,   98,   98,   98,   98,   98,
       98,   98,   98,   98,   98,   98,   98,  103,  103,  103,
      103,  103,  103,  103,  103,  103,  103,  103,  103,  103,
      103,  103,  103,  103,  108,  108,  108,  108,  108,  108,
      108,  108,  108,  108,  108,  108,  108,  108,  108,  108,
      108,  112,  112,  112,  112,  112,  112,  112,  112,  112,
      112,  112,  112,  112,  112,  112,  112,  112,  114,  114,
      114,  114,  114,  114,  114,  114,  114,  114,  114,  114,

      114,  114,  114,  114,  114,  119,  119,  119,  119,  119,
      119,  119,  119,  119,  119,  119,  119,  119,  119,  119,
      119,  119,  123,  123,  123,  123,  123,  123,  123,  123,
      123,  123,  123,  123,  123,  123,  123,  123,  123,  185,
      185,  185,  185,  185,  185,  185,  185,  185,  185,  185,
      185,  185,  185,  185,  185,  185,  191,  191,  191,  191,
      191,  191,  191,  191,  191,  191,  191,  191,  191,  191,
      191,  191,  191,  194,  194,  194,  194,  194,  194,  194,
      194,  194,  194,  194,  194,  194,  194,  194,  194,  194,
      196,  196,  196,  196,  196,  196,  196,  196,  196,  196,

      196,  196,  196,  196,  196,  196,  196,  199,  199,  199,
      199,  199,  199,  199,  199,  199,  199,  199,  199,  199,
      199,  199,  199,  199,  237,  237,  441,  237,  237,  441,
      237,  241,  241,  481,  241,  241,  481,  241,  284,  284,
      284,  284,  284,  284,  284,  284,  284,  284,  284,  284,
      284,  284,  284,  284,  284,  292,  242,  242,  242,  292,
      292,  292,  242,  292,  292,  292,  292,  523,  485,  292,
      292,  292,  294,  522,  519,  518,  294,  294,  294,  294,
      294,  294,  517,  294,  242,  517,  294,  294,  294,  297,
      297,  242,  297,  297,  297,  297,  297,  297,  297,  297,

      297,  297,  297,  297,  297,  297,  298,  298,  298,  298,
      298,  298,  298,  298,  242,  298,  298,  298,  298,  298,
      298,  298,  298,  300,  300,  242,  300,  242,  485,  300,
      300,  300,  300,  300,  300,  300,  300,  482,  300,  300,
      304,  304,  304,  304,  304,  304,  304,  304,  304,  304,
      304,  304,  304,  304,  304,  304,  304,  309,  309,  242,
      309,  309,  309,  242,  309,  309,  309,  309,  309,  309,
      309,  242,  309,  309,  312,  312,  312,  312,  312,  312,
      312,  312,  312,  312,  312,  312,  312,  312,  312,  312,
      312,  316,  316,  242,  316,  316,  242,  316,  316,  316,

      316,  316,  316,  316,  316,  446,  316,  318,  318,  318,
      318,  318,  318,  318,  318,  318,  318,  318,  318,  318,
      318,  318,  318,  318,  327,  442,  242,  242,  242,  242,
      242,  397,  396,  333,  331,  327,  327,  328,  327,  329,
      326,  242,  242,  242,  242,  242,  329,  242,  329,  329,
      329,  242,  329,  332,  242,  242,  241,  242,  237,  355,
      352,  351,  345,  337,  332,  332,  336,  332,  334,  331,
      326,  321,  242,  240,  236,  334,  226,  334,  334,  334,
      210,  334,  338,  338,  338,  338,  338,  338,  338,  338,
      338,  338,  338,  338,  338,  338,  338,  338,  338,  346,

      346,  346,  346,  346,  346,  346,  346,  346,  346,  346,
      346,  346,  346,  346,  346,  346,  399,  399,  207,  399,
      399,  399,  399,  399,  399,  399,  399,  399,  399,  399,
      399,  399,  399,  405,  405,  317,  405,  405,  405,  405,
      405,  405,  405,  405,  405,  405,  405,  405,  405,  405,
      443,  443,  303,  443,  447,  299,  242,  240,  236,  226,
      447,  447,  210,  447,  483,  207,  582,  483,  483,  197,
      483,  484,  484,  195,  484,  486,  195,  184,  486,  113,
      113,  486,  486,   95,  486,  487,  487,   95,  487,  488,
       93,  582,  488,  488,  582,  488,  512,  512,  512,  512,

      512,  512,  512,  512,  512,  512,  512,  512,  512,  512,
      512,  512,  512,  520,  582,  582,  520,  582,  582,  520,
      520,  582,  520,  521,  521,  521,  521,  521,  521,  521,
      521,  521,  521,  521,  521,  521,  521,  521,  521,  521,
      524,  582,  582,  524,  582,  582,  524,  524,  582,  524,
      569,  569,  569,  569,  569,  569,  569,  569,  569,  569,
      569,  569,  569,  569,  569,  569,  569,  571,  571,  571,
      571,  571,  571,  571,  571,  571,  571,  571,  571,  571,
      571,  571,  571,  571,  573,  573,  573,  573,  573,  573,
      573,  573,  573,  573,  573,  573,  573,  573,  573,  573,

      573,   35,  582,  582,  582,  582,  582,  582,  582,  582,
      582,  582,  582,  582,  582,  582,  582,  582,  582,  582,
      582,  582,  582,  582,  582,  582,  582,  582,  582,  582,
      582,  582,  582,  582,  582,  582,  582,  582,  582,  582,
      582,  582,  582,  582,  582,  582,  582,  582,  582,  582,
      582,  582,  582,  582,  582,  582,  582,  582,  582,  582,
      582,  582,  582,  582,  582,  582,  582,  582
    } ;

static yyconst flex_int16_t yy_chk[2069] =
    {   0,
        1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
        1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
        1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
        1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
        1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
        1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
        1,    1,    1,    1,    1,    1,    5,    6,    5,    6,
      578,    5,    6,    7,    7,  577,    7,   59,   59,    5,
        6,    8,    8,  248,    8,    9,    9,   11,    9,   10,
       10,    7,   10,   11,   12,   13,   14,   19,   32,    8,

       12,   13,   14,    9,   17,   18,   19,   10,   17,   18,
       17,   18,   21,   20,   22,  248,   32,   11,   21,  239,
       22,    7,   20,   45,   12,   13,   14,   19,  239,    8,
       43,   43,   43,    9,   17,   18,   50,   10,  576,   45,
       61,   61,   21,   20,   22,  568,   21,   50,   22,   23,
       23,   23,   23,   23,   23,   23,   23,   23,   23,   23,
       23,   23,   23,   23,   23,   23,   23,   23,   23,   23,
       23,   23,   23,   23,   23,   23,   23,   23,   23,   23,
       23,   23,   23,   23,   23,   23,   23,   23,   23,   23,
       23,   23,   23,   23,   23,   23,   23,   23,   23,   23,

       23,   23,   23,   23,   23,   23,   23,   23,   23,   23,
       23,   23,   23,   23,   23,   25,   37,   37,   41,   37,
       38,   38,   37,   38,   40,   40,   52,   40,   55,  132,
       55,   55,   55,   37,   63,   52,   52,   38,   67,   25,
       69,   40,   85,   25,   26,   53,   63,   53,   53,   53,
       54,   26,   67,   53,  141,   54,   56,   41,   56,   56,
       56,   55,   54,  558,   67,  141,   67,   69,  132,   85,
       55,  616,   26,   26,  616,   26,   90,   70,   26,   26,
       26,   26,   26,   26,   26,   26,   26,   26,   26,   26,
       26,   26,   26,   26,   26,   26,   26,   26,   26,   26,

       26,   26,   26,   26,   26,   28,   60,   60,   70,   60,
       71,   82,   74,   90,   97,  550,   97,   99,   99,   97,
       99,  270,  100,  100,   71,  100,  202,   97,  202,   82,
       60,   60,   60,   28,   28,   71,  270,   74,   71,   28,
       74,   28,   28,   28,   28,   28,   28,   28,   28,   28,
       28,   28,   28,   28,   28,   28,   28,   28,   28,   28,
       28,   28,   28,   28,   28,   28,   72,   73,   75,   78,
       60,   77,   86,  154,   80,   79,  548,   84,   81,   88,
       93,   83,   93,  378,   72,  154,   75,   78,  104,  104,
       77,  104,   73,   79,   72,  136,   75,   73,   77,   87,

       86,   75,   78,   79,   73,   80,   81,   88,   84,   81,
       83,  136,   81,  165,   83,   84,  126,   83,  378,  122,
       87,   87,  126,   93,  105,  105,   93,  105,  122,  190,
       93,  110,  110,  110,  116,  116,  118,  116,  165,  116,
      118,  165,  118,  118,  121,  121,  126,  121,  543,  122,
      126,  190,  129,  129,  121,  129,  145,  143,  129,  131,
      131,  145,  131,  134,  134,  134,  143,  143,  145,  129,
      150,  150,  160,  110,  158,  144,  131,  144,  144,  144,
      152,  152,  146,  144,  146,  146,  146,  147,  158,  147,
      147,  147,  151,  151,  161,  151,  537,  164,  162,  160,

      158,  163,  158,  166,  171,  536,  203,  203,  175,  203,
      169,  168,  162,  172,  170,  146,  151,  151,  151,  163,
      177,  166,  164,  162,  146,  161,  162,  164,  169,  163,
      168,  166,  170,  173,  164,  171,  166,  174,  168,  175,
      176,  172,  170,  169,  172,  181,  175,  172,  177,  179,
      178,  173,  184,  187,  184,  508,  151,  193,  220,  187,
      220,  617,  205,  205,  617,  205,  174,  176,  224,  224,
      174,  178,  178,  174,  508,  200,  200,  179,  200,  193,
      205,  200,  181,  187,  206,  206,  206,  187,  201,  201,
      244,  201,  200,  229,  229,  184,  229,  243,  184,  217,

      217,  217,  184,  226,  237,  201,  222,  222,  222,  223,
      205,  223,  223,  223,  245,  226,  237,  229,  233,  233,
      246,  233,  247,  250,  244,  249,  251,  253,  243,  256,
      243,  255,  257,  269,  259,  266,  233,  246,  262,  249,
      247,  271,  275,  245,  268,  251,  273,  276,  272,  284,
      250,  284,  557,  274,  277,  269,  278,  256,  251,  253,
      255,  279,  281,  257,  255,  280,  233,  259,  266,  268,
      262,  262,  233,  272,  271,  274,  276,  273,  278,  277,
      275,  557,  280,  279,  286,  287,  286,  287,  288,  289,
      288,  289,  290,  281,  290,  291,  291,  290,  291,  293,

      293,  327,  293,  301,  301,  290,  301,  329,  301,  310,
      310,  534,  310,  332,  334,  338,  340,  338,  340,  310,
      357,  341,  341,  327,  341,  342,  342,  358,  342,  329,
      346,  288,  346,  287,  359,  332,  334,  348,  360,  348,
      357,  289,  362,  342,  349,  349,  363,  366,  369,  368,
      370,  371,  372,  512,  385,  512,  362,  515,  532,  515,
      358,  366,  369,  531,  363,  371,  359,  368,  370,  366,
      372,  360,  385,  342,  352,  352,  352,  352,  352,  352,
      352,  352,  352,  352,  352,  352,  352,  352,  352,  352,
      352,  352,  352,  352,  352,  352,  352,  352,  352,  352,

      352,  352,  352,  352,  352,  352,  352,  352,  352,  352,
      352,  352,  352,  352,  352,  352,  352,  352,  352,  352,
      352,  352,  352,  352,  352,  352,  352,  352,  352,  352,
      352,  352,  352,  352,  352,  352,  352,  352,  352,  352,
      353,  353,  364,  353,  365,  367,  374,  373,  377,  380,
      381,  382,  386,  407,  383,  379,  406,  388,  353,  392,
      393,  392,  393,  394,  387,  394,  408,  410,  412,  389,
      386,  409,  381,  382,  364,  373,  365,  365,  367,  374,
      379,  387,  388,  380,  407,  382,  377,  383,  353,  389,
      406,  410,  422,  409,  353,  575,  392,  575,  394,  408,

      412,  479,  479,  562,  479,  562,  422,  562,  393,  402,
      402,  402,  402,  402,  402,  402,  402,  402,  402,  402,
      402,  402,  402,  402,  402,  402,  402,  402,  402,  402,
      402,  402,  402,  402,  402,  402,  402,  402,  402,  402,
      402,  402,  402,  402,  402,  402,  402,  402,  402,  402,
      402,  402,  402,  402,  402,  402,  402,  402,  402,  402,
      402,  402,  402,  402,  402,  402,  402,  402,  402,  402,
      402,  402,  402,  402,  402,  404,  404,  404,  404,  404,
      404,  404,  404,  404,  404,  404,  404,  404,  404,  404,
      404,  404,  404,  404,  404,  404,  404,  404,  404,  404,

      404,  404,  404,  404,  404,  404,  404,  404,  404,  404,
      404,  404,  404,  404,  404,  404,  404,  404,  404,  404,
      404,  404,  404,  404,  404,  404,  404,  404,  404,  404,
      404,  404,  404,  404,  404,  404,  404,  404,  404,  404,
      404,  413,  414,  415,  416,  417,  419,  420,  421,  424,
      427,  426,  428,  429,  431,  430,  434,  524,  438,  432,
      438,  451,  433,  424,  414,  426,  436,  437,  454,  452,
      431,  416,  427,  419,  413,  432,  417,  415,  420,  433,
      453,  421,  430,  428,  436,  437,  429,  439,  434,  439,
      440,  452,  440,  451,  457,  453,  454,  458,  459,  460,

      461,  462,  463,  465,  438,  466,  467,  472,  469,  475,
      471,  468,  473,  477,  478,  493,  478,  460,  462,  465,
      474,  492,  490,  459,  458,  457,  439,  468,  494,  463,
      471,  440,  466,  473,  461,  469,  489,  490,  474,  467,
      472,  475,  480,  491,  480,  495,  477,  496,  492,  493,
      497,  500,  501,  502,  489,  511,  516,  511,  516,  527,
      526,  491,  494,  518,  496,  520,  497,  528,  501,  478,
      525,  502,  500,  533,  529,  545,  513,  513,  495,  513,
      530,  528,  518,  518,  518,  535,  538,  525,  538,  480,
      529,  516,  527,  511,  526,  513,  513,  513,  530,  539,

      539,  544,  539,  535,  541,  541,  533,  541,  542,  547,
      546,  549,  556,  545,  554,  554,  559,  554,  539,  539,
      539,  560,  579,  565,  579,  538,  542,  542,  542,  564,
      556,  564,  566,  564,  544,  546,  563,  567,  563,  549,
      551,  551,  547,  551,  559,  551,  552,  552,  510,  552,
      566,  552,  560,  561,  561,  565,  561,  571,  561,  571,
      572,  563,  572,  569,  551,  569,  509,  569,  567,  570,
      573,  570,  573,  570,  573,  507,  574,  561,  574,  580,
      574,  580,  571,  506,  505,  572,  583,  583,  583,  583,
      583,  583,  583,  583,  583,  583,  583,  583,  583,  583,

      583,  583,  583,  584,  584,  584,  584,  584,  584,  584,
      584,  584,  584,  584,  584,  584,  584,  584,  584,  584,
      585,  585,  585,  585,  585,  585,  585,  585,  585,  585,
      585,  585,  585,  585,  585,  585,  585,  586,  586,  586,
      586,  586,  586,  586,  586,  586,  586,  586,  586,  586,
      586,  586,  586,  586,  587,  587,  587,  587,  587,  587,
      587,  587,  587,  587,  587,  587,  587,  587,  587,  587,
      587,  588,  588,  588,  588,  588,  588,  588,  588,  588,
      588,  588,  588,  588,  588,  588,  588,  588,  589,  589,
      589,  589,  589,  589,  589,  589,  589,  589,  589,  589,

      589,  589,  589,  589,  589,  590,  590,  590,  590,  590,
      590,  590,  590,  590,  590,  590,  590,  590,  590,  590,
      590,  590,  591,  591,  591,  591,  591,  591,  591,  591,
      591,  591,  591,  591,  591,  591,  591,  591,  591,  592,
      592,  592,  592,  592,  592,  592,  592,  592,  592,  592,
      592,  592,  592,  592,  592,  592,  593,  593,  593,  593,
      593,  593,  593,  593,  593,  593,  593,  593,  593,  593,
      593,  593,  593,  594,  594,  594,  594,  594,  594,  594,
      594,  594,  594,  594,  594,  594,  594,  594,  594,  594,
      595,  595,  595,  595,  595,  595,  595,  595,  595,  595,

      595,  595,  595,  595,  595,  595,  595,  596,  596,  596,
      596,  596,  596,  596,  596,  596,  596,  596,  596,  596,
      596,  596,  596,  596,  597,  597,  620,  597,  597,  620,
      597,  598,  598,  623,  598,  598,  623,  598,  599,  599,
      599,  599,  599,  599,  599,  599,  599,  599,  599,  599,
      599,  599,  599,  599,  599,  600,  504,  503,  499,  600,
      600,  600,  498,  600,  600,  600,  600,  487,  486,  600,
      600,  600,  601,  485,  484,  482,  601,  601,  601,  601,
      601,  601,  630,  601,  476,  630,  601,  601,  601,  602,
      602,  470,  602,  602,  602,  602,  602,  602,  602,  602,

      602,  602,  602,  602,  602,  602,  603,  603,  603,  603,
      603,  603,  603,  603,  464,  603,  603,  603,  603,  603,
      603,  603,  603,  604,  604,  456,  604,  455,  445,  604,
      604,  604,  604,  604,  604,  604,  604,  442,  604,  604,
      605,  605,  605,  605,  605,  605,  605,  605,  605,  605,
      605,  605,  605,  605,  605,  605,  605,  606,  606,  435,
      606,  606,  606,  425,  606,  606,  606,  606,  606,  606,
      606,  423,  606,  606,  607,  607,  607,  607,  607,  607,
      607,  607,  607,  607,  607,  607,  607,  607,  607,  607,
      607,  608,  608,  418,  608,  608,  411,  608,  608,  608,

      608,  608,  608,  608,  608,  403,  608,  609,  609,  609,
      609,  609,  609,  609,  609,  609,  609,  609,  609,  609,
      609,  609,  609,  609,  610,  397,  390,  384,  376,  375,
      361,  337,  336,  335,  331,  610,  610,  330,  610,  611,
      326,  267,  265,  264,  263,  261,  611,  260,  611,  611,
      611,  258,  611,  612,  254,  252,  242,  241,  238,  235,
      230,  227,  216,  198,  612,  612,  197,  612,  613,  192,
      189,  186,  167,  157,  153,  613,  148,  613,  613,  613,
      140,  613,  614,  614,  614,  614,  614,  614,  614,  614,
      614,  614,  614,  614,  614,  614,  614,  614,  614,  615,

      615,  615,  615,  615,  615,  615,  615,  615,  615,  615,
      615,  615,  615,  615,  615,  615,  618,  618,  135,  618,
      618,  618,  618,  618,  618,  618,  618,  618,  618,  618,
      618,  618,  618,  619,  619,  125,  619,  619,  619,  619,
      619,  619,  619,  619,  619,  619,  619,  619,  619,  619,
      621,  621,  117,  621,  622,  113,   76,   66,   62,   57,
      622,  622,   49,  622,  624,   44,   35,  624,  624,   31,
      624,  625,  625,   30,  625,  626,   29,   24,  626,   16,
       15,  626,  626,    4,  626,  627,  627,    3,  627,  628,
        2,    0,  628,  628,    0,  628,  629,  629,  629,  629,

      629,  629,  629,  629,  629,  629,  629,  629,  629,  629,
      629,  629,  629,  631,    0,    0,  631,    0,    0,  631,
      631,    0,  631,  632,  632,  632,  632,  632,  632,  632,
      632,  632,  632,  632,  632,  632,  632,  632,  632,  632,
      633,    0,    0,  633,    0,    0,  633,  633,    0,  633,
      634,  634,  634,  634,  634,  634,  634,  634,  634,  634,
      634,  634,  634,  634,  634,  634,  634,  635,  635,  635,
      635,  635,  635,  635,  635,  635,  635,  635,  635,  635,
      635,  635,  635,  635,  636,  636,  636,  636,  636,  636,
      636,  636,  636,  636,  636,  636,  636,  636,  636,  636,

      636,  582,  582,  582,  582,  582,  582,  582,  582,  582,
      582,  582,  582,  582,  582,  582,  582,  582,  582,  582,
      582,  582,  582,  582,  582,  582,  582,  582,  582,  582,
      582,  582,  582,  582,  582,  582,  582,  582,  582,  582,
      582,  582,  582,  582,  582,  582,  582,  582,  582,  582,
      582,  582,  582,  582,  582,  582,  582,  582,  582,  582,
      582,  582,  582,  582,  582,  582,  582,  582
    } ;

extern int L__flex_debug;
int L__flex_debug = 0;

static yy_state_type *yy_state_buf=0, *yy_state_ptr=0;
static char *yy_full_match;
static int yy_lp;
#define REJECT \
{ \
*yy_cp = (yy_hold_char); /* undo effects of setting up L_text */ \
yy_cp = (yy_full_match); /* restore poss. backed-over text */ \
++(yy_lp); \
goto find_rule; \
}

#define yymore() yymore_used_but_not_detected
#define YY_MORE_ADJ 0
#define YY_RESTORE_YY_MORE_OFFSET
char *L_text;
#line 1 "../generic/Lscanner.l"
#define YY_NO_INPUT 1
















#line 24 "../generic/Lscanner.l"
/*
 * Copyright (c) 2006-2008 BitMover, Inc.
 */
#include <string.h>
#define	_PWD_H			// Some solaris9 conflict, we don't need pwd.h
#include "tclInt.h"
#include "Lcompile.h"
#include "Lgrammar.h"
#include "tommath.h"

private void	extract_re_delims(char c);
private int	include_pop();
private int	include_push(Tcl_Channel chan, char *name);
private Tcl_Channel include_search(char *file, char **path, int cwdOnly);
private Tcl_Channel include_try(Tcl_Obj *fileObj, int *found);
private void	inject(char *s);
private void	interpol_lbrace();
private void	interpol_pop();
private int	interpol_push();
private int	interpol_rbrace();
private void	put_back(char c);
private void	tally_newlines(char *s, int len, int tally);

// Max nesting depth of string interpolations.
#define INTERPOL_STACK_SZ	10

// Stack for tracking include() statements.
#define INCLUDE_STACK_SZ	10
typedef struct {
	char	*name;
	char	*dir;
	int	line;
	YY_BUFFER_STATE	buf;
} Include;

private char	re_start_delim;	// delimiters for m|regexp| form
private char	re_end_delim;
private Tcl_Obj	*str;		// string collection buffer
private int	str_beg;	// source offset of string
private char	*here_delim = NULL;
private char	*here_pfx = NULL;
private int	include_top;
private Include	include_stk[INCLUDE_STACK_SZ+1];
private Tcl_HashTable *include_table = NULL;
private	int	interpol_top = -1;
private	int	interpol_stk[INTERPOL_STACK_SZ+1];
private int	in_lhtml = 0;	// Lhtml mode

#define STRBUF_START(beg)			\
	do {					\
		str = Tcl_NewObj();		\
		Tcl_IncrRefCount(str);		\
		str_beg = (beg);		\
	} while (0)


#define STRBUF_STRING()		Tcl_GetString(str)

#define STRBUF_STARTED()	(str != NULL)

#define STRBUF_ADD(s, len)	Tcl_AppendToObj(str, s, len)

#define STRBUF_STOP(e)				\
	do {					\
		Tcl_DecrRefCount(str);		\
		str = NULL;			\
		L_lloc.beg = str_beg;		\
		L_lloc.end = (e);		\
	} while (0)

/*
 * Keep track of the current offset in the input string.
 * YY_USER_ACTION is run before each action.  Note that some actions
 * further modify L_lloc.
 */

#define YY_USER_ACTION	yy_user_action();

private void
yy_user_action()
{
	L->prev_token_off = L->token_off;
	L->token_off     += L->prev_token_len;
	L->prev_token_len = L_leng;

	L_lloc.beg = L->token_off;
	L_lloc.end = L->token_off + L_leng;

	tally_newlines(L_text, L_leng, 1);
	L_lloc.line = L->line;

	L_lloc.file = L->file;

	/*
	 * Build up in L->script the text that the scanner scans.
	 * The compiler later passes this on to tcl as the script
	 * source.  This allows include() stmts to be handled properly.
	 */
	Tcl_AppendToObj(L->script, L_text, L_leng);
	L->script_len += L_leng;
}

/*
 * Un-do the effects of the YY_USER_ACTION on the token offset
 * tracking.  This is useful in include() processing where the
 * characters in the '#include "file"' must be ignored.
 */
private void
undo_yy_user_action()
{
	L->prev_token_len = L->token_off - L->prev_token_off;
	L->token_off      = L->prev_token_off;

	L_lloc.beg = L->prev_token_off;
	L_lloc.end = L->prev_token_off + L->prev_token_len;

	tally_newlines(L_text, L_leng, -1);
	L_lloc.line = L->line;

	L->script_len -= L_leng;
	Tcl_SetObjLength(L->script, L->script_len);
}

/*
 * Inject the given string into the L script text, but do not give it
 * to the scanner.  This is useful for inserting #line directives (for
 * #include's) which need to remain in the script so Tcl can see them
 * but which aren't parsed.
 */
private void
inject(char *s)
{
	int	len = strlen(s);

	L->prev_token_len += len;

	Tcl_AppendToObj(L->script, s, len);
	L->script_len += len;
}

/*
 * Count the newlines in a string and add the number to L->line.  Pass
 * in tally == 1 to count them and tally == -1 to undo it.
 */
private void
tally_newlines(char *s, int len, int tally)
{
	char	*end, *p;

	for (p = s, end = p + len; p < end; p++) {
		if (*p == '\n') {
			L->line += tally;
		} else if ((*p == '\r') && ((p+1) < end) && (*(p+1) != '\n')) {
			/* Mac line endings. */
			L->line += tally;
		}
	}
}

private Tcl_Channel
include_try(Tcl_Obj *fileObj, int *found)
{
	int		new;
	Tcl_Channel	chan;
	char		*file = Tcl_GetString(fileObj);
	char		*path;
	Tcl_Obj		*pathObj;

	/*
	 * See if the normalized path has been included before.  If the path
	 * isn't absolute, consider it to be relative to where L->file is.
	 */
	if (Tcl_FSGetPathType(fileObj) == TCL_PATH_ABSOLUTE) {
		if ((pathObj = Tcl_FSGetNormalizedPath(NULL, fileObj)) == NULL){
			L_err("unable to normalize include file %s", file);
			return (NULL);
		}
	} else {
		pathObj = Tcl_ObjPrintf("%s/%s", L->dir, file);
	}
	Tcl_IncrRefCount(pathObj);

	path = Tcl_GetString(pathObj);
	Tcl_CreateHashEntry(include_table, path, &new);
	if (new) {
		chan = Tcl_FSOpenFileChannel(L->interp, pathObj, "r", 0666);
		*found = (chan != NULL);
		return (chan);
	} else {
		*found = 1;  // already included
		return (NULL);
	}
	Tcl_DecrRefCount(pathObj);
}

/*
 * Search for an include file.  If the path is absolute, use it.
 * Else, for #include <file> (cwdOnly == 0) try
 *    $BIN/include  (where BIN is where the running tclsh lives)
 *    /usr/local/include/L
 *    /usr/include/L
 * For #include "file" (cwdOnly == 1) look only in the directory
 * where the script doing the #include resides.
 */
private Tcl_Channel
include_search(char *file, char **path, int cwdOnly)
{
	int		found, len;
	Tcl_Channel	chan;
	Tcl_Obj		*binObj = NULL;
	Tcl_Obj		*fileObj;

	unless (include_table) {
		include_table = (Tcl_HashTable *)ckalloc(sizeof(Tcl_HashTable));
		Tcl_InitHashTable(include_table, TCL_STRING_KEYS);
	}

	fileObj = Tcl_NewStringObj(file, -1);
	Tcl_IncrRefCount(fileObj);
	if ((Tcl_FSGetPathType(fileObj) == TCL_PATH_ABSOLUTE) || cwdOnly) {
		chan = include_try(fileObj, &found);
	} else {
		/* Try $BIN/include */
		binObj = TclGetObjNameOfExecutable();
		Tcl_GetStringFromObj(binObj, &len);
		if (len > 0) {
			Tcl_DecrRefCount(fileObj);
			/* TclPathPart bumps the ref count. */
			fileObj = TclPathPart(L->interp, binObj,
			    TCL_PATH_DIRNAME);
			Tcl_AppendPrintfToObj(fileObj, "/include/%s", file);
			chan = include_try(fileObj, &found);
			if (found) goto done;
		}
		/* Try /usr/local/include/L */
		Tcl_DecrRefCount(fileObj);
		fileObj = Tcl_ObjPrintf("/usr/local/include/L/%s", file);
		Tcl_IncrRefCount(fileObj);
		chan = include_try(fileObj, &found);
		if (found) goto done;
		/* Try /usr/include/L */
		Tcl_DecrRefCount(fileObj);
		fileObj = Tcl_ObjPrintf("/usr/include/L/%s", file);
		Tcl_IncrRefCount(fileObj);
		chan = include_try(fileObj, &found);
	}
 done:
	unless (found) {
		L_err("cannot find include file %s", file);
	}
	if (path) *path = ckstrdup(Tcl_GetString(fileObj));
	Tcl_DecrRefCount(fileObj);
	return (chan);
}

private int
include_push(Tcl_Channel chan, char *name)
{
	YY_BUFFER_STATE buf;
	Tcl_Obj		*objPtr;
	char		*dec = NULL, *script;
	int		len, ret;

	/* Read the file into memory. */
	objPtr = Tcl_NewObj();
	Tcl_IncrRefCount(objPtr);
	if (Tcl_ReadChars(chan, objPtr, -1, 0) < 0) {
		Tcl_Close(L->interp, chan);
		L_err("error reading include file %s", name);
		return (0);
	}
	Tcl_Close(L->interp, chan);

	/* If it is encrypted, decrypt it. */
	script = Tcl_GetStringFromObj(objPtr, &len);

	/* Create a new flex buffer with the file contents. */
	if (include_top >= INCLUDE_STACK_SZ) {
		L_err("include file nesting too deep -- aborting");
		while (include_pop()) ;
		ret = 0;
	} else {
		++include_top;
		include_stk[include_top].name = L->file;
		include_stk[include_top].dir  = L->dir;
		include_stk[include_top].line = L->line;
		include_stk[include_top].buf = YY_CURRENT_BUFFER;
		buf = L__scan_bytes(script,len);
		L->file = name;
		L->dir  = L_dirname(L->file);
		L->line = 1;
		inject("#line 1\n");
		ret = 1;
	}
	Tcl_DecrRefCount(objPtr);
	if (dec) ckfree(dec);
	return (ret);
}

private int
include_pop()
{
	char	*s;

	if (include_top >= 0) {
		L->file = include_stk[include_top].name;
		L->dir  = include_stk[include_top].dir;
		L->line = include_stk[include_top].line;
		L__delete_buffer(YY_CURRENT_BUFFER);
		L__switch_to_buffer(include_stk[include_top].buf);
		--include_top;
		s = cksprintf("#line %d\n", L->line);
		inject(s);
		ckfree(s);
		return (1);
	} else {
		return (0);
	}
}

/*
 * Given a decimal, hex, or octal integer constant of arbitrary
 * precision, return a canonical string representation.  This is done
 * by converting it to a bignum and then taking its string rep.
 */
private char *
canonical_num(char *num)
{
	char	*ret;
	Tcl_Obj	*obj;
	mp_int	big;

	obj = Tcl_NewStringObj(num, -1);
	Tcl_IncrRefCount(obj);
	Tcl_TakeBignumFromObj(NULL, obj, &big);
	Tcl_SetBignumObj(obj, &big);
	ret = ckstrdup(Tcl_GetString(obj));
	Tcl_DecrRefCount(obj);
	return (ret);
}

/*
 * Work around a Windows problem where our getopt type conficts
 * with the system's.
 */
#undef getopt
#undef optarg
#undef optind

#line 1605 "<stdout>"

#define INITIAL 0
#define re_delim 1
#define re_modifier 2
#define re_arg_split 3
#define re_arg_case 4
#define glob_re 5
#define subst_re 6
#define comment 7
#define str_double 8
#define str_single 9
#define str_backtick 10
#define interpol 11
#define here_doc_interp 12
#define here_doc_nointerp 13
#define eat_through_eol 14
#define lhtml 15
#define lhtml_expr_start 16

#ifndef YY_NO_UNISTD_H
/* Special case for "unistd.h", since it is non-ANSI. We include it way
 * down here because we want the user's section 1 to have been scanned first.
 * The user has a chance to override it with an option.
 */
#include <unistd.h>
#endif

#ifndef YY_EXTRA_TYPE
#define YY_EXTRA_TYPE void *
#endif

static int yy_init_globals (void );

/* Accessor methods to globals.
   These are made visible to non-reentrant scanners for convenience. */

int L_lex_destroy (void );

int L_get_debug (void );

void L_set_debug (int debug_flag  );

YY_EXTRA_TYPE L_get_extra (void );

void L_set_extra (YY_EXTRA_TYPE user_defined  );

FILE *L_get_in (void );

void L_set_in  (FILE * in_str  );

FILE *L_get_out (void );

void L_set_out  (FILE * out_str  );

yy_size_t L_get_leng (void );

char *L_get_text (void );

int L_get_lineno (void );

void L_set_lineno (int line_number  );

/* Macros after this point can all be overridden by user definitions in
 * section 1.
 */

#ifndef YY_SKIP_YYWRAP
#ifdef __cplusplus
extern "C" int L_wrap (void );
#else
extern int L_wrap (void );
#endif
#endif

    static void yyunput (int c,char *buf_ptr  );
    
#ifndef yytext_ptr
static void yy_flex_strncpy (char *,yyconst char *,int );
#endif

#ifdef YY_NEED_STRLEN
static int yy_flex_strlen (yyconst char * );
#endif

#ifndef YY_NO_INPUT

#ifdef __cplusplus
static int yyinput (void );
#else
static int input (void );
#endif

#endif

        static int yy_start_stack_ptr = 0;
        static int yy_start_stack_depth = 0;
        static int *yy_start_stack = NULL;
    
    static void yy_push_state (int new_state );
    
    static void yy_pop_state (void );
    
/* Amount of stuff to slurp up with each read. */
#ifndef YY_READ_BUF_SIZE
#ifdef __ia64__
/* On IA-64, the buffer size is 16k, not 8k */
#define YY_READ_BUF_SIZE 16384
#else
#define YY_READ_BUF_SIZE 8192
#endif /* __ia64__ */
#endif

/* Copy whatever the last rule matched to the standard output. */
#ifndef ECHO
/* This used to be an fputs(), but since the string might contain NUL's,
 * we now use fwrite().
 */
#define ECHO do { if (fwrite( L_text, L_leng, 1, L_out )) {} } while (0)
#endif

/* Gets input and stuffs it into "buf".  number of characters read, or YY_NULL,
 * is returned in "result".
 */
#ifndef YY_INPUT
#define YY_INPUT(buf,result,max_size) \
	if ( YY_CURRENT_BUFFER_LVALUE->yy_is_interactive ) \
		{ \
		int c = '*'; \
		size_t n; \
		for ( n = 0; n < max_size && \
			     (c = getc( L_in )) != EOF && c != '\n'; ++n ) \
			buf[n] = (char) c; \
		if ( c == '\n' ) \
			buf[n++] = (char) c; \
		if ( c == EOF && ferror( L_in ) ) \
			YY_FATAL_ERROR( "input in flex scanner failed" ); \
		result = n; \
		} \
	else \
		{ \
		errno=0; \
		while ( (result = fread(buf, 1, max_size, L_in))==0 && ferror(L_in)) \
			{ \
			if( errno != EINTR) \
				{ \
				YY_FATAL_ERROR( "input in flex scanner failed" ); \
				break; \
				} \
			errno=0; \
			clearerr(L_in); \
			} \
		}\
\

#endif

/* No semi-colon after return; correct usage is to write "yyterminate();" -
 * we don't want an extra ';' after the "return" because that will cause
 * some compilers to complain about unreachable statements.
 */
#ifndef yyterminate
#define yyterminate() return YY_NULL
#endif

/* Number of entries by which start-condition stack grows. */
#ifndef YY_START_STACK_INCR
#define YY_START_STACK_INCR 25
#endif

/* Report a fatal error. */
#ifndef YY_FATAL_ERROR
#define YY_FATAL_ERROR(msg) yy_fatal_error( msg )
#endif

/* end tables serialization structures and prototypes */

/* Default declaration of generated scanner - a define so the user can
 * easily add parameters.
 */
#ifndef YY_DECL
#define YY_DECL_IS_OURS 1

extern int L_lex (void);

#define YY_DECL int L_lex (void)
#endif /* !YY_DECL */

/* Code executed at the beginning of each rule, after L_text and L_leng
 * have been set up.
 */
#ifndef YY_USER_ACTION
#define YY_USER_ACTION
#endif

/* Code executed at the end of each rule. */
#ifndef YY_BREAK
#define YY_BREAK break;
#endif

#define YY_RULE_SETUP \
	if ( L_leng > 0 ) \
		YY_CURRENT_BUFFER_LVALUE->yy_at_bol = \
				(L_text[L_leng - 1] == '\n'); \
	YY_USER_ACTION

/** The main scanner function which does all the work.
 */
YY_DECL
{
	register yy_state_type yy_current_state;
	register char *yy_cp, *yy_bp;
	register int yy_act;
    
	if ( !(yy_init) )
		{
		(yy_init) = 1;

#ifdef YY_USER_INIT
		YY_USER_INIT;
#endif

        /* Create the reject buffer large enough to save one state per allowed character. */
        if ( ! (yy_state_buf) )
            (yy_state_buf) = (yy_state_type *)L_alloc(YY_STATE_BUF_SIZE  );
            if ( ! (yy_state_buf) )
                YY_FATAL_ERROR( "out of dynamic memory in L_lex()" );

		if ( ! (yy_start) )
			(yy_start) = 1;	/* first start state */

		if ( ! L_in )
			L_in = stdin;

		if ( ! L_out )
			L_out = stdout;

		if ( ! YY_CURRENT_BUFFER ) {
			L_ensure_buffer_stack ();
			YY_CURRENT_BUFFER_LVALUE =
				L__create_buffer(L_in,YY_BUF_SIZE );
		}

		L__load_buffer_state( );
		}

	{
#line 374 "../generic/Lscanner.l"

#line 1854 "<stdout>"

	while ( 1 )		/* loops until end-of-file is reached */
		{
		yy_cp = (yy_c_buf_p);

		/* Support of L_text. */
		*yy_cp = (yy_hold_char);

		/* yy_bp points to the position in yy_ch_buf of the start of
		 * the current run.
		 */
		yy_bp = yy_cp;

		yy_current_state = (yy_start);
		yy_current_state += YY_AT_BOL();

		(yy_state_ptr) = (yy_state_buf);
		*(yy_state_ptr)++ = yy_current_state;

yy_match:
		do
			{
			register YY_CHAR yy_c = yy_ec[YY_SC_TO_UI(*yy_cp)] ;
			while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state )
				{
				yy_current_state = (int) yy_def[yy_current_state];
				if ( yy_current_state >= 583 )
					yy_c = yy_meta[(unsigned int) yy_c];
				}
			yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c];
			*(yy_state_ptr)++ = yy_current_state;
			++yy_cp;
			}
		while ( yy_base[yy_current_state] != 2002 );

yy_find_action:
		yy_current_state = *--(yy_state_ptr);
		(yy_lp) = yy_accept[yy_current_state];
find_rule: /* we branch to this label when backing up */
		for ( ; ; ) /* until we find what rule we matched */
			{
			if ( (yy_lp) && (yy_lp) < yy_accept[yy_current_state + 1] )
				{
				yy_act = yy_acclist[(yy_lp)];
					{
					(yy_full_match) = yy_cp;
					break;
					}
				}
			--yy_cp;
			yy_current_state = *--(yy_state_ptr);
			(yy_lp) = yy_accept[yy_current_state];
			}

		YY_DO_BEFORE_ACTION;

do_action:	/* This label is used only to access EOF actions. */

		switch ( yy_act )
	{ /* beginning of action switch */

case 1:
YY_RULE_SETUP
#line 376 "../generic/Lscanner.l"
return T_LPAREN;
	YY_BREAK
case 2:
YY_RULE_SETUP
#line 377 "../generic/Lscanner.l"
return T_RPAREN;
	YY_BREAK
case 3:
YY_RULE_SETUP
#line 378 "../generic/Lscanner.l"
interpol_lbrace(); return T_LBRACE;
	YY_BREAK
case 4:
YY_RULE_SETUP
#line 379 "../generic/Lscanner.l"
return T_LBRACKET;
	YY_BREAK
case 5:
YY_RULE_SETUP
#line 380 "../generic/Lscanner.l"
return T_RBRACKET;
	YY_BREAK
case 6:
YY_RULE_SETUP
#line 381 "../generic/Lscanner.l"
return T_COMMA;
	YY_BREAK
case 7:
YY_RULE_SETUP
#line 382 "../generic/Lscanner.l"
return T_BANG;
	YY_BREAK
case 8:
YY_RULE_SETUP
#line 383 "../generic/Lscanner.l"
return T_PLUS;
	YY_BREAK
case 9:
YY_RULE_SETUP
#line 384 "../generic/Lscanner.l"
return T_MINUS;
	YY_BREAK
case 10:
YY_RULE_SETUP
#line 385 "../generic/Lscanner.l"
return T_STAR;
	YY_BREAK
case 11:
YY_RULE_SETUP
#line 386 "../generic/Lscanner.l"
return T_SLASH;
	YY_BREAK
case 12:
YY_RULE_SETUP
#line 387 "../generic/Lscanner.l"
return T_PERC;
	YY_BREAK
case 13:
YY_RULE_SETUP
#line 388 "../generic/Lscanner.l"
return T_EQPLUS;
	YY_BREAK
case 14:
YY_RULE_SETUP
#line 389 "../generic/Lscanner.l"
return T_EQMINUS;
	YY_BREAK
case 15:
YY_RULE_SETUP
#line 390 "../generic/Lscanner.l"
return T_EQSTAR;
	YY_BREAK
case 16:
YY_RULE_SETUP
#line 391 "../generic/Lscanner.l"
return T_EQSLASH;
	YY_BREAK
case 17:
YY_RULE_SETUP
#line 392 "../generic/Lscanner.l"
return T_EQPERC;
	YY_BREAK
case 18:
YY_RULE_SETUP
#line 393 "../generic/Lscanner.l"
return T_EQBITAND;
	YY_BREAK
case 19:
YY_RULE_SETUP
#line 394 "../generic/Lscanner.l"
return T_EQBITOR;
	YY_BREAK
case 20:
YY_RULE_SETUP
#line 395 "../generic/Lscanner.l"
return T_EQBITXOR;
	YY_BREAK
case 21:
YY_RULE_SETUP
#line 396 "../generic/Lscanner.l"
return T_EQLSHIFT;
	YY_BREAK
case 22:
YY_RULE_SETUP
#line 397 "../generic/Lscanner.l"
return T_EQRSHIFT;
	YY_BREAK
case 23:
YY_RULE_SETUP
#line 398 "../generic/Lscanner.l"
return T_EQDOT;
	YY_BREAK
case 24:
YY_RULE_SETUP
#line 399 "../generic/Lscanner.l"
return T_PLUSPLUS;
	YY_BREAK
case 25:
YY_RULE_SETUP
#line 400 "../generic/Lscanner.l"
return T_MINUSMINUS;
	YY_BREAK
case 26:
YY_RULE_SETUP
#line 401 "../generic/Lscanner.l"
return T_ANDAND;
	YY_BREAK
case 27:
YY_RULE_SETUP
#line 402 "../generic/Lscanner.l"
return T_OROR;
	YY_BREAK
case 28:
YY_RULE_SETUP
#line 403 "../generic/Lscanner.l"
return T_BITAND;
	YY_BREAK
case 29:
YY_RULE_SETUP
#line 404 "../generic/Lscanner.l"
return T_BITOR;
	YY_BREAK
case 30:
YY_RULE_SETUP
#line 405 "../generic/Lscanner.l"
return T_BITXOR;
	YY_BREAK
case 31:
YY_RULE_SETUP
#line 406 "../generic/Lscanner.l"
return T_BITNOT;
	YY_BREAK
case 32:
YY_RULE_SETUP
#line 407 "../generic/Lscanner.l"
return T_LSHIFT;
	YY_BREAK
case 33:
YY_RULE_SETUP
#line 408 "../generic/Lscanner.l"
return T_RSHIFT;
	YY_BREAK
case 34:
YY_RULE_SETUP
#line 409 "../generic/Lscanner.l"
return T_EQUALS;
	YY_BREAK
case 35:
YY_RULE_SETUP
#line 410 "../generic/Lscanner.l"
return T_SEMI;
	YY_BREAK
case 36:
YY_RULE_SETUP
#line 411 "../generic/Lscanner.l"
return T_DOT;
	YY_BREAK
case 37:
/* rule 37 can match eol */
YY_RULE_SETUP
#line 412 "../generic/Lscanner.l"
return T_STRCAT;
	YY_BREAK
case 38:
YY_RULE_SETUP
#line 413 "../generic/Lscanner.l"
return T_DOTDOT;
	YY_BREAK
case 39:
YY_RULE_SETUP
#line 414 "../generic/Lscanner.l"
return T_ELLIPSIS;
	YY_BREAK
case 40:
YY_RULE_SETUP
#line 415 "../generic/Lscanner.l"
return T_CLASS;
	YY_BREAK
case 41:
YY_RULE_SETUP
#line 416 "../generic/Lscanner.l"
return T_EXTERN;
	YY_BREAK
case 42:
YY_RULE_SETUP
#line 417 "../generic/Lscanner.l"
return T_RETURN;
	YY_BREAK
case 43:
YY_RULE_SETUP
#line 418 "../generic/Lscanner.l"
return T_VOID;
	YY_BREAK
case 44:
YY_RULE_SETUP
#line 419 "../generic/Lscanner.l"
return T_STRING;
	YY_BREAK
case 45:
YY_RULE_SETUP
#line 420 "../generic/Lscanner.l"
return T_WIDGET;
	YY_BREAK
case 46:
YY_RULE_SETUP
#line 421 "../generic/Lscanner.l"
return T_INT;
	YY_BREAK
case 47:
YY_RULE_SETUP
#line 422 "../generic/Lscanner.l"
return T_FLOAT;
	YY_BREAK
case 48:
YY_RULE_SETUP
#line 423 "../generic/Lscanner.l"
return T_POLY;
	YY_BREAK
case 49:
YY_RULE_SETUP
#line 424 "../generic/Lscanner.l"
return T_SPLIT;
	YY_BREAK
case 50:
YY_RULE_SETUP
#line 425 "../generic/Lscanner.l"
return T_IF;
	YY_BREAK
case 51:
YY_RULE_SETUP
#line 426 "../generic/Lscanner.l"
return T_ELSE;
	YY_BREAK
case 52:
YY_RULE_SETUP
#line 427 "../generic/Lscanner.l"
return T_UNLESS;
	YY_BREAK
case 53:
YY_RULE_SETUP
#line 428 "../generic/Lscanner.l"
return T_WHILE;
	YY_BREAK
case 54:
YY_RULE_SETUP
#line 429 "../generic/Lscanner.l"
return T_DO;
	YY_BREAK
case 55:
YY_RULE_SETUP
#line 430 "../generic/Lscanner.l"
return T_FOR;
	YY_BREAK
case 56:
YY_RULE_SETUP
#line 431 "../generic/Lscanner.l"
return T_STRUCT;
	YY_BREAK
case 57:
YY_RULE_SETUP
#line 432 "../generic/Lscanner.l"
return T_TYPEDEF;
	YY_BREAK
case 58:
YY_RULE_SETUP
#line 433 "../generic/Lscanner.l"
return T_DEFINED;
	YY_BREAK
case 59:
YY_RULE_SETUP
#line 434 "../generic/Lscanner.l"
return T_FOREACH;
	YY_BREAK
case 60:
YY_RULE_SETUP
#line 435 "../generic/Lscanner.l"
return T_BREAK;
	YY_BREAK
case 61:
YY_RULE_SETUP
#line 436 "../generic/Lscanner.l"
return T_CONTINUE;
	YY_BREAK
case 62:
YY_RULE_SETUP
#line 437 "../generic/Lscanner.l"
return T_INSTANCE;
	YY_BREAK
case 63:
YY_RULE_SETUP
#line 438 "../generic/Lscanner.l"
return T_PRIVATE;
	YY_BREAK
case 64:
YY_RULE_SETUP
#line 439 "../generic/Lscanner.l"
return T_PUBLIC;
	YY_BREAK
case 65:
YY_RULE_SETUP
#line 440 "../generic/Lscanner.l"
return T_CONSTRUCTOR;
	YY_BREAK
case 66:
YY_RULE_SETUP
#line 441 "../generic/Lscanner.l"
return T_DESTRUCTOR;
	YY_BREAK
case 67:
YY_RULE_SETUP
#line 442 "../generic/Lscanner.l"
return T_EXPAND;
	YY_BREAK
case 68:
YY_RULE_SETUP
#line 443 "../generic/Lscanner.l"
return T_ARGUSED;
	YY_BREAK
case 69:
YY_RULE_SETUP
#line 444 "../generic/Lscanner.l"
return T_ATTRIBUTE;
	YY_BREAK
case 70:
YY_RULE_SETUP
#line 445 "../generic/Lscanner.l"
return T_ATTRIBUTE;
	YY_BREAK
case 71:
YY_RULE_SETUP
#line 446 "../generic/Lscanner.l"
return T_OPTIONAL;
	YY_BREAK
case 72:
YY_RULE_SETUP
#line 447 "../generic/Lscanner.l"
return T_MUSTBETYPE;
	YY_BREAK
case 73:
YY_RULE_SETUP
#line 448 "../generic/Lscanner.l"
return T_GOTO;
	YY_BREAK
case 74:
YY_RULE_SETUP
#line 449 "../generic/Lscanner.l"
return T_SWITCH;
	YY_BREAK
case 75:
YY_RULE_SETUP
#line 450 "../generic/Lscanner.l"
return T_CASE;
	YY_BREAK
case 76:
YY_RULE_SETUP
#line 451 "../generic/Lscanner.l"
return T_DEFAULT;
	YY_BREAK
case 77:
YY_RULE_SETUP
#line 452 "../generic/Lscanner.l"
return T_TRY;
	YY_BREAK
case 78:
YY_RULE_SETUP
#line 453 "../generic/Lscanner.l"
return T_ARROW;
	YY_BREAK
case 79:
YY_RULE_SETUP
#line 454 "../generic/Lscanner.l"
return T_EQ;
	YY_BREAK
case 80:
YY_RULE_SETUP
#line 455 "../generic/Lscanner.l"
return T_NE;
	YY_BREAK
case 81:
YY_RULE_SETUP
#line 456 "../generic/Lscanner.l"
return T_LT;
	YY_BREAK
case 82:
YY_RULE_SETUP
#line 457 "../generic/Lscanner.l"
return T_LE;
	YY_BREAK
case 83:
YY_RULE_SETUP
#line 458 "../generic/Lscanner.l"
return T_GT;
	YY_BREAK
case 84:
YY_RULE_SETUP
#line 459 "../generic/Lscanner.l"
return T_GE;
	YY_BREAK
case 85:
YY_RULE_SETUP
#line 460 "../generic/Lscanner.l"
return T_EQUALEQUAL;
	YY_BREAK
case 86:
YY_RULE_SETUP
#line 461 "../generic/Lscanner.l"
return T_NOTEQUAL;
	YY_BREAK
case 87:
YY_RULE_SETUP
#line 462 "../generic/Lscanner.l"
return T_GREATER;
	YY_BREAK
case 88:
YY_RULE_SETUP
#line 463 "../generic/Lscanner.l"
return T_GREATEREQ;
	YY_BREAK
case 89:
YY_RULE_SETUP
#line 464 "../generic/Lscanner.l"
return T_LESSTHAN;
	YY_BREAK
case 90:
YY_RULE_SETUP
#line 465 "../generic/Lscanner.l"
return T_LESSTHANEQ;
	YY_BREAK
case 91:
YY_RULE_SETUP
#line 466 "../generic/Lscanner.l"
return T_POINTS;
	YY_BREAK
case 92:
YY_RULE_SETUP
#line 467 "../generic/Lscanner.l"
return T_COLON;
	YY_BREAK
case 93:
YY_RULE_SETUP
#line 468 "../generic/Lscanner.l"
return T_QUESTION;
	YY_BREAK
case 94:
YY_RULE_SETUP
#line 469 "../generic/Lscanner.l"
{
				/*
				 * ?> marks the end of a script or expr
				 * inside of an lhtml document but is a
				 * syntax error otherwise.
				 */
				unless (in_lhtml) {
					undo_yy_user_action();
					REJECT;
				}
				yy_pop_state();
				STRBUF_START(L_lloc.end);
				if (YYSTATE == lhtml_expr_start) {
					yy_pop_state();  // pop back to lhtml
					ASSERT(YYSTATE == lhtml);
					return T_LHTML_EXPR_END;
				}
	}
	YY_BREAK
case 95:
YY_RULE_SETUP
#line 487 "../generic/Lscanner.l"
{
				L_err("'and','or','xor','not' are "
				      "unimplemented reserved words");
				return T_ANDAND;
	}
	YY_BREAK
case 96:
YY_RULE_SETUP
#line 492 "../generic/Lscanner.l"
{
				L_err("'and','or','xor','not' are "
				      "unimplemented reserved words");
				return T_BANG;
	}
	YY_BREAK
case 97:
YY_RULE_SETUP
#line 497 "../generic/Lscanner.l"
{
				L_err("'and','or','xor','not' are "
				      "unimplemented reserved words");
				return T_OROR;
	}
	YY_BREAK
case 98:
YY_RULE_SETUP
#line 502 "../generic/Lscanner.l"
{
				L_err("'and','or','xor','not' are "
				      "unimplemented reserved words");
				return T_BITXOR;
	}
	YY_BREAK
case 99:
YY_RULE_SETUP
#line 507 "../generic/Lscanner.l"
{
				Type *t = L_typedef_lookup(L_text);
				if (t) {
					L_lval.Typename.s = ckstrdup(L_text);
					L_lval.Typename.t = t;
					return T_TYPE;
				} else {
					L_lval.s = ckstrdup(L_text);
					return T_ID;
				}
			}
	YY_BREAK
case 100:
YY_RULE_SETUP
#line 518 "../generic/Lscanner.l"
{
				/*
				 * Push back the : and return a T_ID
				 * unless it's "default".  The grammar relies
				 * on this to avoid a nasty conflict.
				 */
				put_back(':');
				if (!strncmp(L_text, "default", 7)) {
					return T_DEFAULT;
				}
				L_lval.s = ckstrdup(L_text);
				L_lval.s[L_leng-1] = 0;
				return T_ID;
			}
	YY_BREAK
case 101:
YY_RULE_SETUP
#line 532 "../generic/Lscanner.l"
{
				L_lval.s = ckstrdup(L_text);
				return T_PATTERN;
			}
	YY_BREAK
case 102:
YY_RULE_SETUP
#line 536 "../generic/Lscanner.l"
{
				/* Regular expression submatches */
				L_lval.s = ckstrdup(L_text);
				return T_ID;
			}
	YY_BREAK
case 103:
YY_RULE_SETUP
#line 541 "../generic/Lscanner.l"
{
				/*
				 * Skip any leading 0's which would
				 * make it look like octal to Tcl.
				 */
				size_t	z = strspn(L_text, "0");
				if (z == L_leng) z = 0;  // number is all 0's
				L_lval.s = canonical_num(L_text+z);
				return T_INT_LITERAL;
			}
	YY_BREAK
case 104:
YY_RULE_SETUP
#line 551 "../generic/Lscanner.l"
{
				/*
				 * Create a leading 0 so it looks like
				 * octal to Tcl.
				 */
				L_text[1] = '0';
				L_lval.s = canonical_num(L_text+1);
				return T_INT_LITERAL;
			}
	YY_BREAK
case 105:
YY_RULE_SETUP
#line 560 "../generic/Lscanner.l"
{
				L_lval.s = canonical_num(L_text);
				return T_INT_LITERAL;
			}
	YY_BREAK
case 106:
YY_RULE_SETUP
#line 564 "../generic/Lscanner.l"
{
				L_lval.s = ckstrdup(L_text);
				return T_FLOAT_LITERAL;
			}
	YY_BREAK
case 107:
/* rule 107 can match eol */
YY_RULE_SETUP
#line 568 "../generic/Lscanner.l"
{
				int	line = strtoul(L_text+5, NULL, 10);

				if (line <= 0) {
					--L->line;  // since \n already scanned
					L_err("malformed #line");
					++L->line;
				} else {
					L->line = line;
				}
			}
	YY_BREAK
case 108:
/* rule 108 can match eol */
YY_RULE_SETUP
#line 579 "../generic/Lscanner.l"
{
				int	line  = strtoul(L_text+5, NULL, 10);
				char	*beg  = strchr(L_text, '"') + 1;
				char	*end  = strrchr(L_text, '"');
				char	*name = ckstrndup(beg, end-beg);

				if (line <= 0) {
					--L->line;  // since \n already scanned
					L_err("malformed #line");
					++L->line;
				} else {
					L->file = name;
					L->line = line;
				}
			}
	YY_BREAK
case 109:
/* rule 109 can match eol */
YY_RULE_SETUP
#line 594 "../generic/Lscanner.l"
{
				--L->line;  // since \n already scanned
				L_err("malformed #line");
				++L->line;
			}
	YY_BREAK
case 110:
YY_RULE_SETUP
#line 599 "../generic/Lscanner.l"
{
				char	*beg  = strchr(L_text, '"') + 1;
				char	*end  = strrchr(L_text, '"');
				char	*name = ckstrndup(beg, end-beg);
				Tcl_Channel chan;

				chan = include_search(name, NULL, 1);

				undo_yy_user_action();
				if (chan && !include_push(chan, name)) {
					/* Bail if includes nest too deeply. */
					yyterminate();
				}
			}
	YY_BREAK
case 111:
YY_RULE_SETUP
#line 613 "../generic/Lscanner.l"
{
				char	*beg  = strchr(L_text, '<') + 1;
				char	*end  = strrchr(L_text, '>');
				char	*name = ckstrndup(beg, end-beg);
				char	*path = NULL;
				Tcl_Channel chan;

				chan = include_search(name, &path, 0);
				ckfree(name);

				undo_yy_user_action();
				if (chan && !include_push(chan, path)) {
					/* Bail if includes nest too deeply. */
					yyterminate();
				}
			}
	YY_BREAK
case 112:
YY_RULE_SETUP
#line 629 "../generic/Lscanner.l"
{
				L_err("malformed #include");
				yy_push_state(eat_through_eol);
			}
	YY_BREAK
case 113:
YY_RULE_SETUP
#line 633 "../generic/Lscanner.l"
return T_PRAGMA;
	YY_BREAK
case 114:
/* rule 114 can match eol */
YY_RULE_SETUP
#line 634 "../generic/Lscanner.l"
{
				/*
				 * Rather than using a start condition
				 * to separate out all the ^# patterns
				 * that don't end in \n, this is
				 * simpler.  If it's not a comment,
				 * REJECT it so that flex then takes
				 * the second best rule (those above).
				 */
				if (!strncmp(L_text, "#pragma ",  8) ||
				    !strncmp(L_text, "#pragma\t", 8)) {
					undo_yy_user_action();
					REJECT;
				} else if (!strncmp(L_text, "#include", 8)) {
					undo_yy_user_action();
					REJECT;
				} else unless (L->line == 2) {
					--L->line;  // since \n already scanned
					L_err("# comment valid only on line 1");
					++L->line;
				}
			}
	YY_BREAK
case 115:
/* rule 115 can match eol */
YY_RULE_SETUP
#line 656 "../generic/Lscanner.l"
{
				--L->line;  // since \n already scanned
				unless (L->line == 1) {
					L_err("# comment valid only on line 1");
				} else {
					L_err("# comment must start at "
					      "first column");
				}
				++L->line;
			}
	YY_BREAK
case 116:
/* rule 116 can match eol */
YY_RULE_SETUP
#line 666 "../generic/Lscanner.l"

	YY_BREAK
case 117:
YY_RULE_SETUP
#line 667 "../generic/Lscanner.l"

	YY_BREAK
case 118:
/* rule 118 can match eol */
YY_RULE_SETUP
#line 668 "../generic/Lscanner.l"

	YY_BREAK
case 119:
YY_RULE_SETUP
#line 669 "../generic/Lscanner.l"
yy_push_state(str_double); STRBUF_START(L->token_off);
	YY_BREAK
case 120:
YY_RULE_SETUP
#line 670 "../generic/Lscanner.l"
yy_push_state(str_single); STRBUF_START(L->token_off);
	YY_BREAK
case 121:
YY_RULE_SETUP
#line 671 "../generic/Lscanner.l"
yy_push_state(str_backtick); STRBUF_START(L->token_off);
	YY_BREAK
case 122:
YY_RULE_SETUP
#line 672 "../generic/Lscanner.l"
yy_push_state(comment);
	YY_BREAK
case 123:
/* rule 123 can match eol */
YY_RULE_SETUP
#line 673 "../generic/Lscanner.l"
{
		yy_push_state(re_modifier);
		yy_push_state(glob_re);
		STRBUF_START(L_lloc.end - 2);	// next token starts at the "m"
		extract_re_delims(L_text[L_leng-1]);
		L_lloc.end = L_lloc.beg + 2;	// this token spans the "=~"
		return ((L_text[0] == '=') ? T_EQTWID : T_BANGTWID);
	}
	YY_BREAK
/* if / is used to delimit the regexp, the m can be omitted */
case 124:
/* rule 124 can match eol */
YY_RULE_SETUP
#line 682 "../generic/Lscanner.l"
{
		yy_push_state(re_modifier);
		yy_push_state(glob_re);
		STRBUF_START(L_lloc.end - 1);	// next token starts at the "/"
		extract_re_delims('/');
		L_lloc.end = L_lloc.beg + 2;	// this token spans the "=~"
		return ((L_text[0] == '=') ? T_EQTWID : T_BANGTWID);
	}
	YY_BREAK
/* a substitution pattern */
case 125:
/* rule 125 can match eol */
YY_RULE_SETUP
#line 691 "../generic/Lscanner.l"
{
		yy_push_state(re_modifier);
		yy_push_state(subst_re);
		yy_push_state(glob_re);
		STRBUF_START(L_lloc.end - 2);	// next token starts at the "s"
		extract_re_delims(L_text[L_leng-1]);
		L_lloc.end = L_lloc.beg + 2;	// this token spans the "=~"
		return T_EQTWID;
	}
	YY_BREAK
/* here document (interpolated), valid only on rhs of an assignment */
case 126:
/* rule 126 can match eol */
YY_RULE_SETUP
#line 701 "../generic/Lscanner.l"
{
		char	*p, *q;

		if (here_delim) {
			L_err("nested here documents illegal");
		}
		p = strchr(L_text, '<') + 2;  // the < is guaranteed to exist
		for (q = p; (q > L_text) && (*q != '\n'); --q) ;
		if ((q > L_text) && (*q == '\n')) {
			// \n then <<; the in-between whitespace is the here_pfx
			here_pfx = ckstrndup(q+1, p-q-3);
		} else {
			// non-indented here document
			here_pfx = ckstrdup("");
		}
		here_delim = ckstrndup(p, L_leng - (p-L_text) - 1);
		STRBUF_START(L->token_off);
		L_lloc.end = L_lloc.beg + 1;
		yy_push_state(here_doc_interp);
		return T_EQUALS;
	}
	YY_BREAK
/* here document (uninterpolated), valid only on rhs of an assignment */
case 127:
/* rule 127 can match eol */
YY_RULE_SETUP
#line 723 "../generic/Lscanner.l"
{
		char	*p, *q;

		if (here_delim) {
			L_err("nested here documents illegal");
		}
		p = strchr(L_text, '<') + 2;  // the < is guaranteed to exist
		for (q = p; (q > L_text) && (*q != '\n'); --q) ;
		if ((q > L_text) && (*q == '\n')) {
			// \n then <<; the in-between whitespace is the here_pfx
			here_pfx = ckstrndup(q+1, p-q-3);
		} else {
			// non-indented here document
			here_pfx = ckstrdup("");
		}
		here_delim = ckstrndup(p+1, L_leng - (p-L_text) - 3);
		STRBUF_START(L->token_off);
		L_lloc.end = L_lloc.beg + 1;
		yy_push_state(here_doc_nointerp);
		return T_EQUALS;
	}
	YY_BREAK
/* illegal here documents (bad stuff before or after the delim) */
case 128:
/* rule 128 can match eol */
#line 746 "../generic/Lscanner.l"
case 129:
/* rule 129 can match eol */
YY_RULE_SETUP
#line 746 "../generic/Lscanner.l"
{
		L_synerr("<<- unsupported, use =\\n\\t<<END to strip one "
			 "leading tab");
	}
	YY_BREAK
case 130:
/* rule 130 can match eol */
YY_RULE_SETUP
#line 750 "../generic/Lscanner.l"
{
		L_synerr("illegal characters after here-document delimeter");
	}
	YY_BREAK
case 131:
/* rule 131 can match eol */
YY_RULE_SETUP
#line 753 "../generic/Lscanner.l"
{
		L_synerr("illegal characters before here-document delimeter");
	}
	YY_BREAK
case 132:
/* rule 132 can match eol */
YY_RULE_SETUP
#line 756 "../generic/Lscanner.l"
{
		L_synerr("illegal characters after here-document delimeter");
	}
	YY_BREAK
case 133:
/* rule 133 can match eol */
YY_RULE_SETUP
#line 759 "../generic/Lscanner.l"
{
		L_synerr("illegal characters before here-document delimeter");
	}
	YY_BREAK


/*
	 * The compiler prepends a #line directive to Lhtml source.
	 * This communicates the correct line number to the Tcl
	 * code that prints run-time error messages.
	 */
case 134:
/* rule 134 can match eol */
YY_RULE_SETUP
#line 770 "../generic/Lscanner.l"
{
		int	line = strtoul(L_text+5, NULL, 10);

		if (line <= 0) {
			--L->line;  // since \n already scanned
			L_err("malformed #line");
			++L->line;
		} else {
			L->line = line;
		}
	}
	YY_BREAK
case 135:
YY_RULE_SETUP
#line 781 "../generic/Lscanner.l"
{
		L_lval.s = ckstrdup(STRBUF_STRING());
		STRBUF_STOP(L_lloc.beg);
		if (L_leng == 2) {
			yy_push_state(INITIAL);
		} else {
			yy_push_state(lhtml_expr_start);
		}
		return T_HTML;
	}
	YY_BREAK
case 136:
/* rule 136 can match eol */
YY_RULE_SETUP
#line 791 "../generic/Lscanner.l"
STRBUF_ADD(L_text, L_leng);
	YY_BREAK
case YY_STATE_EOF(lhtml):
#line 792 "../generic/Lscanner.l"
{
		unless (STRBUF_STARTED()) yyterminate();
		L_lval.s = ckstrdup(STRBUF_STRING());
		STRBUF_STOP(L_lloc.beg);
		return T_HTML;
	}
	YY_BREAK


/*
	 * This start condition is here only so the rule for ?> can
	 * know whether we previously scanned <? or <?=.
	 */
case 137:
/* rule 137 can match eol */
YY_RULE_SETUP
#line 805 "../generic/Lscanner.l"
{
		unput(L_text[0]);
		undo_yy_user_action();
		yy_push_state(INITIAL);
		return T_LHTML_EXPR_START;
	}
	YY_BREAK


/*
	 * A regexp in the context of the first arg to split().  If
	 * it's not an RE, pop the start-condition stack and push it
	 * back, so we can continue as normal.
	 */
case 138:
/* rule 138 can match eol */
YY_RULE_SETUP
#line 819 "../generic/Lscanner.l"

	YY_BREAK
/* / starts an RE */
case 139:
YY_RULE_SETUP
#line 821 "../generic/Lscanner.l"
{
		yy_push_state(re_modifier);
		yy_push_state(glob_re);
		STRBUF_START(L_lloc.end - 1);	// next token starts at the "/"
		extract_re_delims('/');
	}
	YY_BREAK
/*
	 * m<punctuation> starts an RE, except for "m)" so that
	 * "split(m)" works.
	 */
case 140:
YY_RULE_SETUP
#line 831 "../generic/Lscanner.l"
{
		yy_push_state(re_modifier);
		yy_push_state(glob_re);
		STRBUF_START(L_lloc.end - 1);	// next token starts at the delim
		extract_re_delims(L_text[L_leng-1]);
	}
	YY_BREAK
/* nothing else starts an RE */
case 141:
YY_RULE_SETUP
#line 838 "../generic/Lscanner.l"
{
		unput(L_text[0]);
		undo_yy_user_action();
		yy_pop_state();
	}
	YY_BREAK


/*
	 * A regexp in the context of a case statement.  If it's not
	 * an RE, pop the start-condition stack and push it back, so
	 * we can continue as normal.
	 */
case 142:
/* rule 142 can match eol */
YY_RULE_SETUP
#line 851 "../generic/Lscanner.l"

	YY_BREAK
/* / starts an RE */
case 143:
YY_RULE_SETUP
#line 853 "../generic/Lscanner.l"
{
		yy_push_state(re_modifier);
		yy_push_state(glob_re);
		STRBUF_START(L_lloc.end - 1);	// next token starts at the "/"
		extract_re_delims('/');
	}
	YY_BREAK
/*
	 * m<punctuation> starts an RE except for "m:" which we scan
	 * as the variable m (so that "case m:" works) or "m(" which
	 * is the start of a call to the function m (so that "case m():"
	 * or "case m(arg):" etc work).
	 */
case 144:
YY_RULE_SETUP
#line 865 "../generic/Lscanner.l"
{
		yy_push_state(re_modifier);
		yy_push_state(glob_re);
		STRBUF_START(L_lloc.end - 1);	// next token starts at the delim
		extract_re_delims(L_text[L_leng-1]);
	}
	YY_BREAK
/* nothing else starts an RE */
case 145:
YY_RULE_SETUP
#line 872 "../generic/Lscanner.l"
{
		unput(L_text[0]);
		undo_yy_user_action();
		yy_pop_state();
	}
	YY_BREAK


case 146:
YY_RULE_SETUP
#line 880 "../generic/Lscanner.l"
return T_RBRACE;
	YY_BREAK


case 147:
YY_RULE_SETUP
#line 884 "../generic/Lscanner.l"
{
				if (interpol_rbrace()) {
					STRBUF_START(L_lloc.end);
					interpol_pop();
					if ((YYSTATE == glob_re) ||
					    (YYSTATE == subst_re)) {
						return T_RIGHT_INTERPOL_RE;
					} else {
						return T_RIGHT_INTERPOL;
					}
				} else {
					return T_RBRACE;
				}
			}
	YY_BREAK
case 148:
YY_RULE_SETUP
#line 898 "../generic/Lscanner.l"
{
		L_synerr("illegal character");
	}
	YY_BREAK


case 149:
YY_RULE_SETUP
#line 904 "../generic/Lscanner.l"
STRBUF_ADD("\r", 1);
	YY_BREAK
case 150:
YY_RULE_SETUP
#line 905 "../generic/Lscanner.l"
STRBUF_ADD("\n", 1);
	YY_BREAK
case 151:
YY_RULE_SETUP
#line 906 "../generic/Lscanner.l"
STRBUF_ADD("\t", 1);
	YY_BREAK
case 152:
#line 908 "../generic/Lscanner.l"
case 153:
#line 909 "../generic/Lscanner.l"
case 154:
#line 910 "../generic/Lscanner.l"
case 155:
YY_RULE_SETUP
#line 910 "../generic/Lscanner.l"
{
				char	buf[TCL_UTF_MAX];
				int	ch;
				TclParseHex(L_text+2, 4, &ch);
				STRBUF_ADD(buf, Tcl_UniCharToUtf(ch, buf));
			}
	YY_BREAK
case 156:
/* rule 156 can match eol */
YY_RULE_SETUP
#line 916 "../generic/Lscanner.l"
STRBUF_ADD(L_text+1, 1);
	YY_BREAK
case 157:
YY_RULE_SETUP
#line 917 "../generic/Lscanner.l"
STRBUF_ADD("$", 1);
	YY_BREAK
case 158:
/* rule 158 can match eol */
YY_RULE_SETUP
#line 918 "../generic/Lscanner.l"
{
				L_err("missing string terminator \"");
				STRBUF_ADD("\n", 1);
			}
	YY_BREAK
case 159:
YY_RULE_SETUP
#line 922 "../generic/Lscanner.l"
STRBUF_ADD(L_text, L_leng);
	YY_BREAK
case 160:
YY_RULE_SETUP
#line 923 "../generic/Lscanner.l"
{
				if (interpol_push()) yyterminate();
				L_lval.s = ckstrdup(STRBUF_STRING());
				STRBUF_STOP(L_lloc.beg);
				return T_LEFT_INTERPOL;
			}
	YY_BREAK
case 161:
/* rule 161 can match eol */
YY_RULE_SETUP
#line 929 "../generic/Lscanner.l"

	YY_BREAK
case 162:
YY_RULE_SETUP
#line 930 "../generic/Lscanner.l"
{
				yy_pop_state();
				L_lval.s = ckstrdup(STRBUF_STRING());
				STRBUF_STOP(L_lloc.end);
				return T_STR_LITERAL;
			}
	YY_BREAK


case 163:
YY_RULE_SETUP
#line 939 "../generic/Lscanner.l"
STRBUF_ADD("\\", 1);
	YY_BREAK
case 164:
YY_RULE_SETUP
#line 940 "../generic/Lscanner.l"
STRBUF_ADD("'", 1);
	YY_BREAK
case 165:
/* rule 165 can match eol */
YY_RULE_SETUP
#line 941 "../generic/Lscanner.l"
STRBUF_ADD("\n", 1);
	YY_BREAK
case 166:
/* rule 166 can match eol */
YY_RULE_SETUP
#line 942 "../generic/Lscanner.l"
{
				L_err("missing string terminator \'");
				STRBUF_ADD("\n", 1);
			}
	YY_BREAK
case 167:
#line 947 "../generic/Lscanner.l"
case 168:
YY_RULE_SETUP
#line 947 "../generic/Lscanner.l"
STRBUF_ADD(L_text, L_leng);
	YY_BREAK
case 169:
/* rule 169 can match eol */
YY_RULE_SETUP
#line 948 "../generic/Lscanner.l"

	YY_BREAK
case 170:
YY_RULE_SETUP
#line 949 "../generic/Lscanner.l"
{
				yy_pop_state();
				L_lval.s = ckstrdup(STRBUF_STRING());
				STRBUF_STOP(L_lloc.end);
				return T_STR_LITERAL;
			}
	YY_BREAK


case 171:
YY_RULE_SETUP
#line 958 "../generic/Lscanner.l"
STRBUF_ADD(L_text+1, 1);
	YY_BREAK
case 172:
/* rule 172 can match eol */
YY_RULE_SETUP
#line 959 "../generic/Lscanner.l"
/* ignore \<newline> */
	YY_BREAK
case 173:
#line 961 "../generic/Lscanner.l"
case 174:
#line 962 "../generic/Lscanner.l"
case 175:
YY_RULE_SETUP
#line 962 "../generic/Lscanner.l"
STRBUF_ADD(L_text, L_leng);
	YY_BREAK
case 176:
/* rule 176 can match eol */
YY_RULE_SETUP
#line 963 "../generic/Lscanner.l"
{
				L_err("missing string terminator `");
				STRBUF_ADD("\n", 1);
			}
	YY_BREAK
case 177:
YY_RULE_SETUP
#line 967 "../generic/Lscanner.l"
{
				if (interpol_push()) yyterminate();
				L_lval.s = ckstrdup(STRBUF_STRING());
				STRBUF_STOP(L_lloc.beg);
				return T_LEFT_INTERPOL;
			}
	YY_BREAK
case 178:
YY_RULE_SETUP
#line 973 "../generic/Lscanner.l"
{
				yy_pop_state();
				L_lval.s = ckstrdup(STRBUF_STRING());
				STRBUF_STOP(L_lloc.end);
				if (YYSTATE == here_doc_interp) {
					STRBUF_START(L_lloc.end);
				}
				return T_STR_BACKTICK;
			}
	YY_BREAK


case 179:
*yy_cp = (yy_hold_char); /* undo effects of setting up L_text */
(yy_c_buf_p) = yy_cp -= 1;
YY_DO_BEFORE_ACTION; /* set up L_text again */
YY_RULE_SETUP
#line 985 "../generic/Lscanner.l"
{
				int	len;
				char	*p = L_text;

				/*
				 * Look for whitespace-prefixed here_delim.
				 * Any amount of white space is allowed.
				 */
				while (isspace(*p)) ++p;
				len = L_leng - (p - L_text);
				if (p[len-1] == ';') --len;
				if ((len == strlen(here_delim)) &&
				    !strncmp(p, here_delim, len)) {
					yy_pop_state();
					unput(';');  // for the parser
					L_lval.s = ckstrdup(STRBUF_STRING());
					STRBUF_STOP(L_lloc.end);
					ckfree(here_delim);
					ckfree(here_pfx);
					here_delim = NULL;
					here_pfx = NULL;
					return T_STR_LITERAL;
				}
				/*
				 * It's a data line.  It must begin with
				 * here_pfx or else it's an error.
				 */
				p = strstr(L_text, here_pfx);
				if (p == L_text) {
					p += strlen(here_pfx);
				} else {
					L_err("bad here-document prefix");
					p = L_text;
				}
				STRBUF_ADD(p, L_leng - (p - L_text));
			}
	YY_BREAK
case 180:
YY_RULE_SETUP
#line 1021 "../generic/Lscanner.l"
{
				char	*p = strstr(L_text, here_pfx);
				if (p == L_text) {
					p += strlen(here_pfx);
					STRBUF_ADD(p, L_leng - (p - L_text));
				} else {
					L_err("bad here-document prefix");
					p = L_text;
				}
			}
	YY_BREAK
case 181:
/* rule 181 can match eol */
YY_RULE_SETUP
#line 1031 "../generic/Lscanner.l"
STRBUF_ADD(L_text, 1);
	YY_BREAK


case 182:
YY_RULE_SETUP
#line 1035 "../generic/Lscanner.l"
STRBUF_ADD("\\", 1);
	YY_BREAK
case 183:
YY_RULE_SETUP
#line 1036 "../generic/Lscanner.l"
STRBUF_ADD("$", 1);
	YY_BREAK
case 184:
YY_RULE_SETUP
#line 1037 "../generic/Lscanner.l"
STRBUF_ADD("`", 1);
	YY_BREAK
case 185:
/* rule 185 can match eol */
YY_RULE_SETUP
#line 1038 "../generic/Lscanner.l"
// ignore \<newline>
	YY_BREAK
case 186:
YY_RULE_SETUP
#line 1039 "../generic/Lscanner.l"
{
				if (interpol_push()) yyterminate();
				L_lval.s = ckstrdup(STRBUF_STRING());
				STRBUF_STOP(L_lloc.beg);
				return T_LEFT_INTERPOL;
			}
	YY_BREAK
case 187:
YY_RULE_SETUP
#line 1045 "../generic/Lscanner.l"
{
				L_lval.s = ckstrdup(STRBUF_STRING());
				STRBUF_STOP(L_lloc.beg);
				yy_push_state(str_backtick);
				STRBUF_START(L->token_off);
				return T_START_BACKTICK;
			}
	YY_BREAK
case 188:
*yy_cp = (yy_hold_char); /* undo effects of setting up L_text */
(yy_c_buf_p) = yy_cp -= 1;
YY_DO_BEFORE_ACTION; /* set up L_text again */
YY_RULE_SETUP
#line 1052 "../generic/Lscanner.l"
{
				int	len;
				char	*p = L_text;

				/*
				 * Look for whitespace-prefixed here_delim.
				 * Any amount of white space is allowed.
				 */
				while (isspace(*p)) ++p;
				len = L_leng - (p - L_text);
				if (p[len-1] == ';') --len;
				if ((len == strlen(here_delim)) &&
				    !strncmp(p, here_delim, len)) {
					yy_pop_state();
					unput(';');  // for the parser
					L_lval.s = ckstrdup(STRBUF_STRING());
					STRBUF_STOP(L_lloc.end);
					ckfree(here_delim);
					ckfree(here_pfx);
					here_delim = NULL;
					here_pfx = NULL;
					return T_STR_LITERAL;
				}
				/*
				 * It's a data line.  It must begin with
				 * here_pfx or else it's an error.
				 */
				p = strstr(L_text, here_pfx);
				if (p == L_text) {
					p += strlen(here_pfx);
				} else {
					L_err("bad here-document prefix");
					p = L_text;
				}
				STRBUF_ADD(p, L_leng - (p - L_text));
			}
	YY_BREAK
case 189:
YY_RULE_SETUP
#line 1088 "../generic/Lscanner.l"
{
				char	*p = strstr(L_text, here_pfx);
				if (p == L_text) {
					p += strlen(here_pfx);
					STRBUF_ADD(p, L_leng - (p - L_text));
				} else {
					L_err("bad here-document prefix");
					p = L_text;
				}
			}
	YY_BREAK
case 190:
/* rule 190 can match eol */
YY_RULE_SETUP
#line 1098 "../generic/Lscanner.l"
STRBUF_ADD(L_text, 1);
	YY_BREAK


case 191:
/* rule 191 can match eol */
YY_RULE_SETUP
#line 1102 "../generic/Lscanner.l"

	YY_BREAK
case 192:
YY_RULE_SETUP
#line 1103 "../generic/Lscanner.l"

	YY_BREAK
case 193:
YY_RULE_SETUP
#line 1104 "../generic/Lscanner.l"
yy_pop_state();
	YY_BREAK


case 194:
YY_RULE_SETUP
#line 1108 "../generic/Lscanner.l"
{
				if (interpol_push()) yyterminate();
				L_lval.s = ckstrdup(STRBUF_STRING());
				STRBUF_STOP(L_lloc.beg);
				return T_LEFT_INTERPOL_RE;
			}
	YY_BREAK
case 195:
YY_RULE_SETUP
#line 1114 "../generic/Lscanner.l"
{
				if ((L_text[1] == re_end_delim) ||
				    (L_text[1] == re_start_delim)) {
					STRBUF_ADD(L_text+1, 1);
				} else {
					STRBUF_ADD(L_text, L_leng);
				}
			}
	YY_BREAK
case 196:
/* rule 196 can match eol */
YY_RULE_SETUP
#line 1122 "../generic/Lscanner.l"
{
				--L->line;  // since \n already scanned
				L_err("run-away regular expression");
				++L->line;
				STRBUF_ADD(L_text, L_leng);
				yy_pop_state();
				if (YYSTATE == re_modifier) yy_pop_state();
				return T_RE;
			}
	YY_BREAK
case 197:
YY_RULE_SETUP
#line 1131 "../generic/Lscanner.l"
{
				// Convert $3 to \3 (regexp capture reference).
				STRBUF_ADD("\\", 1);
				STRBUF_ADD(L_text+1, L_leng-1);
			}
	YY_BREAK
case 198:
YY_RULE_SETUP
#line 1136 "../generic/Lscanner.l"
{
				if (*L_text == re_end_delim) {
					L_lval.s = ckstrdup(STRBUF_STRING());
					STRBUF_STOP(L_lloc.end);
					if (YYSTATE == subst_re) {
						yy_pop_state();
						return T_SUBST;
					} else {
						yy_pop_state();
						if (YYSTATE == subst_re) {
							STRBUF_START(L_lloc.end);
							if (re_start_delim !=
							    re_end_delim) {
								yy_push_state(
								    re_delim);
							}
						}
						return T_RE;
					}
				} else if (*L_text == re_start_delim) {
					L_err("regexp delimiter must be quoted "
					      "inside the regexp");
					STRBUF_ADD(L_text+1, 1);
				} else {
					STRBUF_ADD(L_text, L_leng);
				}
			}
	YY_BREAK


case 199:
/* rule 199 can match eol */
YY_RULE_SETUP
#line 1167 "../generic/Lscanner.l"
{
				--L->line;  // since \n already scanned
				L_err("run-away regular expression");
				++L->line;
				STRBUF_ADD(L_text, L_leng);
				yy_pop_state();
			}
	YY_BREAK
case 200:
YY_RULE_SETUP
#line 1174 "../generic/Lscanner.l"
{
				extract_re_delims(*L_text);
				yy_pop_state();
			}
	YY_BREAK


case 201:
YY_RULE_SETUP
#line 1181 "../generic/Lscanner.l"
{
				L_lval.s = ckstrdup(L_text);
				yy_pop_state();
				return T_RE_MODIFIER;
			}
	YY_BREAK
case 202:
/* rule 202 can match eol */
YY_RULE_SETUP
#line 1186 "../generic/Lscanner.l"
{
				unput(L_text[0]);
				undo_yy_user_action();
				yy_pop_state();
				L_lval.s = ckstrdup("");
				return T_RE_MODIFIER;
			}
	YY_BREAK


case 203:
YY_RULE_SETUP
#line 1196 "../generic/Lscanner.l"

	YY_BREAK
case 204:
/* rule 204 can match eol */
YY_RULE_SETUP
#line 1197 "../generic/Lscanner.l"
yy_pop_state();
	YY_BREAK

case 205:
YY_RULE_SETUP
#line 1200 "../generic/Lscanner.l"
{
				/* This rule matches a char if no other does. */
				L_synerr("illegal character");
				yyterminate();
			}
	YY_BREAK
case YY_STATE_EOF(INITIAL):
case YY_STATE_EOF(re_delim):
case YY_STATE_EOF(re_modifier):
case YY_STATE_EOF(re_arg_split):
case YY_STATE_EOF(re_arg_case):
case YY_STATE_EOF(glob_re):
case YY_STATE_EOF(subst_re):
case YY_STATE_EOF(comment):
case YY_STATE_EOF(str_double):
case YY_STATE_EOF(str_single):
case YY_STATE_EOF(str_backtick):
case YY_STATE_EOF(interpol):
case YY_STATE_EOF(here_doc_interp):
case YY_STATE_EOF(here_doc_nointerp):
case YY_STATE_EOF(eat_through_eol):
case YY_STATE_EOF(lhtml_expr_start):
#line 1205 "../generic/Lscanner.l"
{
				if (in_lhtml) {
					yy_user_action();  // for line #s
					L_synerr("premature EOF");
				}
				unless (include_pop()) yyterminate();
			}
	YY_BREAK
case 206:
YY_RULE_SETUP
#line 1212 "../generic/Lscanner.l"
ECHO;
	YY_BREAK
#line 3605 "<stdout>"

	case YY_END_OF_BUFFER:
		{
		/* Amount of text matched not including the EOB char. */
		int yy_amount_of_matched_text = (int) (yy_cp - (yytext_ptr)) - 1;

		/* Undo the effects of YY_DO_BEFORE_ACTION. */
		*yy_cp = (yy_hold_char);
		YY_RESTORE_YY_MORE_OFFSET

		if ( YY_CURRENT_BUFFER_LVALUE->yy_buffer_status == YY_BUFFER_NEW )
			{
			/* We're scanning a new file or input source.  It's
			 * possible that this happened because the user
			 * just pointed L_in at a new source and called
			 * L_lex().  If so, then we have to assure
			 * consistency between YY_CURRENT_BUFFER and our
			 * globals.  Here is the right place to do so, because
			 * this is the first action (other than possibly a
			 * back-up) that will match for the new input source.
			 */
			(yy_n_chars) = YY_CURRENT_BUFFER_LVALUE->yy_n_chars;
			YY_CURRENT_BUFFER_LVALUE->yy_input_file = L_in;
			YY_CURRENT_BUFFER_LVALUE->yy_buffer_status = YY_BUFFER_NORMAL;
			}

		/* Note that here we test for yy_c_buf_p "<=" to the position
		 * of the first EOB in the buffer, since yy_c_buf_p will
		 * already have been incremented past the NUL character
		 * (since all states make transitions on EOB to the
		 * end-of-buffer state).  Contrast this with the test
		 * in input().
		 */
		if ( (yy_c_buf_p) <= &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)] )
			{ /* This was really a NUL. */
			yy_state_type yy_next_state;

			(yy_c_buf_p) = (yytext_ptr) + yy_amount_of_matched_text;

			yy_current_state = yy_get_previous_state(  );

			/* Okay, we're now positioned to make the NUL
			 * transition.  We couldn't have
			 * yy_get_previous_state() go ahead and do it
			 * for us because it doesn't know how to deal
			 * with the possibility of jamming (and we don't
			 * want to build jamming into it because then it
			 * will run more slowly).
			 */

			yy_next_state = yy_try_NUL_trans( yy_current_state );

			yy_bp = (yytext_ptr) + YY_MORE_ADJ;

			if ( yy_next_state )
				{
				/* Consume the NUL. */
				yy_cp = ++(yy_c_buf_p);
				yy_current_state = yy_next_state;
				goto yy_match;
				}

			else
				{
				yy_cp = (yy_c_buf_p);
				goto yy_find_action;
				}
			}

		else switch ( yy_get_next_buffer(  ) )
			{
			case EOB_ACT_END_OF_FILE:
				{
				(yy_did_buffer_switch_on_eof) = 0;

				if ( L_wrap( ) )
					{
					/* Note: because we've taken care in
					 * yy_get_next_buffer() to have set up
					 * L_text, we can now set up
					 * yy_c_buf_p so that if some total
					 * hoser (like flex itself) wants to
					 * call the scanner after we return the
					 * YY_NULL, it'll still work - another
					 * YY_NULL will get returned.
					 */
					(yy_c_buf_p) = (yytext_ptr) + YY_MORE_ADJ;

					yy_act = YY_STATE_EOF(YY_START);
					goto do_action;
					}

				else
					{
					if ( ! (yy_did_buffer_switch_on_eof) )
						YY_NEW_FILE;
					}
				break;
				}

			case EOB_ACT_CONTINUE_SCAN:
				(yy_c_buf_p) =
					(yytext_ptr) + yy_amount_of_matched_text;

				yy_current_state = yy_get_previous_state(  );

				yy_cp = (yy_c_buf_p);
				yy_bp = (yytext_ptr) + YY_MORE_ADJ;
				goto yy_match;

			case EOB_ACT_LAST_MATCH:
				(yy_c_buf_p) =
				&YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)];

				yy_current_state = yy_get_previous_state(  );

				yy_cp = (yy_c_buf_p);
				yy_bp = (yytext_ptr) + YY_MORE_ADJ;
				goto yy_find_action;
			}
		break;
		}

	default:
		YY_FATAL_ERROR(
			"fatal flex scanner internal error--no action found" );
	} /* end of action switch */
		} /* end of scanning one token */
	} /* end of user's declarations */
} /* end of L_lex */

/* yy_get_next_buffer - try to read in a new buffer
 *
 * Returns a code representing an action:
 *	EOB_ACT_LAST_MATCH -
 *	EOB_ACT_CONTINUE_SCAN - continue scanning from current position
 *	EOB_ACT_END_OF_FILE - end of file
 */
static int yy_get_next_buffer (void)
{
    	register char *dest = YY_CURRENT_BUFFER_LVALUE->yy_ch_buf;
	register char *source = (yytext_ptr);
	register int number_to_move, i;
	int ret_val;

	if ( (yy_c_buf_p) > &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars) + 1] )
		YY_FATAL_ERROR(
		"fatal flex scanner internal error--end of buffer missed" );

	if ( YY_CURRENT_BUFFER_LVALUE->yy_fill_buffer == 0 )
		{ /* Don't try to fill the buffer, so this is an EOF. */
		if ( (yy_c_buf_p) - (yytext_ptr) - YY_MORE_ADJ == 1 )
			{
			/* We matched a single character, the EOB, so
			 * treat this as a final EOF.
			 */
			return EOB_ACT_END_OF_FILE;
			}

		else
			{
			/* We matched some text prior to the EOB, first
			 * process it.
			 */
			return EOB_ACT_LAST_MATCH;
			}
		}

	/* Try to read more data. */

	/* First move last chars to start of buffer. */
	number_to_move = (int) ((yy_c_buf_p) - (yytext_ptr)) - 1;

	for ( i = 0; i < number_to_move; ++i )
		*(dest++) = *(source++);

	if ( YY_CURRENT_BUFFER_LVALUE->yy_buffer_status == YY_BUFFER_EOF_PENDING )
		/* don't do the read, it's not guaranteed to return an EOF,
		 * just force an EOF
		 */
		YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars) = 0;

	else
		{
			yy_size_t num_to_read =
			YY_CURRENT_BUFFER_LVALUE->yy_buf_size - number_to_move - 1;

		while ( num_to_read <= 0 )
			{ /* Not enough room in the buffer - grow it. */

			YY_FATAL_ERROR(
"input buffer overflow, can't enlarge buffer because scanner uses REJECT" );

			}

		if ( num_to_read > YY_READ_BUF_SIZE )
			num_to_read = YY_READ_BUF_SIZE;

		/* Read in more data. */
		YY_INPUT( (&YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[number_to_move]),
			(yy_n_chars), num_to_read );

		YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars);
		}

	if ( (yy_n_chars) == 0 )
		{
		if ( number_to_move == YY_MORE_ADJ )
			{
			ret_val = EOB_ACT_END_OF_FILE;
			L_restart(L_in  );
			}

		else
			{
			ret_val = EOB_ACT_LAST_MATCH;
			YY_CURRENT_BUFFER_LVALUE->yy_buffer_status =
				YY_BUFFER_EOF_PENDING;
			}
		}

	else
		ret_val = EOB_ACT_CONTINUE_SCAN;

	if ((yy_size_t) ((yy_n_chars) + number_to_move) > YY_CURRENT_BUFFER_LVALUE->yy_buf_size) {
		/* Extend the array by 50%, plus the number we really need. */
		yy_size_t new_size = (yy_n_chars) + number_to_move + ((yy_n_chars) >> 1);
		YY_CURRENT_BUFFER_LVALUE->yy_ch_buf = (char *) L_realloc((void *) YY_CURRENT_BUFFER_LVALUE->yy_ch_buf,new_size  );
		if ( ! YY_CURRENT_BUFFER_LVALUE->yy_ch_buf )
			YY_FATAL_ERROR( "out of dynamic memory in yy_get_next_buffer()" );
	}

	(yy_n_chars) += number_to_move;
	YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)] = YY_END_OF_BUFFER_CHAR;
	YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars) + 1] = YY_END_OF_BUFFER_CHAR;

	(yytext_ptr) = &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[0];

	return ret_val;
}

/* yy_get_previous_state - get the state just before the EOB char was reached */

    static yy_state_type yy_get_previous_state (void)
{
	register yy_state_type yy_current_state;
	register char *yy_cp;
    
	yy_current_state = (yy_start);
	yy_current_state += YY_AT_BOL();

	(yy_state_ptr) = (yy_state_buf);
	*(yy_state_ptr)++ = yy_current_state;

	for ( yy_cp = (yytext_ptr) + YY_MORE_ADJ; yy_cp < (yy_c_buf_p); ++yy_cp )
		{
		register YY_CHAR yy_c = (*yy_cp ? yy_ec[YY_SC_TO_UI(*yy_cp)] : 1);
		while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state )
			{
			yy_current_state = (int) yy_def[yy_current_state];
			if ( yy_current_state >= 583 )
				yy_c = yy_meta[(unsigned int) yy_c];
			}
		yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c];
		*(yy_state_ptr)++ = yy_current_state;
		}

	return yy_current_state;
}

/* yy_try_NUL_trans - try to make a transition on the NUL character
 *
 * synopsis
 *	next_state = yy_try_NUL_trans( current_state );
 */
    static yy_state_type yy_try_NUL_trans  (yy_state_type yy_current_state )
{
	register int yy_is_jam;
    
	register YY_CHAR yy_c = 1;
	while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state )
		{
		yy_current_state = (int) yy_def[yy_current_state];
		if ( yy_current_state >= 583 )
			yy_c = yy_meta[(unsigned int) yy_c];
		}
	yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c];
	yy_is_jam = (yy_current_state == 582);
	if ( ! yy_is_jam )
		*(yy_state_ptr)++ = yy_current_state;

		return yy_is_jam ? 0 : yy_current_state;
}

    static void yyunput (int c, register char * yy_bp )
{
	register char *yy_cp;
    
    yy_cp = (yy_c_buf_p);

	/* undo effects of setting up L_text */
	*yy_cp = (yy_hold_char);

	if ( yy_cp < YY_CURRENT_BUFFER_LVALUE->yy_ch_buf + 2 )
		{ /* need to shift things up to make room */
		/* +2 for EOB chars. */
		register yy_size_t number_to_move = (yy_n_chars) + 2;
		register char *dest = &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[
					YY_CURRENT_BUFFER_LVALUE->yy_buf_size + 2];
		register char *source =
				&YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[number_to_move];

		while ( source > YY_CURRENT_BUFFER_LVALUE->yy_ch_buf )
			*--dest = *--source;

		yy_cp += (int) (dest - source);
		yy_bp += (int) (dest - source);
		YY_CURRENT_BUFFER_LVALUE->yy_n_chars =
			(yy_n_chars) = YY_CURRENT_BUFFER_LVALUE->yy_buf_size;

		if ( yy_cp < YY_CURRENT_BUFFER_LVALUE->yy_ch_buf + 2 )
			YY_FATAL_ERROR( "flex scanner push-back overflow" );
		}

	*--yy_cp = (char) c;

	(yytext_ptr) = yy_bp;
	(yy_hold_char) = *yy_cp;
	(yy_c_buf_p) = yy_cp;
}

#ifndef YY_NO_INPUT
#ifdef __cplusplus
    static int yyinput (void)
#else
    static int input  (void)
#endif

{
	int c;
    
	*(yy_c_buf_p) = (yy_hold_char);

	if ( *(yy_c_buf_p) == YY_END_OF_BUFFER_CHAR )
		{
		/* yy_c_buf_p now points to the character we want to return.
		 * If this occurs *before* the EOB characters, then it's a
		 * valid NUL; if not, then we've hit the end of the buffer.
		 */
		if ( (yy_c_buf_p) < &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)] )
			/* This was really a NUL. */
			*(yy_c_buf_p) = '\0';

		else
			{ /* need more input */
			yy_size_t offset = (yy_c_buf_p) - (yytext_ptr);
			++(yy_c_buf_p);

			switch ( yy_get_next_buffer(  ) )
				{
				case EOB_ACT_LAST_MATCH:
					/* This happens because yy_g_n_b()
					 * sees that we've accumulated a
					 * token and flags that we need to
					 * try matching the token before
					 * proceeding.  But for input(),
					 * there's no matching to consider.
					 * So convert the EOB_ACT_LAST_MATCH
					 * to EOB_ACT_END_OF_FILE.
					 */

					/* Reset buffer status. */
					L_restart(L_in );

					/*FALLTHROUGH*/

				case EOB_ACT_END_OF_FILE:
					{
					if ( L_wrap( ) )
						return EOF;

					if ( ! (yy_did_buffer_switch_on_eof) )
						YY_NEW_FILE;
#ifdef __cplusplus
					return yyinput();
#else
					return input();
#endif
					}

				case EOB_ACT_CONTINUE_SCAN:
					(yy_c_buf_p) = (yytext_ptr) + offset;
					break;
				}
			}
		}

	c = *(unsigned char *) (yy_c_buf_p);	/* cast for 8-bit char's */
	*(yy_c_buf_p) = '\0';	/* preserve L_text */
	(yy_hold_char) = *++(yy_c_buf_p);

	YY_CURRENT_BUFFER_LVALUE->yy_at_bol = (c == '\n');

	return c;
}
#endif	/* ifndef YY_NO_INPUT */

/** Immediately switch to a different input stream.
 * @param input_file A readable stream.
 * 
 * @note This function does not reset the start condition to @c INITIAL .
 */
    void L_restart  (FILE * input_file )
{
    
	if ( ! YY_CURRENT_BUFFER ){
        L_ensure_buffer_stack ();
		YY_CURRENT_BUFFER_LVALUE =
            L__create_buffer(L_in,YY_BUF_SIZE );
	}

	L__init_buffer(YY_CURRENT_BUFFER,input_file );
	L__load_buffer_state( );
}

/** Switch to a different input buffer.
 * @param new_buffer The new input buffer.
 * 
 */
    void L__switch_to_buffer  (YY_BUFFER_STATE  new_buffer )
{
    
	/* TODO. We should be able to replace this entire function body
	 * with
	 *		L_pop_buffer_state();
	 *		L_push_buffer_state(new_buffer);
     */
	L_ensure_buffer_stack ();
	if ( YY_CURRENT_BUFFER == new_buffer )
		return;

	if ( YY_CURRENT_BUFFER )
		{
		/* Flush out information for old buffer. */
		*(yy_c_buf_p) = (yy_hold_char);
		YY_CURRENT_BUFFER_LVALUE->yy_buf_pos = (yy_c_buf_p);
		YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars);
		}

	YY_CURRENT_BUFFER_LVALUE = new_buffer;
	L__load_buffer_state( );

	/* We don't actually know whether we did this switch during
	 * EOF (L_wrap()) processing, but the only time this flag
	 * is looked at is after L_wrap() is called, so it's safe
	 * to go ahead and always set it.
	 */
	(yy_did_buffer_switch_on_eof) = 1;
}

static void L__load_buffer_state  (void)
{
    	(yy_n_chars) = YY_CURRENT_BUFFER_LVALUE->yy_n_chars;
	(yytext_ptr) = (yy_c_buf_p) = YY_CURRENT_BUFFER_LVALUE->yy_buf_pos;
	L_in = YY_CURRENT_BUFFER_LVALUE->yy_input_file;
	(yy_hold_char) = *(yy_c_buf_p);
}

/** Allocate and initialize an input buffer state.
 * @param file A readable stream.
 * @param size The character buffer size in bytes. When in doubt, use @c YY_BUF_SIZE.
 * 
 * @return the allocated buffer state.
 */
    YY_BUFFER_STATE L__create_buffer  (FILE * file, int  size )
{
	YY_BUFFER_STATE b;
    
	b = (YY_BUFFER_STATE) L_alloc(sizeof( struct yy_buffer_state )  );
	if ( ! b )
		YY_FATAL_ERROR( "out of dynamic memory in L__create_buffer()" );

	b->yy_buf_size = size;

	/* yy_ch_buf has to be 2 characters longer than the size given because
	 * we need to put in 2 end-of-buffer characters.
	 */
	b->yy_ch_buf = (char *) L_alloc(b->yy_buf_size + 2  );
	if ( ! b->yy_ch_buf )
		YY_FATAL_ERROR( "out of dynamic memory in L__create_buffer()" );

	b->yy_is_our_buffer = 1;

	L__init_buffer(b,file );

	return b;
}

/** Destroy the buffer.
 * @param b a buffer created with L__create_buffer()
 * 
 */
    void L__delete_buffer (YY_BUFFER_STATE  b )
{
    
	if ( ! b )
		return;

	if ( b == YY_CURRENT_BUFFER ) /* Not sure if we should pop here. */
		YY_CURRENT_BUFFER_LVALUE = (YY_BUFFER_STATE) 0;

	if ( b->yy_is_our_buffer )
		L_free((void *) b->yy_ch_buf  );

	L_free((void *) b  );
}

/* Initializes or reinitializes a buffer.
 * This function is sometimes called more than once on the same buffer,
 * such as during a L_restart() or at EOF.
 */
    static void L__init_buffer  (YY_BUFFER_STATE  b, FILE * file )

{
	int oerrno = errno;
    
	L__flush_buffer(b );

	b->yy_input_file = file;
	b->yy_fill_buffer = 1;

    /* If b is the current buffer, then L__init_buffer was _probably_
     * called from L_restart() or through yy_get_next_buffer.
     * In that case, we don't want to reset the lineno or column.
     */
    if (b != YY_CURRENT_BUFFER){
        b->yy_bs_lineno = 1;
        b->yy_bs_column = 0;
    }

        b->yy_is_interactive = file ? (isatty( fileno(file) ) > 0) : 0;
    
	errno = oerrno;
}

/** Discard all buffered characters. On the next scan, YY_INPUT will be called.
 * @param b the buffer state to be flushed, usually @c YY_CURRENT_BUFFER.
 * 
 */
    void L__flush_buffer (YY_BUFFER_STATE  b )
{
    	if ( ! b )
		return;

	b->yy_n_chars = 0;

	/* We always need two end-of-buffer characters.  The first causes
	 * a transition to the end-of-buffer state.  The second causes
	 * a jam in that state.
	 */
	b->yy_ch_buf[0] = YY_END_OF_BUFFER_CHAR;
	b->yy_ch_buf[1] = YY_END_OF_BUFFER_CHAR;

	b->yy_buf_pos = &b->yy_ch_buf[0];

	b->yy_at_bol = 1;
	b->yy_buffer_status = YY_BUFFER_NEW;

	if ( b == YY_CURRENT_BUFFER )
		L__load_buffer_state( );
}

/** Pushes the new state onto the stack. The new state becomes
 *  the current state. This function will allocate the stack
 *  if necessary.
 *  @param new_buffer The new state.
 *  
 */
void L_push_buffer_state (YY_BUFFER_STATE new_buffer )
{
    	if (new_buffer == NULL)
		return;

	L_ensure_buffer_stack();

	/* This block is copied from L__switch_to_buffer. */
	if ( YY_CURRENT_BUFFER )
		{
		/* Flush out information for old buffer. */
		*(yy_c_buf_p) = (yy_hold_char);
		YY_CURRENT_BUFFER_LVALUE->yy_buf_pos = (yy_c_buf_p);
		YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars);
		}

	/* Only push if top exists. Otherwise, replace top. */
	if (YY_CURRENT_BUFFER)
		(yy_buffer_stack_top)++;
	YY_CURRENT_BUFFER_LVALUE = new_buffer;

	/* copied from L__switch_to_buffer. */
	L__load_buffer_state( );
	(yy_did_buffer_switch_on_eof) = 1;
}

/** Removes and deletes the top of the stack, if present.
 *  The next element becomes the new top.
 *  
 */
void L_pop_buffer_state (void)
{
    	if (!YY_CURRENT_BUFFER)
		return;

	L__delete_buffer(YY_CURRENT_BUFFER );
	YY_CURRENT_BUFFER_LVALUE = NULL;
	if ((yy_buffer_stack_top) > 0)
		--(yy_buffer_stack_top);

	if (YY_CURRENT_BUFFER) {
		L__load_buffer_state( );
		(yy_did_buffer_switch_on_eof) = 1;
	}
}

/* Allocates the stack if it does not exist.
 *  Guarantees space for at least one push.
 */
static void L_ensure_buffer_stack (void)
{
	yy_size_t num_to_alloc;
    
	if (!(yy_buffer_stack)) {

		/* First allocation is just for 2 elements, since we don't know if this
		 * scanner will even need a stack. We use 2 instead of 1 to avoid an
		 * immediate realloc on the next call.
         */
		num_to_alloc = 1;
		(yy_buffer_stack) = (struct yy_buffer_state**)L_alloc
								(num_to_alloc * sizeof(struct yy_buffer_state*)
								);
		if ( ! (yy_buffer_stack) )
			YY_FATAL_ERROR( "out of dynamic memory in L_ensure_buffer_stack()" );
								  
		memset((yy_buffer_stack), 0, num_to_alloc * sizeof(struct yy_buffer_state*));
				
		(yy_buffer_stack_max) = num_to_alloc;
		(yy_buffer_stack_top) = 0;
		return;
	}

	if ((yy_buffer_stack_top) >= ((yy_buffer_stack_max)) - 1){

		/* Increase the buffer to prepare for a possible push. */
		int grow_size = 8 /* arbitrary grow size */;

		num_to_alloc = (yy_buffer_stack_max) + grow_size;
		(yy_buffer_stack) = (struct yy_buffer_state**)L_realloc
								((yy_buffer_stack),
								num_to_alloc * sizeof(struct yy_buffer_state*)
								);
		if ( ! (yy_buffer_stack) )
			YY_FATAL_ERROR( "out of dynamic memory in L_ensure_buffer_stack()" );

		/* zero only the new slots.*/
		memset((yy_buffer_stack) + (yy_buffer_stack_max), 0, grow_size * sizeof(struct yy_buffer_state*));
		(yy_buffer_stack_max) = num_to_alloc;
	}
}

/** Setup the input buffer state to scan directly from a user-specified character buffer.
 * @param base the character buffer
 * @param size the size in bytes of the character buffer
 * 
 * @return the newly allocated buffer state object. 
 */
YY_BUFFER_STATE L__scan_buffer  (char * base, yy_size_t  size )
{
	YY_BUFFER_STATE b;
    
	if ( size < 2 ||
	     base[size-2] != YY_END_OF_BUFFER_CHAR ||
	     base[size-1] != YY_END_OF_BUFFER_CHAR )
		/* They forgot to leave room for the EOB's. */
		return 0;

	b = (YY_BUFFER_STATE) L_alloc(sizeof( struct yy_buffer_state )  );
	if ( ! b )
		YY_FATAL_ERROR( "out of dynamic memory in L__scan_buffer()" );

	b->yy_buf_size = size - 2;	/* "- 2" to take care of EOB's */
	b->yy_buf_pos = b->yy_ch_buf = base;
	b->yy_is_our_buffer = 0;
	b->yy_input_file = 0;
	b->yy_n_chars = b->yy_buf_size;
	b->yy_is_interactive = 0;
	b->yy_at_bol = 1;
	b->yy_fill_buffer = 0;
	b->yy_buffer_status = YY_BUFFER_NEW;

	L__switch_to_buffer(b  );

	return b;
}

/** Setup the input buffer state to scan a string. The next call to L_lex() will
 * scan from a @e copy of @a str.
 * @param yystr a NUL-terminated string to scan
 * 
 * @return the newly allocated buffer state object.
 * @note If you want to scan bytes that may contain NUL values, then use
 *       L__scan_bytes() instead.
 */
YY_BUFFER_STATE L__scan_string (yyconst char * yystr )
{
    
	return L__scan_bytes(yystr,strlen(yystr) );
}

/** Setup the input buffer state to scan the given bytes. The next call to L_lex() will
 * scan from a @e copy of @a bytes.
 * @param yybytes the byte buffer to scan
 * @param _yybytes_len the number of bytes in the buffer pointed to by @a bytes.
 * 
 * @return the newly allocated buffer state object.
 */
YY_BUFFER_STATE L__scan_bytes  (yyconst char * yybytes, yy_size_t  _yybytes_len )
{
	YY_BUFFER_STATE b;
	char *buf;
	yy_size_t n;
	yy_size_t i;
    
	/* Get memory for full buffer, including space for trailing EOB's. */
	n = _yybytes_len + 2;
	buf = (char *) L_alloc(n  );
	if ( ! buf )
		YY_FATAL_ERROR( "out of dynamic memory in L__scan_bytes()" );

	for ( i = 0; i < _yybytes_len; ++i )
		buf[i] = yybytes[i];

	buf[_yybytes_len] = buf[_yybytes_len+1] = YY_END_OF_BUFFER_CHAR;

	b = L__scan_buffer(buf,n );
	if ( ! b )
		YY_FATAL_ERROR( "bad buffer in L__scan_bytes()" );

	/* It's okay to grow etc. this buffer, and we should throw it
	 * away when we're done.
	 */
	b->yy_is_our_buffer = 1;

	return b;
}

    static void yy_push_state (int  new_state )
{
    	if ( (yy_start_stack_ptr) >= (yy_start_stack_depth) )
		{
		yy_size_t new_size;

		(yy_start_stack_depth) += YY_START_STACK_INCR;
		new_size = (yy_start_stack_depth) * sizeof( int );

		if ( ! (yy_start_stack) )
			(yy_start_stack) = (int *) L_alloc(new_size  );

		else
			(yy_start_stack) = (int *) L_realloc((void *) (yy_start_stack),new_size  );

		if ( ! (yy_start_stack) )
			YY_FATAL_ERROR( "out of memory expanding start-condition stack" );
		}

	(yy_start_stack)[(yy_start_stack_ptr)++] = YY_START;

	BEGIN(new_state);
}

    static void yy_pop_state  (void)
{
    	if ( --(yy_start_stack_ptr) < 0 )
		YY_FATAL_ERROR( "start-condition stack underflow" );

	BEGIN((yy_start_stack)[(yy_start_stack_ptr)]);
}

#ifndef YY_EXIT_FAILURE
#define YY_EXIT_FAILURE 2
#endif

static void yy_fatal_error (yyconst char* msg )
{
    	(void) fprintf( stderr, "%s\n", msg );
	exit( YY_EXIT_FAILURE );
}

/* Redefine yyless() so it works in section 3 code. */

#undef yyless
#define yyless(n) \
	do \
		{ \
		/* Undo effects of setting up L_text. */ \
        int yyless_macro_arg = (n); \
        YY_LESS_LINENO(yyless_macro_arg);\
		L_text[L_leng] = (yy_hold_char); \
		(yy_c_buf_p) = L_text + yyless_macro_arg; \
		(yy_hold_char) = *(yy_c_buf_p); \
		*(yy_c_buf_p) = '\0'; \
		L_leng = yyless_macro_arg; \
		} \
	while ( 0 )

/* Accessor  methods (get/set functions) to struct members. */

/** Get the current line number.
 * 
 */
int L_get_lineno  (void)
{
        
    return L_lineno;
}

/** Get the input stream.
 * 
 */
FILE *L_get_in  (void)
{
        return L_in;
}

/** Get the output stream.
 * 
 */
FILE *L_get_out  (void)
{
        return L_out;
}

/** Get the length of the current token.
 * 
 */
yy_size_t L_get_leng  (void)
{
        return L_leng;
}

/** Get the current token.
 * 
 */

char *L_get_text  (void)
{
        return L_text;
}

/** Set the current line number.
 * @param line_number
 * 
 */
void L_set_lineno (int  line_number )
{
    
    L_lineno = line_number;
}

/** Set the input stream. This does not discard the current
 * input buffer.
 * @param in_str A readable stream.
 * 
 * @see L__switch_to_buffer
 */
void L_set_in (FILE *  in_str )
{
        L_in = in_str ;
}

void L_set_out (FILE *  out_str )
{
        L_out = out_str ;
}

int L_get_debug  (void)
{
        return L__flex_debug;
}

void L_set_debug (int  bdebug )
{
        L__flex_debug = bdebug ;
}

static int yy_init_globals (void)
{
        /* Initialization is the same as for the non-reentrant scanner.
     * This function is called from L_lex_destroy(), so don't allocate here.
     */

    (yy_buffer_stack) = 0;
    (yy_buffer_stack_top) = 0;
    (yy_buffer_stack_max) = 0;
    (yy_c_buf_p) = (char *) 0;
    (yy_init) = 0;
    (yy_start) = 0;

    (yy_start_stack_ptr) = 0;
    (yy_start_stack_depth) = 0;
    (yy_start_stack) =  NULL;

    (yy_state_buf) = 0;
    (yy_state_ptr) = 0;
    (yy_full_match) = 0;
    (yy_lp) = 0;

/* Defined in main.c */
#ifdef YY_STDINIT
    L_in = stdin;
    L_out = stdout;
#else
    L_in = (FILE *) 0;
    L_out = (FILE *) 0;
#endif

    /* For future reference: Set errno on error, since we are called by
     * L_lex_init()
     */
    return 0;
}

/* L_lex_destroy is for both reentrant and non-reentrant scanners. */
int L_lex_destroy  (void)
{
    
    /* Pop the buffer stack, destroying each element. */
	while(YY_CURRENT_BUFFER){
		L__delete_buffer(YY_CURRENT_BUFFER  );
		YY_CURRENT_BUFFER_LVALUE = NULL;
		L_pop_buffer_state();
	}

	/* Destroy the stack itself. */
	L_free((yy_buffer_stack) );
	(yy_buffer_stack) = NULL;

    /* Destroy the start condition stack. */
        L_free((yy_start_stack)  );
        (yy_start_stack) = NULL;

    L_free ( (yy_state_buf) );
    (yy_state_buf)  = NULL;

    /* Reset the globals. This is important in a non-reentrant scanner so the next time
     * L_lex() is called, initialization will occur. */
    yy_init_globals( );

    return 0;
}

/*
 * Internal utility routines.
 */

#ifndef yytext_ptr
static void yy_flex_strncpy (char* s1, yyconst char * s2, int n )
{
	register int i;
	for ( i = 0; i < n; ++i )
		s1[i] = s2[i];
}
#endif

#ifdef YY_NEED_STRLEN
static int yy_flex_strlen (yyconst char * s )
{
	register int n;
	for ( n = 0; s[n]; ++n )
		;

	return n;
}
#endif

void *L_alloc (yy_size_t  size )
{
	return (void *) malloc( size );
}

void *L_realloc  (void * ptr, yy_size_t  size )
{
	/* The cast to (char *) in the following accommodates both
	 * implementations that use char* generic pointers, and those
	 * that use void* generic pointers.  It works with the latter
	 * because both ANSI C and C++ allow castless assignment from
	 * any pointer type to void*, and deal with argument conversions
	 * as though doing an assignment.
	 */
	return (void *) realloc( (char *) ptr, size );
}

void L_free (void * ptr )
{
	free( (char *) ptr );	/* see L_realloc() for (char *) cast */
}

#define YYTABLES_NAME "yytables"

#line 1211 "../generic/Lscanner.l"


void
L_lex_start()
{
	include_top = -1;
	if (in_lhtml) {
		STRBUF_START(0);
		BEGIN(lhtml);
	} else {
		BEGIN(INITIAL);
	}
}

void
L_lex_begReArg(int kind)
{
	switch (kind) {
	    case 0:
		yy_push_state(re_arg_split);
		break;
	    case 1:
		yy_push_state(re_arg_case);
		break;
	    default:
		break;
	}
}

private void
extract_re_delims(char c)
{
	re_start_delim = c;
	if (c == '{') {
		re_end_delim = '}';
	} else {
		re_end_delim = c;
	}
}

void
L_lex_begLhtml()
{
	in_lhtml = 1;
}

void
L_lex_endLhtml()
{
	in_lhtml = 0;
}

/*
 * These functions are declared down here because they reference
 * things that flex has not yet declared in the prelogue (like
 * unput() or yyterminate() etc).
 */

/*
 * Unput a single character.  This function is declared down here
 * because it calls flex's unput() which is not declared before
 * the prelogue code earlier.
 */
private void
put_back(char c)
{
	unput(c);
	--L_lloc.end;
	--L->prev_token_len;
	tally_newlines(&c, 1, -1);
	--L->script_len;
	Tcl_SetObjLength(L->script, L->script_len);
}

/*
 * API for scanning string interpolations:
 * interpol_push()	- call when starting an interpolation; returns 1
 *			  on interpolation stack overflow
 * interpol_pop()	- call when finishing an interpolation
 * interpol_lbrace()	- call when "{" seen
 * interpol_rbrace()	- call when "}" seen; returns non-0 if this brace
 *			  ends the current interpolation
 */

private int
interpol_push()
{
	if (interpol_top >= INTERPOL_STACK_SZ) {
		L_err("string interpolation nesting too deep -- aborting");
		interpol_top = -1;
		return (1);
	}
	interpol_stk[++interpol_top] = 0;
	yy_push_state(interpol);
	return (0);
}

private void
interpol_pop()
{
	ASSERT((interpol_top >= 0) && (interpol_top <= INTERPOL_STACK_SZ));
	--interpol_top;
	yy_pop_state();
}

private void
interpol_lbrace()
{
	if (interpol_top >= 0) {
		ASSERT(interpol_top <= INTERPOL_STACK_SZ);
		++interpol_stk[interpol_top];
	}
}

private int
interpol_rbrace()
{
	if (interpol_top >= 0) {
		ASSERT(interpol_top <= INTERPOL_STACK_SZ);
		return (interpol_stk[interpol_top]-- == 0);
	} else {
		return (0);
	}
}