#define yy_create_buffer configYY_create_buffer
#define yy_delete_buffer configYY_delete_buffer
#define yy_scan_buffer configYY_scan_buffer
#define yy_scan_string configYY_scan_string
#define yy_scan_bytes configYY_scan_bytes
#define yy_flex_debug configYY_flex_debug
#define yy_init_buffer configYY_init_buffer
#define yy_flush_buffer configYY_flush_buffer
#define yy_load_buffer_state configYY_load_buffer_state
#define yy_switch_to_buffer configYY_switch_to_buffer
#define yyin configYYin
#define yyleng configYYleng
#define yylex configYYlex
#define yyout configYYout
#define yyrestart configYYrestart
#define yytext configYYtext

/* A lexical scanner generated by flex */

/* Scanner skeleton version:
 * $Header: /home/daffy/u0/vern/flex/RCS/flex.skl,v 2.91 96/09/10 16:58:48 vern Exp $
 */

#define FLEX_SCANNER
#define YY_FLEX_MAJOR_VERSION 2
#define YY_FLEX_MINOR_VERSION 5

#include <stdio.h>


/* cfront 1.2 defines "c_plusplus" instead of "__cplusplus" */
#ifdef c_plusplus
#ifndef __cplusplus
#define __cplusplus
#endif
#endif


#ifdef __cplusplus

#include <stdlib.h>
#include <unistd.h>

/* Use prototypes in function declarations. */
#define YY_USE_PROTOS

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

#else	/* ! __cplusplus */

#if __STDC__

#define YY_USE_PROTOS
#define YY_USE_CONST

#endif	/* __STDC__ */
#endif	/* ! __cplusplus */

#ifdef __TURBOC__
 #pragma warn -rch
 #pragma warn -use
#include <io.h>
#include <stdlib.h>
#define YY_USE_CONST
#define YY_USE_PROTOS
#endif

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


#ifdef YY_USE_PROTOS
#define YY_PROTO(proto) proto
#else
#define YY_PROTO(proto) ()
#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 yyrestart( yyin )

#define YY_END_OF_BUFFER_CHAR 0

/* Size of default input buffer. */
#define YY_BUF_SIZE 16384

typedef struct yy_buffer_state *YY_BUFFER_STATE;

extern int yyleng;
extern FILE *yyin, *yyout;

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

/* The funky do-while in the following #define is used to turn the definition
 * int a single C statement (which needs a semi-colon terminator).  This
 * avoids problems with code like:
 *
 * 	if ( condition_holds )
 *		yyless( 5 );
 *	else
 *		do_something_else();
 *
 * Prior to using the do-while the compiler would get upset at the
 * "else" because it interpreted the "if" statement as being all
 * done when it reached the ';' after the yyless() call.
 */

/* Return all but the first 'n' matched characters back to the input stream. */

#define yyless(n) \
	do \
		{ \
		/* Undo effects of setting up yytext. */ \
		*yy_cp = yy_hold_char; \
		YY_RESTORE_YY_MORE_OFFSET \
		yy_c_buf_p = yy_cp = yy_bp + n - YY_MORE_ADJ; \
		YY_DO_BEFORE_ACTION; /* set up yytext again */ \
		} \
	while ( 0 )

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

/* The following is because we cannot portably get our hands on size_t
 * (without autoconf's help, which isn't available because we want
 * flex-generated scanners to compile on their own).
 */
typedef unsigned int yy_size_t;


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.
	 */
	int 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;

	/* 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 yyrestart()), so that the user can continue scanning by
	 * just pointing yyin at a new input file.
	 */
#define YY_BUFFER_EOF_PENDING 2
	};

static YY_BUFFER_STATE yy_current_buffer = 0;

/* 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".
 */
#define YY_CURRENT_BUFFER yy_current_buffer


/* yy_hold_char holds the character lost when yytext is formed. */
static char yy_hold_char;

static int yy_n_chars;		/* number of characters read into yy_ch_buf */


int yyleng;

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

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

void yyrestart YY_PROTO(( FILE *input_file ));

void yy_switch_to_buffer YY_PROTO(( YY_BUFFER_STATE new_buffer ));
void yy_load_buffer_state YY_PROTO(( void ));
YY_BUFFER_STATE yy_create_buffer YY_PROTO(( FILE *file, int size ));
void yy_delete_buffer YY_PROTO(( YY_BUFFER_STATE b ));
void yy_init_buffer YY_PROTO(( YY_BUFFER_STATE b, FILE *file ));
void yy_flush_buffer YY_PROTO(( YY_BUFFER_STATE b ));
#define YY_FLUSH_BUFFER yy_flush_buffer( yy_current_buffer )

YY_BUFFER_STATE yy_scan_buffer YY_PROTO(( char *base, yy_size_t size ));
YY_BUFFER_STATE yy_scan_string YY_PROTO(( yyconst char *yy_str ));
YY_BUFFER_STATE yy_scan_bytes YY_PROTO(( yyconst char *bytes, int len ));

static void *yy_flex_alloc YY_PROTO(( yy_size_t ));
static void *yy_flex_realloc YY_PROTO(( void *, yy_size_t ));
static void yy_flex_free YY_PROTO(( void * ));

#define yy_new_buffer yy_create_buffer

#define yy_set_interactive(is_interactive) \
	{ \
	if ( ! yy_current_buffer ) \
		yy_current_buffer = yy_create_buffer( yyin, YY_BUF_SIZE ); \
	yy_current_buffer->yy_is_interactive = is_interactive; \
	}

#define yy_set_bol(at_bol) \
	{ \
	if ( ! yy_current_buffer ) \
		yy_current_buffer = yy_create_buffer( yyin, YY_BUF_SIZE ); \
	yy_current_buffer->yy_at_bol = at_bol; \
	}

#define YY_AT_BOL() (yy_current_buffer->yy_at_bol)


#define yywrap() 1
#define YY_SKIP_YYWRAP
typedef unsigned char YY_CHAR;
FILE *yyin = (FILE *) 0, *yyout = (FILE *) 0;
typedef int yy_state_type;
extern char *yytext;
#define yytext_ptr yytext

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

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

#define YY_NUM_RULES 140
#define YY_END_OF_BUFFER 141
static yyconst short int yy_accept[1344] =
    {   0,
        0,    0,    0,    0,    0,    0,    0,    0,    0,    0,
        0,    0,    0,    0,    0,    0,    0,    0,  141,  138,
      139,  138,  138,    2,  124,  138,  124,  124,  124,  124,
      124,  124,  124,  124,  124,  124,  124,  124,  124,  124,
      124,  124,  124,  124,  124,  124,  124,  135,  138,  128,
      125,  129,    2,  128,  128,  133,  134,  127,  126,  134,
      134,  132,  130,  130,  132,  132,  123,  138,  123,  123,
        0,  137,    0,  124,    0,  124,  124,  124,  124,  124,
      124,  124,  124,  124,  124,  124,  124,  124,  124,  124,
      124,  124,  124,  124,  124,  124,  124,  124,  124,  124,

      124,  124,  124,  124,  124,  124,  124,  124,  124,  124,
      124,  124,  124,  124,  124,    0,  136,  128,  128,  133,
      134,  127,  134,  131,  123,    0,  123,    0,    0,  124,
      124,  124,  124,  124,  124,  124,  124,  124,  124,  124,
      124,  124,  124,  124,  124,  124,  124,  124,  124,  124,
      124,  124,  124,  124,  124,  124,  124,  124,  124,  124,
      124,  124,  124,  124,  124,  124,  124,  124,  124,  124,
      124,  124,  124,  124,  124,  124,  124,  124,  124,  124,
      124,  124,  124,  124,  124,  124,  128,  134,  123,  123,
        1,    0,  124,  124,  124,  124,  124,  124,  124,  124,

      124,  124,  124,  124,  124,  124,  124,  124,  124,  124,
      124,  124,  124,  124,  124,  124,  124,  124,  124,  124,
      124,  124,  124,  124,  124,  124,  124,  124,  124,  124,
      124,  124,  124,  124,  124,  124,  124,  124,  124,  124,
      124,  124,  124,  124,  124,  124,  124,  124,  124,  124,
      124,    1,    1,    1,    0,  124,  124,  124,  124,  124,
      124,  124,  124,  124,  124,  124,  124,  124,  124,  124,
      124,  124,  124,  124,  124,  124,  124,  124,  124,  124,
      124,  124,  124,  124,  124,  124,  124,  124,  124,  124,
      124,  124,  124,  124,  124,  124,  124,  124,  124,  124,

      124,  124,  124,  124,  124,  124,  124,  124,  124,  124,
      124,  124,  124,  124,  124,  124,  124,  124,  124,  124,
        0,  124,  124,  124,  124,  124,  124,  124,  124,  124,
      124,  124,  124,  124,  124,  124,  124,  124,  124,  124,
      124,  124,  124,  124,  124,  124,  124,  124,  124,  124,
      124,  124,  124,  124,  124,  124,  124,  124,  124,  124,
      124,    0,    0,   40,  124,  124,  124,  124,  124,  124,
      124,  124,  124,  124,  124,  124,  124,  124,    0,   36,
      124,  124,  124,  124,  124,  124,  124,  124,  124,  124,
      124,  124,  124,  124,  124,  124,  124,    0,  124,  124,

      124,  124,  124,  124,  124,  124,  124,  124,  124,  124,
      124,  124,  124,  124,  124,  124,  124,  124,  124,  124,
      124,  124,  124,  124,  124,  124,  124,  124,  124,  124,
      124,  124,  124,  124,  124,  124,  124,  124,  124,  124,
       41,  124,  124,  124,  124,  124,  124,  124,  124,  124,
      124,  124,  124,  124,  124,  124,  124,  124,  124,  124,
      124,  124,  124,  124,  124,  124,  124,  124,  124,  124,
      124,  124,  124,  124,  124,  124,    0,  124,  124,  124,
      124,  124,  124,  124,    0,  115,  124,  124,  124,  124,
      124,  124,  124,    0,  116,  124,  124,  124,  124,    0,

        0,   45,  124,  124,  124,  124,  124,  124,  124,  124,
      124,  124,  124,  124,  124,  124,  124,  124,  124,  124,
      124,  124,  124,  124,  124,  124,  124,  124,  124,  124,
      124,  124,  124,  124,  124,  124,  124,  124,  124,  124,
      124,  124,  124,  124,  124,  124,  124,  124,  124,  124,
      124,  124,  124,  124,  124,  124,  124,  124,  124,  124,
      124,  124,  124,    0,  122,    0,  124,  124,  124,  124,
      124,  124,    0,  114,  124,  124,  124,  124,  124,  124,
      124,  124,    0,  110,  124,  124,  124,   46,  124,  124,
      124,  124,  124,  124,  124,  124,  124,  124,  124,  124,

        0,  104,  124,  124,  124,  124,  124,  124,  124,  124,
      124,  124,  124,  124,  124,  124,  124,  124,  124,  124,
      124,  124,  124,  124,  124,  124,  124,  124,  124,  124,
      124,  124,  124,  124,  124,  124,  124,  124,  124,  124,
      124,  124,  124,  124,  124,  124,  124,    0,   31,    0,
        0,   99,  124,  124,    0,   37,  124,  124,    0,  124,
      124,  124,  124,  124,  124,  124,  124,  124,  124,  124,
      124,  124,  124,  124,  124,  124,  124,  124,  124,  124,
      124,  124,  124,  124,  124,  124,  124,  124,  124,  124,
      124,  124,  124,  124,  124,  124,  124,  124,  124,  124,

      124,  124,  124,  124,  124,  124,  124,  124,  124,  124,
      124,  124,  124,  124,  124,  124,  124,  124,  124,  124,
      124,  124,  124,    0,  103,  124,  124,  124,    0,   44,
      124,  124,  124,  124,  124,  124,  124,  124,  124,  124,
      124,  100,  124,  124,  124,  124,    0,  124,  124,  124,
      124,  124,  124,  124,  124,  124,  124,  124,  124,  124,
      124,  124,  124,  124,  124,  124,  124,  124,  124,  124,
      124,  124,  124,  124,  124,  124,  124,  124,  124,  124,
      124,  124,  124,  124,  124,  124,  124,  124,  124,  124,
      124,    0,    0,   53,  124,  124,  124,  124,  124,  124,

      124,  124,  124,  124,  124,  124,  124,  124,  124,    0,
       84,  124,  124,  124,    0,   71,  124,    0,    0,   95,
      124,  124,  124,  124,    0,   79,  124,  124,  124,  124,
      124,  124,  124,  124,  124,  124,  124,  124,    0,  124,
      124,  124,    0,  118,  124,  124,  124,    0,  105,  124,
      124,  124,    0,   80,  124,    0,  117,  124,  124,  124,
      124,  124,  124,  124,    0,    7,  124,  124,  124,  124,
      124,  124,  124,  124,  124,  124,  124,  124,  124,  124,
      124,  124,  124,  124,  124,    0,   63,    0,   62,    0,
       61,  124,  124,   54,  124,  124,  124,  124,  124,    0,

       29,  124,  124,  124,  124,  124,  124,  124,  124,  124,
      124,  124,  124,  124,   96,  124,  124,  124,  124,  124,
      124,  124,  124,  124,  124,  124,  124,  124,  124,    0,
       39,  124,    0,    0,  102,  124,  124,  124,  124,  124,
      124,  124,  124,  124,  124,  124,    0,    0,   49,  124,
      124,  124,  124,  124,  124,  124,  124,  124,  124,  124,
      124,    0,   83,    0,   78,  124,  124,  124,    0,   86,
      124,  124,  124,  124,  124,  124,  124,  124,  124,  124,
        0,    0,   91,    0,   28,  124,    0,   55,  124,  124,
      124,    0,   74,    0,   69,  124,  124,  124,  124,  124,

      124,    0,    3,  124,    0,   13,  124,  124,    0,  113,
      124,  124,  124,  124,  124,  124,    0,   76,  124,  124,
        0,  121,  124,  124,  124,  124,  124,  124,  124,    0,
       70,    0,   67,  124,  124,   50,  124,  124,  124,  124,
      124,  124,  124,    0,    0,  119,    0,    0,   42,  124,
        0,   60,  124,  124,  124,  124,  124,  124,  124,  124,
      124,  124,  124,    0,    0,   58,  124,  124,    0,  107,
       92,  124,    0,   18,  124,  124,  124,    0,   85,  124,
      124,  124,  124,  124,  124,  124,  124,  124,  124,  124,
      124,  124,  124,  124,  124,  124,  124,  124,    0,   19,

      124,  124,  124,  124,  124,  124,  124,  124,  124,    0,
        9,    0,    0,   72,  120,   43,  124,  124,    0,   68,
      124,  124,  124,  124,  124,  124,  124,  124,  124,   59,
      124,  124,    0,   21,  124,  124,  124,  124,  124,  124,
      124,    0,   75,    0,    4,    0,   81,  124,  124,  124,
      124,    0,   20,  124,  124,  124,  124,  124,  124,  124,
      124,  124,  124,  124,  124,  124,  124,  124,  124,    0,
        8,   73,    0,   15,  124,  124,  124,  124,  124,  124,
      124,  124,  124,    0,   64,  124,  124,  124,    0,   77,
        0,   88,  124,  124,  124,    0,    6,  124,    0,   90,

      124,  124,  124,    0,    0,   16,  124,  124,  124,  124,
      124,    0,   23,  124,  124,    0,    0,   32,  124,    0,
        0,   51,    0,    0,   47,  124,  124,  124,    0,  101,
      124,  124,  124,    0,   24,  124,  124,  124,  124,  124,
      124,  124,  124,    0,    5,  124,  124,    0,   30,  124,
       17,    0,   25,  124,  124,  124,    0,   12,  124,  124,
       33,  124,   52,   48,    0,    0,   97,  124,    0,   66,
        0,   35,    0,   34,  124,  124,  124,  124,    0,  108,
      124,    0,   27,  124,  124,  124,  124,  124,  124,    0,
       56,  124,  124,  124,  124,   98,    0,   89,  124,    0,

       11,    0,   10,    0,   65,  124,  124,  124,  124,    0,
       26,  124,  124,    0,   14,    0,  106,    0,   57,  124,
        0,  109,  124,  124,    0,  111,    0,   82,    0,   22,
      124,    0,   87,  124,    0,  112,    0,   38,    0,    0,
       93,   94,    0
    } ;

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

       40,   40,   40,   40,   40,   40,   40,   40,   40,   40,
       40,   40,   40,   40,   40,   40,   40,   40,   40,   42,
       40,   40,    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,    1,    1,    1,    1
    } ;

static yyconst int yy_meta[44] =
    {   0,
        1,    2,    3,    2,    3,    4,    1,    5,    5,    1,
        1,    6,    6,    6,    6,    6,    6,    6,    6,    6,
        6,    6,    6,    6,    6,    6,    6,    6,    6,    6,
        6,    6,    6,    6,    6,    6,    6,    1,    5,    6,
        6,    6,    1
    } ;

static yyconst short int yy_base[1356] =
    {   0,
        0,    1,   44,    0,   85,   86,  128,  170,  213,  256,
      298,  340,   97,   98,  101,  104,  107,  111, 1707, 1708,
     1708,    3, 1664, 1708,    0, 1685, 1681,    0,    0,    1,
        0,    2,    1,   86,   72, 1691, 1690, 1689, 1668,   79,
     1667,    0,  127, 1686, 1667, 1680, 1683, 1708,    6,    0,
     1708, 1708,    0,   11, 1652,    0,    0, 1691, 1708,   38,
     1650, 1708, 1708, 1708,  116, 1649,    0,    0,  123, 1648,
      153, 1708, 1681,    0, 1663,  125, 1662, 1666, 1655, 1664,
     1671,    9, 1652,    5, 1669,  150, 1657, 1656, 1653, 1665,
     1643, 1660, 1650, 1648, 1660,  164, 1638, 1639,  154, 1638,

     1641, 1650, 1637,  135, 1645,   10, 1647, 1651, 1636,  131,
     1632,  152, 1644, 1630, 1629,  182, 1708,    0, 1649,    0,
        0, 1654, 1647, 1708,    0, 1649, 1645, 1611, 1637, 1634,
     1630, 1636, 1608, 1630, 1629, 1605, 1613,   69, 1615, 1629,
     1601, 1600, 1625, 1613, 1613, 1623,  151, 1618, 1610, 1616,
     1604, 1614, 1613, 1605, 1601, 1608, 1602, 1608, 1603, 1590,
     1605, 1608, 1603, 1589, 1578, 1577, 1588, 1598, 1574, 1589,
     1596, 1589, 1593, 1576, 1591, 1567, 1576, 1570, 1572, 1573,
     1581, 1561, 1582, 1559, 1584, 1571, 1554, 1553, 1708, 1552,
     1708, 1569, 1556, 1578, 1553, 1576, 1570, 1547,  167, 1555,

     1572, 1544, 1570, 1568,  170, 1553, 1556, 1551, 1545, 1551,
     1563, 1559, 1534, 1533, 1542, 1551, 1530, 1529, 1528, 1537,
     1549, 1532, 1534, 1537, 1530, 1531, 1544, 1523, 1531,  172,
     1541, 1523, 1525, 1534, 1513, 1535, 1534, 1518, 1519, 1535,
      174, 1532, 1506, 1505, 1529, 1515, 1511, 1520, 1512, 1526,
      186,    0,    0,    0, 1505, 1505, 1522, 1504, 1520, 1493,
     1501, 1518, 1500, 1489, 1514, 1506, 1511, 1501, 1510, 1493,
     1509, 1504, 1496, 1503, 1502,  155, 1490, 1488, 1487, 1501,
     1492, 1496,  171,  214, 1494, 1470, 1493, 1487, 1490,  232,
     1480, 1478, 1464, 1463, 1466, 1468, 1473, 1467, 1458, 1460,

     1468, 1477, 1479,  195, 1462, 1460, 1454, 1457, 1457, 1468,
     1466, 1461, 1468, 1444, 1462, 1458, 1465, 1448, 1453,  190,
     1462, 1460, 1459, 1435, 1443, 1448, 1455, 1446, 1446,  194,
     1442, 1442, 1435, 1449, 1434, 1440, 1431,  196, 1445, 1444,
     1420, 1427, 1430, 1442, 1443, 1442, 1422, 1438, 1425, 1436,
     1424, 1425, 1421, 1430, 1413, 1413, 1404, 1415, 1425, 1409,
     1400,  236, 1428, 1708, 1420, 1424, 1421,  228, 1418, 1402,
     1401, 1400, 1391, 1398, 1401, 1415, 1406, 1394,  226, 1708,
     1404, 1384, 1395, 1390, 1384,  211, 1394, 1402, 1378,  215,
     1379, 1399, 1397, 1393, 1394, 1385, 1393, 1393, 1379, 1376,

     1391, 1378, 1388, 1378, 1386,  235, 1381, 1371, 1370, 1359,
     1358, 1357, 1368,  266, 1375, 1354, 1365, 1352,  267,  258,
     1351, 1377, 1349, 1356, 1355, 1369, 1372, 1352, 1356, 1366,
     1360, 1353, 1366, 1346, 1340, 1348, 1362,  233, 1334,  253,
     1708, 1352, 1348, 1331, 1357, 1352, 1335, 1331, 1349, 1337,
     1324,  263, 1326, 1345, 1329, 1334, 1319, 1324, 1343, 1339,
     1327, 1330, 1327, 1331, 1336, 1325, 1335, 1321, 1317, 1329,
     1314, 1320, 1318, 1311, 1311, 1300,  277, 1313, 1317, 1320,
     1323, 1310, 1303,  278,  279, 1708, 1320, 1319, 1318, 1317,
      226, 1308, 1315,  280, 1708,  283, 1296, 1296, 1297,  303,

     1313, 1708, 1295, 1291, 1295,  284, 1305, 1291, 1286, 1297,
     1276, 1291,  305, 1286, 1286, 1293, 1279, 1294, 1281, 1284,
     1277, 1274, 1265,  291, 1288, 1277, 1275, 1277, 1260, 1286,
     1266, 1284, 1264, 1267, 1268, 1260, 1273, 1270, 1277, 1261,
     1258, 1267, 1269, 1259, 1267, 1253, 1252, 1248, 1263, 1260,
     1252, 1253, 1262, 1245, 1258, 1246,  310,  315, 1259, 1231,
      317, 1245, 1236,  319, 1708, 1240, 1254, 1251, 1233, 1232,
     1249, 1245,  321, 1708, 1242, 1232, 1227, 1234, 1244, 1224,
     1229, 1222,  322, 1708, 1236, 1235, 1238, 1708, 1237, 1209,
     1224, 1223, 1216, 1213, 1221, 1230, 1225, 1201,  328, 1200,

      324, 1708, 1222, 1223, 1211, 1219, 1218, 1201, 1216, 1215,
     1211, 1216, 1208, 1198, 1214, 1199, 1207, 1191, 1191, 1206,
     1185, 1197, 1195, 1179, 1193, 1174, 1168, 1169, 1128, 1131,
     1137, 1129,  328,   13,  316,  348,   73,   82,   91,  107,
      118,  153,  164,  214,  227,  259,  267,  351, 1708,  358,
      282, 1708,  266,  279,  352, 1708,  321,  310,  325,  316,
      328,  337,  336,  340,  325,  337,  348,  349,  343,  340,
      355,  358,  355,  361,  349,  346,  348,  365,  345,  359,
      364,  373,  374,  356,  359,  364,  359,  379,  380,  362,
      382,  371,  377,  358,  360,  361,  372,  373,  372,  374,

      388,  404,  371,  386,  398,  381,  399,  389,  387,  401,
      392,  388,  401,  405,  390,  398,  404,  423,  414,  411,
      410,  427,  410,  429, 1708,  433,  408,  410,  434, 1708,
      422,  421,  440,  426,  421,  424,  433,  420,  417,  413,
      414, 1708,  438,  439,  425,  442,  427,  429,  437,  441,
      460,  434,  439,  453,  464,  441,  449,  453,  469,  456,
      471,  444,  447,  458,  447,  464,  443,  481,  451,  454,
      468,  468,  463,  478,  468,  462,  469,  478,  478,  467,
      483,  476,  480,  476,  488,  479,  503,  504,  505,  485,
      488,  509,  499, 1708,  471,  501,  491,  501,  491,  520,

      509,  495,  511,  500,  503,  499,  498,  501,  506,  531,
     1708,  507,  521,  504,  535, 1708,  513,  537,  530, 1708,
      526,  530,  529,  523,  547, 1708,  534,  535,  520,  537,
      515,  525,  542,  531,  524,  548,  559,  536,  544,  562,
      526,  543,  565, 1708,  529,  558,  547,  571, 1708,  549,
      564,  542,  576, 1708,  544,  578, 1708,  562,  557,  582,
      569,  571,  573,  564,  591, 1708,  582,  575,  580,  567,
      568,  575,  577,  586,  601,  602,  588,  575,  581,  606,
      593,  598,  590,  598,  599,  615, 1708,  616, 1708,  617,
     1708,  604,  586, 1708,  604,  584,  605,  626,  627,  628,

     1708,  615,  630,  604,  622,  613,  639,  640,  623,  619,
      626,  615,  635,  626, 1708,  649,  636,  651,  632,  639,
      654,  642,  619,  645,  646,  637,  653,  664,  652,  666,
     1708,  655,  668,  669, 1708,  652,  657,  660,  653,  650,
      642,  643,  681,  682,  659,  672,  686,  677, 1708,  660,
      661,  674,  666,  666,  684,  669,  698,  699,  686,  701,
      669,  705, 1708,  708, 1708,  692,  690,  691,  714, 1708,
      688,  695,  709,  698,  699,  709,  724,  698,  701,  727,
      728,  722, 1708,  731, 1708,  706,  737, 1708,  738,  713,
      728,  742, 1708,  743, 1708,  720,  747,  711,  725,  736,

      725,  754, 1708,  729,  757, 1708,  730,  730,  760, 1708,
      747,  748,  740,  739,  745,  740,  770, 1708,  757,  742,
      773, 1708,  751,  762,  762,  763,  779,  764,  764,  783,
     1708,  784, 1708,  762,  772, 1708,  765,  766,  767,  779,
      780,  795,  796,  797,  790, 1708,  806,  791, 1708,  772,
      807, 1708,  794,  809,  789,  794,  795,  806,  804,  791,
      809,  810,  793,  823,  816, 1708,  815,  816,  827, 1708,
     1708,  829,  830, 1708,  814,  819,  811,  836, 1708,  822,
      813,  827,  842,  843,  845,  809,  819,  830,  837,  852,
      833,  839,  830,  836,  846,  824,  834,  835,  864, 1708,

      838,  843,  839,  840,  841,  842,  857,  860,  874,  875,
     1708,  876,  869, 1708, 1708, 1708,  878,  858,  880, 1708,
      871,  859,  861,  863,  863,  864,  879,  880,  895, 1708,
      871,  868,  898, 1708,  885,  900,  901,  888,  886,  871,
      907,  910, 1708,  911, 1708,  912, 1708,  898,  914,  895,
      889,  921, 1708,  909,  925,  896,  912,  913,  900,  919,
      932,  924,  922,  936,  909,  938,  942,  926,  931,  948,
     1708, 1708,  949, 1708,  926,  952,  924,  925,  943,  958,
      945,  934,  935,  963, 1708,  947,  936,  952,  968, 1708,
      969, 1708,  952,  959,  973,  974, 1708,  957,  978, 1708,

      965,  980,  960,  984,  977, 1708,  987,  967,  958,  979,
      994,  996, 1708,  972,  984, 1000,  991, 1708,  983, 1006,
      995, 1708, 1007, 1001, 1708, 1013,  995, 1016, 1017, 1708,
     1019, 1020, 1005, 1023, 1708,  998, 1001, 1002, 1032, 1019,
     1034, 1019, 1007, 1037, 1708, 1017, 1011, 1041, 1708, 1014,
     1708, 1044, 1708, 1017, 1047, 1036, 1050, 1708, 1034, 1020,
     1708, 1031, 1708, 1708, 1056, 1049, 1708, 1059, 1060, 1708,
     1062, 1708, 1063, 1708, 1031, 1066, 1069, 1072, 1073, 1708,
     1048, 1076, 1708, 1061, 1062, 1068, 1083, 1057, 1072, 1087,
     1708, 1088, 1089, 1090, 1076, 1708, 1093, 1708, 1094, 1099,

     1708, 1100, 1708, 1103, 1708, 1081, 1076, 1106, 1109, 1110,
     1708, 1112, 1100, 1115, 1708, 1116, 1708, 1119, 1708, 1121,
     1122, 1708, 1097, 1126, 1128, 1708, 1131, 1708, 1132, 1708,
     1133, 1135, 1708, 1137, 1138, 1708, 1144, 1708, 1148, 1139,
     1708, 1708, 1708, 1158, 1164, 1170, 1176, 1182, 1188, 1190,
     1196, 1145, 1202, 1208, 1214
    } ;

static yyconst short int yy_def[1356] =
    {   0,
     1344, 1344, 1343,    3, 1344, 1344, 1345, 1345, 1346, 1346,
     1347, 1347, 1348, 1348, 1344, 1344, 1349, 1349, 1343, 1343,
     1343, 1343, 1343, 1343, 1350, 1343, 1350, 1350, 1350, 1350,
     1350, 1350, 1350, 1350, 1350, 1350, 1350, 1350, 1350, 1350,
     1350, 1350, 1350, 1350, 1350, 1350, 1350, 1343, 1343, 1351,
     1343, 1343, 1351, 1351, 1351, 1352, 1353, 1343, 1343, 1353,
     1353, 1343, 1343, 1343, 1343, 1343, 1354, 1355, 1354, 1354,
     1343, 1343, 1343, 1350, 1343, 1350, 1350, 1350, 1350, 1350,
     1350, 1350, 1350, 1350, 1350, 1350, 1350, 1350, 1350, 1350,
     1350, 1350, 1350, 1350, 1350, 1350, 1350, 1350, 1350, 1350,

     1350, 1350, 1350, 1350, 1350, 1350, 1350, 1350, 1350, 1350,
     1350, 1350, 1350, 1350, 1350, 1343, 1343, 1351, 1351, 1352,
     1353, 1343, 1353, 1343, 1354, 1355, 1354, 1343, 1343, 1350,
     1350, 1350, 1350, 1350, 1350, 1350, 1350, 1350, 1350, 1350,
     1350, 1350, 1350, 1350, 1350, 1350, 1350, 1350, 1350, 1350,
     1350, 1350, 1350, 1350, 1350, 1350, 1350, 1350, 1350, 1350,
     1350, 1350, 1350, 1350, 1350, 1350, 1350, 1350, 1350, 1350,
     1350, 1350, 1350, 1350, 1350, 1350, 1350, 1350, 1350, 1350,
     1350, 1350, 1350, 1350, 1350, 1350, 1351, 1353, 1343, 1354,
     1343, 1343, 1350, 1350, 1350, 1350, 1350, 1350, 1350, 1350,

     1350, 1350, 1350, 1350, 1350, 1350, 1350, 1350, 1350, 1350,
     1350, 1350, 1350, 1350, 1350, 1350, 1350, 1350, 1350, 1350,
     1350, 1350, 1350, 1350, 1350, 1350, 1350, 1350, 1350, 1350,
     1350, 1350, 1350, 1350, 1350, 1350, 1350, 1350, 1350, 1350,
     1350, 1350, 1350, 1350, 1350, 1350, 1350, 1350, 1350, 1350,
     1350, 1351, 1353, 1354, 1343, 1350, 1350, 1350, 1350, 1350,
     1350, 1350, 1350, 1350, 1350, 1350, 1350, 1350, 1350, 1350,
     1350, 1350, 1350, 1350, 1350, 1350, 1350, 1350, 1350, 1350,
     1350, 1350, 1350, 1350, 1350, 1350, 1350, 1350, 1350, 1350,
     1350, 1350, 1350, 1350, 1350, 1350, 1350, 1350, 1350, 1350,

     1350, 1350, 1350, 1350, 1350, 1350, 1350, 1350, 1350, 1350,
     1350, 1350, 1350, 1350, 1350, 1350, 1350, 1350, 1350, 1350,
     1343, 1350, 1350, 1350, 1350, 1350, 1350, 1350, 1350, 1350,
     1350, 1350, 1350, 1350, 1350, 1350, 1350, 1350, 1350, 1350,
     1350, 1350, 1350, 1350, 1350, 1350, 1350, 1350, 1350, 1350,
     1350, 1350, 1350, 1350, 1350, 1350, 1350, 1350, 1350, 1350,
     1350, 1343, 1343, 1343, 1350, 1350, 1350, 1350, 1350, 1350,
     1350, 1350, 1350, 1350, 1350, 1350, 1350, 1350, 1343, 1343,
     1350, 1350, 1350, 1350, 1350, 1350, 1350, 1350, 1350, 1350,
     1350, 1350, 1350, 1350, 1350, 1350, 1350, 1343, 1350, 1350,

     1350, 1350, 1350, 1350, 1350, 1350, 1350, 1350, 1350, 1350,
     1350, 1350, 1350, 1350, 1350, 1350, 1350, 1350, 1350, 1350,
     1350, 1350, 1350, 1350, 1350, 1350, 1350, 1350, 1350, 1350,
     1350, 1350, 1350, 1350, 1350, 1350, 1350, 1350, 1350, 1350,
     1343, 1350, 1350, 1350, 1350, 1350, 1350, 1350, 1350, 1350,
     1350, 1350, 1350, 1350, 1350, 1350, 1350, 1350, 1350, 1350,
     1350, 1350, 1350, 1350, 1350, 1350, 1350, 1350, 1350, 1350,
     1350, 1350, 1350, 1350, 1350, 1350, 1343, 1350, 1350, 1350,
     1350, 1350, 1350, 1350, 1343, 1343, 1350, 1350, 1350, 1350,
     1350, 1350, 1350, 1343, 1343, 1350, 1350, 1350, 1350, 1343,

     1343, 1343, 1350, 1350, 1350, 1350, 1350, 1350, 1350, 1350,
     1350, 1350, 1350, 1350, 1350, 1350, 1350, 1350, 1350, 1350,
     1350, 1350, 1350, 1350, 1350, 1350, 1350, 1350, 1350, 1350,
     1350, 1350, 1350, 1350, 1350, 1350, 1350, 1350, 1350, 1350,
     1350, 1350, 1350, 1350, 1350, 1350, 1350, 1350, 1350, 1350,
     1350, 1350, 1350, 1350, 1350, 1350, 1350, 1350, 1350, 1350,
     1350, 1350, 1350, 1343, 1343, 1343, 1350, 1350, 1350, 1350,
     1350, 1350, 1343, 1343, 1350, 1350, 1350, 1350, 1350, 1350,
     1350, 1350, 1343, 1343, 1350, 1350, 1350, 1343, 1350, 1350,
     1350, 1350, 1350, 1350, 1350, 1350, 1350, 1350, 1350, 1350,

     1343, 1343, 1350, 1350, 1350, 1350, 1350, 1350, 1350, 1350,
     1350, 1350, 1350, 1350, 1350, 1350, 1350, 1350, 1350, 1350,
     1350, 1350, 1350, 1350, 1350, 1350, 1350, 1350, 1350, 1350,
     1350, 1350, 1350, 1350, 1350, 1350, 1350, 1350, 1350, 1350,
     1350, 1350, 1350, 1350, 1350, 1350, 1350, 1343, 1343, 1343,
     1343, 1343, 1350, 1350, 1343, 1343, 1350, 1350, 1343, 1350,
     1350, 1350, 1350, 1350, 1350, 1350, 1350, 1350, 1350, 1350,
     1350, 1350, 1350, 1350, 1350, 1350, 1350, 1350, 1350, 1350,
     1350, 1350, 1350, 1350, 1350, 1350, 1350, 1350, 1350, 1350,
     1350, 1350, 1350, 1350, 1350, 1350, 1350, 1350, 1350, 1350,

     1350, 1350, 1350, 1350, 1350, 1350, 1350, 1350, 1350, 1350,
     1350, 1350, 1350, 1350, 1350, 1350, 1350, 1350, 1350, 1350,
     1350, 1350, 1350, 1343, 1343, 1350, 1350, 1350, 1343, 1343,
     1350, 1350, 1350, 1350, 1350, 1350, 1350, 1350, 1350, 1350,
     1350, 1343, 1350, 1350, 1350, 1350, 1343, 1350, 1350, 1350,
     1350, 1350, 1350, 1350, 1350, 1350, 1350, 1350, 1350, 1350,
     1350, 1350, 1350, 1350, 1350, 1350, 1350, 1350, 1350, 1350,
     1350, 1350, 1350, 1350, 1350, 1350, 1350, 1350, 1350, 1350,
     1350, 1350, 1350, 1350, 1350, 1350, 1350, 1350, 1350, 1350,
     1350, 1343, 1343, 1343, 1350, 1350, 1350, 1350, 1350, 1350,

     1350, 1350, 1350, 1350, 1350, 1350, 1350, 1350, 1350, 1343,
     1343, 1350, 1350, 1350, 1343, 1343, 1350, 1343, 1343, 1343,
     1350, 1350, 1350, 1350, 1343, 1343, 1350, 1350, 1350, 1350,
     1350, 1350, 1350, 1350, 1350, 1350, 1350, 1350, 1343, 1350,
     1350, 1350, 1343, 1343, 1350, 1350, 1350, 1343, 1343, 1350,
     1350, 1350, 1343, 1343, 1350, 1343, 1343, 1350, 1350, 1350,
     1350, 1350, 1350, 1350, 1343, 1343, 1350, 1350, 1350, 1350,
     1350, 1350, 1350, 1350, 1350, 1350, 1350, 1350, 1350, 1350,
     1350, 1350, 1350, 1350, 1350, 1343, 1343, 1343, 1343, 1343,
     1343, 1350, 1350, 1343, 1350, 1350, 1350, 1350, 1350, 1343,

     1343, 1350, 1350, 1350, 1350, 1350, 1350, 1350, 1350, 1350,
     1350, 1350, 1350, 1350, 1343, 1350, 1350, 1350, 1350, 1350,
     1350, 1350, 1350, 1350, 1350, 1350, 1350, 1350, 1350, 1343,
     1343, 1350, 1343, 1343, 1343, 1350, 1350, 1350, 1350, 1350,
     1350, 1350, 1350, 1350, 1350, 1350, 1343, 1343, 1343, 1350,
     1350, 1350, 1350, 1350, 1350, 1350, 1350, 1350, 1350, 1350,
     1350, 1343, 1343, 1343, 1343, 1350, 1350, 1350, 1343, 1343,
     1350, 1350, 1350, 1350, 1350, 1350, 1350, 1350, 1350, 1350,
     1343, 1343, 1343, 1343, 1343, 1350, 1343, 1343, 1350, 1350,
     1350, 1343, 1343, 1343, 1343, 1350, 1350, 1350, 1350, 1350,

     1350, 1343, 1343, 1350, 1343, 1343, 1350, 1350, 1343, 1343,
     1350, 1350, 1350, 1350, 1350, 1350, 1343, 1343, 1350, 1350,
     1343, 1343, 1350, 1350, 1350, 1350, 1350, 1350, 1350, 1343,
     1343, 1343, 1343, 1350, 1350, 1343, 1350, 1350, 1350, 1350,
     1350, 1350, 1350, 1343, 1343, 1343, 1343, 1343, 1343, 1350,
     1343, 1343, 1350, 1350, 1350, 1350, 1350, 1350, 1350, 1350,
     1350, 1350, 1350, 1343, 1343, 1343, 1350, 1350, 1343, 1343,
     1343, 1350, 1343, 1343, 1350, 1350, 1350, 1343, 1343, 1350,
     1350, 1350, 1350, 1350, 1350, 1350, 1350, 1350, 1350, 1350,
     1350, 1350, 1350, 1350, 1350, 1350, 1350, 1350, 1343, 1343,

     1350, 1350, 1350, 1350, 1350, 1350, 1350, 1350, 1350, 1343,
     1343, 1343, 1343, 1343, 1343, 1343, 1350, 1350, 1343, 1343,
     1350, 1350, 1350, 1350, 1350, 1350, 1350, 1350, 1350, 1343,
     1350, 1350, 1343, 1343, 1350, 1350, 1350, 1350, 1350, 1350,
     1350, 1343, 1343, 1343, 1343, 1343, 1343, 1350, 1350, 1350,
     1350, 1343, 1343, 1350, 1350, 1350, 1350, 1350, 1350, 1350,
     1350, 1350, 1350, 1350, 1350, 1350, 1350, 1350, 1350, 1343,
     1343, 1343, 1343, 1343, 1350, 1350, 1350, 1350, 1350, 1350,
     1350, 1350, 1350, 1343, 1343, 1350, 1350, 1350, 1343, 1343,
     1343, 1343, 1350, 1350, 1350, 1343, 1343, 1350, 1343, 1343,

     1350, 1350, 1350, 1343, 1343, 1343, 1350, 1350, 1350, 1350,
     1350, 1343, 1343, 1350, 1350, 1343, 1343, 1343, 1350, 1343,
     1343, 1343, 1343, 1343, 1343, 1350, 1350, 1350, 1343, 1343,
     1350, 1350, 1350, 1343, 1343, 1350, 1350, 1350, 1350, 1350,
     1350, 1350, 1350, 1343, 1343, 1350, 1350, 1343, 1343, 1350,
     1343, 1343, 1343, 1350, 1350, 1350, 1343, 1343, 1350, 1350,
     1343, 1350, 1343, 1343, 1343, 1343, 1343, 1350, 1343, 1343,
     1343, 1343, 1343, 1343, 1350, 1350, 1350, 1350, 1343, 1343,
     1350, 1343, 1343, 1350, 1350, 1350, 1350, 1350, 1350, 1343,
     1343, 1350, 1350, 1350, 1350, 1343, 1343, 1343, 1350, 1343,

     1343, 1343, 1343, 1343, 1343, 1350, 1350, 1350, 1350, 1343,
     1343, 1350, 1350, 1343, 1343, 1343, 1343, 1343, 1343, 1350,
     1343, 1343, 1350, 1350, 1343, 1343, 1343, 1343, 1343, 1343,
     1350, 1343, 1343, 1350, 1343, 1343, 1343, 1343, 1343, 1343,
     1343, 1343,    0, 1343, 1343, 1343, 1343, 1343, 1343, 1343,
     1343, 1343, 1343, 1343, 1343
    } ;

static yyconst short int yy_nxt[1752] =
    {   0,
     1343, 1343,   21,   21,   71,   72,   71,  116,  117,  116,
     1343,   79,   71,   72,   71,  106,   89,   80,  141,   77,
       83,   87,   81,  174,   85,   82,   84,  726,   78,   90,
      107,  138,  139,   88,   86,  142,  175,   22,   22,   71,
       72,   71,   23,   23,   20,   20,   21,   20,   20,   24,
       20,   25,   25,   20,   26,   27,   28,   29,   30,   31,
       32,   33,   34,   35,   36,   25,   37,   38,   25,   39,
       40,   41,   42,   43,   44,   45,   46,   47,   25,   25,
       25,   22,   25,   25,   25,   25,   23,   48,   48,   94,
      101,  201,  731,  102,  103,   95,   96,   91,  202,   63,

       63,   64,   64,   21,  732,   92,   21,  104,   20,   21,
       20,   68,   20,   21,   20,   68,   93,   71,   72,   71,
      124,  733,   49,   49,   71,   72,   71,   23,   23,   20,
       51,   20,   52,   53,   65,   65,  734,  735,   22,   66,
       66,   22,  108,   23,   69,  109,   23,  130,   69,   70,
      171,  131,  110,   70,   71,   72,   71,  111,  132,  179,
      172,  144,  180,  145,  182,   54,  736,  164,  342,  183,
       55,   20,   51,   20,   52,   53,  146,  157,  165,  211,
      147,  269,  158,  116,  117,  116,  159,  295,  166,  212,
      160,  262,  307,  343,  161,  737,  379,  296,  263,  308,

      350,  270,  351,  309,  380,  319,  396,   54,  407,  397,
      416,  408,   55,   20,   20,   51,   20,   20,   24,   20,
       20,   20,   20,   20,  320,  352,  463,  379,  468,  738,
      353,  469,  354,  362,  417,  380,  485,  362,  363,  355,
      445,  364,  363,  356,  486,  364,  446,  523,  579,  464,
       22,   20,  739,  447,  580,   23,   20,   20,   51,   20,
       20,   24,   20,   20,   20,   20,   20,  494,  500,  504,
      365,  524,  526,  501,  740,  495,  502,  538,  564,  573,
      485,  494,  527,  505,  583,  539,  565,  574,  486,  495,
      741,  742,  584,   22,   20,  592,  743,  744,   23,   58,

       59,   20,   52,   24,  500,  503,  601,  613,  614,  501,
      593,  648,  502,  594,  602,  566,  650,  615,  655,  649,
      564,  651,  573,  583,  652,  601,  656,  727,  565,  724,
      574,  584,  745,  602,  746,   60,  747,  725,  748,  749,
       61,   58,   59,   20,   52,   24,  687,  728,  750,  729,
      688,  689,  648,  655,  751,  752,  690,  730,  691,  650,
      649,  656,  692,  753,  651,  754,  755,  652,  756,  757,
      758,  759,  760,  761,  762,  763,  764,   60,  765,  766,
      767,  768,   61,  769,  770,  771,  772,  773,  774,  775,
      776,  777,  778,  779,  782,  783,  784,  780,  785,  786,

      787,  788,  789,  790,  791,  792,  795,  781,  796,  797,
      793,  798,  799,  794,  800,  801,  802,  803,  804,  805,
      806,  807,  808,  809,  810,  812,  813,  814,  815,  817,
      724,  821,  811,  822,  818,  729,  816,  823,  725,  819,
      824,  825,  820,  730,  827,  828,  829,  830,  831,  826,
      832,  833,  834,  835,  836,  837,  838,  839,  840,  841,
      842,  843,  845,  846,  847,  848,  850,  851,  852,  844,
      853,  855,  856,  849,  858,  859,  860,  862,  854,  863,
      857,  864,  865,  867,  868,  869,  870,  871,  861,  872,
      866,  873,  874,  875,  876,  877,  878,  879,  880,  881,

      882,  883,  885,  892,  886,  888,  890,  893,  894,  895,
      792,  884,  887,  889,  891,  793,  896,  897,  794,  898,
      899,  900,  902,  903,  904,  905,  906,  907,  908,  901,
      909,  910,  810,  911,  912,  913,  815,  914,  818,  915,
      811,  916,  917,  819,  816,  918,  820,  919,  825,  920,
      921,  922,  923,  924,  925,  926,  826,  927,  928,  929,
      930,  932,  933,  934,  936,  937,  843,  938,  931,  939,
      940,  935,  848,  941,  844,  942,  943,  853,  944,  856,
      849,  945,  946,  947,  950,  854,  951,  857,  948,  952,
      953,  949,  865,  954,  955,  956,  957,  958,  959,  960,

      866,  961,  962,  964,  966,  967,  968,  969,  971,  972,
      963,  965,  973,  974,  975,  970,  886,  888,  890,  976,
      977,  978,  979,  980,  887,  889,  891,  981,  984,  900,
      986,  987,  982,  989,  990,  983,  985,  901,  991,  988,
      992,  994,  996,  997,  998,  999, 1000, 1001,  993,  995,
     1002, 1004, 1005, 1007, 1008, 1009, 1011, 1012, 1003, 1013,
     1006, 1014, 1015, 1010, 1016, 1017, 1019,  930, 1020, 1021,
      934, 1023, 1024, 1018, 1025,  931, 1026, 1022,  935, 1027,
     1028, 1029, 1030, 1032, 1034, 1035, 1036,  947, 1037, 1038,
     1031, 1033,  948, 1039, 1040,  949, 1041, 1042, 1043, 1044,

     1047, 1050, 1051, 1054, 1045, 1048,  962, 1046, 1049,  964,
     1052, 1055, 1056, 1057,  963,  969, 1058,  965, 1059, 1053,
     1060, 1061, 1062,  970, 1063, 1064, 1067, 1068, 1069,  981,
     1065, 1071,  984, 1066,  982, 1072, 1070,  983,  987, 1073,
      985, 1075, 1076,  992,  994, 1077,  988, 1074, 1078, 1080,
     1081,  993,  995, 1082, 1083, 1002, 1079, 1084, 1005, 1085,
     1086, 1009, 1087, 1003, 1088, 1089, 1006, 1090, 1091, 1010,
     1092, 1017, 1093, 1094, 1021, 1095, 1096, 1097, 1098, 1018,
     1099, 1101, 1022, 1102, 1030, 1032, 1103, 1104, 1100, 1105,
     1106, 1107, 1031, 1033, 1108, 1109, 1110, 1112, 1044, 1115,

     1116, 1117, 1113, 1045, 1111, 1114, 1046, 1047, 1051, 1118,
     1119, 1121, 1048, 1122, 1123, 1049, 1052, 1124, 1120, 1125,
     1126, 1127, 1128, 1129, 1064, 1130, 1131, 1132, 1069, 1065,
     1133, 1073, 1066, 1135, 1136, 1137, 1070, 1078, 1134, 1074,
     1138, 1140, 1141, 1142, 1144, 1079, 1146, 1148, 1149, 1150,
     1151, 1143, 1145, 1152, 1147, 1139, 1154, 1155, 1156, 1157,
     1158, 1153, 1159, 1160, 1161, 1099, 1162, 1163, 1164, 1165,
     1166, 1167, 1168, 1100, 1169, 1170, 1110, 1112, 1172, 1173,
     1175, 1119, 1113, 1171, 1111, 1114, 1176, 1174, 1177, 1120,
     1178, 1179, 1180, 1181, 1182, 1183, 1184, 1186, 1187, 1133,

     1188, 1189, 1191, 1193, 1185, 1194, 1195, 1134, 1196, 1190,
     1192, 1142, 1144, 1146, 1198, 1199, 1197, 1201, 1202, 1143,
     1145, 1147, 1152, 1200, 1203, 1207, 1204, 1208, 1209, 1210,
     1153, 1205, 1211, 1212, 1206, 1214, 1215, 1216, 1219, 1220,
     1226, 1213, 1217, 1223, 1221, 1218, 1227, 1222, 1224, 1170,
     1173, 1225, 1228, 1229, 1231, 1232, 1233, 1171, 1174, 1234,
     1236, 1230, 1237, 1238, 1184, 1239, 1240, 1235, 1241, 1189,
     1191, 1242, 1185, 1243, 1244, 1196, 1246, 1190, 1192, 1199,
     1247, 1248, 1245, 1197, 1250, 1204, 1251, 1200, 1252, 1249,
     1205, 1254, 1255, 1206, 1256, 1257, 1253, 1212, 1259, 1260,

     1261, 1216, 1262, 1258, 1263, 1213, 1217, 1220, 1223, 1218,
     1264, 1268, 1221, 1224, 1265, 1222, 1225, 1269, 1229, 1266,
     1271, 1273, 1267, 1275, 1234, 1270, 1230, 1276, 1272, 1274,
     1277, 1278, 1235, 1279, 1281, 1282, 1284, 1285, 1244, 1286,
     1287, 1280, 1248, 1283, 1288, 1252, 1245, 1289, 1290, 1292,
     1249, 1257, 1293, 1253, 1294, 1295, 1291, 1265, 1296, 1258,
     1297, 1269, 1266, 1271, 1273, 1267, 1299, 1300, 1298, 1270,
     1302, 1272, 1274, 1304, 1279, 1301, 1306, 1282, 1303, 1307,
     1308, 1305, 1280, 1309, 1310, 1283, 1312, 1313, 1290, 1314,
     1316, 1318, 1311, 1320, 1297, 1321, 1291, 1315, 1317, 1319,

     1300, 1302, 1298, 1322, 1304, 1323, 1324, 1325, 1301, 1303,
     1327, 1310, 1305, 1329, 1331, 1326, 1314, 1316, 1328, 1311,
     1318, 1330, 1332, 1321, 1315, 1317, 1334, 1335, 1319, 1325,
     1333, 1322, 1327, 1329, 1337, 1336, 1332, 1326, 1339, 1335,
     1328, 1330, 1338, 1340, 1333, 1337, 1341, 1336, 1342, 1339,
      120,  723,  722, 1338, 1340,  721,  720, 1341,   20,   20,
       20,   20,   20,   20,   50,   50,   50,   50,   50,   50,
       56,   56,   56,   56,   56,   56,   57,   57,   57,   57,
       57,   57,   62,   62,   62,   62,   62,   62,   67,   67,
       67,   67,   67,   67,   74,   74,  118,  719,  718,  118,

      118,  118,  121,  717,  716,  715,  121,  121,  125,  714,
      713,  125,  125,  125,  126,  126,  712,  126,  126,  126,
      711,  710,  709,  708,  707,  706,  705,  704,  703,  702,
      701,  700,  699,  698,  697,  696,  695,  694,  693,  686,
      685,  684,  683,  682,  681,  680,  679,  678,  677,  676,
      675,  674,  673,  672,  671,  670,  669,  668,  667,  666,
      665,  664,  663,  662,  661,  660,  659,  658,  657,  654,
      653,  647,  646,  645,  644,  643,  642,  641,  640,  639,
      638,  637,  636,  635,  634,  633,  632,  631,  630,  629,
      628,  627,  626,  625,  624,  623,  622,  621,  620,  619,

      618,  617,  616,  612,  611,  610,  609,  608,  607,  606,
      605,  604,  603,  600,  599,  598,  597,  596,  595,  591,
      590,  589,  588,  587,  586,  585,  582,  581,  578,  577,
      576,  575,  572,  571,  570,  569,  568,  567,  563,  562,
      561,  560,  559,  558,  557,  556,  555,  554,  553,  552,
      551,  550,  549,  548,  547,  546,  545,  544,  543,  542,
      541,  540,  537,  536,  535,  534,  533,  532,  531,  530,
      529,  528,  525,  522,  521,  520,  519,  518,  517,  516,
      515,  514,  513,  512,  511,  510,  509,  508,  507,  506,
      499,  498,  497,  496,  493,  492,  491,  490,  489,  488,

      487,  484,  483,  482,  481,  480,  479,  478,  477,  476,
      475,  474,  473,  472,  471,  470,  467,  466,  465,  462,
      461,  460,  459,  458,  457,  456,  455,  454,  453,  452,
      451,  450,  449,  448,  444,  443,  442,  441,  440,  439,
      438,  437,  436,  435,  434,  433,  432,  431,  430,  429,
      428,  427,  426,  425,  424,  423,  422,  421,  420,  419,
      418,  415,  414,  413,  412,  411,  410,  409,  406,  405,
      404,  403,  402,  401,  400,  399,  398,  395,  394,  393,
      392,  391,  390,  389,  388,  387,  386,  385,  384,  383,
      382,  381,  378,  377,  376,  375,  374,  373,  372,  371,

      370,  369,  368,  367,  366,  361,  360,  359,  358,  357,
      349,  348,  347,  346,  345,  344,  341,  340,  339,  338,
      337,  336,  335,  334,  333,  332,  331,  330,  329,  328,
      327,  326,  325,  324,  323,  322,  321,  318,  317,  316,
      315,  314,  313,  312,  311,  310,  306,  305,  304,  303,
      302,  301,  300,  299,  298,  297,  294,  293,  292,  291,
      290,  289,  288,  287,  286,  285,  284,  283,  282,  281,
      280,  279,  278,  277,  276,  275,  274,  273,  272,  271,
      268,  267,  266,  265,  264,  261,  260,  259,  258,  257,
      256,  255,  254,  253,  252,  251,  250,  249,  248,  247,

      246,  245,  244,  243,  242,  241,  240,  239,  238,  237,
      236,  235,  234,  233,  232,  231,  230,  229,  228,  227,
      226,  225,  224,  223,  222,  221,  220,  219,  218,  217,
      216,  215,  214,  213,  210,  209,  208,  207,  206,  205,
      204,  203,  200,  199,  198,  197,  196,  195,  194,  193,
      192,  191,  190,  189,  188,  122,  187,  186,  185,  184,
      181,  178,  177,  176,  173,  170,  169,  168,  167,  163,
      162,  156,  155,  154,  153,  152,  151,  150,  149,  148,
      143,  140,  137,  136,  135,  134,  133,  129,  128,  127,
       73,  123,  122,  119,  115,  114,  113,  112,  105,  100,

       99,   98,   97,   76,   75,   73, 1343,   19, 1343, 1343,
     1343, 1343, 1343, 1343, 1343, 1343, 1343, 1343, 1343, 1343,
     1343, 1343, 1343, 1343, 1343, 1343, 1343, 1343, 1343, 1343,
     1343, 1343, 1343, 1343, 1343, 1343, 1343, 1343, 1343, 1343,
     1343, 1343, 1343, 1343, 1343, 1343, 1343, 1343, 1343, 1343,
     1343
    } ;

static yyconst short int yy_chk[1752] =
    {   0,
        0,    0,    1,    2,   22,   22,   22,   49,   49,   49,
        0,   29,   54,   54,   54,   42,   33,   29,   84,   28,
       30,   32,   29,  106,   31,   29,   30,  634,   28,   33,
       42,   82,   82,   32,   31,   84,  106,    1,    2,   60,
       60,   60,    1,    2,    3,    3,    3,    3,    3,    3,
        3,    3,    3,    3,    3,    3,    3,    3,    3,    3,
        3,    3,    3,    3,    3,    3,    3,    3,    3,    3,
        3,    3,    3,    3,    3,    3,    3,    3,    3,    3,
        3,    3,    3,    3,    3,    3,    3,    5,    6,   35,
       40,  138,  637,   40,   40,   35,   35,   34,  138,   13,

       14,   13,   14,   15,  638,   34,   16,   40,   17,   17,
       17,   17,   18,   18,   18,   18,   34,   65,   65,   65,
       65,  639,    5,    6,   69,   69,   69,    5,    6,    7,
        7,    7,    7,    7,   13,   14,  640,  641,   15,   13,
       14,   16,   43,   15,   17,   43,   16,   76,   18,   17,
      104,   76,   43,   18,   71,   71,   71,   43,   76,  110,
      104,   86,  110,   86,  112,    7,  642,   99,  276,  112,
        7,    8,    8,    8,    8,    8,   86,   96,   99,  147,
       86,  205,   96,  116,  116,  116,   96,  230,   99,  147,
       96,  199,  241,  276,   96,  643,  304,  230,  199,  241,

      283,  205,  283,  241,  304,  251,  320,    8,  330,  320,
      338,  330,    8,    9,    9,    9,    9,    9,    9,    9,
        9,    9,    9,    9,  251,  284,  386,  379,  390,  644,
      284,  390,  284,  290,  338,  379,  406,  362,  290,  284,
      368,  290,  362,  284,  406,  362,  368,  438,  491,  386,
        9,    9,  645,  368,  491,    9,   10,   10,   10,   10,
       10,   10,   10,   10,   10,   10,   10,  414,  419,  420,
      290,  438,  440,  419,  646,  414,  419,  452,  477,  484,
      485,  494,  440,  420,  496,  452,  477,  484,  485,  494,
      647,  651,  496,   10,   10,  506,  653,  654,   10,   11,

       11,   11,   11,   11,  500,  419,  513,  524,  524,  500,
      506,  557,  500,  506,  513,  477,  558,  524,  561,  557,
      564,  558,  573,  583,  558,  601,  561,  635,  564,  633,
      573,  583,  657,  601,  658,   11,  659,  633,  660,  661,
       11,   12,   12,   12,   12,   12,  599,  635,  662,  636,
      599,  599,  648,  655,  663,  664,  599,  636,  599,  650,
      648,  655,  599,  665,  650,  666,  667,  650,  668,  669,
      670,  671,  672,  673,  674,  675,  676,   12,  677,  678,
      679,  680,   12,  681,  682,  683,  684,  685,  686,  687,
      688,  689,  690,  691,  692,  693,  694,  691,  695,  696,

      697,  698,  699,  700,  701,  702,  703,  691,  704,  705,
      702,  706,  707,  702,  708,  709,  710,  711,  712,  713,
      714,  715,  716,  717,  718,  719,  720,  721,  722,  723,
      724,  727,  718,  728,  726,  729,  722,  731,  724,  726,
      732,  733,  726,  729,  734,  735,  736,  737,  738,  733,
      739,  740,  741,  743,  744,  745,  746,  747,  748,  749,
      750,  751,  752,  753,  754,  755,  756,  757,  758,  751,
      759,  760,  761,  755,  762,  763,  764,  765,  759,  766,
      761,  767,  768,  769,  770,  771,  772,  773,  764,  774,
      768,  775,  776,  777,  778,  779,  780,  781,  782,  783,

      784,  785,  786,  790,  787,  788,  789,  791,  793,  795,
      792,  785,  787,  788,  789,  792,  796,  797,  792,  798,
      799,  800,  801,  802,  803,  804,  805,  806,  807,  800,
      808,  809,  810,  812,  813,  814,  815,  817,  818,  819,
      810,  821,  822,  818,  815,  823,  818,  824,  825,  827,
      828,  829,  830,  831,  832,  833,  825,  834,  835,  836,
      837,  838,  839,  840,  841,  842,  843,  845,  837,  846,
      847,  840,  848,  850,  843,  851,  852,  853,  855,  856,
      848,  858,  859,  860,  861,  853,  862,  856,  860,  863,
      864,  860,  865,  867,  868,  869,  870,  871,  872,  873,

      865,  874,  875,  876,  877,  878,  879,  880,  881,  882,
      875,  876,  883,  884,  885,  880,  886,  888,  890,  892,
      893,  895,  896,  897,  886,  888,  890,  898,  899,  900,
      902,  903,  898,  904,  905,  898,  899,  900,  906,  903,
      907,  908,  909,  910,  911,  912,  913,  914,  907,  908,
      916,  917,  918,  919,  920,  921,  922,  923,  916,  924,
      918,  925,  926,  921,  927,  928,  929,  930,  932,  933,
      934,  936,  937,  928,  938,  930,  939,  933,  934,  940,
      941,  942,  943,  944,  945,  946,  948,  947,  950,  951,
      943,  944,  947,  952,  953,  947,  954,  955,  956,  957,

      958,  959,  960,  961,  957,  958,  962,  957,  958,  964,
      960,  966,  967,  968,  962,  969,  971,  964,  972,  960,
      973,  974,  975,  969,  976,  977,  978,  979,  980,  981,
      977,  982,  984,  977,  981,  986,  980,  981,  987,  989,
      984,  990,  991,  992,  994,  996,  987,  989,  997,  998,
      999,  992,  994, 1000, 1001, 1002,  997, 1004, 1005, 1007,
     1008, 1009, 1011, 1002, 1012, 1013, 1005, 1014, 1015, 1009,
     1016, 1017, 1019, 1020, 1021, 1023, 1024, 1025, 1026, 1017,
     1027, 1028, 1021, 1029, 1030, 1032, 1034, 1035, 1027, 1037,
     1038, 1039, 1030, 1032, 1040, 1041, 1042, 1043, 1044, 1045,

     1048, 1050, 1043, 1044, 1042, 1043, 1044, 1047, 1051, 1053,
     1054, 1055, 1047, 1056, 1057, 1047, 1051, 1058, 1054, 1059,
     1060, 1061, 1062, 1063, 1064, 1065, 1067, 1068, 1069, 1064,
     1072, 1073, 1064, 1075, 1076, 1077, 1069, 1078, 1072, 1073,
     1080, 1081, 1082, 1083, 1084, 1078, 1085, 1086, 1087, 1088,
     1089, 1083, 1084, 1090, 1085, 1080, 1091, 1092, 1093, 1094,
     1095, 1090, 1096, 1097, 1098, 1099, 1101, 1102, 1103, 1104,
     1105, 1106, 1107, 1099, 1108, 1109, 1110, 1112, 1113, 1117,
     1118, 1119, 1112, 1109, 1110, 1112, 1121, 1117, 1122, 1119,
     1123, 1124, 1125, 1126, 1127, 1128, 1129, 1131, 1132, 1133,

     1135, 1136, 1137, 1138, 1129, 1139, 1140, 1133, 1141, 1136,
     1137, 1142, 1144, 1146, 1148, 1149, 1141, 1150, 1151, 1142,
     1144, 1146, 1152, 1149, 1154, 1156, 1155, 1157, 1158, 1159,
     1152, 1155, 1160, 1161, 1155, 1162, 1163, 1164, 1165, 1166,
     1168, 1161, 1164, 1167, 1166, 1164, 1169, 1166, 1167, 1170,
     1173, 1167, 1175, 1176, 1177, 1178, 1179, 1170, 1173, 1180,
     1181, 1176, 1182, 1183, 1184, 1186, 1187, 1180, 1188, 1189,
     1191, 1193, 1184, 1194, 1195, 1196, 1198, 1189, 1191, 1199,
     1201, 1202, 1195, 1196, 1203, 1204, 1205, 1199, 1207, 1202,
     1204, 1208, 1209, 1204, 1210, 1211, 1207, 1212, 1214, 1215,

     1217, 1216, 1219, 1211, 1221, 1212, 1216, 1220, 1223, 1216,
     1224, 1227, 1220, 1223, 1226, 1220, 1223, 1228, 1229, 1226,
     1231, 1232, 1226, 1233, 1234, 1228, 1229, 1236, 1231, 1232,
     1237, 1238, 1234, 1239, 1240, 1241, 1242, 1243, 1244, 1246,
     1247, 1239, 1248, 1241, 1250, 1252, 1244, 1254, 1255, 1256,
     1248, 1257, 1259, 1252, 1260, 1262, 1255, 1265, 1266, 1257,
     1268, 1269, 1265, 1271, 1273, 1265, 1275, 1276, 1268, 1269,
     1277, 1271, 1273, 1278, 1279, 1276, 1281, 1282, 1277, 1284,
     1285, 1278, 1279, 1286, 1287, 1282, 1288, 1289, 1290, 1292,
     1293, 1294, 1287, 1295, 1297, 1299, 1290, 1292, 1293, 1294,

     1300, 1302, 1297, 1299, 1304, 1306, 1307, 1308, 1300, 1302,
     1309, 1310, 1304, 1312, 1313, 1308, 1314, 1316, 1309, 1310,
     1318, 1312, 1320, 1321, 1314, 1316, 1323, 1324, 1318, 1325,
     1320, 1321, 1327, 1329, 1331, 1324, 1332, 1325, 1334, 1335,
     1327, 1329, 1331, 1334, 1332, 1337, 1334, 1335, 1340, 1339,
     1352,  632,  631, 1337, 1339,  630,  629, 1339, 1344, 1344,
     1344, 1344, 1344, 1344, 1345, 1345, 1345, 1345, 1345, 1345,
     1346, 1346, 1346, 1346, 1346, 1346, 1347, 1347, 1347, 1347,
     1347, 1347, 1348, 1348, 1348, 1348, 1348, 1348, 1349, 1349,
     1349, 1349, 1349, 1349, 1350, 1350, 1351,  628,  627, 1351,

     1351, 1351, 1353,  626,  625,  624, 1353, 1353, 1354,  623,
      622, 1354, 1354, 1354, 1355, 1355,  621, 1355, 1355, 1355,
      620,  619,  618,  617,  616,  615,  614,  613,  612,  611,
      610,  609,  608,  607,  606,  605,  604,  603,  600,  598,
      597,  596,  595,  594,  593,  592,  591,  590,  589,  587,
      586,  585,  582,  581,  580,  579,  578,  577,  576,  575,
      572,  571,  570,  569,  568,  567,  566,  563,  562,  560,
      559,  556,  555,  554,  553,  552,  551,  550,  549,  548,
      547,  546,  545,  544,  543,  542,  541,  540,  539,  538,
      537,  536,  535,  534,  533,  532,  531,  530,  529,  528,

      527,  526,  525,  523,  522,  521,  520,  519,  518,  517,
      516,  515,  514,  512,  511,  510,  509,  508,  507,  505,
      504,  503,  501,  499,  498,  497,  493,  492,  490,  489,
      488,  487,  483,  482,  481,  480,  479,  478,  476,  475,
      474,  473,  472,  471,  470,  469,  468,  467,  466,  465,
      464,  463,  462,  461,  460,  459,  458,  457,  456,  455,
      454,  453,  451,  450,  449,  448,  447,  446,  445,  444,
      443,  442,  439,  437,  436,  435,  434,  433,  432,  431,
      430,  429,  428,  427,  426,  425,  424,  423,  422,  421,
      418,  417,  416,  415,  413,  412,  411,  410,  409,  408,

      407,  405,  404,  403,  402,  401,  400,  399,  398,  397,
      396,  395,  394,  393,  392,  391,  389,  388,  387,  385,
      384,  383,  382,  381,  378,  377,  376,  375,  374,  373,
      372,  371,  370,  369,  367,  366,  365,  363,  361,  360,
      359,  358,  357,  356,  355,  354,  353,  352,  351,  350,
      349,  348,  347,  346,  345,  344,  343,  342,  341,  340,
      339,  337,  336,  335,  334,  333,  332,  331,  329,  328,
      327,  326,  325,  324,  323,  322,  321,  319,  318,  317,
      316,  315,  314,  313,  312,  311,  310,  309,  308,  307,
      306,  305,  303,  302,  301,  300,  299,  298,  297,  296,

      295,  294,  293,  292,  291,  289,  288,  287,  286,  285,
      282,  281,  280,  279,  278,  277,  275,  274,  273,  272,
      271,  270,  269,  268,  267,  266,  265,  264,  263,  262,
      261,  260,  259,  258,  257,  256,  255,  250,  249,  248,
      247,  246,  245,  244,  243,  242,  240,  239,  238,  237,
      236,  235,  234,  233,  232,  231,  229,  228,  227,  226,
      225,  224,  223,  222,  221,  220,  219,  218,  217,  216,
      215,  214,  213,  212,  211,  210,  209,  208,  207,  206,
      204,  203,  202,  201,  200,  198,  197,  196,  195,  194,
      193,  192,  190,  188,  187,  186,  185,  184,  183,  182,

      181,  180,  179,  178,  177,  176,  175,  174,  173,  172,
      171,  170,  169,  168,  167,  166,  165,  164,  163,  162,
      161,  160,  159,  158,  157,  156,  155,  154,  153,  152,
      151,  150,  149,  148,  146,  145,  144,  143,  142,  141,
      140,  139,  137,  136,  135,  134,  133,  132,  131,  130,
      129,  128,  127,  126,  123,  122,  119,  115,  114,  113,
      111,  109,  108,  107,  105,  103,  102,  101,  100,   98,
       97,   95,   94,   93,   92,   91,   90,   89,   88,   87,
       85,   83,   81,   80,   79,   78,   77,   75,   73,   70,
       66,   61,   58,   55,   47,   46,   45,   44,   41,   39,

       38,   37,   36,   27,   26,   23,   19, 1343, 1343, 1343,
     1343, 1343, 1343, 1343, 1343, 1343, 1343, 1343, 1343, 1343,
     1343, 1343, 1343, 1343, 1343, 1343, 1343, 1343, 1343, 1343,
     1343, 1343, 1343, 1343, 1343, 1343, 1343, 1343, 1343, 1343,
     1343, 1343, 1343, 1343, 1343, 1343, 1343, 1343, 1343, 1343,
     1343
    } ;

static yy_state_type yy_last_accepting_state;
static char *yy_last_accepting_cpos;

/* The intent behind this definition is that it'll catch
 * any uses of REJECT which flex missed.
 */
#define REJECT reject_used_but_not_detected
#define yymore() yymore_used_but_not_detected
#define YY_MORE_ADJ 0
#define YY_RESTORE_YY_MORE_OFFSET
char *yytext;
#line 1 "config.l"
#define INITIAL 0
/* This file was generated by configgen on Sun Aug 13 11:17:41 2000
 * from ../configgen/config_templ.l
 *
 * DO NOT EDIT!
 */
/******************************************************************************
 *
 * $Id: config_templ.l,v 1.5 2000/08/05 18:36:35 root Exp $
 *
 * Copyright (C) 1997-2000 by Dimitri van Heesch.
 *
 * Permission to use, copy, modify, and distribute this software and its
 * documentation under the terms of the GNU General Public License is hereby 
 * granted. No representations are made about the suitability of this software 
 * for any purpose. It is provided "as is" without express or implied warranty.
 * See the GNU General Public License for more details.
 *
 */
#line 22 "config.l"

/*
 *	includes
 */
#include <stdio.h>
#include <stdlib.h>
#include <iostream.h>
#include <assert.h>
#include <ctype.h>

#include <qfileinfo.h>
#include <qdir.h>
#include <qtextstream.h>
#include <qregexp.h>
#include <qstack.h>
  
#include "config.h"
#include "version.h"
  
#ifdef DOXYWIZARD  
#include <stdarg.h>
void err(const char *fmt, ...)
{
  va_list args;
  va_start(args, fmt);
  vfprintf(stderr, fmt, args);
  va_end(args); 
}
void warn_cont(const char *fmt, ...)
{
  va_list args;
  va_start(args, fmt);
  vfprintf(stderr, fmt, args);
  va_end(args);
}
void initWarningFormat()
{
}
#else
#include "doxygen.h"
#include "message.h"
#include "pre.h"
#include "version.h"
#include "language.h"
#endif

#define MAX_INCLUDE_DEPTH 10
#define YY_NEVER_INTERACTIVE 1
#define YY_NO_UNPUT
  
/* -----------------------------------------------------------------
 *
 *	exported variables
 */
  
QCString Config::projectName;
QCString Config::projectNumber;
QCString Config::outputDir;
QCString Config::outputLanguage = "English";
bool     Config::extractAllFlag = FALSE;
bool     Config::extractPrivateFlag = FALSE;
bool     Config::extractStaticFlag = FALSE;
bool     Config::hideMemberFlag = FALSE;
bool     Config::hideClassFlag = FALSE;
bool     Config::briefMemDescFlag = TRUE;
bool     Config::repeatBriefFlag = TRUE;
bool     Config::alwaysDetailsFlag = FALSE;
bool     Config::fullPathNameFlag = FALSE;
QStrList Config::stripFromPath;
bool     Config::internalDocsFlag = FALSE;
bool     Config::classDiagramFlag = TRUE;
bool     Config::sourceBrowseFlag = FALSE;
bool     Config::inlineSourceFlag = FALSE;
bool     Config::stripCommentsFlag = TRUE;
bool     Config::caseSensitiveNames = TRUE;
bool     Config::hideScopeNames = FALSE;
bool     Config::verbatimHeaderFlag = TRUE;
bool     Config::showIncFileFlag = TRUE;
bool     Config::autoBriefFlag = TRUE;
bool     Config::inheritDocsFlag = TRUE;
bool     Config::inlineInfoFlag = TRUE;
bool     Config::sortMembersFlag = TRUE;
int      Config::tabSize = 8;
QStrList Config::sectionFilterList;
bool     Config::generateTodoList = TRUE;
bool     Config::generateTestList = TRUE;
bool     Config::quietFlag = FALSE;
bool     Config::warningFlag = TRUE;
bool     Config::warningUndocFlag = TRUE;
QCString Config::warnFormat = "$file:$line: $text";
QStrList Config::inputSources;
QStrList Config::filePatternList;
bool     Config::recursiveFlag = FALSE;
QStrList Config::excludeSources;
QStrList Config::excludePatternList;
QStrList Config::examplePath;
QStrList Config::examplePatternList;
QStrList Config::imagePath;
QCString Config::inputFilter;
bool     Config::alphaIndexFlag = FALSE;
int      Config::colsInAlphaIndex = 5;
QStrList Config::ignorePrefixList;
bool     Config::generateHtml = TRUE;
QCString Config::htmlOutputDir = "html";
QCString Config::headerFile;
QCString Config::footerFile;
QCString Config::htmlStyleSheet;
bool     Config::htmlAlignMemberFlag = TRUE;
bool     Config::htmlHelpFlag = FALSE;
bool     Config::noIndexFlag = FALSE;
bool     Config::generateLatex = TRUE;
QCString Config::latexOutputDir = "latex";
bool     Config::compactLatexFlag = FALSE;
QCString Config::paperType = "a4wide";
QStrList Config::extraPackageList;
QCString Config::latexHeaderFile;
bool     Config::pdfHyperFlag = FALSE;
bool     Config::usePDFLatexFlag = FALSE;
bool     Config::latexBatchModeFlag = FALSE;
bool     Config::generateRTF = TRUE;
QCString Config::rtfOutputDir = "rtf";
bool     Config::compactRTFFlag = FALSE;
bool     Config::rtfHyperFlag = FALSE;
QCString Config::rtfStylesheetFile;
bool     Config::generateMan = TRUE;
QCString Config::manOutputDir = "man";
QCString Config::manExtension = ".3";
bool     Config::generateXML = FALSE;
bool     Config::preprocessingFlag = TRUE;
bool     Config::macroExpansionFlag = FALSE;
bool     Config::onlyPredefinedFlag = FALSE;
bool     Config::searchIncludeFlag = TRUE;
QStrList Config::includePath;
QStrList Config::includeFilePatternList;
QStrList Config::predefined;
QStrList Config::expandAsDefinedList;
QStrList Config::tagFileList;
QCString Config::genTagFile;
bool     Config::allExtFlag = FALSE;
QCString Config::perlPath = "/usr/bin/perl";
bool     Config::haveDotFlag = FALSE;
bool     Config::classGraphFlag = TRUE;
bool     Config::collGraphFlag = TRUE;
bool     Config::includeGraphFlag = TRUE;
bool     Config::includedByGraphFlag = TRUE;
bool     Config::gfxHierarchyFlag = TRUE;
QCString Config::dotPath;
int      Config::maxDotGraphWidth = 1024;
int      Config::maxDotGraphHeight = 1024;
bool     Config::searchEngineFlag = FALSE;
QCString Config::cgiName = "search.cgi";
QCString Config::cgiURL;
QCString Config::docURL;
QCString Config::docAbsPath;
QCString Config::binAbsPath = "/usr/local/bin/";
QStrList Config::extDocPathList;

/* -----------------------------------------------------------------
 *
 *	static variables
 */

struct ConfigFileState
{
  int lineNr;
  FILE *filePtr;
  YY_BUFFER_STATE oldState;
  YY_BUFFER_STATE newState;
  QCString fileName;
};  

static const char       *inputString;
static int	         inputPosition;
static int               yyLineNr;
static QCString          yyFileName;
static QCString          tmpString;
static QCString         *s=0;
static bool             *b=0;
static QStrList         *l=0;
static int               lastState;
static QCString          elemStr;
static QCString          includeName;
static QStrList          includePathList;
static QStack<ConfigFileState> includeStack;  
static int               includeDepth;

static QCString     tabSizeString;
static QCString     colsInAlphaIndexString;
static QCString     maxDotGraphWidthString;
static QCString     maxDotGraphHeightString;

/* -----------------------------------------------------------------
 */
#undef	YY_INPUT
#define	YY_INPUT(buf,result,max_size) result=yyread(buf,max_size);

static int yyread(char *buf,int max_size)
{
    // no file included
    if (includeStack.isEmpty()) 
    {
        int c=0;
	while( c < max_size && inputString[inputPosition] )
	{
	      *buf = inputString[inputPosition++] ;
	      c++; buf++;
  	}
	return c;
    } 
    else 
    {
        //assert(includeStack.current()->newState==YY_CURRENT_BUFFER);
	return fread(buf,1,max_size,includeStack.current()->filePtr);
    }
}


static FILE *tryPath(const char *path,const char *fileName)
{
  QCString absName=(QCString)path+"/"+fileName;
  QFileInfo fi(absName);
  if (fi.exists() && fi.isFile())
  {
    FILE *f=fopen(absName,"r");
    if (!f) err("Error: could not open file %s for reading\n",absName.data());
    return f;
  }
  return 0;
}

static FILE *findFile(const char *fileName)
{
  char *s=includePathList.first();
  while (s) // try each of the include paths
  {
    FILE *f = tryPath(s,fileName);
    if (f) return f;
    s=includePathList.next();
  } 
  // try cwd if includePathList fails
  return tryPath(".",fileName);
}

static void readIncludeFile(const char *incName)
{
  if (includeDepth==MAX_INCLUDE_DEPTH) {
    err("Error: maximum include depth (%d) reached, %s is not included. Aborting...\n",
	MAX_INCLUDE_DEPTH,incName);
    exit(1);
  } 

  QCString inc = incName;
  inc = inc.stripWhiteSpace();
  uint incLen = inc.length();
  if (inc.at(0)=='"' && inc.at(incLen-1)=='"') // strip quotes
  {
    inc=inc.mid(1,incLen-2);
  }

  FILE *f;

  //printf("Searching for `%s'\n",incFileName.data());
  if ((f=findFile(inc))) // see if the include file can be found
  {
    // For debugging
#if SHOW_INCLUDES
    for (i=0;i<includeStack.count();i++) msg("  ");
    msg("@INCLUDE = %s: parsing...\n",inc.data());
#endif

    // store the state of the old file 
    ConfigFileState *fs=new ConfigFileState;
    fs->oldState=YY_CURRENT_BUFFER;
    fs->lineNr=yyLineNr;
    fs->fileName=yyFileName;
    fs->filePtr=f;
    // push the state on the stack
    includeStack.push(fs);
    // set the scanner to the include file
    yy_switch_to_buffer(yy_create_buffer(f, YY_BUF_SIZE));
    fs->newState=YY_CURRENT_BUFFER;
    yyFileName=inc;
    includeDepth++;
  } 
  else
  {
    err("Error: @INCLUDE = %s: not found!\n",inc.data());
    exit(1);
  }
}


#define Start 1

#define SkipComment 2

#define GetString 3

#define GetBool 4

#define GetStrList 5

#define GetQuotedString 6

#define GetEnvVar 7

#define Include 8


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

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

#ifndef YY_NO_UNPUT
static void yyunput YY_PROTO(( int c, char *buf_ptr ));
#endif

#ifndef yytext_ptr
static void yy_flex_strncpy YY_PROTO(( char *, yyconst char *, int ));
#endif

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

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

#if YY_STACK_USED
static int yy_start_stack_ptr = 0;
static int yy_start_stack_depth = 0;
static int *yy_start_stack = 0;
#ifndef YY_NO_PUSH_STATE
static void yy_push_state YY_PROTO(( int new_state ));
#endif
#ifndef YY_NO_POP_STATE
static void yy_pop_state YY_PROTO(( void ));
#endif
#ifndef YY_NO_TOP_STATE
static int yy_top_state YY_PROTO(( void ));
#endif

#else
#define YY_NO_PUSH_STATE 1
#define YY_NO_POP_STATE 1
#define YY_NO_TOP_STATE 1
#endif

#ifdef YY_MALLOC_DECL
YY_MALLOC_DECL
#else
#if __STDC__
#ifndef __cplusplus
#include <stdlib.h>
#endif
#else
/* Just try to get by without declaring the routines.  This will fail
 * miserably on non-ANSI systems for which sizeof(size_t) != sizeof(int)
 * or sizeof(void*) != sizeof(int).
 */
#endif
#endif

/* Amount of stuff to slurp up with each read. */
#ifndef YY_READ_BUF_SIZE
#define YY_READ_BUF_SIZE 8192
#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 (void) fwrite( yytext, yyleng, 1, yyout )
#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->yy_is_interactive ) \
		{ \
		int c = '*', n; \
		for ( n = 0; n < max_size && \
			     (c = getc( yyin )) != EOF && c != '\n'; ++n ) \
			buf[n] = (char) c; \
		if ( c == '\n' ) \
			buf[n++] = (char) c; \
		if ( c == EOF && ferror( yyin ) ) \
			YY_FATAL_ERROR( "input in flex scanner failed" ); \
		result = n; \
		} \
	else if ( ((result = fread( buf, 1, max_size, yyin )) == 0) \
		  && ferror( yyin ) ) \
		YY_FATAL_ERROR( "input in flex scanner failed" );
#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

/* Default declaration of generated scanner - a define so the user can
 * easily add parameters.
 */
#ifndef YY_DECL
#define YY_DECL int yylex YY_PROTO(( void ))
#endif

/* Code executed at the beginning of each rule, after yytext and yyleng
 * 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 \
	YY_USER_ACTION

YY_DECL
	{
	register yy_state_type yy_current_state;
	register char *yy_cp, *yy_bp;
	register int yy_act;

#line 327 "config.l"



	if ( yy_init )
		{
		yy_init = 0;

#ifdef YY_USER_INIT
		YY_USER_INIT;
#endif

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

		if ( ! yyin )
			yyin = stdin;

		if ( ! yyout )
			yyout = stdout;

		if ( ! yy_current_buffer )
			yy_current_buffer =
				yy_create_buffer( yyin, YY_BUF_SIZE );

		yy_load_buffer_state();
		}

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

		/* Support of yytext. */
		*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_match:
		do
			{
			register YY_CHAR yy_c = yy_ec[YY_SC_TO_UI(*yy_cp)];
			if ( yy_accept[yy_current_state] )
				{
				yy_last_accepting_state = yy_current_state;
				yy_last_accepting_cpos = 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 >= 1344 )
					yy_c = yy_meta[(unsigned int) yy_c];
				}
			yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c];
			++yy_cp;
			}
		while ( yy_base[yy_current_state] != 1708 );

yy_find_action:
		yy_act = yy_accept[yy_current_state];
		if ( yy_act == 0 )
			{ /* have to back up */
			yy_cp = yy_last_accepting_cpos;
			yy_current_state = yy_last_accepting_state;
			yy_act = 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 0: /* must back up */
			/* undo the effects of YY_DO_BEFORE_ACTION */
			*yy_cp = yy_hold_char;
			yy_cp = yy_last_accepting_cpos;
			yy_current_state = yy_last_accepting_state;
			goto yy_find_action;

case 1:
YY_RULE_SETUP
#line 329 "config.l"

	YY_BREAK
case 2:
YY_RULE_SETUP
#line 330 "config.l"
{ BEGIN(SkipComment); }
	YY_BREAK
case 3:
YY_RULE_SETUP
#line 331 "config.l"
{ BEGIN(GetString); s=&Config::projectName; s->resize(0); }
	YY_BREAK
case 4:
YY_RULE_SETUP
#line 332 "config.l"
{ BEGIN(GetString); s=&Config::projectNumber; s->resize(0); }
	YY_BREAK
case 5:
YY_RULE_SETUP
#line 333 "config.l"
{ BEGIN(GetString); s=&Config::outputDir; s->resize(0); }
	YY_BREAK
case 6:
YY_RULE_SETUP
#line 334 "config.l"
{ BEGIN(GetString); s=&Config::outputLanguage; s->resize(0); }
	YY_BREAK
case 7:
YY_RULE_SETUP
#line 335 "config.l"
{ BEGIN(GetBool); b=&Config::extractAllFlag; }
	YY_BREAK
case 8:
YY_RULE_SETUP
#line 336 "config.l"
{ BEGIN(GetBool); b=&Config::extractPrivateFlag; }
	YY_BREAK
case 9:
YY_RULE_SETUP
#line 337 "config.l"
{ BEGIN(GetBool); b=&Config::extractStaticFlag; }
	YY_BREAK
case 10:
YY_RULE_SETUP
#line 338 "config.l"
{ BEGIN(GetBool); b=&Config::hideMemberFlag; }
	YY_BREAK
case 11:
YY_RULE_SETUP
#line 339 "config.l"
{ BEGIN(GetBool); b=&Config::hideClassFlag; }
	YY_BREAK
case 12:
YY_RULE_SETUP
#line 340 "config.l"
{ BEGIN(GetBool); b=&Config::briefMemDescFlag; }
	YY_BREAK
case 13:
YY_RULE_SETUP
#line 341 "config.l"
{ BEGIN(GetBool); b=&Config::repeatBriefFlag; }
	YY_BREAK
case 14:
YY_RULE_SETUP
#line 342 "config.l"
{ BEGIN(GetBool); b=&Config::alwaysDetailsFlag; }
	YY_BREAK
case 15:
YY_RULE_SETUP
#line 343 "config.l"
{ BEGIN(GetBool); b=&Config::fullPathNameFlag; }
	YY_BREAK
case 16:
YY_RULE_SETUP
#line 344 "config.l"
{ BEGIN(GetStrList); l=&Config::stripFromPath; l->clear(); elemStr=""; }
	YY_BREAK
case 17:
YY_RULE_SETUP
#line 345 "config.l"
{ BEGIN(GetStrList); l=&Config::stripFromPath; elemStr=""; }
	YY_BREAK
case 18:
YY_RULE_SETUP
#line 346 "config.l"
{ BEGIN(GetBool); b=&Config::internalDocsFlag; }
	YY_BREAK
case 19:
YY_RULE_SETUP
#line 347 "config.l"
{ BEGIN(GetBool); b=&Config::classDiagramFlag; }
	YY_BREAK
case 20:
YY_RULE_SETUP
#line 348 "config.l"
{ BEGIN(GetBool); b=&Config::sourceBrowseFlag; }
	YY_BREAK
case 21:
YY_RULE_SETUP
#line 349 "config.l"
{ BEGIN(GetBool); b=&Config::inlineSourceFlag; }
	YY_BREAK
case 22:
YY_RULE_SETUP
#line 350 "config.l"
{ BEGIN(GetBool); b=&Config::stripCommentsFlag; }
	YY_BREAK
case 23:
YY_RULE_SETUP
#line 351 "config.l"
{ BEGIN(GetBool); b=&Config::caseSensitiveNames; }
	YY_BREAK
case 24:
YY_RULE_SETUP
#line 352 "config.l"
{ BEGIN(GetBool); b=&Config::hideScopeNames; }
	YY_BREAK
case 25:
YY_RULE_SETUP
#line 353 "config.l"
{ BEGIN(GetBool); b=&Config::verbatimHeaderFlag; }
	YY_BREAK
case 26:
YY_RULE_SETUP
#line 354 "config.l"
{ BEGIN(GetBool); b=&Config::showIncFileFlag; }
	YY_BREAK
case 27:
YY_RULE_SETUP
#line 355 "config.l"
{ BEGIN(GetBool); b=&Config::autoBriefFlag; }
	YY_BREAK
case 28:
YY_RULE_SETUP
#line 356 "config.l"
{ BEGIN(GetBool); b=&Config::inheritDocsFlag; }
	YY_BREAK
case 29:
YY_RULE_SETUP
#line 357 "config.l"
{ BEGIN(GetBool); b=&Config::inlineInfoFlag; }
	YY_BREAK
case 30:
YY_RULE_SETUP
#line 358 "config.l"
{ BEGIN(GetBool); b=&Config::sortMembersFlag; }
	YY_BREAK
case 31:
YY_RULE_SETUP
#line 359 "config.l"
{ BEGIN(GetString); s=&tabSizeString; s->resize(0); }
	YY_BREAK
case 32:
YY_RULE_SETUP
#line 360 "config.l"
{ BEGIN(GetStrList); l=&Config::sectionFilterList; l->clear(); elemStr=""; }
	YY_BREAK
case 33:
YY_RULE_SETUP
#line 361 "config.l"
{ BEGIN(GetStrList); l=&Config::sectionFilterList; elemStr=""; }
	YY_BREAK
case 34:
YY_RULE_SETUP
#line 362 "config.l"
{ BEGIN(GetBool); b=&Config::generateTodoList; }
	YY_BREAK
case 35:
YY_RULE_SETUP
#line 363 "config.l"
{ BEGIN(GetBool); b=&Config::generateTestList; }
	YY_BREAK
case 36:
YY_RULE_SETUP
#line 364 "config.l"
{ BEGIN(GetBool); b=&Config::quietFlag; }
	YY_BREAK
case 37:
YY_RULE_SETUP
#line 365 "config.l"
{ BEGIN(GetBool); b=&Config::warningFlag; }
	YY_BREAK
case 38:
YY_RULE_SETUP
#line 366 "config.l"
{ BEGIN(GetBool); b=&Config::warningUndocFlag; }
	YY_BREAK
case 39:
YY_RULE_SETUP
#line 367 "config.l"
{ BEGIN(GetString); s=&Config::warnFormat; s->resize(0); }
	YY_BREAK
case 40:
YY_RULE_SETUP
#line 368 "config.l"
{ BEGIN(GetStrList); l=&Config::inputSources; l->clear(); elemStr=""; }
	YY_BREAK
case 41:
YY_RULE_SETUP
#line 369 "config.l"
{ BEGIN(GetStrList); l=&Config::inputSources; elemStr=""; }
	YY_BREAK
case 42:
YY_RULE_SETUP
#line 370 "config.l"
{ BEGIN(GetStrList); l=&Config::filePatternList; l->clear(); elemStr=""; }
	YY_BREAK
case 43:
YY_RULE_SETUP
#line 371 "config.l"
{ BEGIN(GetStrList); l=&Config::filePatternList; elemStr=""; }
	YY_BREAK
case 44:
YY_RULE_SETUP
#line 372 "config.l"
{ BEGIN(GetBool); b=&Config::recursiveFlag; }
	YY_BREAK
case 45:
YY_RULE_SETUP
#line 373 "config.l"
{ BEGIN(GetStrList); l=&Config::excludeSources; l->clear(); elemStr=""; }
	YY_BREAK
case 46:
YY_RULE_SETUP
#line 374 "config.l"
{ BEGIN(GetStrList); l=&Config::excludeSources; elemStr=""; }
	YY_BREAK
case 47:
YY_RULE_SETUP
#line 375 "config.l"
{ BEGIN(GetStrList); l=&Config::excludePatternList; l->clear(); elemStr=""; }
	YY_BREAK
case 48:
YY_RULE_SETUP
#line 376 "config.l"
{ BEGIN(GetStrList); l=&Config::excludePatternList; elemStr=""; }
	YY_BREAK
case 49:
YY_RULE_SETUP
#line 377 "config.l"
{ BEGIN(GetStrList); l=&Config::examplePath; l->clear(); elemStr=""; }
	YY_BREAK
case 50:
YY_RULE_SETUP
#line 378 "config.l"
{ BEGIN(GetStrList); l=&Config::examplePath; elemStr=""; }
	YY_BREAK
case 51:
YY_RULE_SETUP
#line 379 "config.l"
{ BEGIN(GetStrList); l=&Config::examplePatternList; l->clear(); elemStr=""; }
	YY_BREAK
case 52:
YY_RULE_SETUP
#line 380 "config.l"
{ BEGIN(GetStrList); l=&Config::examplePatternList; elemStr=""; }
	YY_BREAK
case 53:
YY_RULE_SETUP
#line 381 "config.l"
{ BEGIN(GetStrList); l=&Config::imagePath; l->clear(); elemStr=""; }
	YY_BREAK
case 54:
YY_RULE_SETUP
#line 382 "config.l"
{ BEGIN(GetStrList); l=&Config::imagePath; elemStr=""; }
	YY_BREAK
case 55:
YY_RULE_SETUP
#line 383 "config.l"
{ BEGIN(GetString); s=&Config::inputFilter; s->resize(0); }
	YY_BREAK
case 56:
YY_RULE_SETUP
#line 384 "config.l"
{ BEGIN(GetBool); b=&Config::alphaIndexFlag; }
	YY_BREAK
case 57:
YY_RULE_SETUP
#line 385 "config.l"
{ BEGIN(GetString); s=&colsInAlphaIndexString; s->resize(0); }
	YY_BREAK
case 58:
YY_RULE_SETUP
#line 386 "config.l"
{ BEGIN(GetStrList); l=&Config::ignorePrefixList; l->clear(); elemStr=""; }
	YY_BREAK
case 59:
YY_RULE_SETUP
#line 387 "config.l"
{ BEGIN(GetStrList); l=&Config::ignorePrefixList; elemStr=""; }
	YY_BREAK
case 60:
YY_RULE_SETUP
#line 388 "config.l"
{ BEGIN(GetBool); b=&Config::generateHtml; }
	YY_BREAK
case 61:
YY_RULE_SETUP
#line 389 "config.l"
{ BEGIN(GetString); s=&Config::htmlOutputDir; s->resize(0); }
	YY_BREAK
case 62:
YY_RULE_SETUP
#line 390 "config.l"
{ BEGIN(GetString); s=&Config::headerFile; s->resize(0); }
	YY_BREAK
case 63:
YY_RULE_SETUP
#line 391 "config.l"
{ BEGIN(GetString); s=&Config::footerFile; s->resize(0); }
	YY_BREAK
case 64:
YY_RULE_SETUP
#line 392 "config.l"
{ BEGIN(GetString); s=&Config::htmlStyleSheet; s->resize(0); }
	YY_BREAK
case 65:
YY_RULE_SETUP
#line 393 "config.l"
{ BEGIN(GetBool); b=&Config::htmlAlignMemberFlag; }
	YY_BREAK
case 66:
YY_RULE_SETUP
#line 394 "config.l"
{ BEGIN(GetBool); b=&Config::htmlHelpFlag; }
	YY_BREAK
case 67:
YY_RULE_SETUP
#line 395 "config.l"
{ BEGIN(GetBool); b=&Config::noIndexFlag; }
	YY_BREAK
case 68:
YY_RULE_SETUP
#line 396 "config.l"
{ BEGIN(GetBool); b=&Config::generateLatex; }
	YY_BREAK
case 69:
YY_RULE_SETUP
#line 397 "config.l"
{ BEGIN(GetString); s=&Config::latexOutputDir; s->resize(0); }
	YY_BREAK
case 70:
YY_RULE_SETUP
#line 398 "config.l"
{ BEGIN(GetBool); b=&Config::compactLatexFlag; }
	YY_BREAK
case 71:
YY_RULE_SETUP
#line 399 "config.l"
{ BEGIN(GetString); s=&Config::paperType; s->resize(0); }
	YY_BREAK
case 72:
YY_RULE_SETUP
#line 400 "config.l"
{ BEGIN(GetStrList); l=&Config::extraPackageList; l->clear(); elemStr=""; }
	YY_BREAK
case 73:
YY_RULE_SETUP
#line 401 "config.l"
{ BEGIN(GetStrList); l=&Config::extraPackageList; elemStr=""; }
	YY_BREAK
case 74:
YY_RULE_SETUP
#line 402 "config.l"
{ BEGIN(GetString); s=&Config::latexHeaderFile; s->resize(0); }
	YY_BREAK
case 75:
YY_RULE_SETUP
#line 403 "config.l"
{ BEGIN(GetBool); b=&Config::pdfHyperFlag; }
	YY_BREAK
case 76:
YY_RULE_SETUP
#line 404 "config.l"
{ BEGIN(GetBool); b=&Config::usePDFLatexFlag; }
	YY_BREAK
case 77:
YY_RULE_SETUP
#line 405 "config.l"
{ BEGIN(GetBool); b=&Config::latexBatchModeFlag; }
	YY_BREAK
case 78:
YY_RULE_SETUP
#line 406 "config.l"
{ BEGIN(GetBool); b=&Config::generateRTF; }
	YY_BREAK
case 79:
YY_RULE_SETUP
#line 407 "config.l"
{ BEGIN(GetString); s=&Config::rtfOutputDir; s->resize(0); }
	YY_BREAK
case 80:
YY_RULE_SETUP
#line 408 "config.l"
{ BEGIN(GetBool); b=&Config::compactRTFFlag; }
	YY_BREAK
case 81:
YY_RULE_SETUP
#line 409 "config.l"
{ BEGIN(GetBool); b=&Config::rtfHyperFlag; }
	YY_BREAK
case 82:
YY_RULE_SETUP
#line 410 "config.l"
{ BEGIN(GetString); s=&Config::rtfStylesheetFile; s->resize(0); }
	YY_BREAK
case 83:
YY_RULE_SETUP
#line 411 "config.l"
{ BEGIN(GetBool); b=&Config::generateMan; }
	YY_BREAK
case 84:
YY_RULE_SETUP
#line 412 "config.l"
{ BEGIN(GetString); s=&Config::manOutputDir; s->resize(0); }
	YY_BREAK
case 85:
YY_RULE_SETUP
#line 413 "config.l"
{ BEGIN(GetString); s=&Config::manExtension; s->resize(0); }
	YY_BREAK
case 86:
YY_RULE_SETUP
#line 414 "config.l"
{ BEGIN(GetBool); b=&Config::generateXML; }
	YY_BREAK
case 87:
YY_RULE_SETUP
#line 415 "config.l"
{ BEGIN(GetBool); b=&Config::preprocessingFlag; }
	YY_BREAK
case 88:
YY_RULE_SETUP
#line 416 "config.l"
{ BEGIN(GetBool); b=&Config::macroExpansionFlag; }
	YY_BREAK
case 89:
YY_RULE_SETUP
#line 417 "config.l"
{ BEGIN(GetBool); b=&Config::onlyPredefinedFlag; }
	YY_BREAK
case 90:
YY_RULE_SETUP
#line 418 "config.l"
{ BEGIN(GetBool); b=&Config::searchIncludeFlag; }
	YY_BREAK
case 91:
YY_RULE_SETUP
#line 419 "config.l"
{ BEGIN(GetStrList); l=&Config::includePath; l->clear(); elemStr=""; }
	YY_BREAK
case 92:
YY_RULE_SETUP
#line 420 "config.l"
{ BEGIN(GetStrList); l=&Config::includePath; elemStr=""; }
	YY_BREAK
case 93:
YY_RULE_SETUP
#line 421 "config.l"
{ BEGIN(GetStrList); l=&Config::includeFilePatternList; l->clear(); elemStr=""; }
	YY_BREAK
case 94:
YY_RULE_SETUP
#line 422 "config.l"
{ BEGIN(GetStrList); l=&Config::includeFilePatternList; elemStr=""; }
	YY_BREAK
case 95:
YY_RULE_SETUP
#line 423 "config.l"
{ BEGIN(GetStrList); l=&Config::predefined; l->clear(); elemStr=""; }
	YY_BREAK
case 96:
YY_RULE_SETUP
#line 424 "config.l"
{ BEGIN(GetStrList); l=&Config::predefined; elemStr=""; }
	YY_BREAK
case 97:
YY_RULE_SETUP
#line 425 "config.l"
{ BEGIN(GetStrList); l=&Config::expandAsDefinedList; l->clear(); elemStr=""; }
	YY_BREAK
case 98:
YY_RULE_SETUP
#line 426 "config.l"
{ BEGIN(GetStrList); l=&Config::expandAsDefinedList; elemStr=""; }
	YY_BREAK
case 99:
YY_RULE_SETUP
#line 427 "config.l"
{ BEGIN(GetStrList); l=&Config::tagFileList; l->clear(); elemStr=""; }
	YY_BREAK
case 100:
YY_RULE_SETUP
#line 428 "config.l"
{ BEGIN(GetStrList); l=&Config::tagFileList; elemStr=""; }
	YY_BREAK
case 101:
YY_RULE_SETUP
#line 429 "config.l"
{ BEGIN(GetString); s=&Config::genTagFile; s->resize(0); }
	YY_BREAK
case 102:
YY_RULE_SETUP
#line 430 "config.l"
{ BEGIN(GetBool); b=&Config::allExtFlag; }
	YY_BREAK
case 103:
YY_RULE_SETUP
#line 431 "config.l"
{ BEGIN(GetString); s=&Config::perlPath; s->resize(0); }
	YY_BREAK
case 104:
YY_RULE_SETUP
#line 432 "config.l"
{ BEGIN(GetBool); b=&Config::haveDotFlag; }
	YY_BREAK
case 105:
YY_RULE_SETUP
#line 433 "config.l"
{ BEGIN(GetBool); b=&Config::classGraphFlag; }
	YY_BREAK
case 106:
YY_RULE_SETUP
#line 434 "config.l"
{ BEGIN(GetBool); b=&Config::collGraphFlag; }
	YY_BREAK
case 107:
YY_RULE_SETUP
#line 435 "config.l"
{ BEGIN(GetBool); b=&Config::includeGraphFlag; }
	YY_BREAK
case 108:
YY_RULE_SETUP
#line 436 "config.l"
{ BEGIN(GetBool); b=&Config::includedByGraphFlag; }
	YY_BREAK
case 109:
YY_RULE_SETUP
#line 437 "config.l"
{ BEGIN(GetBool); b=&Config::gfxHierarchyFlag; }
	YY_BREAK
case 110:
YY_RULE_SETUP
#line 438 "config.l"
{ BEGIN(GetString); s=&Config::dotPath; s->resize(0); }
	YY_BREAK
case 111:
YY_RULE_SETUP
#line 439 "config.l"
{ BEGIN(GetString); s=&maxDotGraphWidthString; s->resize(0); }
	YY_BREAK
case 112:
YY_RULE_SETUP
#line 440 "config.l"
{ BEGIN(GetString); s=&maxDotGraphHeightString; s->resize(0); }
	YY_BREAK
case 113:
YY_RULE_SETUP
#line 441 "config.l"
{ BEGIN(GetBool); b=&Config::searchEngineFlag; }
	YY_BREAK
case 114:
YY_RULE_SETUP
#line 442 "config.l"
{ BEGIN(GetString); s=&Config::cgiName; s->resize(0); }
	YY_BREAK
case 115:
YY_RULE_SETUP
#line 443 "config.l"
{ BEGIN(GetString); s=&Config::cgiURL; s->resize(0); }
	YY_BREAK
case 116:
YY_RULE_SETUP
#line 444 "config.l"
{ BEGIN(GetString); s=&Config::docURL; s->resize(0); }
	YY_BREAK
case 117:
YY_RULE_SETUP
#line 445 "config.l"
{ BEGIN(GetString); s=&Config::docAbsPath; s->resize(0); }
	YY_BREAK
case 118:
YY_RULE_SETUP
#line 446 "config.l"
{ BEGIN(GetString); s=&Config::binAbsPath; s->resize(0); }
	YY_BREAK
case 119:
YY_RULE_SETUP
#line 447 "config.l"
{ BEGIN(GetStrList); l=&Config::extDocPathList; l->clear(); elemStr=""; }
	YY_BREAK
case 120:
YY_RULE_SETUP
#line 448 "config.l"
{ BEGIN(GetStrList); l=&Config::extDocPathList; elemStr=""; }
	YY_BREAK
case 121:
YY_RULE_SETUP
#line 450 "config.l"
{ BEGIN(GetStrList); l=&includePathList; l->clear(); elemStr=""; }
	YY_BREAK
/* include a config file */
case 122:
YY_RULE_SETUP
#line 452 "config.l"
{ BEGIN(Include);}
	YY_BREAK
case 123:
YY_RULE_SETUP
#line 453 "config.l"
{ 
  					  readIncludeFile(yytext); 
  					  BEGIN(Start);
					}
	YY_BREAK
case YY_STATE_EOF(INITIAL):
case YY_STATE_EOF(Start):
case YY_STATE_EOF(SkipComment):
case YY_STATE_EOF(GetString):
case YY_STATE_EOF(GetBool):
case YY_STATE_EOF(GetStrList):
case YY_STATE_EOF(GetQuotedString):
case YY_STATE_EOF(GetEnvVar):
case YY_STATE_EOF(Include):
#line 457 "config.l"
{
                                          //printf("End of include file\n");
					  //printf("Include stack depth=%d\n",g_includeStack.count());
                                          if (includeStack.isEmpty())
					  {
					    //printf("Terminating scanner!\n");
					    yyterminate();
					  }
					  else
					  {
					    ConfigFileState *fs=includeStack.pop();
					    pclose(fs->filePtr);
					    YY_BUFFER_STATE oldBuf = YY_CURRENT_BUFFER;
					    yy_switch_to_buffer( fs->oldState );
					    yy_delete_buffer( oldBuf );
					    yyLineNr=fs->lineNr;
					    yyFileName=fs->fileName;
					    delete fs; fs=0;
                                            includeDepth--;
					  }
  					}
	YY_BREAK
case 124:
YY_RULE_SETUP
#line 479 "config.l"
{ err("Warning: ignoring unknown tag `%s' at line %d, file %s\n",yytext,yyLineNr,yyFileName.data()); }
	YY_BREAK
case 125:
YY_RULE_SETUP
#line 480 "config.l"
{ yyLineNr++; BEGIN(Start); }
	YY_BREAK
case 126:
YY_RULE_SETUP
#line 481 "config.l"
{ 
  					  yyLineNr++; 
					  if (!elemStr.isEmpty())
					  {
					    //printf("elemStr1=`%s'\n",elemStr.data());
					    l->append(elemStr);
					  }
					  BEGIN(Start); 
					}
	YY_BREAK
case 127:
YY_RULE_SETUP
#line 490 "config.l"
{
  				          if (!elemStr.isEmpty())
					  {
					    //printf("elemStr2=`%s'\n",elemStr.data());
  					    l->append(elemStr);
					  }
					  elemStr.resize(0);
  					}
	YY_BREAK
case 128:
YY_RULE_SETUP
#line 498 "config.l"
{ (*s)+=yytext; }
	YY_BREAK
case 129:
YY_RULE_SETUP
#line 499 "config.l"
{ lastState=YY_START;
  					  BEGIN(GetQuotedString); 
                                          tmpString.resize(0); 
					}
	YY_BREAK
case 130:
YY_RULE_SETUP
#line 503 "config.l"
{ 
  					  //printf("Quoted String = `%s'\n",tmpString.data());
  					  if (lastState==GetString)
					    (*s)+=tmpString;
					  else
					    elemStr+=tmpString;
					  if (*yytext=='\n')
					  {
					    err("Warning: Missing end quote (\") on line %d, file %s\n",yyLineNr,yyFileName.data());
					    yyLineNr++;
					  }
					  BEGIN(lastState);
  					}
	YY_BREAK
case 131:
YY_RULE_SETUP
#line 516 "config.l"
{
  					  tmpString+='"';
  					}
	YY_BREAK
case 132:
YY_RULE_SETUP
#line 519 "config.l"
{ tmpString+=*yytext; }
	YY_BREAK
case 133:
YY_RULE_SETUP
#line 520 "config.l"
{ 
  					  QCString bs=yytext; 
  					  bs=bs.upper();
  					  if (bs=="YES")
					    *b=TRUE;
					  else if (bs=="NO")
					    *b=FALSE;
					  else 
					  {
					    *b=FALSE; 
					    warn_cont("Warning: Invalid value `%s' for "
						 "boolean tag in line %d, file %s; use YES or NO\n",
						 bs.data(),yyLineNr,yyFileName.data());
					  }
					}
	YY_BREAK
case 134:
YY_RULE_SETUP
#line 535 "config.l"
{
  					  elemStr+=yytext;
  					}
	YY_BREAK
case 135:
YY_RULE_SETUP
#line 538 "config.l"
{ yyLineNr++; BEGIN(Start); }
	YY_BREAK
case 136:
YY_RULE_SETUP
#line 539 "config.l"
{ yyLineNr++; BEGIN(Start); }
	YY_BREAK
case 137:
YY_RULE_SETUP
#line 540 "config.l"
{ yyLineNr++; }
	YY_BREAK
case 138:
YY_RULE_SETUP
#line 541 "config.l"

	YY_BREAK
case 139:
YY_RULE_SETUP
#line 542 "config.l"
{ yyLineNr++ ; }
	YY_BREAK
case 140:
YY_RULE_SETUP
#line 544 "config.l"
ECHO;
	YY_BREAK

	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->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 yyin at a new source and called
			 * yylex().  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->yy_n_chars;
			yy_current_buffer->yy_input_file = yyin;
			yy_current_buffer->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->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 ( yywrap() )
					{
					/* Note: because we've taken care in
					 * yy_get_next_buffer() to have set up
					 * yytext, 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->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 yylex */


/* 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()
	{
	register char *dest = yy_current_buffer->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->yy_ch_buf[yy_n_chars + 1] )
		YY_FATAL_ERROR(
		"fatal flex scanner internal error--end of buffer missed" );

	if ( yy_current_buffer->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->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->yy_n_chars = yy_n_chars = 0;

	else
		{
		int num_to_read =
			yy_current_buffer->yy_buf_size - number_to_move - 1;

		while ( num_to_read <= 0 )
			{ /* Not enough room in the buffer - grow it. */
#ifdef YY_USES_REJECT
			YY_FATAL_ERROR(
"input buffer overflow, can't enlarge buffer because scanner uses REJECT" );
#else

			/* just a shorter name for the current buffer */
			YY_BUFFER_STATE b = yy_current_buffer;

			int yy_c_buf_p_offset =
				(int) (yy_c_buf_p - b->yy_ch_buf);

			if ( b->yy_is_our_buffer )
				{
				int new_size = b->yy_buf_size * 2;

				if ( new_size <= 0 )
					b->yy_buf_size += b->yy_buf_size / 8;
				else
					b->yy_buf_size *= 2;

				b->yy_ch_buf = (char *)
					/* Include room in for 2 EOB chars. */
					yy_flex_realloc( (void *) b->yy_ch_buf,
							 b->yy_buf_size + 2 );
				}
			else
				/* Can't grow it, we don't own it. */
				b->yy_ch_buf = 0;

			if ( ! b->yy_ch_buf )
				YY_FATAL_ERROR(
				"fatal error - scanner input buffer overflow" );

			yy_c_buf_p = &b->yy_ch_buf[yy_c_buf_p_offset];

			num_to_read = yy_current_buffer->yy_buf_size -
						number_to_move - 1;
#endif
			}

		if ( num_to_read > YY_READ_BUF_SIZE )
			num_to_read = YY_READ_BUF_SIZE;

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

		yy_current_buffer->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;
			yyrestart( yyin );
			}

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

	else
		ret_val = EOB_ACT_CONTINUE_SCAN;

	yy_n_chars += number_to_move;
	yy_current_buffer->yy_ch_buf[yy_n_chars] = YY_END_OF_BUFFER_CHAR;
	yy_current_buffer->yy_ch_buf[yy_n_chars + 1] = YY_END_OF_BUFFER_CHAR;

	yytext_ptr = &yy_current_buffer->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()
	{
	register yy_state_type yy_current_state;
	register char *yy_cp;

	yy_current_state = yy_start;

	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)] : 43);
		if ( yy_accept[yy_current_state] )
			{
			yy_last_accepting_state = yy_current_state;
			yy_last_accepting_cpos = 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 >= 1344 )
				yy_c = yy_meta[(unsigned int) yy_c];
			}
		yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c];
		}

	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 );
 */

#ifdef YY_USE_PROTOS
static yy_state_type yy_try_NUL_trans( yy_state_type yy_current_state )
#else
static yy_state_type yy_try_NUL_trans( yy_current_state )
yy_state_type yy_current_state;
#endif
	{
	register int yy_is_jam;
	register char *yy_cp = yy_c_buf_p;

	register YY_CHAR yy_c = 43;
	if ( yy_accept[yy_current_state] )
		{
		yy_last_accepting_state = yy_current_state;
		yy_last_accepting_cpos = 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 >= 1344 )
			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 == 1343);

	return yy_is_jam ? 0 : yy_current_state;
	}


#ifndef YY_NO_UNPUT
#ifdef YY_USE_PROTOS
static void yyunput( int c, register char *yy_bp )
#else
static void yyunput( c, yy_bp )
int c;
register char *yy_bp;
#endif
	{
	register char *yy_cp = yy_c_buf_p;

	/* undo effects of setting up yytext */
	*yy_cp = yy_hold_char;

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

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

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

		if ( yy_cp < yy_current_buffer->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;
	}
#endif	/* ifndef YY_NO_UNPUT */


#ifdef __cplusplus
static int yyinput()
#else
static int input()
#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->yy_ch_buf[yy_n_chars] )
			/* This was really a NUL. */
			*yy_c_buf_p = '\0';

		else
			{ /* need more input */
			int 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. */
					yyrestart( yyin );

					/* fall through */

				case EOB_ACT_END_OF_FILE:
					{
					if ( yywrap() )
						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 yytext */
	yy_hold_char = *++yy_c_buf_p;


	return c;
	}


#ifdef YY_USE_PROTOS
void yyrestart( FILE *input_file )
#else
void yyrestart( input_file )
FILE *input_file;
#endif
	{
	if ( ! yy_current_buffer )
		yy_current_buffer = yy_create_buffer( yyin, YY_BUF_SIZE );

	yy_init_buffer( yy_current_buffer, input_file );
	yy_load_buffer_state();
	}


#ifdef YY_USE_PROTOS
void yy_switch_to_buffer( YY_BUFFER_STATE new_buffer )
#else
void yy_switch_to_buffer( new_buffer )
YY_BUFFER_STATE new_buffer;
#endif
	{
	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->yy_buf_pos = yy_c_buf_p;
		yy_current_buffer->yy_n_chars = yy_n_chars;
		}

	yy_current_buffer = new_buffer;
	yy_load_buffer_state();

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


#ifdef YY_USE_PROTOS
void yy_load_buffer_state( void )
#else
void yy_load_buffer_state()
#endif
	{
	yy_n_chars = yy_current_buffer->yy_n_chars;
	yytext_ptr = yy_c_buf_p = yy_current_buffer->yy_buf_pos;
	yyin = yy_current_buffer->yy_input_file;
	yy_hold_char = *yy_c_buf_p;
	}


#ifdef YY_USE_PROTOS
YY_BUFFER_STATE yy_create_buffer( FILE *file, int size )
#else
YY_BUFFER_STATE yy_create_buffer( file, size )
FILE *file;
int size;
#endif
	{
	YY_BUFFER_STATE b;

	b = (YY_BUFFER_STATE) yy_flex_alloc( sizeof( struct yy_buffer_state ) );
	if ( ! b )
		YY_FATAL_ERROR( "out of dynamic memory in yy_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 *) yy_flex_alloc( b->yy_buf_size + 2 );
	if ( ! b->yy_ch_buf )
		YY_FATAL_ERROR( "out of dynamic memory in yy_create_buffer()" );

	b->yy_is_our_buffer = 1;

	yy_init_buffer( b, file );

	return b;
	}


#ifdef YY_USE_PROTOS
void yy_delete_buffer( YY_BUFFER_STATE b )
#else
void yy_delete_buffer( b )
YY_BUFFER_STATE b;
#endif
	{
	if ( ! b )
		return;

	if ( b == yy_current_buffer )
		yy_current_buffer = (YY_BUFFER_STATE) 0;

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

	yy_flex_free( (void *) b );
	}


#ifndef YY_ALWAYS_INTERACTIVE
#ifndef YY_NEVER_INTERACTIVE
extern int isatty YY_PROTO(( int ));
#endif
#endif

#ifdef YY_USE_PROTOS
void yy_init_buffer( YY_BUFFER_STATE b, FILE *file )
#else
void yy_init_buffer( b, file )
YY_BUFFER_STATE b;
FILE *file;
#endif


	{
	yy_flush_buffer( b );

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

#if YY_ALWAYS_INTERACTIVE
	b->yy_is_interactive = 1;
#else
#if YY_NEVER_INTERACTIVE
	b->yy_is_interactive = 0;
#else
	b->yy_is_interactive = file ? (isatty( fileno(file) ) > 0) : 0;
#endif
#endif
	}


#ifdef YY_USE_PROTOS
void yy_flush_buffer( YY_BUFFER_STATE b )
#else
void yy_flush_buffer( b )
YY_BUFFER_STATE b;
#endif

	{
	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 )
		yy_load_buffer_state();
	}


#ifndef YY_NO_SCAN_BUFFER
#ifdef YY_USE_PROTOS
YY_BUFFER_STATE yy_scan_buffer( char *base, yy_size_t size )
#else
YY_BUFFER_STATE yy_scan_buffer( base, size )
char *base;
yy_size_t size;
#endif
	{
	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) yy_flex_alloc( sizeof( struct yy_buffer_state ) );
	if ( ! b )
		YY_FATAL_ERROR( "out of dynamic memory in yy_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;

	yy_switch_to_buffer( b );

	return b;
	}
#endif


#ifndef YY_NO_SCAN_STRING
#ifdef YY_USE_PROTOS
YY_BUFFER_STATE yy_scan_string( yyconst char *yy_str )
#else
YY_BUFFER_STATE yy_scan_string( yy_str )
yyconst char *yy_str;
#endif
	{
	int len;
	for ( len = 0; yy_str[len]; ++len )
		;

	return yy_scan_bytes( yy_str, len );
	}
#endif


#ifndef YY_NO_SCAN_BYTES
#ifdef YY_USE_PROTOS
YY_BUFFER_STATE yy_scan_bytes( yyconst char *bytes, int len )
#else
YY_BUFFER_STATE yy_scan_bytes( bytes, len )
yyconst char *bytes;
int len;
#endif
	{
	YY_BUFFER_STATE b;
	char *buf;
	yy_size_t n;
	int i;

	/* Get memory for full buffer, including space for trailing EOB's. */
	n = len + 2;
	buf = (char *) yy_flex_alloc( n );
	if ( ! buf )
		YY_FATAL_ERROR( "out of dynamic memory in yy_scan_bytes()" );

	for ( i = 0; i < len; ++i )
		buf[i] = bytes[i];

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

	b = yy_scan_buffer( buf, n );
	if ( ! b )
		YY_FATAL_ERROR( "bad buffer in yy_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;
	}
#endif


#ifndef YY_NO_PUSH_STATE
#ifdef YY_USE_PROTOS
static void yy_push_state( int new_state )
#else
static void yy_push_state( new_state )
int new_state;
#endif
	{
	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 *) yy_flex_alloc( new_size );

		else
			yy_start_stack = (int *) yy_flex_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);
	}
#endif


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

	BEGIN(yy_start_stack[yy_start_stack_ptr]);
	}
#endif


#ifndef YY_NO_TOP_STATE
static int yy_top_state()
	{
	return yy_start_stack[yy_start_stack_ptr - 1];
	}
#endif

#ifndef YY_EXIT_FAILURE
#define YY_EXIT_FAILURE 2
#endif

#ifdef YY_USE_PROTOS
static void yy_fatal_error( yyconst char msg[] )
#else
static void yy_fatal_error( msg )
char msg[];
#endif
	{
	(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 yytext. */ \
		yytext[yyleng] = yy_hold_char; \
		yy_c_buf_p = yytext + n; \
		yy_hold_char = *yy_c_buf_p; \
		*yy_c_buf_p = '\0'; \
		yyleng = n; \
		} \
	while ( 0 )


/* Internal utility routines. */

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

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

	return n;
	}
#endif


#ifdef YY_USE_PROTOS
static void *yy_flex_alloc( yy_size_t size )
#else
static void *yy_flex_alloc( size )
yy_size_t size;
#endif
	{
	return (void *) malloc( size );
	}

#ifdef YY_USE_PROTOS
static void *yy_flex_realloc( void *ptr, yy_size_t size )
#else
static void *yy_flex_realloc( ptr, size )
void *ptr;
yy_size_t size;
#endif
	{
	/* 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 );
	}

#ifdef YY_USE_PROTOS
static void yy_flex_free( void *ptr )
#else
static void yy_flex_free( ptr )
void *ptr;
#endif
	{
	free( ptr );
	}

#if YY_MAIN
int main()
	{
	yylex();
	return 0;
	}
#endif
#line 544 "config.l"


/*@ ----------------------------------------------------------------------------
 */


void dumpConfig()
{
  printf("# General configuration options\n");
  printf("projectName=`%s'\n",Config::projectName.data());
  printf("projectNumber=`%s'\n",Config::projectNumber.data());
  printf("outputDir=`%s'\n",Config::outputDir.data());
  printf("outputLanguage=`%s'\n",Config::outputLanguage.data());
  printf("extractAllFlag=`%d'\n",Config::extractAllFlag);
  printf("extractPrivateFlag=`%d'\n",Config::extractPrivateFlag);
  printf("extractStaticFlag=`%d'\n",Config::extractStaticFlag);
  printf("hideMemberFlag=`%d'\n",Config::hideMemberFlag);
  printf("hideClassFlag=`%d'\n",Config::hideClassFlag);
  printf("briefMemDescFlag=`%d'\n",Config::briefMemDescFlag);
  printf("repeatBriefFlag=`%d'\n",Config::repeatBriefFlag);
  printf("alwaysDetailsFlag=`%d'\n",Config::alwaysDetailsFlag);
  printf("fullPathNameFlag=`%d'\n",Config::fullPathNameFlag);
  {
    char *is=Config::stripFromPath.first();
    while (is)
    {
      printf("stripFromPath=`%s'\n",is);
      is=Config::stripFromPath.next();
    }
  }
  printf("internalDocsFlag=`%d'\n",Config::internalDocsFlag);
  printf("classDiagramFlag=`%d'\n",Config::classDiagramFlag);
  printf("sourceBrowseFlag=`%d'\n",Config::sourceBrowseFlag);
  printf("inlineSourceFlag=`%d'\n",Config::inlineSourceFlag);
  printf("stripCommentsFlag=`%d'\n",Config::stripCommentsFlag);
  printf("caseSensitiveNames=`%d'\n",Config::caseSensitiveNames);
  printf("hideScopeNames=`%d'\n",Config::hideScopeNames);
  printf("verbatimHeaderFlag=`%d'\n",Config::verbatimHeaderFlag);
  printf("showIncFileFlag=`%d'\n",Config::showIncFileFlag);
  printf("autoBriefFlag=`%d'\n",Config::autoBriefFlag);
  printf("inheritDocsFlag=`%d'\n",Config::inheritDocsFlag);
  printf("inlineInfoFlag=`%d'\n",Config::inlineInfoFlag);
  printf("sortMembersFlag=`%d'\n",Config::sortMembersFlag);
  printf("tabSize=`%d'\n",Config::tabSize);
  {
    char *is=Config::sectionFilterList.first();
    while (is)
    {
      printf("sectionFilterList=`%s'\n",is);
      is=Config::sectionFilterList.next();
    }
  }
  printf("generateTodoList=`%d'\n",Config::generateTodoList);
  printf("generateTestList=`%d'\n",Config::generateTestList);
  printf("# configuration options related to warning and progress messages\n");
  printf("quietFlag=`%d'\n",Config::quietFlag);
  printf("warningFlag=`%d'\n",Config::warningFlag);
  printf("warningUndocFlag=`%d'\n",Config::warningUndocFlag);
  printf("warnFormat=`%s'\n",Config::warnFormat.data());
  printf("# configuration options related to the input files\n");
  {
    char *is=Config::inputSources.first();
    while (is)
    {
      printf("inputSources=`%s'\n",is);
      is=Config::inputSources.next();
    }
  }
  {
    char *is=Config::filePatternList.first();
    while (is)
    {
      printf("filePatternList=`%s'\n",is);
      is=Config::filePatternList.next();
    }
  }
  printf("recursiveFlag=`%d'\n",Config::recursiveFlag);
  {
    char *is=Config::excludeSources.first();
    while (is)
    {
      printf("excludeSources=`%s'\n",is);
      is=Config::excludeSources.next();
    }
  }
  {
    char *is=Config::excludePatternList.first();
    while (is)
    {
      printf("excludePatternList=`%s'\n",is);
      is=Config::excludePatternList.next();
    }
  }
  {
    char *is=Config::examplePath.first();
    while (is)
    {
      printf("examplePath=`%s'\n",is);
      is=Config::examplePath.next();
    }
  }
  {
    char *is=Config::examplePatternList.first();
    while (is)
    {
      printf("examplePatternList=`%s'\n",is);
      is=Config::examplePatternList.next();
    }
  }
  {
    char *is=Config::imagePath.first();
    while (is)
    {
      printf("imagePath=`%s'\n",is);
      is=Config::imagePath.next();
    }
  }
  printf("inputFilter=`%s'\n",Config::inputFilter.data());
  printf("# configuration options related to the alphabetical class index\n");
  printf("alphaIndexFlag=`%d'\n",Config::alphaIndexFlag);
  printf("colsInAlphaIndex=`%d'\n",Config::colsInAlphaIndex);
  {
    char *is=Config::ignorePrefixList.first();
    while (is)
    {
      printf("ignorePrefixList=`%s'\n",is);
      is=Config::ignorePrefixList.next();
    }
  }
  printf("# configuration options related to the HTML output\n");
  printf("generateHtml=`%d'\n",Config::generateHtml);
  printf("htmlOutputDir=`%s'\n",Config::htmlOutputDir.data());
  printf("headerFile=`%s'\n",Config::headerFile.data());
  printf("footerFile=`%s'\n",Config::footerFile.data());
  printf("htmlStyleSheet=`%s'\n",Config::htmlStyleSheet.data());
  printf("htmlAlignMemberFlag=`%d'\n",Config::htmlAlignMemberFlag);
  printf("htmlHelpFlag=`%d'\n",Config::htmlHelpFlag);
  printf("noIndexFlag=`%d'\n",Config::noIndexFlag);
  printf("# configuration options related to the LaTeX output\n");
  printf("generateLatex=`%d'\n",Config::generateLatex);
  printf("latexOutputDir=`%s'\n",Config::latexOutputDir.data());
  printf("compactLatexFlag=`%d'\n",Config::compactLatexFlag);
  printf("paperType=`%s'\n",Config::paperType.data());
  {
    char *is=Config::extraPackageList.first();
    while (is)
    {
      printf("extraPackageList=`%s'\n",is);
      is=Config::extraPackageList.next();
    }
  }
  printf("latexHeaderFile=`%s'\n",Config::latexHeaderFile.data());
  printf("pdfHyperFlag=`%d'\n",Config::pdfHyperFlag);
  printf("usePDFLatexFlag=`%d'\n",Config::usePDFLatexFlag);
  printf("latexBatchModeFlag=`%d'\n",Config::latexBatchModeFlag);
  printf("# configuration options related to the RTF output\n");
  printf("generateRTF=`%d'\n",Config::generateRTF);
  printf("rtfOutputDir=`%s'\n",Config::rtfOutputDir.data());
  printf("compactRTFFlag=`%d'\n",Config::compactRTFFlag);
  printf("rtfHyperFlag=`%d'\n",Config::rtfHyperFlag);
  printf("rtfStylesheetFile=`%s'\n",Config::rtfStylesheetFile.data());
  printf("# configuration options related to the man page output\n");
  printf("generateMan=`%d'\n",Config::generateMan);
  printf("manOutputDir=`%s'\n",Config::manOutputDir.data());
  printf("manExtension=`%s'\n",Config::manExtension.data());
  printf("# configuration options related to the XML output\n");
  printf("generateXML=`%d'\n",Config::generateXML);
  printf("# Configuration options related to the preprocessor   \n");
  printf("preprocessingFlag=`%d'\n",Config::preprocessingFlag);
  printf("macroExpansionFlag=`%d'\n",Config::macroExpansionFlag);
  printf("onlyPredefinedFlag=`%d'\n",Config::onlyPredefinedFlag);
  printf("searchIncludeFlag=`%d'\n",Config::searchIncludeFlag);
  {
    char *is=Config::includePath.first();
    while (is)
    {
      printf("includePath=`%s'\n",is);
      is=Config::includePath.next();
    }
  }
  {
    char *is=Config::includeFilePatternList.first();
    while (is)
    {
      printf("includeFilePatternList=`%s'\n",is);
      is=Config::includeFilePatternList.next();
    }
  }
  {
    char *is=Config::predefined.first();
    while (is)
    {
      printf("predefined=`%s'\n",is);
      is=Config::predefined.next();
    }
  }
  {
    char *is=Config::expandAsDefinedList.first();
    while (is)
    {
      printf("expandAsDefinedList=`%s'\n",is);
      is=Config::expandAsDefinedList.next();
    }
  }
  printf("# Configuration::addtions related to external references   \n");
  {
    char *is=Config::tagFileList.first();
    while (is)
    {
      printf("tagFileList=`%s'\n",is);
      is=Config::tagFileList.next();
    }
  }
  printf("genTagFile=`%s'\n",Config::genTagFile.data());
  printf("allExtFlag=`%d'\n",Config::allExtFlag);
  printf("perlPath=`%s'\n",Config::perlPath.data());
  printf("# Configuration options related to the dot tool   \n");
  printf("haveDotFlag=`%d'\n",Config::haveDotFlag);
  printf("classGraphFlag=`%d'\n",Config::classGraphFlag);
  printf("collGraphFlag=`%d'\n",Config::collGraphFlag);
  printf("includeGraphFlag=`%d'\n",Config::includeGraphFlag);
  printf("includedByGraphFlag=`%d'\n",Config::includedByGraphFlag);
  printf("gfxHierarchyFlag=`%d'\n",Config::gfxHierarchyFlag);
  printf("dotPath=`%s'\n",Config::dotPath.data());
  printf("maxDotGraphWidth=`%d'\n",Config::maxDotGraphWidth);
  printf("maxDotGraphHeight=`%d'\n",Config::maxDotGraphHeight);
  printf("# Configuration::addtions related to the search engine   \n");
  printf("searchEngineFlag=`%d'\n",Config::searchEngineFlag);
  printf("cgiName=`%s'\n",Config::cgiName.data());
  printf("cgiURL=`%s'\n",Config::cgiURL.data());
  printf("docURL=`%s'\n",Config::docURL.data());
  printf("docAbsPath=`%s'\n",Config::docAbsPath.data());
  printf("binAbsPath=`%s'\n",Config::binAbsPath.data());
  {
    char *is=Config::extDocPathList.first();
    while (is)
    {
      printf("extDocPathList=`%s'\n",is);
      is=Config::extDocPathList.next();
    }
  }
}

void Config::init()
{
  Config::projectName.resize(0);
  Config::projectNumber.resize(0);
  Config::outputDir.resize(0);
  Config::outputLanguage = "English";
  Config::extractAllFlag = FALSE;
  Config::extractPrivateFlag = FALSE;
  Config::extractStaticFlag = FALSE;
  Config::hideMemberFlag = FALSE;
  Config::hideClassFlag = FALSE;
  Config::briefMemDescFlag = TRUE;
  Config::repeatBriefFlag = TRUE;
  Config::alwaysDetailsFlag = FALSE;
  Config::fullPathNameFlag = FALSE;
  Config::stripFromPath.clear();
  Config::internalDocsFlag = FALSE;
  Config::classDiagramFlag = TRUE;
  Config::sourceBrowseFlag = FALSE;
  Config::inlineSourceFlag = FALSE;
  Config::stripCommentsFlag = TRUE;
  Config::caseSensitiveNames = TRUE;
  Config::hideScopeNames = FALSE;
  Config::verbatimHeaderFlag = TRUE;
  Config::showIncFileFlag = TRUE;
  Config::autoBriefFlag = TRUE;
  Config::inheritDocsFlag = TRUE;
  Config::inlineInfoFlag = TRUE;
  Config::sortMembersFlag = TRUE;
  Config::tabSize = 8;
  Config::sectionFilterList.clear();
  Config::generateTodoList = TRUE;
  Config::generateTestList = TRUE;
  Config::quietFlag = FALSE;
  Config::warningFlag = TRUE;
  Config::warningUndocFlag = TRUE;
  Config::warnFormat = "$file:$line: $text";
  Config::inputSources.clear();
  Config::filePatternList.clear();
  Config::recursiveFlag = FALSE;
  Config::excludeSources.clear();
  Config::excludePatternList.clear();
  Config::examplePath.clear();
  Config::examplePatternList.clear();
  Config::imagePath.clear();
  Config::inputFilter.resize(0);
  Config::alphaIndexFlag = FALSE;
  Config::colsInAlphaIndex = 5;
  Config::ignorePrefixList.clear();
  Config::generateHtml = TRUE;
  Config::htmlOutputDir = "html";
  Config::headerFile.resize(0);
  Config::footerFile.resize(0);
  Config::htmlStyleSheet.resize(0);
  Config::htmlAlignMemberFlag = TRUE;
  Config::htmlHelpFlag = FALSE;
  Config::noIndexFlag = FALSE;
  Config::generateLatex = TRUE;
  Config::latexOutputDir = "latex";
  Config::compactLatexFlag = FALSE;
  Config::paperType = "a4wide";
  Config::extraPackageList.clear();
  Config::latexHeaderFile.resize(0);
  Config::pdfHyperFlag = FALSE;
  Config::usePDFLatexFlag = FALSE;
  Config::latexBatchModeFlag = FALSE;
  Config::generateRTF = TRUE;
  Config::rtfOutputDir = "rtf";
  Config::compactRTFFlag = FALSE;
  Config::rtfHyperFlag = FALSE;
  Config::rtfStylesheetFile.resize(0);
  Config::generateMan = TRUE;
  Config::manOutputDir = "man";
  Config::manExtension = ".3";
  Config::generateXML = FALSE;
  Config::preprocessingFlag = TRUE;
  Config::macroExpansionFlag = FALSE;
  Config::onlyPredefinedFlag = FALSE;
  Config::searchIncludeFlag = TRUE;
  Config::includePath.clear();
  Config::includeFilePatternList.clear();
  Config::predefined.clear();
  Config::expandAsDefinedList.clear();
  Config::tagFileList.clear();
  Config::genTagFile.resize(0);
  Config::allExtFlag = FALSE;
  Config::perlPath = "/usr/bin/perl";
  Config::haveDotFlag = FALSE;
  Config::classGraphFlag = TRUE;
  Config::collGraphFlag = TRUE;
  Config::includeGraphFlag = TRUE;
  Config::includedByGraphFlag = TRUE;
  Config::gfxHierarchyFlag = TRUE;
  Config::dotPath.resize(0);
  Config::maxDotGraphWidth = 1024;
  Config::maxDotGraphHeight = 1024;
  Config::searchEngineFlag = FALSE;
  Config::cgiName = "search.cgi";
  Config::cgiURL.resize(0);
  Config::docURL.resize(0);
  Config::docAbsPath.resize(0);
  Config::binAbsPath = "/usr/local/bin/";
  Config::extDocPathList.clear();
}

static void writeBoolValue(QTextStream &t,bool v)
{
  if (v) t << "YES"; else t << "NO";
}

static void writeIntValue(QTextStream &t,int i)
{
  t << i;
}

static void writeStringValue(QTextStream &t,QCString &s)
{
  const char *p=s.data();
  char c;
  bool hasBlanks=FALSE;
  if (p)
  {
    while ((c=*p++)!=0 && !hasBlanks) hasBlanks = (c==' ' || c=='\n' || c=='\t');
    if (hasBlanks) 
      t << "\"" << s << "\"";
    else
      t << s;
  }
}

static void writeStringList(QTextStream &t,QStrList &l)
{
  const char *p = l.first();
  bool first=TRUE;
  while (p)
  {
    char c;
    const char *s=p;
    bool hasBlanks=FALSE;
    while ((c=*p++)!=0 && !hasBlanks) hasBlanks = (c==' ' || c=='\n' || c=='\t');
    if (!first) t << "                         ";
    first=FALSE;
    if (hasBlanks) t << "\"" << s << "\""; else t << s;
    p = l.next();
    if (p) t << " \\" << endl;
  }
}

void writeTemplateConfig(QFile *f,bool sl)
{
  QTextStream t(f);
#ifdef DOXYWIZARD
  t << "# Doxygen configuration generated by Doxywizard version " << versionString << endl;
#else
  t << "# Doxyfile " << versionString << endl << endl;
#endif
  if (!sl)
  {
    t << "# This file describes the settings to be used by doxygen for a project\n";
    t << "#\n";
    t << "# All text after a hash (#) is considered a comment and will be ignored\n";
    t << "# The format is:\n";
    t << "#       TAG = value [value, ...]\n";
    t << "# For lists items can also be appended using:\n";
    t << "#       TAG += value [value, ...]\n";
    t << "# Values that contain spaces should be placed between quotes (\" \")\n";
  }
  if (!sl)
  {
    t << "\n";
  }
  t << "#---------------------------------------------------------------------------\n";
  t << "# General configuration options\n";
  t << "#---------------------------------------------------------------------------\n";
  if (!sl)
  {
    t << "\n";
    t << "# The PROJECT_NAME tag is a single word (or a sequence of words surrounded \n";
    t << "# by quotes) that should identify the project. \n";
    t << "\n";
  }
  t << "PROJECT_NAME           = ";
  writeStringValue(t,Config::projectName);
  t << "\n";
  if (!sl)
  {
    t << "\n";
    t << "# The PROJECT_NUMBER tag can be used to enter a project or revision number. \n";
    t << "# This could be handy for archiving the generated documentation or \n";
    t << "# if some version control system is used.\n";
    t << "\n";
  }
  t << "PROJECT_NUMBER         = ";
  writeStringValue(t,Config::projectNumber);
  t << "\n";
  if (!sl)
  {
    t << "\n";
    t << "# The OUTPUT_DIRECTORY tag is used to specify the (relative or absolute) \n";
    t << "# base path where the generated documentation will be put. \n";
    t << "# If a relative path is entered, it will be relative to the location \n";
    t << "# where doxygen was started. If left blank the current directory will be used.\n";
    t << "\n";
  }
  t << "OUTPUT_DIRECTORY       = ";
  writeStringValue(t,Config::outputDir);
  t << "\n";
  if (!sl)
  {
    t << "\n";
    t << "# The OUTPUT_LANGUAGE tag is used to specify the language in which all \n";
    t << "# documentation generated by doxygen is written. Doxygen will use this \n";
    t << "# information to generate all constant output in the proper language. \n";
    t << "# The default language is English, other supported languages are: \n";
    t << "# Dutch, French, Italian, Czech, Swedish, German, Finnish, Japanese, \n";
    t << "# Spanish, Russian, Croatian, Polish, and Portuguese.\n";
    t << "\n";
  }
  t << "OUTPUT_LANGUAGE        = ";
  writeStringValue(t,Config::outputLanguage);
  t << "\n";
  if (!sl)
  {
    t << "\n";
    t << "# If the EXTRACT_ALL tag is set to YES doxygen will assume all entities in \n";
    t << "# documentation are documented, even if no documentation was available. \n";
    t << "# Private class members and static file members will be hidden unless \n";
    t << "# the EXTRACT_PRIVATE and EXTRACT_STATIC tags are set to YES \n";
    t << "\n";
  }
  t << "EXTRACT_ALL            = ";
  writeBoolValue(t,Config::extractAllFlag);
  t << "\n";
  if (!sl)
  {
    t << "\n";
    t << "# If the EXTRACT_PRIVATE tag is set to YES all private members of a class \n";
    t << "# will be included in the documentation. \n";
    t << "\n";
  }
  t << "EXTRACT_PRIVATE        = ";
  writeBoolValue(t,Config::extractPrivateFlag);
  t << "\n";
  if (!sl)
  {
    t << "\n";
    t << "# If the EXTRACT_STATIC tag is set to YES all static members of a file \n";
    t << "# will be included in the documentation. \n";
    t << "\n";
  }
  t << "EXTRACT_STATIC         = ";
  writeBoolValue(t,Config::extractStaticFlag);
  t << "\n";
  if (!sl)
  {
    t << "\n";
    t << "# If the HIDE_UNDOC_MEMBERS tag is set to YES, Doxygen will hide all \n";
    t << "# undocumented members of documented classes, files or namespaces. \n";
    t << "# If set to NO (the default) these members will be included in the \n";
    t << "# various overviews, but no documentation section is generated. \n";
    t << "# This option has no effect if EXTRACT_ALL is enabled. \n";
    t << "\n";
  }
  t << "HIDE_UNDOC_MEMBERS     = ";
  writeBoolValue(t,Config::hideMemberFlag);
  t << "\n";
  if (!sl)
  {
    t << "\n";
    t << "# If the HIDE_UNDOC_CLASSES tag is set to YES, Doxygen will hide all \n";
    t << "# undocumented classes that are normally visible in the class hierarchy. \n";
    t << "# If set to NO (the default) these class will be included in the various \n";
    t << "# overviews. This option has no effect if EXTRACT_ALL is enabled. \n";
    t << "\n";
  }
  t << "HIDE_UNDOC_CLASSES     = ";
  writeBoolValue(t,Config::hideClassFlag);
  t << "\n";
  if (!sl)
  {
    t << "\n";
    t << "# If the BRIEF_MEMBER_DESC tag is set to YES (the default) Doxygen will \n";
    t << "# include brief member descriptions after the members that are listed in \n";
    t << "# the file and class documentation (similar to JavaDoc). \n";
    t << "# Set to NO to disable this. \n";
    t << "\n";
  }
  t << "BRIEF_MEMBER_DESC      = ";
  writeBoolValue(t,Config::briefMemDescFlag);
  t << "\n";
  if (!sl)
  {
    t << "\n";
    t << "# If the REPEAT_BRIEF tag is set to YES (the default) Doxygen will prepend \n";
    t << "# the brief description of a member or function before the detailed description. \n";
    t << "# Note: if both HIDE_UNDOC_MEMBERS and BRIEF_MEMBER_DESC are set to NO, the \n";
    t << "# brief descriptions will be completely suppressed. \n";
    t << "\n";
  }
  t << "REPEAT_BRIEF           = ";
  writeBoolValue(t,Config::repeatBriefFlag);
  t << "\n";
  if (!sl)
  {
    t << "\n";
    t << "# If the ALWAYS_DETAILED_SEC and REPEAT_BRIEF tags are both set to YES then \n";
    t << "# Doxygen will generate a detailed section even if there is only a brief \n";
    t << "# description. \n";
    t << "\n";
  }
  t << "ALWAYS_DETAILED_SEC    = ";
  writeBoolValue(t,Config::alwaysDetailsFlag);
  t << "\n";
  if (!sl)
  {
    t << "\n";
    t << "# If the FULL_PATH_NAMES tag is set to YES then Doxygen will prepend the full \n";
    t << "# path before files name in the file list and in the header files. If set \n";
    t << "# to NO the shortest path that makes the file name unique will be used. \n";
    t << "\n";
  }
  t << "FULL_PATH_NAMES        = ";
  writeBoolValue(t,Config::fullPathNameFlag);
  t << "\n";
  if (!sl)
  {
    t << "\n";
    t << "# If the FULL_PATH_NAMES tag is set to YES then the STRIP_FROM_PATH tag \n";
    t << "# can be used to strip a user defined part of the path. Stripping is \n";
    t << "# only done if one of the specified strings matches the left-hand part of \n";
    t << "# the path. It is allowed to use relative paths in the argument list.\n";
    t << "\n";
  }
  t << "STRIP_FROM_PATH        = ";
  writeStringList(t,Config::stripFromPath);
  t << "\n";
  if (!sl)
  {
    t << "\n";
    t << "# The INTERNAL_DOCS tag determines if documentation \n";
    t << "# that is typed after a \\internal command is included. If the tag is set \n";
    t << "# to NO (the default) then the documentation will be excluded. \n";
    t << "# Set it to YES to include the internal documentation. \n";
    t << "\n";
  }
  t << "INTERNAL_DOCS          = ";
  writeBoolValue(t,Config::internalDocsFlag);
  t << "\n";
  if (!sl)
  {
    t << "\n";
    t << "# If the CLASS_DIAGRAMS tag is set to YES (the default) Doxygen will \n";
    t << "# generate a class diagram (in Html and LaTeX) for classes with base or \n";
    t << "# super classes. Setting the tag to NO turns the diagrams off. \n";
    t << "\n";
  }
  t << "CLASS_DIAGRAMS         = ";
  writeBoolValue(t,Config::classDiagramFlag);
  t << "\n";
  if (!sl)
  {
    t << "\n";
    t << "# If the SOURCE_BROWSER tag is set to YES then a list of source files will \n";
    t << "# be generated. Documented entities will be cross-referenced with these sources. \n";
    t << "\n";
  }
  t << "SOURCE_BROWSER         = ";
  writeBoolValue(t,Config::sourceBrowseFlag);
  t << "\n";
  if (!sl)
  {
    t << "\n";
    t << "# Setting the INLINE_SOURCES tag to YES will include the body \n";
    t << "# of functions and classes directly in the documentation. \n";
    t << "\n";
  }
  t << "INLINE_SOURCES         = ";
  writeBoolValue(t,Config::inlineSourceFlag);
  t << "\n";
  if (!sl)
  {
    t << "\n";
    t << "# Setting the STRIP_CODE_COMMENTS tag to YES (the default) will instruct \n";
    t << "# doxygen to hide any special comment blocks from generated source code \n";
    t << "# fragments. Normal C and C++ comments will always remain visible. \n";
    t << "\n";
  }
  t << "STRIP_CODE_COMMENTS    = ";
  writeBoolValue(t,Config::stripCommentsFlag);
  t << "\n";
  if (!sl)
  {
    t << "\n";
    t << "# If the CASE_SENSE_NAMES tag is set to NO (the default) then Doxygen \n";
    t << "# will only generate file names in lower case letters. If set to \n";
    t << "# YES upper case letters are also allowed. This is useful if you have \n";
    t << "# classes or files whose names only differ in case and if your file system \n";
    t << "# supports case sensitive file names. \n";
    t << "\n";
  }
  t << "CASE_SENSE_NAMES       = ";
  writeBoolValue(t,Config::caseSensitiveNames);
  t << "\n";
  if (!sl)
  {
    t << "\n";
    t << "# If the HIDE_SCOPE_NAMES tag is set to NO (the default) then Doxygen \n";
    t << "# will show members with their full class and namespace scopes in the \n";
    t << "# documentation. If set to YES the scope will be hidden. \n";
    t << "\n";
  }
  t << "HIDE_SCOPE_NAMES       = ";
  writeBoolValue(t,Config::hideScopeNames);
  t << "\n";
  if (!sl)
  {
    t << "\n";
    t << "# If the VERBATIM_HEADERS tag is set to YES (the default) then Doxygen \n";
    t << "# will generate a verbatim copy of the header file for each class for \n";
    t << "# which an include is specified. Set to NO to disable this. \n";
    t << "\n";
  }
  t << "VERBATIM_HEADERS       = ";
  writeBoolValue(t,Config::verbatimHeaderFlag);
  t << "\n";
  if (!sl)
  {
    t << "\n";
    t << "# If the SHOW_INCLUDE_FILES tag is set to YES (the default) then Doxygen \n";
    t << "# will put list of the files that are included by a file in the documentation \n";
    t << "# of that file. \n";
    t << "\n";
  }
  t << "SHOW_INCLUDE_FILES     = ";
  writeBoolValue(t,Config::showIncFileFlag);
  t << "\n";
  if (!sl)
  {
    t << "\n";
    t << "# If the JAVADOC_AUTOBRIEF tag is set to YES (the default) then Doxygen \n";
    t << "# will interpret the first line (until the first dot) of a JavaDoc-style \n";
    t << "# comment as the brief description. If set to NO, the Javadoc-style will \n";
    t << "# behave just like the Qt-style comments. \n";
    t << "\n";
  }
  t << "JAVADOC_AUTOBRIEF      = ";
  writeBoolValue(t,Config::autoBriefFlag);
  t << "\n";
  if (!sl)
  {
    t << "\n";
    t << "# If the INHERIT_DOCS tag is set to YES (the default) then an undocumented \n";
    t << "# member inherits the documentation from any documented member that it \n";
    t << "# reimplements. \n";
    t << "\n";
  }
  t << "INHERIT_DOCS           = ";
  writeBoolValue(t,Config::inheritDocsFlag);
  t << "\n";
  if (!sl)
  {
    t << "\n";
    t << "# If the INLINE_INFO tag is set to YES (the default) then a tag [inline] \n";
    t << "# is inserted in the documentation for inline members. \n";
    t << "\n";
  }
  t << "INLINE_INFO            = ";
  writeBoolValue(t,Config::inlineInfoFlag);
  t << "\n";
  if (!sl)
  {
    t << "\n";
    t << "# If the SORT_MEMBER_DOCS tag is set to YES (the default) then doxygen \n";
    t << "# will sort the (detailed) documentation of file and class members \n";
    t << "# alphabetically by member name. If set to NO the members will appear in \n";
    t << "# declaration order. \n";
    t << "\n";
  }
  t << "SORT_MEMBER_DOCS       = ";
  writeBoolValue(t,Config::sortMembersFlag);
  t << "\n";
  if (!sl)
  {
    t << "\n";
    t << "# The TAB_SIZE tag can be used to set the number of spaces in a tab. \n";
    t << "# Doxygen uses this value to replace tabs by spaces in code fragments. \n";
    t << "\n";
  }
  t << "TAB_SIZE               = ";
  writeIntValue(t,Config::tabSize);
  t << "\n";
  if (!sl)
  {
    t << "\n";
    t << "# The ENABLE_SECTIONS tag can be used to enable conditional \n";
    t << "# documentation sections, marked by \\if sectionname ... \\endif. \n";
    t << "\n";
  }
  t << "ENABLED_SECTIONS       = ";
  writeStringList(t,Config::sectionFilterList);
  t << "\n";
  if (!sl)
  {
    t << "\n";
    t << "# The GENERATE_TODOLIST tag can be used to enable (YES) or \n";
    t << "# disable (NO) the todo list. This list is created by putting \\todo \n";
    t << "# commands in the documentation.\n";
    t << "\n";
  }
  t << "GENERATE_TODOLIST      = ";
  writeBoolValue(t,Config::generateTodoList);
  t << "\n";
  if (!sl)
  {
    t << "\n";
    t << "# The GENERATE_TESTLIST tag can be used to enable (YES) or \n";
    t << "# disable (NO) the test list. This list is created by putting \\test \n";
    t << "# commands in the documentation.\n";
    t << "\n";
  }
  t << "GENERATE_TESTLIST      = ";
  writeBoolValue(t,Config::generateTestList);
  t << "\n";
  if (!sl)
  {
    t << "\n";
  }
  t << "#---------------------------------------------------------------------------\n";
  t << "# configuration options related to warning and progress messages\n";
  t << "#---------------------------------------------------------------------------\n";
  if (!sl)
  {
    t << "\n";
    t << "# The QUIET tag can be used to turn on/off the messages that are generated \n";
    t << "# by doxygen. Possible values are YES and NO. If left blank NO is used. \n";
    t << "\n";
  }
  t << "QUIET                  = ";
  writeBoolValue(t,Config::quietFlag);
  t << "\n";
  if (!sl)
  {
    t << "\n";
    t << "# The WARNINGS tag can be used to turn on/off the warning messages that are \n";
    t << "# generated by doxygen. Possible values are YES and NO. If left blank \n";
    t << "# NO is used. \n";
    t << "\n";
  }
  t << "WARNINGS               = ";
  writeBoolValue(t,Config::warningFlag);
  t << "\n";
  if (!sl)
  {
    t << "\n";
    t << "# If WARN_IF_UNDOCUMENTED is set to YES, then doxygen will generate warnings \n";
    t << "# for undocumented members. If EXTRACT_ALL is set to YES then this flag will \n";
    t << "# automatically be disabled. \n";
    t << "\n";
  }
  t << "WARN_IF_UNDOCUMENTED   = ";
  writeBoolValue(t,Config::warningUndocFlag);
  t << "\n";
  if (!sl)
  {
    t << "\n";
    t << "# The WARN_FORMAT tag determines the format of the warning messages that \n";
    t << "# doxygen can produce. The string should contain the $file, $line, and $text \n";
    t << "# tags, which will be replaced by the file and line number from which the \n";
    t << "# warning originated and the warning text. \n";
    t << "\n";
  }
  t << "WARN_FORMAT            = ";
  writeStringValue(t,Config::warnFormat);
  t << "\n";
  if (!sl)
  {
    t << "\n";
  }
  t << "#---------------------------------------------------------------------------\n";
  t << "# configuration options related to the input files\n";
  t << "#---------------------------------------------------------------------------\n";
  if (!sl)
  {
    t << "\n";
    t << "# The INPUT tag can be used to specify the files and/or directories that contain \n";
    t << "# documented source files. You may enter file names like \"myfile.cpp\" or \n";
    t << "# directories like \"/usr/src/myproject\". Separate the files or directories \n";
    t << "# with spaces. \n";
    t << "\n";
  }
  t << "INPUT                  = ";
  writeStringList(t,Config::inputSources);
  t << "\n";
  if (!sl)
  {
    t << "\n";
    t << "# If the value of the INPUT tag contains directories, you can use the \n";
    t << "# FILE_PATTERNS tag to specify one or more wildcard pattern (like *.cpp \n";
    t << "# and *.h) to filter out the source-files in the directories. If left \n";
    t << "# blank all files are included. \n";
    t << "\n";
  }
  t << "FILE_PATTERNS          = ";
  writeStringList(t,Config::filePatternList);
  t << "\n";
  if (!sl)
  {
    t << "\n";
    t << "# The RECURSIVE tag can be used to turn specify whether or not subdirectories \n";
    t << "# should be searched for input files as well. Possible values are YES and NO. \n";
    t << "# If left blank NO is used. \n";
    t << "\n";
  }
  t << "RECURSIVE              = ";
  writeBoolValue(t,Config::recursiveFlag);
  t << "\n";
  if (!sl)
  {
    t << "\n";
    t << "# The EXCLUDE tag can be used to specify files and/or directories that should \n";
    t << "# excluded from the INPUT source files. This way you can easily exclude a \n";
    t << "# subdirectory from a directory tree whose root is specified with the INPUT tag. \n";
    t << "\n";
  }
  t << "EXCLUDE                = ";
  writeStringList(t,Config::excludeSources);
  t << "\n";
  if (!sl)
  {
    t << "\n";
    t << "# If the value of the INPUT tag contains directories, you can use the \n";
    t << "# EXCLUDE_PATTERNS tag to specify one or more wildcard patterns to exclude \n";
    t << "# certain files from those directories. \n";
    t << "\n";
  }
  t << "EXCLUDE_PATTERNS       = ";
  writeStringList(t,Config::excludePatternList);
  t << "\n";
  if (!sl)
  {
    t << "\n";
    t << "# The EXAMPLE_PATH tag can be used to specify one or more files or \n";
    t << "# directories that contain example code fragments that are included (see \n";
    t << "# the \\include command). \n";
    t << "\n";
  }
  t << "EXAMPLE_PATH           = ";
  writeStringList(t,Config::examplePath);
  t << "\n";
  if (!sl)
  {
    t << "\n";
    t << "# If the value of the EXAMPLE_PATH tag contains directories, you can use the \n";
    t << "# EXAMPLE_PATTERNS tag to specify one or more wildcard pattern (like *.cpp \n";
    t << "# and *.h) to filter out the source-files in the directories. If left \n";
    t << "# blank all files are included. \n";
    t << "\n";
  }
  t << "EXAMPLE_PATTERNS       = ";
  writeStringList(t,Config::examplePatternList);
  t << "\n";
  if (!sl)
  {
    t << "\n";
    t << "# The IMAGE_PATH tag can be used to specify one or more files or \n";
    t << "# directories that contain image that are included in the documentation (see \n";
    t << "# the \\image command). \n";
    t << "\n";
  }
  t << "IMAGE_PATH             = ";
  writeStringList(t,Config::imagePath);
  t << "\n";
  if (!sl)
  {
    t << "\n";
    t << "# The INPUT_FILTER tag can be used to specify a program that doxygen should \n";
    t << "# invoke to filter for each input file. Doxygen will invoke the filter program \n";
    t << "# by executing (via popen()) the command <filter> <input-file>, where <filter> \n";
    t << "# is the value of the INPUT_FILTER tag, and <input-file> is the name of an \n";
    t << "# input file. Doxygen will then use the output that the filter program writes \n";
    t << "# to standard output. \n";
    t << "\n";
  }
  t << "INPUT_FILTER           = ";
  writeStringValue(t,Config::inputFilter);
  t << "\n";
  if (!sl)
  {
    t << "\n";
  }
  t << "#---------------------------------------------------------------------------\n";
  t << "# configuration options related to the alphabetical class index\n";
  t << "#---------------------------------------------------------------------------\n";
  if (!sl)
  {
    t << "\n";
    t << "# If the ALPHABETICAL_INDEX tag is set to YES, an alphabetical index \n";
    t << "# of all compounds will be generated. Enable this if the project \n";
    t << "# contains a lot of classes, structs, unions or interfaces. \n";
    t << "\n";
  }
  t << "ALPHABETICAL_INDEX     = ";
  writeBoolValue(t,Config::alphaIndexFlag);
  t << "\n";
  if (!sl)
  {
    t << "\n";
    t << "# If the alphabetical index is enabled (see ALPHABETICAL_INDEX) then \n";
    t << "# the COLS_IN_ALPHA_INDEX tag can be used to specify the number of columns \n";
    t << "# in which this list will be split (can be a number in the range [1..20]) \n";
    t << "\n";
  }
  t << "COLS_IN_ALPHA_INDEX    = ";
  writeIntValue(t,Config::colsInAlphaIndex);
  t << "\n";
  if (!sl)
  {
    t << "\n";
    t << "# In case all classes in a project start with a common prefix, all \n";
    t << "# classes will be put under the same header in the alphabetical index. \n";
    t << "# The IGNORE_PREFIX tag can be used to specify one or more prefixes that \n";
    t << "# should be ignored while generating the index headers. \n";
    t << "\n";
  }
  t << "IGNORE_PREFIX          = ";
  writeStringList(t,Config::ignorePrefixList);
  t << "\n";
  if (!sl)
  {
    t << "\n";
  }
  t << "#---------------------------------------------------------------------------\n";
  t << "# configuration options related to the HTML output\n";
  t << "#---------------------------------------------------------------------------\n";
  if (!sl)
  {
    t << "\n";
    t << "# If the GENERATE_HTML tag is set to YES (the default) Doxygen will \n";
    t << "# generate HTML output. \n";
    t << "\n";
  }
  t << "GENERATE_HTML          = ";
  writeBoolValue(t,Config::generateHtml);
  t << "\n";
  if (!sl)
  {
    t << "\n";
    t << "# The HTML_OUTPUT tag is used to specify where the HTML docs will be put. \n";
    t << "# If a relative path is entered the value of OUTPUT_DIRECTORY will be \n";
    t << "# put in front of it. If left blank `html' will be used as the default path. \n";
    t << "\n";
  }
  t << "HTML_OUTPUT            = ";
  writeStringValue(t,Config::htmlOutputDir);
  t << "\n";
  if (!sl)
  {
    t << "\n";
    t << "# The HTML_HEADER tag can be used to specify a personal HTML header for \n";
    t << "# each generated HTML page. If it is left blank doxygen will generate a \n";
    t << "# standard header.\n";
    t << "\n";
  }
  t << "HTML_HEADER            = ";
  writeStringValue(t,Config::headerFile);
  t << "\n";
  if (!sl)
  {
    t << "\n";
    t << "# The HTML_FOOTER tag can be used to specify a personal HTML footer for \n";
    t << "# each generated HTML page. If it is left blank doxygen will generate a \n";
    t << "# standard footer.\n";
    t << "\n";
  }
  t << "HTML_FOOTER            = ";
  writeStringValue(t,Config::footerFile);
  t << "\n";
  if (!sl)
  {
    t << "\n";
    t << "# The HTML_STYLESHEET tag can be used to specify a user defined cascading \n";
    t << "# style sheet that is used by each HTML page. It can be used to \n";
    t << "# fine-tune the look of the HTML output. If the tag is left blank doxygen \n";
    t << "# will generate a default style sheet \n";
    t << "\n";
  }
  t << "HTML_STYLESHEET        = ";
  writeStringValue(t,Config::htmlStyleSheet);
  t << "\n";
  if (!sl)
  {
    t << "\n";
    t << "# If the HTML_ALIGN_MEMBERS tag is set to YES, the members of classes, \n";
    t << "# files or namespaces will be aligned in HTML using tables. If set to \n";
    t << "# NO a bullet list will be used. \n";
    t << "\n";
  }
  t << "HTML_ALIGN_MEMBERS     = ";
  writeBoolValue(t,Config::htmlAlignMemberFlag);
  t << "\n";
  if (!sl)
  {
    t << "\n";
    t << "# If the GENERATE_HTMLHELP tag is set to YES, additional index files \n";
    t << "# will be generated that can be used as input for tools like the \n";
    t << "# Microsoft HTML help workshop to generate a compressed HTML help file (.chm) \n";
    t << "# of the generated HTML documentation. \n";
    t << "\n";
  }
  t << "GENERATE_HTMLHELP      = ";
  writeBoolValue(t,Config::htmlHelpFlag);
  t << "\n";
  if (!sl)
  {
    t << "\n";
    t << "# The DISABLE_INDEX tag can be used to turn on/off the condensed index at \n";
    t << "# top of each HTML page. The value NO (the default) enables the index and \n";
    t << "# the value YES disables it. \n";
    t << "\n";
  }
  t << "DISABLE_INDEX          = ";
  writeBoolValue(t,Config::noIndexFlag);
  t << "\n";
  if (!sl)
  {
    t << "\n";
  }
  t << "#---------------------------------------------------------------------------\n";
  t << "# configuration options related to the LaTeX output\n";
  t << "#---------------------------------------------------------------------------\n";
  if (!sl)
  {
    t << "\n";
    t << "# If the GENERATE_LATEX tag is set to YES (the default) Doxygen will \n";
    t << "# generate Latex output. \n";
    t << "\n";
  }
  t << "GENERATE_LATEX         = ";
  writeBoolValue(t,Config::generateLatex);
  t << "\n";
  if (!sl)
  {
    t << "\n";
    t << "# The LATEX_OUTPUT tag is used to specify where the LaTeX docs will be put. \n";
    t << "# If a relative path is entered the value of OUTPUT_DIRECTORY will be \n";
    t << "# put in front of it. If left blank `latex' will be used as the default path. \n";
    t << "\n";
  }
  t << "LATEX_OUTPUT           = ";
  writeStringValue(t,Config::latexOutputDir);
  t << "\n";
  if (!sl)
  {
    t << "\n";
    t << "# If the COMPACT_LATEX tag is set to YES Doxygen generates more compact \n";
    t << "# LaTeX documents. This may be useful for small projects and may help to \n";
    t << "# save some trees in general. \n";
    t << "\n";
  }
  t << "COMPACT_LATEX          = ";
  writeBoolValue(t,Config::compactLatexFlag);
  t << "\n";
  if (!sl)
  {
    t << "\n";
    t << "# The PAPER_TYPE tag can be used to set the paper type that is used \n";
    t << "# by the printer. Possible values are: a4, a4wide, letter, legal and \n";
    t << "# executive. If left blank a4wide will be used. \n";
    t << "\n";
  }
  t << "PAPER_TYPE             = ";
  writeStringValue(t,Config::paperType);
  t << "\n";
  if (!sl)
  {
    t << "\n";
    t << "# The EXTRA_PACKAGES tag can be to specify one or more names of LaTeX \n";
    t << "# packages that should be included in the LaTeX output. \n";
    t << "\n";
  }
  t << "EXTRA_PACKAGES         = ";
  writeStringList(t,Config::extraPackageList);
  t << "\n";
  if (!sl)
  {
    t << "\n";
    t << "# The LATEX_HEADER tag can be used to specify a personal LaTeX header for \n";
    t << "# the generated latex document. The header should contain everything until \n";
    t << "# the first chapter. If it is left blank doxygen will generate a \n";
    t << "# standard header. Notice: only use this tag if you know what you are doing! \n";
    t << "\n";
  }
  t << "LATEX_HEADER           = ";
  writeStringValue(t,Config::latexHeaderFile);
  t << "\n";
  if (!sl)
  {
    t << "\n";
    t << "# If the PDF_HYPERLINKS tag is set to YES, the LaTeX that is generated \n";
    t << "# is prepared for conversion to pdf (using ps2pdf). The pdf file will \n";
    t << "# contain links (just like the HTML output) instead of page references \n";
    t << "# This makes the output suitable for online browsing using a pdf viewer. \n";
    t << "\n";
  }
  t << "PDF_HYPERLINKS         = ";
  writeBoolValue(t,Config::pdfHyperFlag);
  t << "\n";
  if (!sl)
  {
    t << "\n";
    t << "# If the USE_PDFLATEX tag is set to YES, pdflatex will be used instead of \n";
    t << "# plain latex in the generated Makefile. Set this option to YES to get a \n";
    t << "# higher quality PDF documentation. \n";
    t << "\n";
  }
  t << "USE_PDFLATEX           = ";
  writeBoolValue(t,Config::usePDFLatexFlag);
  t << "\n";
  if (!sl)
  {
    t << "\n";
    t << "# If the LATEX_BATCHMODE tag is set to YES, doxygen will add the \\\\batchmode. \n";
    t << "# command to the generated LaTeX files. This will instruct LaTeX to keep \n";
    t << "# running if errors occur, instead of asking the user for help. \n";
    t << "# This option is also used when generating formulas in HTML. \n";
    t << "\n";
  }
  t << "LATEX_BATCHMODE        = ";
  writeBoolValue(t,Config::latexBatchModeFlag);
  t << "\n";
  if (!sl)
  {
    t << "\n";
  }
  t << "#---------------------------------------------------------------------------\n";
  t << "# configuration options related to the RTF output\n";
  t << "#---------------------------------------------------------------------------\n";
  if (!sl)
  {
    t << "\n";
    t << "# If the GENERATE_RTF tag is set to YES Doxygen will generate RTF output \n";
    t << "# The RTF output is optimised for Word 97 and may not look very pretty with \n";
    t << "# other RTF readers or editors.\n";
    t << "\n";
  }
  t << "GENERATE_RTF           = ";
  writeBoolValue(t,Config::generateRTF);
  t << "\n";
  if (!sl)
  {
    t << "\n";
    t << "# The RTF_OUTPUT tag is used to specify where the RTF docs will be put. \n";
    t << "# If a relative path is entered the value of OUTPUT_DIRECTORY will be \n";
    t << "# put in front of it. If left blank `rtf' will be used as the default path. \n";
    t << "\n";
  }
  t << "RTF_OUTPUT             = ";
  writeStringValue(t,Config::rtfOutputDir);
  t << "\n";
  if (!sl)
  {
    t << "\n";
    t << "# If the COMPACT_RTF tag is set to YES Doxygen generates more compact \n";
    t << "# RTF documents. This may be useful for small projects and may help to \n";
    t << "# save some trees in general. \n";
    t << "\n";
  }
  t << "COMPACT_RTF            = ";
  writeBoolValue(t,Config::compactRTFFlag);
  t << "\n";
  if (!sl)
  {
    t << "\n";
    t << "# If the RTF_HYPERLINKS tag is set to YES, the RTF that is generated \n";
    t << "# will contain hyperlink fields. The RTF file will \n";
    t << "# contain links (just like the HTML output) instead of page references. \n";
    t << "# This makes the output suitable for online browsing using a WORD or other. \n";
    t << "# programs which support those fields. \n";
    t << "# Note: wordpad (write) and others do not support links. \n";
    t << "\n";
  }
  t << "RTF_HYPERLINKS         = ";
  writeBoolValue(t,Config::rtfHyperFlag);
  t << "\n";
  if (!sl)
  {
    t << "\n";
    t << "# Load stylesheet definitions from file. Syntax is similar to doxygen's \n";
    t << "# config file, i.e. a series of assigments. You only have to provide \n";
    t << "# replacements, missing definitions are set to their default value. \n";
    t << "\n";
  }
  t << "RTF_STYLESHEET_FILE    = ";
  writeStringValue(t,Config::rtfStylesheetFile);
  t << "\n";
  if (!sl)
  {
    t << "\n";
  }
  t << "#---------------------------------------------------------------------------\n";
  t << "# configuration options related to the man page output\n";
  t << "#---------------------------------------------------------------------------\n";
  if (!sl)
  {
    t << "\n";
    t << "# If the GENERATE_MAN tag is set to YES (the default) Doxygen will \n";
    t << "# generate man pages \n";
    t << "\n";
  }
  t << "GENERATE_MAN           = ";
  writeBoolValue(t,Config::generateMan);
  t << "\n";
  if (!sl)
  {
    t << "\n";
    t << "# The MAN_OUTPUT tag is used to specify where the man pages will be put. \n";
    t << "# If a relative path is entered the value of OUTPUT_DIRECTORY will be \n";
    t << "# put in front of it. If left blank `man' will be used as the default path. \n";
    t << "\n";
  }
  t << "MAN_OUTPUT             = ";
  writeStringValue(t,Config::manOutputDir);
  t << "\n";
  if (!sl)
  {
    t << "\n";
    t << "# The MAN_EXTENSION tag determines the extension that is added to \n";
    t << "# the generated man pages (default is the subroutine's section .3) \n";
    t << "\n";
  }
  t << "MAN_EXTENSION          = ";
  writeStringValue(t,Config::manExtension);
  t << "\n";
  if (!sl)
  {
    t << "\n";
  }
  t << "#---------------------------------------------------------------------------\n";
  t << "# configuration options related to the XML output\n";
  t << "#---------------------------------------------------------------------------\n";
  if (!sl)
  {
    t << "\n";
    t << "# If the GENERATE_XML tag is set to YES Doxygen will \n";
    t << "# generate an XML file that captures the structure of \n";
    t << "# the code including all documentation. Warning: This feature \n";
    t << "# is still experimental and very incomplete.\n";
    t << "\n";
  }
  t << "GENERATE_XML           = ";
  writeBoolValue(t,Config::generateXML);
  t << "\n";
  if (!sl)
  {
    t << "\n";
  }
  t << "#---------------------------------------------------------------------------\n";
  t << "# Configuration options related to the preprocessor   \n";
  t << "#---------------------------------------------------------------------------\n";
  if (!sl)
  {
    t << "\n";
    t << "# If the ENABLE_PREPROCESSING tag is set to YES (the default) Doxygen will \n";
    t << "# evaluate all C-preprocessor directives found in the sources and include \n";
    t << "# files. \n";
    t << "\n";
  }
  t << "ENABLE_PREPROCESSING   = ";
  writeBoolValue(t,Config::preprocessingFlag);
  t << "\n";
  if (!sl)
  {
    t << "\n";
    t << "# If the MACRO_EXPANSION tag is set to YES Doxygen will expand all macro \n";
    t << "# names in the source code. If set to NO (the default) only conditional \n";
    t << "# compilation will be performed. Macro expansion can be done in a controlled \n";
    t << "# way by setting EXPAND_ONLY_PREDEF to YES. \n";
    t << "\n";
  }
  t << "MACRO_EXPANSION        = ";
  writeBoolValue(t,Config::macroExpansionFlag);
  t << "\n";
  if (!sl)
  {
    t << "\n";
    t << "# If the EXPAND_ONLY_PREDEF and MACRO_EXPANSION tags are both set to YES \n";
    t << "# then the macro expansion is limited to the macros specified with the \n";
    t << "# PREDEFINED and EXPAND_AS_PREDEFINED tags. \n";
    t << "\n";
  }
  t << "EXPAND_ONLY_PREDEF     = ";
  writeBoolValue(t,Config::onlyPredefinedFlag);
  t << "\n";
  if (!sl)
  {
    t << "\n";
    t << "# If the SEARCH_INCLUDES tag is set to YES (the default) the includes files \n";
    t << "# in the INCLUDE_PATH (see below) will be search if a #include is found. \n";
    t << "\n";
  }
  t << "SEARCH_INCLUDES        = ";
  writeBoolValue(t,Config::searchIncludeFlag);
  t << "\n";
  if (!sl)
  {
    t << "\n";
    t << "# The INCLUDE_PATH tag can be used to specify one or more directories that \n";
    t << "# contain include files that are not input files but should be processed by \n";
    t << "# the preprocessor. \n";
    t << "\n";
  }
  t << "INCLUDE_PATH           = ";
  writeStringList(t,Config::includePath);
  t << "\n";
  if (!sl)
  {
    t << "\n";
    t << "# You can use the INCLUDE_FILE_PATTERNS tag to specify one or more wildcard \n";
    t << "# patterns (like *.h and *.hpp) to filter out the header-files in the \n";
    t << "# directories. If left blank, the patterns specified with FILE_PATTERNS will \n";
    t << "# be used. \n";
    t << "\n";
  }
  t << "INCLUDE_FILE_PATTERNS  = ";
  writeStringList(t,Config::includeFilePatternList);
  t << "\n";
  if (!sl)
  {
    t << "\n";
    t << "# The PREDEFINED tag can be used to specify one or more macro names that \n";
    t << "# are defined before the preprocessor is started (similar to the -D option of \n";
    t << "# gcc). The argument of the tag is a list of macros of the form: name \n";
    t << "# or name=definition (no spaces). If the definition and the = are \n";
    t << "# omitted =1 is assumed. \n";
    t << "\n";
  }
  t << "PREDEFINED             = ";
  writeStringList(t,Config::predefined);
  t << "\n";
  if (!sl)
  {
    t << "\n";
    t << "# If the MACRO_EXPANSION and EXPAND_PREDEF_ONLY tags are set to YES then \n";
    t << "# this tag can be used to specify a list of macro names that should be expanded. \n";
    t << "# The macro definition that is found in the sources will be used. \n";
    t << "# Use the PREDEFINED tag if you want to use a different macro definition. \n";
    t << "\n";
  }
  t << "EXPAND_AS_DEFINED      = ";
  writeStringList(t,Config::expandAsDefinedList);
  t << "\n";
  if (!sl)
  {
    t << "\n";
  }
  t << "#---------------------------------------------------------------------------\n";
  t << "# Configuration::addtions related to external references   \n";
  t << "#---------------------------------------------------------------------------\n";
  if (!sl)
  {
    t << "\n";
    t << "# The TAGFILES tag can be used to specify one or more tagfiles. \n";
    t << "\n";
  }
  t << "TAGFILES               = ";
  writeStringList(t,Config::tagFileList);
  t << "\n";
  if (!sl)
  {
    t << "\n";
    t << "# When a file name is specified after GENERATE_TAGFILE, doxygen will create \n";
    t << "# a tag file that is based on the input files it reads. \n";
    t << "\n";
  }
  t << "GENERATE_TAGFILE       = ";
  writeStringValue(t,Config::genTagFile);
  t << "\n";
  if (!sl)
  {
    t << "\n";
    t << "# If the ALLEXTERNALS tag is set to YES all external classes will be listed \n";
    t << "# in the class index. If set to NO only the inherited external classes \n";
    t << "# will be listed. \n";
    t << "\n";
  }
  t << "ALLEXTERNALS           = ";
  writeBoolValue(t,Config::allExtFlag);
  t << "\n";
  if (!sl)
  {
    t << "\n";
    t << "# The PERL_PATH should be the absolute path and name of the perl script \n";
    t << "# interpreter (i.e. the result of `which perl'). \n";
    t << "\n";
  }
  t << "PERL_PATH              = ";
  writeStringValue(t,Config::perlPath);
  t << "\n";
  if (!sl)
  {
    t << "\n";
  }
  t << "#---------------------------------------------------------------------------\n";
  t << "# Configuration options related to the dot tool   \n";
  t << "#---------------------------------------------------------------------------\n";
  if (!sl)
  {
    t << "\n";
    t << "# If you set the HAVE_DOT tag to YES then doxygen will assume the dot tool is \n";
    t << "# available from the path. This tool is part of Graphviz, a graph visualization \n";
    t << "# toolkit from AT&T and Lucent Bell Labs. The other options in this section \n";
    t << "# have no effect if this option is set to NO (the default) \n";
    t << "\n";
  }
  t << "HAVE_DOT               = ";
  writeBoolValue(t,Config::haveDotFlag);
  t << "\n";
  if (!sl)
  {
    t << "\n";
    t << "# If the CLASS_GRAPH and HAVE_DOT tags are set to YES then doxygen \n";
    t << "# will generate a graph for each documented class showing the direct and \n";
    t << "# indirect inheritance relations. Setting this tag to YES will force the \n";
    t << "# the CLASS_DIAGRAMS tag to NO.\n";
    t << "\n";
  }
  t << "CLASS_GRAPH            = ";
  writeBoolValue(t,Config::classGraphFlag);
  t << "\n";
  if (!sl)
  {
    t << "\n";
    t << "# If the COLLABORATION_GRAPH and HAVE_DOT tags are set to YES then doxygen \n";
    t << "# will generate a graph for each documented class showing the direct and \n";
    t << "# indirect implementation dependencies (inheritance, containment, and \n";
    t << "# class references variables) of the class with other documented classes. \n";
    t << "\n";
  }
  t << "COLLABORATION_GRAPH    = ";
  writeBoolValue(t,Config::collGraphFlag);
  t << "\n";
  if (!sl)
  {
    t << "\n";
    t << "# If the ENABLE_PREPROCESSING, INCLUDE_GRAPH, and HAVE_DOT tags are set to \n";
    t << "# YES then doxygen will generate a graph for each documented file showing \n";
    t << "# the direct and indirect include dependencies of the file with other \n";
    t << "# documented files. \n";
    t << "\n";
  }
  t << "INCLUDE_GRAPH          = ";
  writeBoolValue(t,Config::includeGraphFlag);
  t << "\n";
  if (!sl)
  {
    t << "\n";
    t << "# If the ENABLE_PREPROCESSING, INCLUDED_BY_GRAPH, and HAVE_DOT tags are set to \n";
    t << "# YES then doxygen will generate a graph for each documented header file showing \n";
    t << "# the documented files that directly or indirectly include this file \n";
    t << "\n";
  }
  t << "INCLUDED_BY_GRAPH      = ";
  writeBoolValue(t,Config::includedByGraphFlag);
  t << "\n";
  if (!sl)
  {
    t << "\n";
    t << "# If the GRAPHICAL_HIERARCHY and HAVE_DOT tags are set to YES then doxygen \n";
    t << "# will graphical hierarchy of all classes instead of a textual one. \n";
    t << "\n";
  }
  t << "GRAPHICAL_HIERARCHY    = ";
  writeBoolValue(t,Config::gfxHierarchyFlag);
  t << "\n";
  if (!sl)
  {
    t << "\n";
    t << "# The tag DOT_PATH can be used to specify the path where the dot tool can be \n";
    t << "# found. If left blank, it is assumed the dot tool can be found on the path. \n";
    t << "\n";
  }
  t << "DOT_PATH               = ";
  writeStringValue(t,Config::dotPath);
  t << "\n";
  if (!sl)
  {
    t << "\n";
    t << "# The MAX_DOT_GRAPH_WIDTH tag can be used to set the maximum allowed width \n";
    t << "# (in pixels) of the graphs generated by dot. If a graph becomes larger than \n";
    t << "# this value, doxygen will try to truncate the graph, so that it fits within \n";
    t << "# the specified constraint. Beware that most browsers cannot cope with very \n";
    t << "# large images. \n";
    t << "\n";
  }
  t << "MAX_DOT_GRAPH_WIDTH    = ";
  writeIntValue(t,Config::maxDotGraphWidth);
  t << "\n";
  if (!sl)
  {
    t << "\n";
    t << "# The MAX_DOT_GRAPH_HEIGHT tag can be used to set the maximum allows height \n";
    t << "# (in pixels) of the graphs generated by dot. If a graph becomes larger than \n";
    t << "# this value, doxygen will try to truncate the graph, so that it fits within \n";
    t << "# the specified constraint. Beware that most browsers cannot cope with very \n";
    t << "# large images. \n";
    t << "\n";
  }
  t << "MAX_DOT_GRAPH_HEIGHT   = ";
  writeIntValue(t,Config::maxDotGraphHeight);
  t << "\n";
  if (!sl)
  {
    t << "\n";
  }
  t << "#---------------------------------------------------------------------------\n";
  t << "# Configuration::addtions related to the search engine   \n";
  t << "#---------------------------------------------------------------------------\n";
  if (!sl)
  {
    t << "\n";
    t << "# The SEARCHENGINE tag specifies whether or not a search engine should be \n";
    t << "# used. If set to NO the values of all tags below this one will be ignored. \n";
    t << "\n";
  }
  t << "SEARCHENGINE           = ";
  writeBoolValue(t,Config::searchEngineFlag);
  t << "\n";
  if (!sl)
  {
    t << "\n";
    t << "# The CGI_NAME tag should be the name of the CGI script that \n";
    t << "# starts the search engine (doxysearch) with the correct parameters. \n";
    t << "# A script with this name will be generated by doxygen. \n";
    t << "\n";
  }
  t << "CGI_NAME               = ";
  writeStringValue(t,Config::cgiName);
  t << "\n";
  if (!sl)
  {
    t << "\n";
    t << "# The CGI_URL tag should be the absolute URL to the directory where the \n";
    t << "# cgi binaries are located. See the documentation of your http daemon for \n";
    t << "# details. \n";
    t << "\n";
  }
  t << "CGI_URL                = ";
  writeStringValue(t,Config::cgiURL);
  t << "\n";
  if (!sl)
  {
    t << "\n";
    t << "# The DOC_URL tag should be the absolute URL to the directory where the \n";
    t << "# documentation is located. If left blank the absolute path to the \n";
    t << "# documentation, with file:// prepended to it, will be used. \n";
    t << "\n";
  }
  t << "DOC_URL                = ";
  writeStringValue(t,Config::docURL);
  t << "\n";
  if (!sl)
  {
    t << "\n";
    t << "# The DOC_ABSPATH tag should be the absolute path to the directory where the \n";
    t << "# documentation is located. If left blank the directory on the local machine \n";
    t << "# will be used. \n";
    t << "\n";
  }
  t << "DOC_ABSPATH            = ";
  writeStringValue(t,Config::docAbsPath);
  t << "\n";
  if (!sl)
  {
    t << "\n";
    t << "# The BIN_ABSPATH tag must point to the directory where the doxysearch binary \n";
    t << "# is installed. \n";
    t << "\n";
  }
  t << "BIN_ABSPATH            = ";
  writeStringValue(t,Config::binAbsPath);
  t << "\n";
  if (!sl)
  {
    t << "\n";
    t << "# The EXT_DOC_PATHS tag can be used to specify one or more paths to \n";
    t << "# documentation generated for other projects. This allows doxysearch to search \n";
    t << "# the documentation for these projects as well. \n";
    t << "\n";
  }
  t << "EXT_DOC_PATHS          = ";
  writeStringList(t,Config::extDocPathList);
  t << "\n";
}

void configStrToVal()
{
  if (tabSizeString.isEmpty())
  {
    Config::tabSize=8;
  }
  else
  {
    bool ok;
    int ts = tabSizeString.toInt(&ok);
    if (!ok || ts<1 || ts>16)
    {
      warn_cont("Warning: argument of TAB_SIZE is not a valid number, using tab size of 8 spaces!\n");
      ts=8;
    }
    Config::tabSize = ts;
  }
  
  if (colsInAlphaIndexString.isEmpty())
  {
    Config::colsInAlphaIndex=5;
  }
  else
  {
    bool ok;
    int cols = colsInAlphaIndexString.toInt(&ok);
    if (!ok || cols<1 || cols>20)
    {
      warn_cont("Warning: argument of COLS_IN_ALPHA_INDEX is not a valid number in the range [1..20]!\n"
	   "Using the default of 5 columns!\n");
      cols = 5;
    }
    Config::colsInAlphaIndex=cols;
  }
  
  if (maxDotGraphWidthString.isEmpty())
  {
    Config::maxDotGraphWidth=1024;
  }
  else
  {
    bool ok;
    int width =maxDotGraphWidthString.toInt(&ok);
    if (!ok)
    {
      warn_cont("Warning: argument of MAX_DOT_GRAPH_WIDTH is not a valid number in the range [1..20]!\n"
	   "Using the default of 1024 pixels!\n");
      width=1024;
    }
    else if (width<100) // clip to lower bound
    {
      width=100;
    }
    else if (width>30000) // clip to upper bound
    {
      width=30000;
    }
    Config::maxDotGraphWidth=width;
  }

  if (maxDotGraphHeightString.isEmpty())
  {
    Config::maxDotGraphHeight=1024;
  }
  else
  {
    bool ok;
    int height =maxDotGraphHeightString.toInt(&ok);
    if (!ok)
    {
      warn_cont("Warning: argument of MAX_DOT_GRAPH_WIDTH is not a valid number in the range [1..20]!\n"
	   "Using the default of 1024 pixels!\n");
      height=1024;
    }
    else if (height<100) // clip to lower bound
    {
      height=100;
    }
    else if (height>30000) // clip to upper bound
    {
      height=30000;
    }
    Config::maxDotGraphHeight=height;
  }
}

static void substEnvVarsInString(QCString &s)
{
  static QRegExp re("\\$\\([a-z_A-Z0-9]+\\)");
  if (s.isEmpty()) return;
  int p=0;
  int i,l;
  //printf("substEnvVarInString(%s) start\n",s.data());
  while ((i=re.match(s,p,&l))!=-1)
  {
    //printf("Found environment var s.mid(%d,%d)=`%s'\n",i+2,l-3,s.mid(i+2,l-3).data());
    QCString env=getenv(s.mid(i+2,l-3));
    substEnvVarsInString(env); // recursively expand variables if needed.
    s = s.left(i)+env+s.right(s.length()-i-l);
    p=i+env.length(); // next time start at the end of the expanded string
  }
  //printf("substEnvVarInString(%s) end\n",s.data());
}

static void substEnvVarsInStrList(QStrList &sl)
{
  char *s = sl.first();
  while (s)
  {
    QCString result(s);
    bool wasQuoted = (result.find(' ')!=-1) || (result.find('\t')!=-1);
    substEnvVarsInString(result);

    if (!wasQuoted) /* as a result of the expansion, a single string
		       may have expanded into a list, which we'll
		       add to sl. If the orginal string already 
		       contained multiple elements no further 
		       splitting is done to allow quoted items with spaces! */
    {



      int l=result.length();
      int i,p=0;
      // skip spaces
      // search for a "word"
      for (i=0;i<l;i++)
      {
	char c;
	// skip until start of new word
	while (i<l && ((c=result.at(i))==' ' || c=='\t')) i++; 
	p=i; // p marks the start index of the word
	// skip until end of a word
	while (i<l && ((c=result.at(i))!=' ' && c!='\t' && c!='"')) i++;
	if (i<l) // not at the end of the string
	{
	  if (c=='"') // word within quotes
	  {
	    p=i+1;
	    for (i++;i<l;i++)
	    {
	      c=result.at(i);
	      if (c=='"') // end quote
	      {
		// replace the string in the list and go to the next item.
		sl.insert(sl.at(),result.mid(p,i-p)); // insert new item before current item.
		sl.next();                 // current item is now the old item
		p=i+1;
		break; 
	      }
	      else if (c=='\\') // skip escaped stuff
	      {
		i++;
	      }
	    }
	  }
	  else if (c==' ' || c=='\t') // separator
	  {
	    // replace the string in the list and go to the next item.
	    sl.insert(sl.at(),result.mid(p,i-p)); // insert new item before current item.
	    sl.next();                 // current item is now the old item
	    p=i+1;
	  }
	}
      }
      if (p!=l) // add the leftover as a string
      {
	// replace the string in the list and go to the next item.
	sl.insert(sl.at(),result.right(l-p)); // insert new item before current item.
	sl.next();                 // current item is now the old item
      }

      // remove the old unexpanded string from the list
      i=sl.at();
      sl.remove(); // current item index changes if the last element is removed.
      if (sl.at()==i)     // not last item
	s = sl.current();
      else                // just removed last item
	s = 0;
    }
    else // just goto the next element in the list
    {
      s=sl.next();
    }
  }
}


void substituteEnvironmentVars()
{
  substEnvVarsInString( Config::projectName );
  substEnvVarsInString( Config::projectNumber );
  substEnvVarsInString( Config::outputDir );
  substEnvVarsInString( Config::outputLanguage );
  substEnvVarsInStrList( Config::stripFromPath );
  substEnvVarsInStrList( Config::sectionFilterList );
  substEnvVarsInString( Config::warnFormat );
  substEnvVarsInStrList( Config::inputSources );
  substEnvVarsInStrList( Config::filePatternList );
  substEnvVarsInStrList( Config::excludeSources );
  substEnvVarsInStrList( Config::excludePatternList );
  substEnvVarsInStrList( Config::examplePath );
  substEnvVarsInStrList( Config::examplePatternList );
  substEnvVarsInStrList( Config::imagePath );
  substEnvVarsInString( Config::inputFilter );
  substEnvVarsInStrList( Config::ignorePrefixList );
  substEnvVarsInString( Config::htmlOutputDir );
  substEnvVarsInString( Config::headerFile );
  substEnvVarsInString( Config::footerFile );
  substEnvVarsInString( Config::htmlStyleSheet );
  substEnvVarsInString( Config::latexOutputDir );
  substEnvVarsInString( Config::paperType );
  substEnvVarsInStrList( Config::extraPackageList );
  substEnvVarsInString( Config::latexHeaderFile );
  substEnvVarsInString( Config::rtfOutputDir );
  substEnvVarsInString( Config::rtfStylesheetFile );
  substEnvVarsInString( Config::manOutputDir );
  substEnvVarsInString( Config::manExtension );
  substEnvVarsInStrList( Config::includePath );
  substEnvVarsInStrList( Config::includeFilePatternList );
  substEnvVarsInStrList( Config::predefined );
  substEnvVarsInStrList( Config::expandAsDefinedList );
  substEnvVarsInStrList( Config::tagFileList );
  substEnvVarsInString( Config::genTagFile );
  substEnvVarsInString( Config::perlPath );
  substEnvVarsInString( Config::dotPath );
  substEnvVarsInString( Config::cgiName );
  substEnvVarsInString( Config::cgiURL );
  substEnvVarsInString( Config::docURL );
  substEnvVarsInString( Config::docAbsPath );
  substEnvVarsInString( Config::binAbsPath );
  substEnvVarsInStrList( Config::extDocPathList );
}

void checkConfig()
{
  //if (!projectName.isEmpty())
  //{
  //  projectName[0]=toupper(projectName[0]);
  //}

  if (Config::warnFormat.isEmpty())
  {
    Config::warnFormat="$file:$line $text";
  }
  else
  {
    if (Config::warnFormat.find("$file")==-1)
    {
      err("Error: warning format does not contain a $file tag!\n");
      exit(1);
    }
    if (Config::warnFormat.find("$line")==-1)
    {
      err("Error: warning format does not contain a $line tag!\n");
      exit(1);
    }
    if (Config::warnFormat.find("$text")==-1)
    {
      err("Error: wanring format foes not contain a $text tag!\n");
      exit(1);
    }
  }
  initWarningFormat();

  // set default man page extension if non is given by the user
  if (Config::manExtension.isEmpty())
  {
    Config::manExtension=".3";
  }
  
  Config::paperType = Config::paperType.lower().stripWhiteSpace(); 
  if (Config::paperType.isEmpty())
  {
    Config::paperType = "a4wide";
  }
  if (Config::paperType!="a4" && Config::paperType!="a4wide" && Config::paperType!="letter" && 
      Config::paperType!="legal" && Config::paperType!="executive")
  {
    err("Error: Unknown page type specified");
  }
  
  Config::outputLanguage=Config::outputLanguage.stripWhiteSpace();
  if (Config::outputLanguage.isEmpty())
  {
    Config::outputLanguage = "English";
#ifndef DOXYWIZARD
    setTranslator("English");
#endif
  }
  else
  {
#ifndef DOXYWIZARD
    if (!setTranslator(Config::outputLanguage))
    {
      err("Error: Output language %s not supported! Using English instead.\n",
	  Config::outputLanguage.data());
    }
#endif
  }
  
  // Test to see if output directory is valid
  if (Config::outputDir.isEmpty()) 
    Config::outputDir=QDir::currentDirPath();
  else
  {
    QDir dir(Config::outputDir);
    if (!dir.exists())
    {
      dir.setPath(QDir::currentDirPath());
      if (!dir.mkdir(Config::outputDir))
      {
        err("Error: tag OUTPUT_DIRECTORY: Output directory `%s' does not "
	    "exist and cannot be created\n",Config::outputDir.data());
        exit(1);
      }
      else if (!Config::quietFlag)
      {
	err("Notice: Output directory `%s' does not exist. "
	    "I have created it for you.\n", Config::outputDir.data());
      }
      dir.cd(Config::outputDir);
    }
    Config::outputDir=dir.absPath();
  }

  if (Config::htmlOutputDir.isEmpty() && Config::generateHtml)
  {
    Config::htmlOutputDir=Config::outputDir+"/html";
  }
  else if (Config::htmlOutputDir && Config::htmlOutputDir[0]!='/')
  {
    Config::htmlOutputDir.prepend(Config::outputDir+'/');
  }
  QDir htmlDir(Config::htmlOutputDir);
  if (Config::generateHtml && !htmlDir.exists() && 
      !htmlDir.mkdir(Config::htmlOutputDir))
  {
    err("Could not create output directory %s\n",Config::htmlOutputDir.data());
    exit(1);
  }
  
  if (Config::latexOutputDir.isEmpty() && Config::generateLatex)
  {
    Config::latexOutputDir=Config::outputDir+"/latex";
  }
  else if (Config::latexOutputDir && Config::latexOutputDir[0]!='/')
  {
    Config::latexOutputDir.prepend(Config::outputDir+'/');
  }
  QDir latexDir(Config::latexOutputDir);
  if (Config::generateLatex && !latexDir.exists() && 
      !latexDir.mkdir(Config::latexOutputDir))
  {
    err("Could not create output directory %s\n",Config::latexOutputDir.data());
    exit(1);
  }
  
  if (Config::rtfOutputDir.isEmpty() && Config::generateRTF)
  {
    Config::rtfOutputDir=Config::outputDir+"/rtf";
  }
  else if (Config::rtfOutputDir && Config::rtfOutputDir[0]!='/')
  {
    Config::rtfOutputDir.prepend(Config::outputDir+'/');
  }
  QDir rtfDir(Config::rtfOutputDir);
  if (Config::generateRTF && !rtfDir.exists() && 
      !rtfDir.mkdir(Config::rtfOutputDir))
  {
    err("Could not create output directory %s\n",Config::rtfOutputDir.data());
    exit(1);
  }

  if (Config::manOutputDir.isEmpty() && Config::generateMan)
  {
    Config::manOutputDir=Config::outputDir+"/man";
  }
  else if (Config::manOutputDir && Config::manOutputDir[0]!='/')
  {
    Config::manOutputDir.prepend(Config::outputDir+'/');
  }
  QDir manDir(Config::manOutputDir);
  if (Config::generateMan && !manDir.exists() && 
      !manDir.mkdir(Config::manOutputDir))
  {
    err("Could not create output directory %s\n",Config::manOutputDir.data());
    exit(1);
  }

  // expand the relative stripFromPath values
  char *sfp = Config::stripFromPath.first();
  while (sfp)
  {
    QCString path = sfp;
    if (path.at(0)!='/' && (path.length()<=2 || path.at(1)!=':'))
    {
      QFileInfo fi(path);
      if (fi.exists() && fi.isDir())
      {
	int i = Config::stripFromPath.at();
	Config::stripFromPath.remove();
	if (Config::stripFromPath.at()==i) // did not remove last item
	  Config::stripFromPath.insert(i,fi.absFilePath()+"/");
	else
	  Config::stripFromPath.append(fi.absFilePath()+"/");
      }
    }
    sfp = Config::stripFromPath.next();
  }
  
  
  // Test to see if HTML header is valid
  if (!Config::headerFile.isEmpty())
  {
    QFileInfo fi(Config::headerFile);
    if (!fi.exists())
    {
      err("Error: tag HTML_HEADER: header file `%s' "
	  "does not exist\n",Config::headerFile.data());
      exit(1);
    }
  }
  // Test to see if HTML footer is valid
  if (!Config::footerFile.isEmpty())
  {
    QFileInfo fi(Config::footerFile);
    if (!fi.exists())
    {
      err("Error: tag HTML_FOOTER: footer file `%s' "
	  "does not exist\n",Config::footerFile.data());
      exit(1);
    }
  }
  // Test to see if LaTeX header is valid
  if (!Config::latexHeaderFile.isEmpty())
  {
    QFileInfo fi(Config::latexHeaderFile);
    if (!fi.exists())
    {
      err("Error: tag LATEX_HEADER: header file `%s' "
	  "does not exist\n",Config::latexHeaderFile.data());
      exit(1);
    }
  }
  // check include path
  char *s=Config::includePath.first();
  while (s)
  {
    QFileInfo fi(s);
    if (!fi.exists()) err("Warning: tag INCLUDE_PATH: include path `%s' "
	                  "does not exist\n",s);
#ifndef DOXYWIZARD
    addSearchDir(fi.absFilePath());
#endif
    s=Config::includePath.next();
  }
  
  // check dot path
  if (!Config::dotPath.isEmpty())
  {
    if (Config::dotPath.find('\\')!=-1)
    {
      if (Config::dotPath.at(Config::dotPath.length()-1)!='\\')
      {
	Config::dotPath+='\\';
      } 
    } 
    else if (Config::dotPath.find('/')!=-1)
    {
      if (Config::dotPath.at(Config::dotPath.length()-1)!='/')
      {
	Config::dotPath+='/';
      } 
    } 
#if defined(_WIN32)
    QFileInfo dp(Config::dotPath+"dot.exe");
#else
    QFileInfo dp(Config::dotPath+"dot");
#endif
    if (!dp.exists() || !dp.isFile())
    {
      err("Warning: the dot tool could not be found at %s\n",Config::dotPath.data());
    }
  }
  else // make sure the string is empty but not null!
  {
    Config::dotPath="";
  }
  
  // check input
  if (Config::inputSources.count()==0)
  {
    err("Error: tag INPUT: no input files specified after the INPUT tag.\n");
    exit(1);
  }
  else
  {
    s=Config::inputSources.first();
    while (s)
    {
      QFileInfo fi(s);
      if (!fi.exists())
      {
	err("Error: tag INPUT: input source `%s' does not exist\n",s);
	exit(1);
      }
      s=Config::inputSources.next();
    }
  }

  // add default pattern if needed
  if (Config::filePatternList.isEmpty())
  {
    Config::filePatternList.append("*");
  }

  // add default pattern if needed
  if (Config::examplePatternList.isEmpty())
  {
    Config::examplePatternList.append("*");
  }

  // add default pattern if needed
  //if (Config::imagePatternList.isEmpty())
  //{
  //  Config::imagePatternList.append("*");
  //}
  
  // more checks needed if and only if the search engine is enabled.
  if (Config::searchEngineFlag)
  {
    // check cgi name
    if (Config::cgiName.isEmpty())
    {
      err("Error: tag CGI_NAME: no cgi script name after the CGI_NAME tag.\n");
      exit(1);
    }
    // check cgi URL
    if (Config::cgiURL.isEmpty())
    {
      err("Error: tag CGI_URL: no URL to cgi directory specified.\n");
      exit(1);
    }
    else if (Config::cgiURL.left(7)!="http://" && 
	     Config::cgiURL.left(8)!="https://"
	    )
    {
      err("Error: tag CGI_URL: URL to cgi directory is invalid (must "
	  "start with http:// or https://).\n");
      exit(1);
    }
    // check documentation URL
    if (Config::docURL.isEmpty())
    {
      Config::docURL = Config::outputDir.copy().prepend("file://").append("html");
    }
    else if (Config::docURL.left(7)!="http://" && 
	     Config::docURL.left(8)!="https://" &&
	     Config::docURL.left(7)!="file://"
	    )
    {
      err("Error: tag DOC_URL: URL to documentation is invalid or "
	  "not absolute.\n"); 
      exit(1);
    }
    // check absolute documentation path
    if (Config::docAbsPath.isEmpty())
    {
      Config::docAbsPath = Config::outputDir+"/html"; 
    }
    else if (Config::docAbsPath[0]!='/' && Config::docAbsPath[1]!=':')
    {
      err("Error: tag DOC_ABSPATH: path is not absolute!\n");
      exit(1);
    }
    // check path to doxysearch
    if (Config::binAbsPath.isEmpty())
    {
      err("Error: tag BIN_ABSPATH: no absolute path to doxysearch "
	  "specified.\n");
      exit(1);
    }
    else if (Config::binAbsPath[0]!='/' && Config::binAbsPath[1]!=':')
    {
      err("Error: tag BIN_ABSPATH: path is not absolute!\n");
      exit(1);
    }

    // check perl path
    bool found=FALSE;
    if (Config::perlPath.isEmpty())
    {
      QFileInfo fi;
      fi.setFile("/usr/bin/perl");
      if (fi.exists()) 
      {
	Config::perlPath="/usr/bin/perl";
        found=TRUE;
      }
      else
      {
	fi.setFile("/usr/local/bin/perl");
	if (fi.exists())
        {
  	  Config::perlPath="/usr/local/bin/perl";
          found=TRUE;
        }
      }
    }
    if (!found)
    {
      QFileInfo fi(Config::perlPath);
      if (!fi.exists())
      {
        warn_cont("Warning: tag PERL_PATH: perl interpreter not found at default or"
            "user specified (%s) location\n",
        Config::perlPath.data());
      }
    }
  }

#if defined(_WIN32)
  if (Config::haveDotFlag) _putenv("DOTFONTPATH=.");
#endif
  
}

void parseConfig(const QCString &s,const char *fn)
{
  inputString   = s;
  inputPosition = 0;
  yyLineNr      = 1;
  yyFileName=fn;
  includeStack.setAutoDelete(TRUE);
  includeStack.clear();
  includeDepth  = 0;
  configYYrestart( configYYin );
  BEGIN( Start );
  configYYlex();
}

//extern "C" { // some bogus code to keep the compiler happy
//  int  configYYwrap() { return 1 ; }
//}
