Back to index

salome-paravis  6.5.0
Classes | Defines | Typedefs | Functions | Variables
lex.yy.c File Reference
#include <stdio.h>
#include <string.h>
#include <errno.h>
#include <stdlib.h>
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  yy_buffer_state
struct  yy_trans_info

Defines

#define YY_INT_ALIGNED   short int
#define FLEX_SCANNER
#define YY_FLEX_MAJOR_VERSION   2
#define YY_FLEX_MINOR_VERSION   5
#define YY_FLEX_SUBMINOR_VERSION   35
#define FLEX_BETA
#define FLEXINT_H
#define INT8_MIN   (-128)
#define INT16_MIN   (-32767-1)
#define INT32_MIN   (-2147483647-1)
#define INT8_MAX   (127)
#define INT16_MAX   (32767)
#define INT32_MAX   (2147483647)
#define UINT8_MAX   (255U)
#define UINT16_MAX   (65535U)
#define UINT32_MAX   (4294967295U)
#define yyconst
#define YY_NULL   0
#define YY_SC_TO_UI(c)   ((unsigned int) (unsigned char) c)
#define BEGIN   (yy_start) = 1 + 2 *
#define YY_START   (((yy_start) - 1) / 2)
#define YYSTATE   YY_START
#define YY_STATE_EOF(state)   (YY_END_OF_BUFFER + state + 1)
#define YY_NEW_FILE   yyrestart(yyin )
#define YY_END_OF_BUFFER_CHAR   0
#define YY_BUF_SIZE   16384
#define YY_STATE_BUF_SIZE   ((YY_BUF_SIZE + 2) * sizeof(yy_state_type))
#define YY_TYPEDEF_YY_BUFFER_STATE
#define YY_TYPEDEF_YY_SIZE_T
#define EOB_ACT_CONTINUE_SCAN   0
#define EOB_ACT_END_OF_FILE   1
#define EOB_ACT_LAST_MATCH   2
#define YY_LESS_LINENO(n)
#define yyless(n)
#define unput(c)   yyunput( c, (yytext_ptr) )
#define YY_STRUCT_YY_BUFFER_STATE
#define YY_BUFFER_NEW   0
#define YY_BUFFER_NORMAL   1
#define YY_BUFFER_EOF_PENDING   2
#define YY_CURRENT_BUFFER
#define YY_CURRENT_BUFFER_LVALUE   (yy_buffer_stack)[(yy_buffer_stack_top)]
#define YY_FLUSH_BUFFER   yy_flush_buffer(YY_CURRENT_BUFFER )
#define yy_new_buffer   yy_create_buffer
#define yy_set_interactive(is_interactive)
#define yy_set_bol(at_bol)
#define YY_AT_BOL()   (YY_CURRENT_BUFFER_LVALUE->yy_at_bol)
#define yytext_ptr   yytext
#define YY_DO_BEFORE_ACTION
#define YY_NUM_RULES   247
#define YY_END_OF_BUFFER   248
#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
#define YY_NEVER_INTERACTIVE   1
#define YY_NO_UNISTD_H
#define YY_SKIP_YYWRAP
#define SKIP_MATCH_MAXLEN   15
#define INITIAL   0
#define YY_EXTRA_TYPE   void *
#define YY_READ_BUF_SIZE   8192
#define ECHO   fwrite( yytext, yyleng, 1, yyout )
#define YY_INPUT(buf, result, max_size)
#define yyterminate()   return YY_NULL
#define YY_START_STACK_INCR   25
#define YY_FATAL_ERROR(msg)   yy_fatal_error( msg )
#define YY_DECL_IS_OURS   1
#define YY_DECL   int yylex (void)
#define YY_USER_ACTION
#define YY_BREAK   break;
#define YY_RULE_SETUP
#define YY_EXIT_FAILURE   2
#define yyless(n)
#define YYTABLES_NAME   "yytables"

Typedefs

typedef signed char flex_int8_t
typedef short int flex_int16_t
typedef int flex_int32_t
typedef unsigned char flex_uint8_t
typedef unsigned short int flex_uint16_t
typedef unsigned int flex_uint32_t
typedef struct yy_buffer_stateYY_BUFFER_STATE
typedef size_t yy_size_t
typedef unsigned char YY_CHAR
typedef int yy_state_type

Functions

void yyrestart (FILE *input_file)
 Immediately switch to a different input stream.
void yy_switch_to_buffer (YY_BUFFER_STATE new_buffer)
 Switch to a different input buffer.
YY_BUFFER_STATE yy_create_buffer (FILE *file, int size)
 Allocate and initialize an input buffer state.
void yy_delete_buffer (YY_BUFFER_STATE b)
 Destroy the buffer.
void yy_flush_buffer (YY_BUFFER_STATE b)
 Discard all buffered characters.
void yypush_buffer_state (YY_BUFFER_STATE new_buffer)
 Pushes the new state onto the stack.
void yypop_buffer_state (void)
 Removes and deletes the top of the stack, if present.
static void yyensure_buffer_stack (void)
static void yy_load_buffer_state (void)
static void yy_init_buffer (YY_BUFFER_STATE b, FILE *file)
YY_BUFFER_STATE yy_scan_buffer (char *base, yy_size_t size)
 Setup the input buffer state to scan directly from a user-specified character buffer.
YY_BUFFER_STATE yy_scan_string (yyconst char *yystr)
 Setup the input buffer state to scan a string.
YY_BUFFER_STATE yy_scan_bytes (yyconst char *yybytes, yy_size_t _yybytes_len)
 Setup the input buffer state to scan the given bytes.
void * yyalloc (yy_size_t)
void * yyrealloc (void *, yy_size_t)
void yyfree (void *)
static yy_state_type yy_get_previous_state (void)
static yy_state_type yy_try_NUL_trans (yy_state_type current_state)
static int yy_get_next_buffer (void)
static void yy_fatal_error (yyconst char msg[])
static int skip_comment ()
static int skip_ahead_multi (const char *strings[])
static int skip_ahead_until (const char *text)
static int skip_to_next_directive ()
static int skip_conditional_block ()
static void print_preprocessor_error (int result, const char *cp, size_t n)
static const char * get_macro_arguments ()
static void push_buffer ()
static int pop_buffer ()
static int yy_init_globals (void)
int yylex_destroy (void)
int yyget_debug (void)
void yyset_debug (int debug_flag)
YY_EXTRA_TYPE yyget_extra (void)
void yyset_extra (YY_EXTRA_TYPE user_defined)
FILE * yyget_in (void)
 Get the input stream.
void yyset_in (FILE *in_str)
 Set the input stream.
FILE * yyget_out (void)
 Get the output stream.
void yyset_out (FILE *out_str)
yy_size_t yyget_leng (void)
 Get the length of the current token.
char * yyget_text (void)
 Get the current token.
int yyget_lineno (void)
 Get the current line number.
void yyset_lineno (int line_number)
 Set the current line number.
static void yyunput (int c, char *buf_ptr)
static int input (void)
int yylex (void)
 if (!(yy_init))
 while (1)
static void yyunput (int c, register char *yy_bp)
int isatty (int)
static void yy_fatal_error (yyconst char *msg)

Variables

yy_size_t yyleng
FILE * yyin = (FILE *) 0
FILE * yyout = (FILE *) 0
static size_t yy_buffer_stack_top = 0
 index of top of stack.
static size_t yy_buffer_stack_max = 0
 capacity of stack.
static YY_BUFFER_STATEyy_buffer_stack = 0
 Stack as an array.
static char yy_hold_char
static yy_size_t yy_n_chars
static char * yy_c_buf_p = (char *) 0
static int yy_init = 0
static int yy_start = 0
static int yy_did_buffer_switch_on_eof
int yylineno = 1
char * yytext
static yyconst flex_int16_t yy_accept [1956]
static yyconst flex_int32_t yy_ec [256]
static yyconst flex_int32_t yy_meta [92]
static yyconst flex_int16_t yy_base [2008]
static yyconst flex_int16_t yy_def [2008]
static yyconst flex_int16_t yy_nxt [4697]
static yyconst flex_int16_t yy_chk [4697]
static yyconst flex_int32_t yy_rule_can_match_eol [248]
static yy_state_type yy_last_accepting_state
static char * yy_last_accepting_cpos
int yy_flex_debug = 0
YY_DECL register yy_state_type yy_current_state
 The main scanner function which does all the work.
register char * yy_cp
register char * yy_bp
register int yy_act
static size_t buffer_stack_size = 0
static YY_BUFFER_STATEbuffer_stack = NULL

Class Documentation

struct yy_buffer_state

Definition at line 202 of file lex.yy.c.

Class Members
int yy_at_bol
int yy_bs_column The column count.
int yy_bs_lineno The line count.
char * yy_buf_pos
yy_size_t yy_buf_size
int yy_buffer_status
char * yy_ch_buf
int yy_fill_buffer
FILE * yy_input_file
int yy_is_interactive
int yy_is_our_buffer
yy_size_t yy_n_chars
struct yy_trans_info

Definition at line 380 of file lex.yy.c.

Class Members
flex_int32_t yy_nxt
flex_int32_t yy_verify

Define Documentation

#define BEGIN   (yy_start) = 1 + 2 *

Definition at line 125 of file lex.yy.c.

#define ECHO   fwrite( yytext, yyleng, 1, yyout )

Definition at line 2324 of file lex.yy.c.

#define EOB_ACT_CONTINUE_SCAN   0

Definition at line 165 of file lex.yy.c.

#define EOB_ACT_END_OF_FILE   1

Definition at line 166 of file lex.yy.c.

#define EOB_ACT_LAST_MATCH   2

Definition at line 167 of file lex.yy.c.

#define FLEX_BETA

Definition at line 14 of file lex.yy.c.

#define FLEX_SCANNER

Definition at line 9 of file lex.yy.c.

#define FLEXINT_H

Definition at line 30 of file lex.yy.c.

#define INITIAL   0

Definition at line 2237 of file lex.yy.c.

#define INT16_MAX   (32767)

Definition at line 73 of file lex.yy.c.

#define INT16_MIN   (-32767-1)

Definition at line 64 of file lex.yy.c.

#define INT32_MAX   (2147483647)

Definition at line 76 of file lex.yy.c.

#define INT32_MIN   (-2147483647-1)

Definition at line 67 of file lex.yy.c.

#define INT8_MAX   (127)

Definition at line 70 of file lex.yy.c.

#define INT8_MIN   (-128)

Definition at line 61 of file lex.yy.c.

#define REJECT   reject_used_but_not_detected

Definition at line 2169 of file lex.yy.c.

#define SKIP_MATCH_MAXLEN   15

Definition at line 2216 of file lex.yy.c.

#define UINT16_MAX   (65535U)

Definition at line 82 of file lex.yy.c.

#define UINT32_MAX   (4294967295U)

Definition at line 85 of file lex.yy.c.

#define UINT8_MAX   (255U)

Definition at line 79 of file lex.yy.c.

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

Definition at line 198 of file lex.yy.c.

#define YY_AT_BOL ( )    (YY_CURRENT_BUFFER_LVALUE->yy_at_bol)

Definition at line 344 of file lex.yy.c.

#define YY_BREAK   break;

Definition at line 2403 of file lex.yy.c.

#define YY_BUF_SIZE   16384

Definition at line 144 of file lex.yy.c.

#define YY_BUFFER_EOF_PENDING   2

Definition at line 260 of file lex.yy.c.

#define YY_BUFFER_NEW   0

Definition at line 248 of file lex.yy.c.

#define YY_BUFFER_NORMAL   1

Definition at line 249 of file lex.yy.c.

Value:

Definition at line 276 of file lex.yy.c.

Definition at line 283 of file lex.yy.c.

#define YY_DECL   int yylex (void)

Definition at line 2391 of file lex.yy.c.

#define YY_DECL_IS_OURS   1

Definition at line 2387 of file lex.yy.c.

Value:
(yytext_ptr) = yy_bp; \
        yyleng = (size_t) (yy_cp - yy_bp); \
        (yy_hold_char) = *yy_cp; \
        *yy_cp = '\0'; \
        (yy_c_buf_p) = yy_cp;

Definition at line 369 of file lex.yy.c.

#define YY_END_OF_BUFFER   248

Definition at line 377 of file lex.yy.c.

#define YY_END_OF_BUFFER_CHAR   0

Definition at line 140 of file lex.yy.c.

#define YY_EXIT_FAILURE   2

Definition at line 4822 of file lex.yy.c.

#define YY_EXTRA_TYPE   void *

Definition at line 2248 of file lex.yy.c.

#define YY_FATAL_ERROR (   msg)    yy_fatal_error( msg )

Definition at line 2378 of file lex.yy.c.

#define YY_FLEX_MAJOR_VERSION   2

Definition at line 10 of file lex.yy.c.

#define YY_FLEX_MINOR_VERSION   5

Definition at line 11 of file lex.yy.c.

#define YY_FLEX_SUBMINOR_VERSION   35

Definition at line 12 of file lex.yy.c.

Definition at line 312 of file lex.yy.c.

#define YY_INPUT (   buf,
  result,
  max_size 
)
Value:
if ( YY_CURRENT_BUFFER_LVALUE->yy_is_interactive ) \
                { \
                int c = '*'; \
                yy_size_t 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 \
                { \
                errno=0; \
                while ( (result = fread(buf, 1, max_size, yyin))==0 && ferror(yyin)) \
                        { \
                        if( errno != EINTR) \
                                { \
                                YY_FATAL_ERROR( "input in flex scanner failed" ); \
                                break; \
                                } \
                        errno=0; \
                        clearerr(yyin); \
                        } \
                }\
\

Definition at line 2331 of file lex.yy.c.

#define YY_INT_ALIGNED   short int

Definition at line 5 of file lex.yy.c.

#define YY_LESS_LINENO (   n)
Value:
do { \
                yy_size_t yyl;\
                for ( yyl = n; yyl < yyleng; ++yyl )\
                    if ( yytext[yyl] == '\n' )\
                        --yylineno;\
            }while(0)

Definition at line 176 of file lex.yy.c.

#define YY_MORE_ADJ   0

Definition at line 2171 of file lex.yy.c.

#define YY_NEVER_INTERACTIVE   1

Definition at line 2195 of file lex.yy.c.

Definition at line 322 of file lex.yy.c.

#define YY_NEW_FILE   yyrestart(yyin )

Definition at line 138 of file lex.yy.c.

#define YY_NO_UNISTD_H

Definition at line 2198 of file lex.yy.c.

#define YY_NULL   0

Definition at line 112 of file lex.yy.c.

#define YY_NUM_RULES   247

Definition at line 376 of file lex.yy.c.

#define YY_READ_BUF_SIZE   8192

Definition at line 2316 of file lex.yy.c.

Definition at line 2172 of file lex.yy.c.

#define YY_RULE_SETUP
Value:
if ( yyleng > 0 ) \
                YY_CURRENT_BUFFER_LVALUE->yy_at_bol = \
                                (yytext[yyleng - 1] == '\n'); \
        YY_USER_ACTION

Definition at line 2406 of file lex.yy.c.

#define YY_SC_TO_UI (   c)    ((unsigned int) (unsigned char) c)

Definition at line 119 of file lex.yy.c.

#define yy_set_bol (   at_bol)
Value:
{ \
        if ( ! YY_CURRENT_BUFFER ){\
        yyensure_buffer_stack (); \
                YY_CURRENT_BUFFER_LVALUE =    \
            yy_create_buffer(yyin,YY_BUF_SIZE ); \
        } \
        YY_CURRENT_BUFFER_LVALUE->yy_at_bol = at_bol; \
        }

Definition at line 334 of file lex.yy.c.

#define yy_set_interactive (   is_interactive)
Value:
{ \
        if ( ! YY_CURRENT_BUFFER ){ \
        yyensure_buffer_stack (); \
                YY_CURRENT_BUFFER_LVALUE =    \
            yy_create_buffer(yyin,YY_BUF_SIZE ); \
        } \
        YY_CURRENT_BUFFER_LVALUE->yy_is_interactive = is_interactive; \
        }

Definition at line 324 of file lex.yy.c.

#define YY_SKIP_YYWRAP

Definition at line 2201 of file lex.yy.c.

#define YY_START   (((yy_start) - 1) / 2)

Definition at line 131 of file lex.yy.c.

#define YY_START_STACK_INCR   25

Definition at line 2373 of file lex.yy.c.

#define YY_STATE_BUF_SIZE   ((YY_BUF_SIZE + 2) * sizeof(yy_state_type))

Definition at line 149 of file lex.yy.c.

#define YY_STATE_EOF (   state)    (YY_END_OF_BUFFER + state + 1)

Definition at line 135 of file lex.yy.c.

Definition at line 201 of file lex.yy.c.

Definition at line 152 of file lex.yy.c.

Definition at line 157 of file lex.yy.c.

#define YY_USER_ACTION

Definition at line 2398 of file lex.yy.c.

#define yyconst

Definition at line 108 of file lex.yy.c.

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

Definition at line 4834 of file lex.yy.c.

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

Definition at line 4834 of file lex.yy.c.

#define yymore ( )    yymore_used_but_not_detected

Definition at line 2170 of file lex.yy.c.

#define YYSTATE   YY_START

Definition at line 132 of file lex.yy.c.

#define YYTABLES_NAME   "yytables"

Definition at line 5027 of file lex.yy.c.

#define yyterminate ( )    return YY_NULL

Definition at line 2368 of file lex.yy.c.

#define yytext_ptr   yytext

Definition at line 359 of file lex.yy.c.


Typedef Documentation

typedef short int flex_int16_t

Definition at line 52 of file lex.yy.c.

typedef int flex_int32_t

Definition at line 53 of file lex.yy.c.

typedef signed char flex_int8_t

Definition at line 51 of file lex.yy.c.

typedef unsigned short int flex_uint16_t

Definition at line 55 of file lex.yy.c.

typedef unsigned int flex_uint32_t

Definition at line 56 of file lex.yy.c.

typedef unsigned char flex_uint8_t

Definition at line 54 of file lex.yy.c.

Definition at line 153 of file lex.yy.c.

typedef unsigned char YY_CHAR

Definition at line 348 of file lex.yy.c.

typedef size_t yy_size_t

Definition at line 158 of file lex.yy.c.

typedef int yy_state_type

Definition at line 352 of file lex.yy.c.


Function Documentation

const char * get_macro_arguments ( ) [static]

Definition at line 5036 of file lex.yy.c.

{
  char *cp = NULL;
  size_t i = 0;
  int depth;
  int ws = 0;
  int sl = 0;
  int c1 = input();
  while (c1 == ' ' || c1 == '\t' || c1 == '\r' || c1 == '\n')
    {
    c1 = input();
    }

  cp = (char *)malloc(4);

  if (c1 != '(')
    {
    unput(c1);
    return NULL;
    }

  cp[i++] = '(';
  depth = 1;
  c1 = input();

  for (;;)
    {
    ws = 0;
    sl = 0;
    /* skip all whitespace */
    while (c1 == ' ' || c1 == '\t' || c1 == '\r' || c1 == '\n')
      {
      ws = 1;
      c1 = input();
      }
    if (c1 == '/')
      {
      c1 = input();
      if (c1 == '*')
        {
        /* skip a C style comment */
        ws = 1;
        if (skip_comment() == 0)
          {
          return NULL;
          }
        c1 = input();
        }
      else if (c1 == '/')
        {
        /* skip a C++ style comment */
        ws = 1;
        do { c1 = input(); }
        while (c1 != '\n' && c1 != '\0');
        if (c1 == '\0')
          {
          return NULL;
          }
        c1 = input();
        }
      else
        {
        sl = 1;
        }
      }
    if (ws)
      {
      /* add a single space to replace any whitespace */
      cp[i++] = ' ';
      if (i >= 4 && (i & (i-1)) == 0)
        {
        cp = (char *)realloc(cp, 2*i);
        }
      }
    if (sl)
      {
      /* add a single space to replace any whitespace */
      cp[i++] = '/';
      if (i >= 4 && (i & (i-1)) == 0)
        {
        cp = (char *)realloc(cp, 2*i);
        }
      }
    if (c1 == '\"' || c1 == '\'')
      {
      int c2 = c1;
      int escaped = 2;
      int firstloop = 1;
      do
        {
        if (escaped)
          {
          --escaped;
          }
        if (!firstloop)
          {
          c1 = input();
          }
        firstloop = 0;
        if (c1 == '\0')
          {
          break;
          }
        if (escaped == 0 && c1 == '\\')
          {
          escaped = 2;
          }
        cp[i++] = (char)c1;
        if (i >= 4 && (i & (i-1)) == 0)
          {
          cp = (char *)realloc(cp, 2*i);
          }
        }
      while (c1 != c2 || escaped);
      }
    else if (c1 != '\0')
      {
      cp[i++] = (char)c1;
      if (i >= 4 && (i & (i-1)) == 0)
        {
        cp = (char *)realloc(cp, 2*i);
        }
      cp[i] = '\0';
      if (c1 == '(')
        {
        depth++;
        }
      if (c1 == ')')
        {
        if (--depth == 0)
          {
          break;
          }
        }
      }
    else
      {
      return NULL;
      }
    c1 = input();
    }

  return cp;
}

Here is the call graph for this function:

Here is the caller graph for this function:

if ( yy_init)

Definition at line 2425 of file lex.yy.c.

                {
                (yy_init) = 1;

#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 ) {
                        yyensure_buffer_stack ();
                        YY_CURRENT_BUFFER_LVALUE =
                                yy_create_buffer(yyin,YY_BUF_SIZE );
                }

                yy_load_buffer_state( );
                }

Here is the call graph for this function:

Here is the caller graph for this function:

static int input ( void  ) [static]

Definition at line 4393 of file lex.yy.c.

{
        int c;

        *(yy_c_buf_p) = (yy_hold_char);

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

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

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

                                        /* Reset buffer status. */
                                        yyrestart(yyin );

                                        /*FALLTHROUGH*/

                                case EOB_ACT_END_OF_FILE:
                                        {
                                        if ( yywrap( ) )
                                                return 0;

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

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

    yylineno++;
;

        return c;
}

Here is the call graph for this function:

Here is the caller graph for this function:

int isatty ( int  )

Here is the caller graph for this function:

int pop_buffer ( ) [static]

Definition at line 5428 of file lex.yy.c.

Here is the call graph for this function:

Here is the caller graph for this function:

void print_preprocessor_error ( int  result,
const char *  cp,
size_t  n 
) [static]

Definition at line 5442 of file lex.yy.c.

{
  size_t j = 0;
  const char *fn = "";
  const char *text = "";

  switch (result)
    {
    case VTK_PARSE_OK:
    case VTK_PARSE_SKIP:
      return;
    case VTK_PARSE_PREPROC_DOUBLE:
      text = "double in preprocessor conditional";
      break;
    case VTK_PARSE_PREPROC_FLOAT:
      text = "float in preprocessor conditional";
      break;
    case VTK_PARSE_PREPROC_STRING:
      text = "string in preprocessor conditional";
      break;
    case VTK_PARSE_MACRO_UNDEFINED:
      text = "undefined macro";
      break;
    case VTK_PARSE_MACRO_REDEFINED:
      text = "redefined macro";
      break;
    case VTK_PARSE_FILE_NOT_FOUND:
      text = "file not found";
      break;
    case VTK_PARSE_FILE_OPEN_ERROR:
      text = "can\'t open file";
      break;
    case VTK_PARSE_FILE_READ_ERROR:
      text = "input/output error";
      break;
    case VTK_PARSE_MACRO_NUMARGS:
      text = "wrong number of args for macro";
      break;
    case VTK_PARSE_SYNTAX_ERROR:
      text = "syntax error";
      break;
    }

  /* be silent about missing include files */
  if (result == VTK_PARSE_FILE_NOT_FOUND)
    {
    return;
    }

  if (data.FileName)
    {
    j = strlen(data.FileName);
    while (j > 0 && data.FileName[j-1] != '/') { j--; }
    fn = &data.FileName[j];
    }
  fprintf(yyout, "In %s:%i: %s: ", fn, yylineno, text);
  fprintf(yyout, "%*.*s\n", (int)n, (int)n, cp);
}

Here is the caller graph for this function:

void push_buffer ( ) [static]

Definition at line 5409 of file lex.yy.c.

{
  size_t n = buffer_stack_size;
  if (buffer_stack == NULL)
    {
    buffer_stack = (YY_BUFFER_STATE *)malloc(4*sizeof(YY_BUFFER_STATE));
    }
  // grow the stack whenever size reaches a power of two
  else if (n >= 4 && (n & (n-1)) == 0)
    {
    buffer_stack = (YY_BUFFER_STATE *)realloc(
      buffer_stack, 2*n*sizeof(YY_BUFFER_STATE));
    }
  buffer_stack[buffer_stack_size++] = YY_CURRENT_BUFFER;
}

Here is the caller graph for this function:

int skip_ahead_multi ( const char *  strings[]) [static]

Definition at line 5340 of file lex.yy.c.

{
  char textbuf[SKIP_MATCH_MAXLEN+1];
  char c = 0;
  size_t i;

  for (i = 0; i < (SKIP_MATCH_MAXLEN+1); i++)
    {
    textbuf[i] = '\0';
    }

  for (;;)
    {
    for (i = 0; i < SKIP_MATCH_MAXLEN; i++)
      {
      textbuf[i] = textbuf[i+1];
      }

    if ((c = (char)input()) == '\0')
      {
      fprintf(yyout, "Cannot find matching %s.\n", strings[0]);
      return 0;
      }

    textbuf[SKIP_MATCH_MAXLEN-1] = c;

    for (i = 0; strings[i]; i++)
      {
      if (strcmp(&textbuf[SKIP_MATCH_MAXLEN-strlen(strings[i])],
                 strings[i]) == 0)
        {
        break;
        }
      }
    if (strings[i])
      {
      break;
      }
    }

  while (c != '\0' && c != '\n')
    {
    c = (char)input();
    }

  return 1;
}

Here is the call graph for this function:

Here is the caller graph for this function:

int skip_ahead_until ( const char *  text) [static]

Definition at line 5391 of file lex.yy.c.

{
  const char *strings[2];
  strings[0] = text;
  strings[1] = NULL;

  return skip_ahead_multi(strings);
}

Here is the call graph for this function:

Here is the caller graph for this function:

int skip_comment ( ) [static]

Definition at line 5184 of file lex.yy.c.

{
   int c1 = 0, c2 = input();
   for (;;)
     {
     if (c2 == 0)
       {
       fprintf(yyout,"Cannot find closing comment.\n");
       return 0;
       }
     if (c1 == '*' && c2 == '/') break;
     c1 = c2; c2 = input();
     }
   return 1;
}

Here is the call graph for this function:

Here is the caller graph for this function:

int skip_conditional_block ( ) [static]

Definition at line 5267 of file lex.yy.c.

{
  static char *linebuf = NULL;
  static size_t linemaxlen = 80;
  size_t i;
  int c;
  int result;

  if (linebuf == 0)
    {
    linebuf = (char *)malloc(linemaxlen);
    }

  for (;;)
    {
    if (skip_to_next_directive() == 0)
      {
      return 0;
      }
    c = input();
    while (c == ' ' || c == '\t')
      {
      c = input();
      }
    if (c == 0)
      {
      return 0;
      }

    /* eat the whole line */
    i = 0;
    linebuf[i++] = '#';
    while (c != 0 && c != '\n')
      {
      if (i >= linemaxlen-5)
        {
        linemaxlen += i+5;
        linebuf = (char *)realloc(linebuf, linemaxlen);
        }
      linebuf[i++] = c;
      /* be sure to skip escaped newlines */
      if (c == '\\')
        {
        c = input();
        linebuf[i++] = c;
        if (c == '\r')
          {
          c = input();
          linebuf[i++] = c;
          }
        }
      c = input();
      }
    linebuf[i++] = c;

    result = vtkParsePreprocess_HandleDirective(&preprocessor, linebuf);
    if (result != VTK_PARSE_SKIP && result != VTK_PARSE_OK)
      {
      print_preprocessor_error(result, linebuf, i);
      }
    else if (result != VTK_PARSE_SKIP)
      {
      break;
      }
    }

  return 1;
}

Here is the call graph for this function:

Here is the caller graph for this function:

int skip_to_next_directive ( ) [static]

Definition at line 5205 of file lex.yy.c.

{
  int state = 0;
  int c;

  do
    {
    c = input();
    if (c == 0)
      {
      break;
      }

    /* newline changes state */
    if (c == '\n')
      {
      state = 0;
      c = input();
      }
    /* skip comments */
    if (c == '/')
      {
      if ( (c = input()) == '*')
        {
        if (skip_comment() == 0)
          {
          return 0;
          }
        c = input();
        }
      }
    /* skip escaped newlines */
    if (c == '\\')
      {
      if ( (c = input()) == '\r')
        {
        c = input();
        }
      if (c == '\n')
        {
        c = input();
        }
      }
    /* skip allowed whitespace */
    while (c == ' ' || c == '\t')
      {
      c = input();
      }
    /* look for the directive */
    if (state == 0 && c == '#')
      {
      break;
      }
    }
  while (c != 0);

  return c;
}

Here is the call graph for this function:

Here is the caller graph for this function:

while ( )

Definition at line 2451 of file lex.yy.c.

                {
                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_current_state += YY_AT_BOL();
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 >= 1956 )
                                        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] != 4605 );

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;

                if ( yy_act != YY_END_OF_BUFFER && yy_rule_can_match_eol[yy_act] )
                        {
                        yy_size_t yyl;
                        for ( yyl = 0; yyl < yyleng; ++yyl )
                                if ( yytext[yyl] == '\n' )

    yylineno++;
;
                        }

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 67 "vtkParse.l"
{ skip_comment(); };
        YY_BREAK
case 2:
YY_RULE_SETUP
#line 69 "vtkParse.l"
{
       if (!IgnoreBTX) {
         skip_ahead_until("//ETX");
       }
     };
        YY_BREAK
case 3:
YY_RULE_SETUP
#line 75 "vtkParse.l"
;
        YY_BREAK
case 4:
YY_RULE_SETUP
#line 77 "vtkParse.l"
{
       skip_ahead_until("@end");
     };
        YY_BREAK
case 5:
YY_RULE_SETUP
#line 81 "vtkParse.l"
{
     size_t pos = 1;
     while (yytext[pos-1] != 'M' || yytext[pos] != 'E')
       {
       pos++;
       }
     data.NameComment = vtkstrndup(&yytext[pos + 1], yyleng - pos - 1);
     };
        YY_BREAK
case 6:
YY_RULE_SETUP
#line 90 "vtkParse.l"
{ setCommentState(1); };
        YY_BREAK
case 7:
YY_RULE_SETUP
#line 91 "vtkParse.l"
{ setCommentState(2); };
        YY_BREAK
case 8:
YY_RULE_SETUP
#line 92 "vtkParse.l"
{ setCommentState(3); };
        YY_BREAK
case 9:
YY_RULE_SETUP
#line 93 "vtkParse.l"
{ setCommentState(3); };
        YY_BREAK
case 10:
YY_RULE_SETUP
#line 94 "vtkParse.l"
{ setCommentState(4); };
        YY_BREAK
case 11:
/* rule 11 can match eol */
YY_RULE_SETUP
#line 95 "vtkParse.l"
{ closeOrClearComment(); };
        YY_BREAK
case 12:
YY_RULE_SETUP
#line 96 "vtkParse.l"
{
     size_t pos = 2;
     while (yytext[pos-2] != '/' || yytext[pos-1] != '/') pos++;
     addCommentLine(&yytext[pos], yyleng - pos);
     };
        YY_BREAK
case 13:
YY_RULE_SETUP
#line 102 "vtkParse.l"
;
        YY_BREAK
case 14:
/* rule 14 can match eol */
YY_RULE_SETUP
#line 104 "vtkParse.l"
{
     int result;
     MacroInfo *macro;
     result = vtkParsePreprocess_HandleDirective(&preprocessor, yytext);
     if (result == VTK_PARSE_OK)
       {
       macro = preprocessor.Macros[preprocessor.NumberOfMacros-1];
       if (!macro->IsFunction)
         {
         add_constant(macro->Name, vtkstrdup(macro->Definition), 0, NULL, 1);
         }
       }
     };
        YY_BREAK
case 15:
/* rule 15 can match eol */
YY_RULE_SETUP
#line 118 "vtkParse.l"
{
     int result = 0;
     result = vtkParsePreprocess_HandleDirective(&preprocessor, yytext);
     if (result == VTK_PARSE_SKIP)
       {
       skip_conditional_block();
       }
     else if (result != VTK_PARSE_OK)
       {
       print_preprocessor_error(result, yytext, yyleng);
       }
     };
        YY_BREAK
case 16:
/* rule 16 can match eol */
YY_RULE_SETUP
#line 131 "vtkParse.l"
{
                yylval.str = vtkstrndup(yytext, yyleng);
                return(STRING_LITERAL); }
        YY_BREAK
case 17:
/* rule 17 can match eol */
YY_RULE_SETUP
#line 135 "vtkParse.l"
{
                yylval.str = vtkstrndup(yytext, yyleng);
                return(CHAR_LITERAL); }
        YY_BREAK
case 18:
YY_RULE_SETUP
#line 139 "vtkParse.l"
;
        YY_BREAK
case 19:
/* rule 19 can match eol */
YY_RULE_SETUP
#line 141 "vtkParse.l"
{
     size_t i; size_t j = 0;
     yylval.str = "";
     if (yytext[yyleng-1] == ')')
       {
       while (yytext[j]!='(') { j++; }
       while (yytext[j]==' ' || yytext[j]=='\t') { j++; }
       j++; i = j;
       while (yytext[j]!=')' && yytext[j] != ' ' && yytext[j] != '\t') { j++; }
       yylval.str = vtkstrndup(&yytext[i], j-i);
       return(ID);
       }
     };
        YY_BREAK
case 20:
/* rule 20 can match eol */
YY_RULE_SETUP
#line 155 "vtkParse.l"
{
     return(CLASS_REF);
     };
        YY_BREAK
case 21:
/* rule 21 can match eol */
YY_RULE_SETUP
#line 159 "vtkParse.l"
{
     return(CLASS_REF);
     };
        YY_BREAK
case 22:
/* rule 22 can match eol */
YY_RULE_SETUP
#line 163 "vtkParse.l"
{
     return(CLASS_REF);
     };
        YY_BREAK
case 23:
/* rule 23 can match eol */
YY_RULE_SETUP
#line 167 "vtkParse.l"
{
     size_t i = 0; size_t j = 0;
     while (yytext[j] != '*') { i++; j++; }
     i++; j++;
     while (yytext[i] != ' ' && yytext[i] != '\t' &&
            yytext[i] != '\n' && yytext[i] != '\r' && yytext[i] != ')') {i++;}
     yylval.str = vtkstrndup(&yytext[j], i-j);
     return(VAR_FUNCTION);
     };
        YY_BREAK
case 24:
/* rule 24 can match eol */
YY_RULE_SETUP
#line 177 "vtkParse.l"
return(LONG_DOUBLE);
        YY_BREAK
case 25:
YY_RULE_SETUP
#line 178 "vtkParse.l"
return(DOUBLE);
        YY_BREAK
case 26:
YY_RULE_SETUP
#line 179 "vtkParse.l"
return(FLOAT);
        YY_BREAK
case 27:
/* rule 27 can match eol */
YY_RULE_SETUP
#line 181 "vtkParse.l"
return(UNSIGNED_INT64__);
        YY_BREAK
case 28:
/* rule 28 can match eol */
YY_RULE_SETUP
#line 182 "vtkParse.l"
return(UNSIGNED_INT64__);
        YY_BREAK
case 29:
/* rule 29 can match eol */
YY_RULE_SETUP
#line 184 "vtkParse.l"
return(INT64__);
        YY_BREAK
case 30:
/* rule 30 can match eol */
YY_RULE_SETUP
#line 185 "vtkParse.l"
return(INT64__);
        YY_BREAK
case 31:
YY_RULE_SETUP
#line 186 "vtkParse.l"
return(INT64__);
        YY_BREAK
case 32:
/* rule 32 can match eol */
YY_RULE_SETUP
#line 188 "vtkParse.l"
return(UNSIGNED_LONG_LONG);
        YY_BREAK
case 33:
/* rule 33 can match eol */
YY_RULE_SETUP
#line 189 "vtkParse.l"
return(UNSIGNED_LONG_LONG);
        YY_BREAK
case 34:
/* rule 34 can match eol */
YY_RULE_SETUP
#line 190 "vtkParse.l"
return(UNSIGNED_LONG_LONG);
        YY_BREAK
case 35:
/* rule 35 can match eol */
YY_RULE_SETUP
#line 191 "vtkParse.l"
return(UNSIGNED_LONG_LONG);
        YY_BREAK
case 36:
/* rule 36 can match eol */
YY_RULE_SETUP
#line 192 "vtkParse.l"
return(UNSIGNED_LONG_LONG);
        YY_BREAK
case 37:
/* rule 37 can match eol */
YY_RULE_SETUP
#line 193 "vtkParse.l"
return(UNSIGNED_LONG_LONG);
        YY_BREAK
case 38:
/* rule 38 can match eol */
YY_RULE_SETUP
#line 194 "vtkParse.l"
return(UNSIGNED_LONG_LONG);
        YY_BREAK
case 39:
/* rule 39 can match eol */
YY_RULE_SETUP
#line 195 "vtkParse.l"
return(UNSIGNED_LONG_LONG);
        YY_BREAK
case 40:
/* rule 40 can match eol */
YY_RULE_SETUP
#line 197 "vtkParse.l"
return(LONG_LONG);
        YY_BREAK
case 41:
/* rule 41 can match eol */
YY_RULE_SETUP
#line 198 "vtkParse.l"
return(LONG_LONG);
        YY_BREAK
case 42:
/* rule 42 can match eol */
YY_RULE_SETUP
#line 199 "vtkParse.l"
return(LONG_LONG);
        YY_BREAK
case 43:
/* rule 43 can match eol */
YY_RULE_SETUP
#line 200 "vtkParse.l"
return(LONG_LONG);
        YY_BREAK
case 44:
/* rule 44 can match eol */
YY_RULE_SETUP
#line 201 "vtkParse.l"
return(LONG_LONG);
        YY_BREAK
case 45:
/* rule 45 can match eol */
YY_RULE_SETUP
#line 202 "vtkParse.l"
return(LONG_LONG);
        YY_BREAK
case 46:
/* rule 46 can match eol */
YY_RULE_SETUP
#line 203 "vtkParse.l"
return(LONG_LONG);
        YY_BREAK
case 47:
/* rule 47 can match eol */
YY_RULE_SETUP
#line 204 "vtkParse.l"
return(LONG_LONG);
        YY_BREAK
case 48:
/* rule 48 can match eol */
YY_RULE_SETUP
#line 205 "vtkParse.l"
return(LONG_LONG);
        YY_BREAK
case 49:
/* rule 49 can match eol */
YY_RULE_SETUP
#line 206 "vtkParse.l"
return(LONG_LONG);
        YY_BREAK
case 50:
/* rule 50 can match eol */
YY_RULE_SETUP
#line 207 "vtkParse.l"
return(LONG_LONG);
        YY_BREAK
case 51:
/* rule 51 can match eol */
YY_RULE_SETUP
#line 209 "vtkParse.l"
return(UNSIGNED_SHORT);
        YY_BREAK
case 52:
/* rule 52 can match eol */
YY_RULE_SETUP
#line 210 "vtkParse.l"
return(UNSIGNED_SHORT);
        YY_BREAK
case 53:
/* rule 53 can match eol */
YY_RULE_SETUP
#line 211 "vtkParse.l"
return(UNSIGNED_SHORT);
        YY_BREAK
case 54:
/* rule 54 can match eol */
YY_RULE_SETUP
#line 212 "vtkParse.l"
return(UNSIGNED_SHORT);
        YY_BREAK
case 55:
/* rule 55 can match eol */
YY_RULE_SETUP
#line 213 "vtkParse.l"
return(UNSIGNED_SHORT);
        YY_BREAK
case 56:
/* rule 56 can match eol */
YY_RULE_SETUP
#line 214 "vtkParse.l"
return(UNSIGNED_SHORT);
        YY_BREAK
case 57:
/* rule 57 can match eol */
YY_RULE_SETUP
#line 215 "vtkParse.l"
return(UNSIGNED_SHORT);
        YY_BREAK
case 58:
/* rule 58 can match eol */
YY_RULE_SETUP
#line 216 "vtkParse.l"
return(UNSIGNED_SHORT);
        YY_BREAK
case 59:
/* rule 59 can match eol */
YY_RULE_SETUP
#line 218 "vtkParse.l"
return(SHORT);
        YY_BREAK
case 60:
/* rule 60 can match eol */
YY_RULE_SETUP
#line 219 "vtkParse.l"
return(SHORT);
        YY_BREAK
case 61:
/* rule 61 can match eol */
YY_RULE_SETUP
#line 220 "vtkParse.l"
return(SHORT);
        YY_BREAK
case 62:
/* rule 62 can match eol */
YY_RULE_SETUP
#line 221 "vtkParse.l"
return(SHORT);
        YY_BREAK
case 63:
/* rule 63 can match eol */
YY_RULE_SETUP
#line 222 "vtkParse.l"
return(SHORT);
        YY_BREAK
case 64:
/* rule 64 can match eol */
YY_RULE_SETUP
#line 223 "vtkParse.l"
return(SHORT);
        YY_BREAK
case 65:
/* rule 65 can match eol */
YY_RULE_SETUP
#line 224 "vtkParse.l"
return(SHORT);
        YY_BREAK
case 66:
/* rule 66 can match eol */
YY_RULE_SETUP
#line 225 "vtkParse.l"
return(SHORT);
        YY_BREAK
case 67:
/* rule 67 can match eol */
YY_RULE_SETUP
#line 226 "vtkParse.l"
return(SHORT);
        YY_BREAK
case 68:
/* rule 68 can match eol */
YY_RULE_SETUP
#line 227 "vtkParse.l"
return(SHORT);
        YY_BREAK
case 69:
YY_RULE_SETUP
#line 228 "vtkParse.l"
return(SHORT);
        YY_BREAK
case 70:
/* rule 70 can match eol */
YY_RULE_SETUP
#line 230 "vtkParse.l"
return(UNSIGNED_LONG);
        YY_BREAK
case 71:
/* rule 71 can match eol */
YY_RULE_SETUP
#line 231 "vtkParse.l"
return(UNSIGNED_LONG);
        YY_BREAK
case 72:
/* rule 72 can match eol */
YY_RULE_SETUP
#line 232 "vtkParse.l"
return(UNSIGNED_LONG);
        YY_BREAK
case 73:
/* rule 73 can match eol */
YY_RULE_SETUP
#line 233 "vtkParse.l"
return(UNSIGNED_LONG);
        YY_BREAK
case 74:
/* rule 74 can match eol */
YY_RULE_SETUP
#line 234 "vtkParse.l"
return(UNSIGNED_LONG);
        YY_BREAK
case 75:
/* rule 75 can match eol */
YY_RULE_SETUP
#line 235 "vtkParse.l"
return(UNSIGNED_LONG);
        YY_BREAK
case 76:
/* rule 76 can match eol */
YY_RULE_SETUP
#line 236 "vtkParse.l"
return(UNSIGNED_LONG);
        YY_BREAK
case 77:
/* rule 77 can match eol */
YY_RULE_SETUP
#line 237 "vtkParse.l"
return(UNSIGNED_LONG);
        YY_BREAK
case 78:
/* rule 78 can match eol */
YY_RULE_SETUP
#line 239 "vtkParse.l"
return(LONG);
        YY_BREAK
case 79:
/* rule 79 can match eol */
YY_RULE_SETUP
#line 240 "vtkParse.l"
return(LONG);
        YY_BREAK
case 80:
/* rule 80 can match eol */
YY_RULE_SETUP
#line 241 "vtkParse.l"
return(LONG);
        YY_BREAK
case 81:
/* rule 81 can match eol */
YY_RULE_SETUP
#line 242 "vtkParse.l"
return(LONG);
        YY_BREAK
case 82:
/* rule 82 can match eol */
YY_RULE_SETUP
#line 243 "vtkParse.l"
return(LONG);
        YY_BREAK
case 83:
/* rule 83 can match eol */
YY_RULE_SETUP
#line 244 "vtkParse.l"
return(LONG);
        YY_BREAK
case 84:
/* rule 84 can match eol */
YY_RULE_SETUP
#line 245 "vtkParse.l"
return(LONG);
        YY_BREAK
case 85:
/* rule 85 can match eol */
YY_RULE_SETUP
#line 246 "vtkParse.l"
return(LONG);
        YY_BREAK
case 86:
/* rule 86 can match eol */
YY_RULE_SETUP
#line 247 "vtkParse.l"
return(LONG);
        YY_BREAK
case 87:
/* rule 87 can match eol */
YY_RULE_SETUP
#line 248 "vtkParse.l"
return(LONG);
        YY_BREAK
case 88:
YY_RULE_SETUP
#line 249 "vtkParse.l"
return(LONG);
        YY_BREAK
case 89:
/* rule 89 can match eol */
YY_RULE_SETUP
#line 251 "vtkParse.l"
return(UNSIGNED_CHAR);
        YY_BREAK
case 90:
/* rule 90 can match eol */
YY_RULE_SETUP
#line 252 "vtkParse.l"
return(UNSIGNED_CHAR);
        YY_BREAK
case 91:
/* rule 91 can match eol */
YY_RULE_SETUP
#line 253 "vtkParse.l"
return(SIGNED_CHAR);
        YY_BREAK
case 92:
/* rule 92 can match eol */
YY_RULE_SETUP
#line 254 "vtkParse.l"
return(SIGNED_CHAR);
        YY_BREAK
case 93:
YY_RULE_SETUP
#line 255 "vtkParse.l"
return(CHAR);
        YY_BREAK
case 94:
/* rule 94 can match eol */
YY_RULE_SETUP
#line 257 "vtkParse.l"
return(UNSIGNED_INT);
        YY_BREAK
case 95:
/* rule 95 can match eol */
YY_RULE_SETUP
#line 258 "vtkParse.l"
return(UNSIGNED_INT);
        YY_BREAK
case 96:
/* rule 96 can match eol */
YY_RULE_SETUP
#line 260 "vtkParse.l"
return(INT);
        YY_BREAK
case 97:
/* rule 97 can match eol */
YY_RULE_SETUP
#line 261 "vtkParse.l"
return(INT);
        YY_BREAK
case 98:
YY_RULE_SETUP
#line 262 "vtkParse.l"
return(INT);
        YY_BREAK
case 99:
YY_RULE_SETUP
#line 264 "vtkParse.l"
return(UNSIGNED);
        YY_BREAK
case 100:
YY_RULE_SETUP
#line 265 "vtkParse.l"
return(SIGNED);
        YY_BREAK
case 101:
YY_RULE_SETUP
#line 267 "vtkParse.l"
return(VOID);
        YY_BREAK
case 102:
YY_RULE_SETUP
#line 268 "vtkParse.l"
return(BOOL);
        YY_BREAK
case 103:
YY_RULE_SETUP
#line 270 "vtkParse.l"
return(SIZE_T);
        YY_BREAK
case 104:
YY_RULE_SETUP
#line 271 "vtkParse.l"
return(SSIZE_T);
        YY_BREAK
case 105:
YY_RULE_SETUP
#line 273 "vtkParse.l"
;
        YY_BREAK
case 106:
/* rule 106 can match eol */
*yy_cp = (yy_hold_char); /* undo effects of setting up yytext */
(yy_c_buf_p) = yy_cp -= 1;
YY_DO_BEFORE_ACTION; /* set up yytext again */
YY_RULE_SETUP
#line 274 "vtkParse.l"
return(PUBLIC);
        YY_BREAK
case 107:
/* rule 107 can match eol */
*yy_cp = (yy_hold_char); /* undo effects of setting up yytext */
(yy_c_buf_p) = yy_cp -= 1;
YY_DO_BEFORE_ACTION; /* set up yytext again */
YY_RULE_SETUP
#line 275 "vtkParse.l"
return(PRIVATE);
        YY_BREAK
case 108:
/* rule 108 can match eol */
*yy_cp = (yy_hold_char); /* undo effects of setting up yytext */
(yy_c_buf_p) = yy_cp -= 1;
YY_DO_BEFORE_ACTION; /* set up yytext again */
YY_RULE_SETUP
#line 276 "vtkParse.l"
return(PROTECTED);
        YY_BREAK
case 109:
*yy_cp = (yy_hold_char); /* undo effects of setting up yytext */
(yy_c_buf_p) = yy_cp = yy_bp + 7;
YY_DO_BEFORE_ACTION; /* set up yytext again */
YY_RULE_SETUP
#line 277 "vtkParse.l"
return(PROTECTED);
        YY_BREAK
case 110:
YY_RULE_SETUP
#line 279 "vtkParse.l"
return(CLASS);
        YY_BREAK
case 111:
YY_RULE_SETUP
#line 280 "vtkParse.l"
return(STRUCT);
        YY_BREAK
case 112:
YY_RULE_SETUP
#line 281 "vtkParse.l"
return(PUBLIC);
        YY_BREAK
case 113:
YY_RULE_SETUP
#line 282 "vtkParse.l"
return(PRIVATE);
        YY_BREAK
case 114:
YY_RULE_SETUP
#line 283 "vtkParse.l"
return(PROTECTED);
        YY_BREAK
case 115:
YY_RULE_SETUP
#line 284 "vtkParse.l"
return(ENUM);
        YY_BREAK
case 116:
YY_RULE_SETUP
#line 285 "vtkParse.l"
return(UNION);
        YY_BREAK
case 117:
YY_RULE_SETUP
#line 286 "vtkParse.l"
return(VIRTUAL);
        YY_BREAK
case 118:
YY_RULE_SETUP
#line 287 "vtkParse.l"
return(CONST);
        YY_BREAK
case 119:
YY_RULE_SETUP
#line 288 "vtkParse.l"
return(MUTABLE);
        YY_BREAK
case 120:
YY_RULE_SETUP
#line 289 "vtkParse.l"
return(OPERATOR);
        YY_BREAK
case 121:
YY_RULE_SETUP
#line 290 "vtkParse.l"
return(FRIEND);
        YY_BREAK
case 122:
YY_RULE_SETUP
#line 291 "vtkParse.l"
return(INLINE);
        YY_BREAK
case 123:
YY_RULE_SETUP
#line 292 "vtkParse.l"
return(STATIC);
        YY_BREAK
case 124:
YY_RULE_SETUP
#line 293 "vtkParse.l"
return(EXTERN);
        YY_BREAK
case 125:
YY_RULE_SETUP
#line 294 "vtkParse.l"
return(TEMPLATE);
        YY_BREAK
case 126:
YY_RULE_SETUP
#line 295 "vtkParse.l"
return(TYPENAME);
        YY_BREAK
case 127:
YY_RULE_SETUP
#line 296 "vtkParse.l"
return(TYPEDEF);
        YY_BREAK
case 128:
YY_RULE_SETUP
#line 297 "vtkParse.l"
return(NAMESPACE);
        YY_BREAK
case 129:
YY_RULE_SETUP
#line 298 "vtkParse.l"
return(USING);
        YY_BREAK
case 130:
YY_RULE_SETUP
#line 299 "vtkParse.l"
return(NEW);
        YY_BREAK
case 131:
YY_RULE_SETUP
#line 300 "vtkParse.l"
return(DELETE);
        YY_BREAK
case 132:
YY_RULE_SETUP
#line 301 "vtkParse.l"
return(EXPLICIT);
        YY_BREAK
case 133:
YY_RULE_SETUP
#line 303 "vtkParse.l"
return(STATIC_CAST);
        YY_BREAK
case 134:
YY_RULE_SETUP
#line 304 "vtkParse.l"
return(DYNAMIC_CAST);
        YY_BREAK
case 135:
YY_RULE_SETUP
#line 305 "vtkParse.l"
return(CONST_CAST);
        YY_BREAK
case 136:
YY_RULE_SETUP
#line 306 "vtkParse.l"
return(REINTERPRET_CAST);
        YY_BREAK
case 137:
YY_RULE_SETUP
#line 308 "vtkParse.l"
;
        YY_BREAK
case 138:
YY_RULE_SETUP
#line 309 "vtkParse.l"
;
        YY_BREAK
case 139:
YY_RULE_SETUP
#line 310 "vtkParse.l"
;
        YY_BREAK
case 140:
YY_RULE_SETUP
#line 312 "vtkParse.l"
return(OP_LOGIC_AND);
        YY_BREAK
case 141:
YY_RULE_SETUP
#line 313 "vtkParse.l"
return(OP_AND_EQ);
        YY_BREAK
case 142:
YY_RULE_SETUP
#line 314 "vtkParse.l"
return(OP_LOGIC_OR);
        YY_BREAK
case 143:
YY_RULE_SETUP
#line 315 "vtkParse.l"
return(OP_OR_EQ);
        YY_BREAK
case 144:
YY_RULE_SETUP
#line 316 "vtkParse.l"
return('!');
        YY_BREAK
case 145:
YY_RULE_SETUP
#line 317 "vtkParse.l"
return(OP_LOGIC_NEQ);
        YY_BREAK
case 146:
YY_RULE_SETUP
#line 318 "vtkParse.l"
return('^');
        YY_BREAK
case 147:
YY_RULE_SETUP
#line 319 "vtkParse.l"
return(OP_XOR_EQ);
        YY_BREAK
case 148:
YY_RULE_SETUP
#line 320 "vtkParse.l"
return('&');
        YY_BREAK
case 149:
YY_RULE_SETUP
#line 321 "vtkParse.l"
return('|');
        YY_BREAK
case 150:
YY_RULE_SETUP
#line 322 "vtkParse.l"
return('~');
        YY_BREAK
case 151:
YY_RULE_SETUP
#line 324 "vtkParse.l"
return(FloatType);
        YY_BREAK
case 152:
YY_RULE_SETUP
#line 325 "vtkParse.l"
return(IdType);
        YY_BREAK
case 153:
YY_RULE_SETUP
#line 326 "vtkParse.l"
return(SetMacro);
        YY_BREAK
case 154:
YY_RULE_SETUP
#line 327 "vtkParse.l"
return(GetMacro);
        YY_BREAK
case 155:
YY_RULE_SETUP
#line 328 "vtkParse.l"
return(SetStringMacro);
        YY_BREAK
case 156:
YY_RULE_SETUP
#line 329 "vtkParse.l"
return(GetStringMacro);
        YY_BREAK
case 157:
YY_RULE_SETUP
#line 330 "vtkParse.l"
return(SetClampMacro);
        YY_BREAK
case 158:
YY_RULE_SETUP
#line 331 "vtkParse.l"
return(SetObjectMacro);
        YY_BREAK
case 159:
YY_RULE_SETUP
#line 332 "vtkParse.l"
return(GetObjectMacro);
        YY_BREAK
case 160:
YY_RULE_SETUP
#line 333 "vtkParse.l"
return(BooleanMacro);
        YY_BREAK
case 161:
YY_RULE_SETUP
#line 334 "vtkParse.l"
return(SetVector2Macro);
        YY_BREAK
case 162:
YY_RULE_SETUP
#line 335 "vtkParse.l"
return(SetVector3Macro);
        YY_BREAK
case 163:
YY_RULE_SETUP
#line 336 "vtkParse.l"
return(SetVector4Macro);
        YY_BREAK
case 164:
YY_RULE_SETUP
#line 337 "vtkParse.l"
return(SetVector6Macro);
        YY_BREAK
case 165:
YY_RULE_SETUP
#line 338 "vtkParse.l"
return(GetVector2Macro);
        YY_BREAK
case 166:
YY_RULE_SETUP
#line 339 "vtkParse.l"
return(GetVector3Macro);
        YY_BREAK
case 167:
YY_RULE_SETUP
#line 340 "vtkParse.l"
return(GetVector4Macro);
        YY_BREAK
case 168:
YY_RULE_SETUP
#line 341 "vtkParse.l"
return(GetVector6Macro);
        YY_BREAK
case 169:
YY_RULE_SETUP
#line 342 "vtkParse.l"
return(SetVectorMacro);
        YY_BREAK
case 170:
YY_RULE_SETUP
#line 343 "vtkParse.l"
return(GetVectorMacro);
        YY_BREAK
case 171:
YY_RULE_SETUP
#line 344 "vtkParse.l"
return(ViewportCoordinateMacro);
        YY_BREAK
case 172:
YY_RULE_SETUP
#line 345 "vtkParse.l"
return(WorldCoordinateMacro);
        YY_BREAK
case 173:
YY_RULE_SETUP
#line 346 "vtkParse.l"
return(TypeMacro);
        YY_BREAK
case 174:
YY_RULE_SETUP
#line 347 "vtkParse.l"
return(TypeMacro);
        YY_BREAK
case 175:
YY_RULE_SETUP
#line 348 "vtkParse.l"
return(TypeMacro);
        YY_BREAK
case 176:
YY_RULE_SETUP
#line 349 "vtkParse.l"
return(TypeMacro);
        YY_BREAK
case 177:
YY_RULE_SETUP
#line 350 "vtkParse.l"
return(VTK_LEGACY);
        YY_BREAK
case 178:
YY_RULE_SETUP
#line 351 "vtkParse.l"
;
        YY_BREAK
case 179:
YY_RULE_SETUP
#line 352 "vtkParse.l"
return(VTK_BYTE_SWAP_DECL);
        YY_BREAK
case 180:
YY_RULE_SETUP
#line 353 "vtkParse.l"
return(TypeInt8);
        YY_BREAK
case 181:
YY_RULE_SETUP
#line 354 "vtkParse.l"
return(TypeUInt8);
        YY_BREAK
case 182:
YY_RULE_SETUP
#line 355 "vtkParse.l"
return(TypeInt16);
        YY_BREAK
case 183:
YY_RULE_SETUP
#line 356 "vtkParse.l"
return(TypeUInt16);
        YY_BREAK
case 184:
YY_RULE_SETUP
#line 357 "vtkParse.l"
return(TypeInt32);
        YY_BREAK
case 185:
YY_RULE_SETUP
#line 358 "vtkParse.l"
return(TypeUInt32);
        YY_BREAK
case 186:
YY_RULE_SETUP
#line 359 "vtkParse.l"
return(TypeInt64);
        YY_BREAK
case 187:
YY_RULE_SETUP
#line 360 "vtkParse.l"
return(TypeUInt64);
        YY_BREAK
case 188:
YY_RULE_SETUP
#line 361 "vtkParse.l"
return(TypeFloat32);
        YY_BREAK
case 189:
YY_RULE_SETUP
#line 362 "vtkParse.l"
return(TypeFloat64);
        YY_BREAK
case 190:
/* rule 190 can match eol */
YY_RULE_SETUP
#line 364 "vtkParse.l"
return(CONST_PTR);
        YY_BREAK
case 191:
/* rule 191 can match eol */
YY_RULE_SETUP
#line 365 "vtkParse.l"
return(CONST_EQUAL);
        YY_BREAK
case 192:
/* rule 192 can match eol */
YY_RULE_SETUP
#line 367 "vtkParse.l"
{
                size_t i = 1;
                size_t j;
                while (yytext[i]==' ' || yytext[i]=='\t' ||
                       yytext[i]=='\r' || yytext[i]=='\n') { i++; }
                j = i;
                while (yytext[j]!='&') { j++; }
                yylval.str = vtkstrndup(&yytext[i], j-i);
                return(LA); }
        YY_BREAK
case 193:
/* rule 193 can match eol */
YY_RULE_SETUP
#line 377 "vtkParse.l"
{
                size_t i = 1;
                size_t j;
                while (yytext[i]==' ' || yytext[i]=='\t' ||
                       yytext[i]=='\r' || yytext[i]=='\n') { i++; }
                j = i;
                while (yytext[j]!='*') { j++; }
                yylval.str = vtkstrndup(&yytext[i], j-i);
                return(LP); }
        YY_BREAK
case 194:
/* rule 194 can match eol */
YY_RULE_SETUP
#line 387 "vtkParse.l"
{
                yylval.str = "";
                return(LP); }
        YY_BREAK
case 195:
/* rule 195 can match eol */
YY_RULE_SETUP
#line 391 "vtkParse.l"
{
                yylval.str = "";
                return(LP); }
        YY_BREAK
case 196:
YY_RULE_SETUP
#line 395 "vtkParse.l"
{ return('*'); }
        YY_BREAK
case 197:
YY_RULE_SETUP
#line 397 "vtkParse.l"
;
        YY_BREAK
case 198:
YY_RULE_SETUP
#line 398 "vtkParse.l"
;
        YY_BREAK
case 199:
YY_RULE_SETUP
#line 399 "vtkParse.l"
;
        YY_BREAK
case 200:
YY_RULE_SETUP
#line 401 "vtkParse.l"
{
                     yylval.str = vtkstrndup(yytext, yyleng);
                     return(OSTREAM); }
        YY_BREAK
case 201:
YY_RULE_SETUP
#line 405 "vtkParse.l"
{
                     yylval.str = vtkstrndup(yytext, yyleng);
                     return(ISTREAM); }
        YY_BREAK
case 202:
YY_RULE_SETUP
#line 409 "vtkParse.l"
{
                     yylval.str = vtkstrndup(yytext, yyleng);
                     return(StdString); }
        YY_BREAK
case 203:
YY_RULE_SETUP
#line 413 "vtkParse.l"
{ yylval.str = vtkstrndup(yytext, yyleng);
                     return(UnicodeString); }
        YY_BREAK
case 204:
YY_RULE_SETUP
#line 416 "vtkParse.l"
{ yylval.str = vtkstrdup("vtkDataArray"); return(VTK_ID); }
        YY_BREAK
case 205:
YY_RULE_SETUP
#line 418 "vtkParse.l"
{ yylval.str = vtkstrndup(yytext, yyleng);
                      return(ID); }
        YY_BREAK
case 206:
YY_RULE_SETUP
#line 421 "vtkParse.l"
{ yylval.str = vtkstrndup(yytext, yyleng);
                      return(QT_ID); }
        YY_BREAK
case 207:
YY_RULE_SETUP
#line 424 "vtkParse.l"
{ get_macro_arguments(); };
        YY_BREAK
case 208:
YY_RULE_SETUP
#line 426 "vtkParse.l"
{
     const char *name = vtkstrndup(yytext, yyleng);
     MacroInfo *macro = vtkParsePreprocess_GetMacro(&preprocessor, name);
     int expanded = 0;

     if (macro)
       {
       if (macro->IsFunction)
         {
         const char *args = get_macro_arguments();
         const char *emacro = NULL;
         if (args)
           {
           emacro = vtkParsePreprocess_ExpandMacro(macro, args);
           free((char *)args);
           if (emacro)
             {
             push_buffer();
             yy_switch_to_buffer(yy_scan_string(emacro));
             vtkParsePreprocess_FreeExpandedMacro(emacro);
             expanded = 1;
             }
           else
             {
             print_preprocessor_error(
               VTK_PARSE_MACRO_NUMARGS, macro->Name, strlen(macro->Name));
             }
           }
         }
       /* non-function macro expansion breaks "real superclass" trick
       else if (macro->Definition)
         {
         push_buffer();
         yy_switch_to_buffer(yy_scan_string(macro->Definition));
         expanded = 1;
         }
       */
       }
     if (!expanded)
       {
       yylval.str = name;
       if (yyleng > 3 && name[0] == 'v' && name[1] == 't' && name[2] == 'k')
         {
         return(VTK_ID);
         }
       else if (name[0] == 'Q')
         {
         return(QT_ID);
         }
       else
         {
         return(ID);
         }
       }
     };
        YY_BREAK
case 209:
YY_RULE_SETUP
#line 482 "vtkParse.l"
{
                     yylval.str = vtkstrndup(yytext, yyleng);
                     return(FLOAT_LITERAL); }
        YY_BREAK
case 210:
YY_RULE_SETUP
#line 486 "vtkParse.l"
{
                     yylval.str = vtkstrndup(yytext, yyleng);
                     return(HEX_LITERAL); }
        YY_BREAK
case 211:
YY_RULE_SETUP
#line 490 "vtkParse.l"
{
                     yylval.str = vtkstrndup(yytext, yyleng);
                     return(OCT_LITERAL); }
        YY_BREAK
case 212:
YY_RULE_SETUP
#line 494 "vtkParse.l"
{
                     yylval.str = vtkstrndup(yytext, yyleng);
                     return(INT_LITERAL); }
        YY_BREAK
case 213:
YY_RULE_SETUP
#line 498 "vtkParse.l"
{ yylval.str = vtkstrndup(yytext, yyleng);
                     return(ZERO); };
        YY_BREAK
case 214:
/* rule 214 can match eol */
YY_RULE_SETUP
#line 501 "vtkParse.l"
;
        YY_BREAK
case 215:
/* rule 215 can match eol */
YY_RULE_SETUP
#line 502 "vtkParse.l"
;
        YY_BREAK
case 216:
/* rule 216 can match eol */
YY_RULE_SETUP
#line 503 "vtkParse.l"
;
        YY_BREAK
case 217:
YY_RULE_SETUP
#line 505 "vtkParse.l"
return(OP_LSHIFT_EQ);
        YY_BREAK
case 218:
YY_RULE_SETUP
#line 506 "vtkParse.l"
return(OP_RSHIFT_EQ);
        YY_BREAK
case 219:
YY_RULE_SETUP
#line 507 "vtkParse.l"
return(OP_LSHIFT);
        YY_BREAK
case 220:
YY_RULE_SETUP
#line 508 "vtkParse.l"
return(OP_ARROW_POINTER);
        YY_BREAK
case 221:
YY_RULE_SETUP
#line 509 "vtkParse.l"
return(OP_ARROW);
        YY_BREAK
case 222:
YY_RULE_SETUP
#line 510 "vtkParse.l"
return(OP_RSHIFT);
        YY_BREAK
case 223:
YY_RULE_SETUP
#line 511 "vtkParse.l"
return(OP_INCR);
        YY_BREAK
case 224:
YY_RULE_SETUP
#line 512 "vtkParse.l"
return(OP_DECR);
        YY_BREAK
case 225:
YY_RULE_SETUP
#line 513 "vtkParse.l"
return(OP_PLUS_EQ);
        YY_BREAK
case 226:
YY_RULE_SETUP
#line 514 "vtkParse.l"
return(OP_MINUS_EQ);
        YY_BREAK
case 227:
YY_RULE_SETUP
#line 515 "vtkParse.l"
return(OP_TIMES_EQ);
        YY_BREAK
case 228:
YY_RULE_SETUP
#line 516 "vtkParse.l"
return(OP_DIVIDE_EQ);
        YY_BREAK
case 229:
YY_RULE_SETUP
#line 517 "vtkParse.l"
return(OP_REMAINDER_EQ);
        YY_BREAK
case 230:
YY_RULE_SETUP
#line 518 "vtkParse.l"
return(OP_AND_EQ);
        YY_BREAK
case 231:
YY_RULE_SETUP
#line 519 "vtkParse.l"
return(OP_OR_EQ);
        YY_BREAK
case 232:
YY_RULE_SETUP
#line 520 "vtkParse.l"
return(OP_XOR_EQ);
        YY_BREAK
case 233:
YY_RULE_SETUP
#line 521 "vtkParse.l"
return(OP_LOGIC_AND_EQ);
        YY_BREAK
case 234:
YY_RULE_SETUP
#line 522 "vtkParse.l"
return(OP_LOGIC_OR_EQ);
        YY_BREAK
case 235:
YY_RULE_SETUP
#line 523 "vtkParse.l"
return(OP_LOGIC_AND);
        YY_BREAK
case 236:
YY_RULE_SETUP
#line 524 "vtkParse.l"
return(OP_LOGIC_OR);
        YY_BREAK
case 237:
YY_RULE_SETUP
#line 525 "vtkParse.l"
return(OP_LOGIC_EQ);
        YY_BREAK
case 238:
YY_RULE_SETUP
#line 526 "vtkParse.l"
return(OP_LOGIC_NEQ);
        YY_BREAK
case 239:
YY_RULE_SETUP
#line 527 "vtkParse.l"
return(OP_LOGIC_LEQ);
        YY_BREAK
case 240:
YY_RULE_SETUP
#line 528 "vtkParse.l"
return(OP_LOGIC_GEQ);
        YY_BREAK
case 241:
YY_RULE_SETUP
#line 529 "vtkParse.l"
return(ELLIPSIS);
        YY_BREAK
case 242:
YY_RULE_SETUP
#line 530 "vtkParse.l"
return(DOUBLE_COLON);
        YY_BREAK
case 243:
YY_RULE_SETUP
#line 532 "vtkParse.l"
{ return(yytext[0]); }
        YY_BREAK
case 244:
YY_RULE_SETUP
#line 533 "vtkParse.l"
{ return(yytext[0]); }
        YY_BREAK
case 245:
YY_RULE_SETUP
#line 535 "vtkParse.l"
{ return(yytext[0]); }
        YY_BREAK
case YY_STATE_EOF(INITIAL):
#line 537 "vtkParse.l"
{ if (!pop_buffer()) { yyterminate(); } }
        YY_BREAK
case 246:
YY_RULE_SETUP
#line 539 "vtkParse.l"
{ return(OTHER); }
        YY_BREAK
case 247:
YY_RULE_SETUP
#line 541 "vtkParse.l"
YY_FATAL_ERROR( "flex scanner jammed" );
        YY_BREAK
#line 4021 "lex.yy.c"

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

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

                if ( YY_CURRENT_BUFFER_LVALUE->yy_buffer_status == YY_BUFFER_NEW )
                        {
                        /* We're scanning a new file or input source.  It's
                         * possible that this happened because the user
                         * just pointed 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_LVALUE->yy_n_chars;
                        YY_CURRENT_BUFFER_LVALUE->yy_input_file = yyin;
                        YY_CURRENT_BUFFER_LVALUE->yy_buffer_status = YY_BUFFER_NORMAL;
                        }

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

                        (yy_c_buf_p) = (yytext_ptr) + yy_amount_of_matched_text;

                        yy_current_state = yy_get_previous_state(  );

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

                        yy_next_state = yy_try_NUL_trans( yy_current_state );

                        yy_bp = (yytext_ptr) + YY_MORE_ADJ;

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

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

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

                                if ( 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_LVALUE->yy_ch_buf[(yy_n_chars)];

                                yy_current_state = yy_get_previous_state(  );

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

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

Here is the call graph for this function:

YY_BUFFER_STATE yy_create_buffer ( FILE *  file,
int  size 
)

Allocate and initialize an input buffer state.

Parameters:
fileA readable stream.
sizeThe character buffer size in bytes. When in doubt, use YY_BUF_SIZE.
Returns:
the allocated buffer state.

Definition at line 4536 of file lex.yy.c.

{
        YY_BUFFER_STATE b;

        b = (YY_BUFFER_STATE) yyalloc(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 *) yyalloc(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;
}

Here is the call graph for this function:

Here is the caller graph for this function:

Destroy the buffer.

Parameters:
ba buffer created with yy_create_buffer()

Definition at line 4564 of file lex.yy.c.

{

        if ( ! b )
                return;

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

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

        yyfree((void *) b  );
}

Here is the call graph for this function:

Here is the caller graph for this function:

static void yy_fatal_error ( yyconst char  msg[]) [static]
static void yy_fatal_error ( yyconst char *  msg) [static]

Definition at line 4825 of file lex.yy.c.

{
            (void) fprintf( stderr, "%s\n", msg );
        exit( YY_EXIT_FAILURE );
}

Discard all buffered characters.

On the next scan, YY_INPUT will be called.

Parameters:
bthe buffer state to be flushed, usually YY_CURRENT_BUFFER.

Definition at line 4615 of file lex.yy.c.

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

Here is the call graph for this function:

Here is the caller graph for this function:

static int yy_get_next_buffer ( void  ) [static]

Definition at line 4158 of file lex.yy.c.

{
            register char *dest = YY_CURRENT_BUFFER_LVALUE->yy_ch_buf;
        register char *source = (yytext_ptr);
        register int number_to_move, i;
        int ret_val;

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

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

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

        /* Try to read more data. */

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

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

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

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

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

                        /* 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 )
                                {
                                yy_size_t 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. */
                                        yyrealloc((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_LVALUE->yy_buf_size -
                                                number_to_move - 1;

                        }

                if ( num_to_read > YY_READ_BUF_SIZE )
                        num_to_read = YY_READ_BUF_SIZE;

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

                YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars);
                }

        if ( (yy_n_chars) == 0 )
                {
                if ( number_to_move == YY_MORE_ADJ )
                        {
                        ret_val = EOB_ACT_END_OF_FILE;
                        yyrestart(yyin  );
                        }

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

        else
                ret_val = EOB_ACT_CONTINUE_SCAN;

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

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

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

        return ret_val;
}

Here is the call graph for this function:

Here is the caller graph for this function:

static yy_state_type yy_get_previous_state ( void  ) [static]

Definition at line 4292 of file lex.yy.c.

{
        register yy_state_type yy_current_state;
        register char *yy_cp;

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

        for ( yy_cp = (yytext_ptr) + YY_MORE_ADJ; yy_cp < (yy_c_buf_p); ++yy_cp )
                {
                register YY_CHAR yy_c = (*yy_cp ? yy_ec[YY_SC_TO_UI(*yy_cp)] : 1);
                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 >= 1956 )
                                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;
}

Here is the caller graph for this function:

static void yy_init_buffer ( YY_BUFFER_STATE  b,
FILE *  file 
) [static]

Definition at line 4587 of file lex.yy.c.

{
        int oerrno = errno;

        yy_flush_buffer(b );

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

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

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

        errno = oerrno;
}

Here is the call graph for this function:

Here is the caller graph for this function:

static int yy_init_globals ( void  ) [static]

Definition at line 4928 of file lex.yy.c.

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

    /* We do not touch yylineno unless the option is enabled. */
    yylineno =  1;

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

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

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

Here is the caller graph for this function:

static void yy_load_buffer_state ( void  ) [static]

Definition at line 4522 of file lex.yy.c.

Here is the caller graph for this function:

YY_BUFFER_STATE yy_scan_buffer ( char *  base,
yy_size_t  size 
)

Setup the input buffer state to scan directly from a user-specified character buffer.

Parameters:
basethe character buffer
sizethe size in bytes of the character buffer
Returns:
the newly allocated buffer state object.

Definition at line 4742 of file lex.yy.c.

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

Here is the call graph for this function:

Here is the caller graph for this function:

YY_BUFFER_STATE yy_scan_bytes ( yyconst char *  yybytes,
yy_size_t  _yybytes_len 
)

Setup the input buffer state to scan the given bytes.

The next call to yylex() will scan from a copy of bytes.

Parameters:
bytesthe byte buffer to scan
lenthe number of bytes in the buffer pointed to by bytes.
Returns:
the newly allocated buffer state object.

Definition at line 4792 of file lex.yy.c.

{
        YY_BUFFER_STATE b;
        char *buf;
        yy_size_t n, i;

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

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

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

        b = 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;
}

Here is the call graph for this function:

Here is the caller graph for this function:

Setup the input buffer state to scan a string.

The next call to yylex() will scan from a copy of str.

Parameters:
yystra NUL-terminated string to scan
Returns:
the newly allocated buffer state object.
Note:
If you want to scan bytes that may contain NUL values, then use yy_scan_bytes() instead.

Definition at line 4779 of file lex.yy.c.

{

        return yy_scan_bytes(yystr,strlen(yystr) );
}

Here is the call graph for this function:

Here is the caller graph for this function:

void yy_switch_to_buffer ( YY_BUFFER_STATE  new_buffer)

Switch to a different input buffer.

Parameters:
new_bufferThe new input buffer.

Definition at line 4491 of file lex.yy.c.

{

        /* TODO. We should be able to replace this entire function body
         * with
         *                yypop_buffer_state();
         *                yypush_buffer_state(new_buffer);
     */
        yyensure_buffer_stack ();
        if ( YY_CURRENT_BUFFER == new_buffer )
                return;

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

        YY_CURRENT_BUFFER_LVALUE = new_buffer;
        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;
}

Here is the call graph for this function:

Here is the caller graph for this function:

static yy_state_type yy_try_NUL_trans ( yy_state_type  current_state) [static]

Definition at line 4325 of file lex.yy.c.

{
        register int yy_is_jam;
            register char *yy_cp = (yy_c_buf_p);

        register YY_CHAR yy_c = 1;
        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 >= 1956 )
                        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 == 1955);

        return yy_is_jam ? 0 : yy_current_state;
}

Here is the caller graph for this function:

void * yyalloc ( yy_size_t  size)

Definition at line 5005 of file lex.yy.c.

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

Here is the caller graph for this function:

static void yyensure_buffer_stack ( void  ) [static]

Definition at line 4693 of file lex.yy.c.

{
        yy_size_t num_to_alloc;

        if (!(yy_buffer_stack)) {

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

                memset((yy_buffer_stack), 0, num_to_alloc * sizeof(struct yy_buffer_state*));

                (yy_buffer_stack_max) = num_to_alloc;
                (yy_buffer_stack_top) = 0;
                return;
        }

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

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

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

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

Here is the call graph for this function:

Here is the caller graph for this function:

void yyfree ( void *  ptr)

Definition at line 5022 of file lex.yy.c.

{
        free( (char *) ptr );        /* see yyrealloc() for (char *) cast */
}

Here is the caller graph for this function:

int yyget_debug ( void  )

Definition at line 4918 of file lex.yy.c.

{
        return yy_flex_debug;
}
FILE * yyget_in ( void  )

Get the input stream.

Definition at line 4862 of file lex.yy.c.

{
        return yyin;
}
yy_size_t yyget_leng ( void  )

Get the length of the current token.

Definition at line 4878 of file lex.yy.c.

{
        return yyleng;
}
int yyget_lineno ( void  )

Get the current line number.

Definition at line 4853 of file lex.yy.c.

{

    return yylineno;
}

Here is the caller graph for this function:

FILE * yyget_out ( void  )

Get the output stream.

Definition at line 4870 of file lex.yy.c.

{
        return yyout;
}
char * yyget_text ( void  )

Get the current token.

Definition at line 4887 of file lex.yy.c.

{
        return yytext;
}
int yylex ( void  )
int yylex_destroy ( void  )

Definition at line 4960 of file lex.yy.c.

{

    /* Pop the buffer stack, destroying each element. */
        while(YY_CURRENT_BUFFER){
                yy_delete_buffer(YY_CURRENT_BUFFER  );
                YY_CURRENT_BUFFER_LVALUE = NULL;
                yypop_buffer_state();
        }

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

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

    return 0;
}

Here is the call graph for this function:

Here is the caller graph for this function:

void yypop_buffer_state ( void  )

Removes and deletes the top of the stack, if present.

The next element becomes the new top.

Definition at line 4674 of file lex.yy.c.

Here is the call graph for this function:

Here is the caller graph for this function:

void yypush_buffer_state ( YY_BUFFER_STATE  new_buffer)

Pushes the new state onto the stack.

The new state becomes the current state. This function will allocate the stack if necessary.

Parameters:
new_bufferThe new state.

Definition at line 4644 of file lex.yy.c.

{
            if (new_buffer == NULL)
                return;

        yyensure_buffer_stack();

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

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

        /* copied from yy_switch_to_buffer. */
        yy_load_buffer_state( );
        (yy_did_buffer_switch_on_eof) = 1;
}

Here is the call graph for this function:

void * yyrealloc ( void *  ptr,
yy_size_t  size 
)

Definition at line 5010 of file lex.yy.c.

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

Here is the caller graph for this function:

void yyrestart ( FILE *  input_file)

Immediately switch to a different input stream.

Parameters:
input_fileA readable stream.
Note:
This function does not reset the start condition to INITIAL .

Definition at line 4474 of file lex.yy.c.

Here is the call graph for this function:

Here is the caller graph for this function:

void yyset_debug ( int  debug_flag)

Definition at line 4923 of file lex.yy.c.

{
        yy_flex_debug = bdebug ;
}
void yyset_extra ( YY_EXTRA_TYPE  user_defined)
void yyset_in ( FILE *  in_str)

Set the input stream.

This does not discard the current input buffer.

Parameters:
in_strA readable stream.
See also:
yy_switch_to_buffer

Definition at line 4908 of file lex.yy.c.

{
        yyin = in_str ;
}

Here is the caller graph for this function:

void yyset_lineno ( int  line_number)

Set the current line number.

Parameters:
line_number

Definition at line 4896 of file lex.yy.c.

{

    yylineno = line_number;
}
void yyset_out ( FILE *  out_str)

Definition at line 4913 of file lex.yy.c.

{
        yyout = out_str ;
}

Here is the caller graph for this function:

static void yyunput ( int  c,
char *  buf_ptr 
) [static]
static void yyunput ( int  c,
register char *  yy_bp 
) [static]

Definition at line 4348 of file lex.yy.c.

{
        register char *yy_cp;

    yy_cp = (yy_c_buf_p);

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

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

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

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

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

        *--yy_cp = (char) c;

    if ( c == '\n' ){
        --yylineno;
    }

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

Here is the call graph for this function:


Variable Documentation

YY_BUFFER_STATE* buffer_stack = NULL [static]

Definition at line 5404 of file lex.yy.c.

size_t buffer_stack_size = 0 [static]

Definition at line 5403 of file lex.yy.c.

yyconst flex_int16_t yy_accept[1956] [static]

Definition at line 385 of file lex.yy.c.

register int yy_act

Definition at line 2418 of file lex.yy.c.

yyconst flex_int16_t yy_base[2008] [static]

Definition at line 651 of file lex.yy.c.

register char * yy_bp

Definition at line 2417 of file lex.yy.c.

Stack as an array.

Definition at line 268 of file lex.yy.c.

size_t yy_buffer_stack_max = 0 [static]

capacity of stack.

Definition at line 267 of file lex.yy.c.

size_t yy_buffer_stack_top = 0 [static]

index of top of stack.

Definition at line 266 of file lex.yy.c.

char* yy_c_buf_p = (char *) 0 [static]

Definition at line 291 of file lex.yy.c.

yyconst flex_int16_t yy_chk[4697] [static]

Definition at line 1622 of file lex.yy.c.

register char* yy_cp

Definition at line 2417 of file lex.yy.c.

The main scanner function which does all the work.

Definition at line 2416 of file lex.yy.c.

yyconst flex_int16_t yy_def[2008] [static]

Definition at line 876 of file lex.yy.c.

Definition at line 298 of file lex.yy.c.

yyconst flex_int32_t yy_ec[256] [static]

Definition at line 604 of file lex.yy.c.

int yy_flex_debug = 0

Definition at line 2164 of file lex.yy.c.

char yy_hold_char [static]

Definition at line 286 of file lex.yy.c.

int yy_init = 0 [static]

Definition at line 292 of file lex.yy.c.

char* yy_last_accepting_cpos [static]

Definition at line 2161 of file lex.yy.c.

Definition at line 2160 of file lex.yy.c.

Initial value:
    {   0,
        1,    2,    3,    2,    2,    1,    1,    1,    1,    4,
        5,    1,    6,    4,    1,    1,    1,    7,    1,    8,
        8,    8,    8,    8,    8,    8,    8,    9,   10,    1,
        1,    1,    1,   11,   11,   11,   11,   11,   11,   11,
       11,   11,   11,   11,   11,   11,   11,   11,   11,   11,
       11,   11,   11,   11,   11,   11,   11,   11,   11,    1,
        1,    1,    1,   11,   11,   11,   11,   11,   11,   11,
       11,   11,   11,   11,   11,   11,   11,   11,   11,   11,
       11,   11,   11,   11,   11,   11,   11,   11,   11,   11,
        1

    }

Definition at line 636 of file lex.yy.c.

Definition at line 287 of file lex.yy.c.

yyconst flex_int16_t yy_nxt[4697] [static]

Definition at line 1101 of file lex.yy.c.

Initial value:
    {   0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 1, 1, 1, 1, 0, 1,
    1, 1, 1, 1, 1, 0, 0, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1,
    1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
    1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
    1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 0, 1, 1, 1, 1, 0, 0,
    0, 0, 0, 0, 0, 0, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
    0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
    0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
    0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
    0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0,
    0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 0, 0, 0,
    0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
    0, 0, 0, 0, 0, 0, 0, 0,     }

Definition at line 2144 of file lex.yy.c.

int yy_start = 0 [static]

Definition at line 293 of file lex.yy.c.

FILE * yyin = (FILE *) 0

Definition at line 350 of file lex.yy.c.

Definition at line 288 of file lex.yy.c.

int yylineno = 1

Definition at line 356 of file lex.yy.c.

FILE * yyout = (FILE *) 0

Definition at line 350 of file lex.yy.c.

char * yytext

Definition at line 2173 of file lex.yy.c.