Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/intern
diff options
context:
space:
mode:
authorChris Want <cwant@ualberta.ca>2006-03-30 18:23:25 +0400
committerChris Want <cwant@ualberta.ca>2006-03-30 18:23:25 +0400
commitd61be50bee5a889b4ebe4e5bac0b57453806273b (patch)
tree52fff4ac7e49be037d633faaab4ee796ee8654da /intern
parent6f4ff970913d0651fba69b46ab3e5749a06e6c78 (diff)
==Nothing to see here, move along==
Removing some outdated files from elbeem, as suggested by Nils. (Compiles OK without them.)
Diffstat (limited to 'intern')
-rw-r--r--intern/elbeem/intern/cfglexer.cpp2576
-rw-r--r--intern/elbeem/intern/cfgparser.cpp2436
-rw-r--r--intern/elbeem/intern/cfgparser.h263
3 files changed, 0 insertions, 5275 deletions
diff --git a/intern/elbeem/intern/cfglexer.cpp b/intern/elbeem/intern/cfglexer.cpp
deleted file mode 100644
index 2d99e429b60..00000000000
--- a/intern/elbeem/intern/cfglexer.cpp
+++ /dev/null
@@ -1,2576 +0,0 @@
-
-#line 3 "<stdout>"
-
-#define YY_INT_ALIGNED short int
-
-/* A lexical scanner generated by flex */
-
-#define FLEX_SCANNER
-#define YY_FLEX_MAJOR_VERSION 2
-#define YY_FLEX_MINOR_VERSION 5
-#define YY_FLEX_SUBMINOR_VERSION 31
-#if YY_FLEX_SUBMINOR_VERSION > 0
-#define FLEX_BETA
-#endif
-
-/* First, we deal with platform-specific or compiler-specific issues. */
-
-/* begin standard C headers. */
-#include <stdio.h>
-#include <string.h>
-#include <errno.h>
-#include <stdlib.h>
-
-/* end standard C headers. */
-
-/* flex integer type definitions */
-
-#ifndef FLEXINT_H
-#define FLEXINT_H
-
-/* C99 systems have <inttypes.h>. Non-C99 systems may or may not. */
-
-#if defined __STDC_VERSION__ && __STDC_VERSION__ >= 199901L
-#include <inttypes.h>
-typedef int8_t flex_int8_t;
-typedef uint8_t flex_uint8_t;
-typedef int16_t flex_int16_t;
-typedef uint16_t flex_uint16_t;
-typedef int32_t flex_int32_t;
-typedef uint32_t flex_uint32_t;
-#else
-typedef signed char flex_int8_t;
-typedef short int flex_int16_t;
-typedef int flex_int32_t;
-typedef unsigned char flex_uint8_t;
-typedef unsigned short int flex_uint16_t;
-typedef unsigned int flex_uint32_t;
-#endif /* ! C99 */
-
-/* Limits of integral types. */
-#ifndef INT8_MIN
-#define INT8_MIN (-128)
-#endif
-#ifndef INT16_MIN
-#define INT16_MIN (-32767-1)
-#endif
-#ifndef INT32_MIN
-#define INT32_MIN (-2147483647-1)
-#endif
-#ifndef INT8_MAX
-#define INT8_MAX (127)
-#endif
-#ifndef INT16_MAX
-#define INT16_MAX (32767)
-#endif
-#ifndef INT32_MAX
-#define INT32_MAX (2147483647)
-#endif
-#ifndef UINT8_MAX
-#define UINT8_MAX (255U)
-#endif
-#ifndef UINT16_MAX
-#define UINT16_MAX (65535U)
-#endif
-#ifndef UINT32_MAX
-#define UINT32_MAX (4294967295U)
-#endif
-
-#endif /* ! FLEXINT_H */
-
-#ifdef __cplusplus
-
-/* The "const" storage-class-modifier is valid. */
-#define YY_USE_CONST
-
-#else /* ! __cplusplus */
-
-#if __STDC__
-
-#define YY_USE_CONST
-
-#endif /* __STDC__ */
-#endif /* ! __cplusplus */
-
-#ifdef YY_USE_CONST
-#define yyconst const
-#else
-#define yyconst
-#endif
-
-/* Returned upon end-of-file. */
-#define YY_NULL 0
-
-/* Promotes a possibly negative, possibly signed char to an unsigned
- * integer for use as an array index. If the signed char is negative,
- * we want to instead treat it as an 8-bit unsigned char, hence the
- * double cast.
- */
-#define YY_SC_TO_UI(c) ((unsigned int) (unsigned char) c)
-
-/* Enter a start condition. This macro really ought to take a parameter,
- * but we do it the disgusting crufty way forced on us by the ()-less
- * definition of BEGIN.
- */
-#define BEGIN (yy_start) = 1 + 2 *
-
-/* Translate the current start state into a value that can be later handed
- * to BEGIN to return to the state. The YYSTATE alias is for lex
- * compatibility.
- */
-#define YY_START (((yy_start) - 1) / 2)
-#define YYSTATE YY_START
-
-/* Action number for EOF rule of a given start state. */
-#define YY_STATE_EOF(state) (YY_END_OF_BUFFER + state + 1)
-
-/* Special action meaning "start processing a new file". */
-#define YY_NEW_FILE yy_restart(yy_in )
-
-#define YY_END_OF_BUFFER_CHAR 0
-
-/* Size of default input buffer. */
-#ifndef YY_BUF_SIZE
-#define YY_BUF_SIZE 16384
-#endif
-
-#ifndef YY_TYPEDEF_YY_BUFFER_STATE
-#define YY_TYPEDEF_YY_BUFFER_STATE
-typedef struct yy_buffer_state *YY_BUFFER_STATE;
-#endif
-
-extern int yy_leng;
-
-extern FILE *yy_in, *yy_out;
-
-#define EOB_ACT_CONTINUE_SCAN 0
-#define EOB_ACT_END_OF_FILE 1
-#define EOB_ACT_LAST_MATCH 2
-
- #define YY_LESS_LINENO(n)
-
-/* Return all but the first "n" matched characters back to the input stream. */
-#define yyless(n) \
- do \
- { \
- /* Undo effects of setting up yy_text. */ \
- int yyless_macro_arg = (n); \
- YY_LESS_LINENO(yyless_macro_arg);\
- *yy_cp = (yy_hold_char); \
- YY_RESTORE_YY_MORE_OFFSET \
- (yy_c_buf_p) = yy_cp = yy_bp + yyless_macro_arg - YY_MORE_ADJ; \
- YY_DO_BEFORE_ACTION; /* set up yy_text again */ \
- } \
- while ( 0 )
-
-#define unput(c) yyunput( c, (yytext_ptr) )
-
-/* The following is because we cannot portably get our hands on size_t
- * (without autoconf's help, which isn't available because we want
- * flex-generated scanners to compile on their own).
- */
-
-#ifndef YY_TYPEDEF_YY_SIZE_T
-#define YY_TYPEDEF_YY_SIZE_T
-typedef unsigned int yy_size_t;
-#endif
-
-#ifndef YY_STRUCT_YY_BUFFER_STATE
-#define YY_STRUCT_YY_BUFFER_STATE
-struct yy_buffer_state
- {
- FILE *yy_input_file;
-
- char *yy_ch_buf; /* input buffer */
- char *yy_buf_pos; /* current position in input buffer */
-
- /* Size of input buffer in bytes, not including room for EOB
- * characters.
- */
- yy_size_t yy_buf_size;
-
- /* Number of characters read into yy_ch_buf, not including EOB
- * characters.
- */
- int yy_n_chars;
-
- /* Whether we "own" the buffer - i.e., we know we created it,
- * and can realloc() it to grow it, and should free() it to
- * delete it.
- */
- int yy_is_our_buffer;
-
- /* Whether this is an "interactive" input source; if so, and
- * if we're using stdio for input, then we want to use getc()
- * instead of fread(), to make sure we stop fetching input after
- * each newline.
- */
- int yy_is_interactive;
-
- /* Whether we're considered to be at the beginning of a line.
- * If so, '^' rules will be active on the next match, otherwise
- * not.
- */
- int yy_at_bol;
-
- int yy_bs_lineno; /**< The line count. */
- int yy_bs_column; /**< The column count. */
-
- /* Whether to try to fill the input buffer when we reach the
- * end of it.
- */
- int yy_fill_buffer;
-
- int yy_buffer_status;
-
-#define YY_BUFFER_NEW 0
-#define YY_BUFFER_NORMAL 1
- /* When an EOF's been seen but there's still some text to process
- * then we mark the buffer as YY_EOF_PENDING, to indicate that we
- * shouldn't try reading from the input source any more. We might
- * still have a bunch of tokens to match, though, because of
- * possible backing-up.
- *
- * When we actually see the EOF, we change the status to "new"
- * (via yy_restart()), so that the user can continue scanning by
- * just pointing yy_in at a new input file.
- */
-#define YY_BUFFER_EOF_PENDING 2
-
- };
-#endif /* !YY_STRUCT_YY_BUFFER_STATE */
-
-/* Stack of input buffers. */
-static size_t yy_buffer_stack_top = 0; /**< index of top of stack. */
-static size_t yy_buffer_stack_max = 0; /**< capacity of stack. */
-static YY_BUFFER_STATE * yy_buffer_stack = 0; /**< Stack as an array. */
-
-/* We provide macros for accessing buffer states in case in the
- * future we want to put the buffer states in a more general
- * "scanner state".
- *
- * Returns the top of the stack, or NULL.
- */
-#define YY_CURRENT_BUFFER ( (yy_buffer_stack) \
- ? (yy_buffer_stack)[(yy_buffer_stack_top)] \
- : NULL)
-
-/* Same as previous macro, but useful when we know that the buffer stack is not
- * NULL or when we need an lvalue. For internal use only.
- */
-#define YY_CURRENT_BUFFER_LVALUE (yy_buffer_stack)[(yy_buffer_stack_top)]
-
-/* yy_hold_char holds the character lost when yy_text is formed. */
-static char yy_hold_char;
-static int yy_n_chars; /* number of characters read into yy_ch_buf */
-int yy_leng;
-
-/* Points to current character in buffer. */
-static char *yy_c_buf_p = (char *) 0;
-static int yy_init = 1; /* whether we need to initialize */
-static int yy_start = 0; /* start state number */
-
-/* Flag which is used to allow yy_wrap()'s to do buffer switches
- * instead of setting up a fresh yy_in. A bit of a hack ...
- */
-static int yy_did_buffer_switch_on_eof;
-
-void yy_restart (FILE *input_file );
-void yy__switch_to_buffer (YY_BUFFER_STATE new_buffer );
-YY_BUFFER_STATE yy__create_buffer (FILE *file,int size );
-void yy__delete_buffer (YY_BUFFER_STATE b );
-void yy__flush_buffer (YY_BUFFER_STATE b );
-void yy_push_buffer_state (YY_BUFFER_STATE new_buffer );
-void yy_pop_buffer_state (void );
-
-static void yy_ensure_buffer_stack (void );
-static void yy__load_buffer_state (void );
-static void yy__init_buffer (YY_BUFFER_STATE b,FILE *file );
-
-#define YY_FLUSH_BUFFER yy__flush_buffer(YY_CURRENT_BUFFER )
-
-YY_BUFFER_STATE yy__scan_buffer (char *base,yy_size_t size );
-YY_BUFFER_STATE yy__scan_string (yyconst char *yy_str );
-YY_BUFFER_STATE yy__scan_bytes (yyconst char *bytes,int len );
-
-void *yy_alloc (yy_size_t );
-void *yy_realloc (void *,yy_size_t );
-void yy_free (void * );
-
-#define yy_new_buffer yy__create_buffer
-
-#define yy_set_interactive(is_interactive) \
- { \
- if ( ! YY_CURRENT_BUFFER ){ \
- yy_ensure_buffer_stack (); \
- YY_CURRENT_BUFFER_LVALUE = \
- yy__create_buffer(yy_in,YY_BUF_SIZE ); \
- } \
- YY_CURRENT_BUFFER_LVALUE->yy_is_interactive = is_interactive; \
- }
-
-#define yy_set_bol(at_bol) \
- { \
- if ( ! YY_CURRENT_BUFFER ){\
- yy_ensure_buffer_stack (); \
- YY_CURRENT_BUFFER_LVALUE = \
- yy__create_buffer(yy_in,YY_BUF_SIZE ); \
- } \
- YY_CURRENT_BUFFER_LVALUE->yy_at_bol = at_bol; \
- }
-
-#define YY_AT_BOL() (YY_CURRENT_BUFFER_LVALUE->yy_at_bol)
-
-typedef unsigned char YY_CHAR;
-
-FILE *yy_in = (FILE *) 0, *yy_out = (FILE *) 0;
-
-typedef int yy_state_type;
-
-extern int yy_lineno;
-
-int yy_lineno = 1;
-
-extern char *yy_text;
-#define yytext_ptr yy_text
-
-static yy_state_type yy_get_previous_state (void );
-static yy_state_type yy_try_NUL_trans (yy_state_type current_state );
-static int yy_get_next_buffer (void );
-static void yy_fatal_error (yyconst char msg[] );
-
-/* Done after the current pattern has been matched and before the
- * corresponding action - sets up yy_text.
- */
-#define YY_DO_BEFORE_ACTION \
- (yytext_ptr) = yy_bp; \
- yy_leng = (size_t) (yy_cp - yy_bp); \
- (yy_hold_char) = *yy_cp; \
- *yy_cp = '\0'; \
- (yy_c_buf_p) = yy_cp;
-
-#define YY_NUM_RULES 98
-#define YY_END_OF_BUFFER 99
-/* This struct is not used in this scanner,
- but its presence is necessary. */
-struct yy_trans_info
- {
- flex_int32_t yy_verify;
- flex_int32_t yy_nxt;
- };
-static yyconst flex_int16_t yy_accept[566] =
- { 0,
- 0, 0, 0, 0, 6, 6, 99, 97, 97, 95,
- 96, 97, 93, 97, 97, 97, 89, 97, 97, 97,
- 97, 97, 97, 97, 97, 97, 97, 97, 97, 97,
- 97, 97, 97, 97, 97, 1, 2, 97, 96, 4,
- 3, 6, 6, 6, 6, 7, 1, 2, 0, 1,
- 2, 0, 93, 0, 89, 90, 94, 92, 89, 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,
- 85, 0, 0, 0, 0, 0, 0, 0, 0, 0,
-
- 0, 0, 0, 0, 0, 1, 2, 0, 3, 4,
- 3, 6, 6, 5, 6, 6, 6, 91, 92, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 45, 0,
- 0, 0, 0, 0, 0, 0, 0, 52, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 86, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 6,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
-
- 0, 0, 18, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 64, 0, 0, 0, 76, 0, 0,
- 53, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 87, 44, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 63, 0,
- 0, 79, 0, 0, 0, 0, 0, 0, 0, 88,
- 0, 0, 0, 0, 0, 0, 0, 0, 75, 0,
- 0, 0, 0, 0, 0, 0, 0, 62, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 51, 0,
- 0, 0, 17, 0, 0, 77, 0, 0, 0, 0,
-
- 19, 0, 0, 0, 0, 0, 78, 0, 0, 0,
- 0, 40, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 60, 0, 16, 0, 0, 68, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 46, 0, 0, 0, 0, 56, 0, 65, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 66, 0, 0, 0, 0, 0, 73, 0,
- 0, 0, 0, 0, 0, 0, 0, 54, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 50, 0, 0, 22, 0, 0, 0, 0, 0,
-
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 15,
- 59, 26, 8, 0, 43, 0, 61, 0, 0, 0,
- 47, 0, 80, 0, 0, 0, 0, 0, 0, 67,
- 35, 0, 0, 0, 0, 0, 0, 23, 0, 14,
- 39, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 10, 0, 0, 0, 25, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 83, 0, 0, 0, 0,
- 0, 0, 0, 38, 21, 0, 0, 0, 0, 0,
- 0, 9, 11, 34, 0, 74, 58, 0, 0, 0,
- 36, 12, 0, 0, 0, 13, 0, 0, 0, 0,
-
- 0, 0, 0, 0, 37, 48, 0, 0, 84, 0,
- 41, 31, 57, 55, 0, 70, 0, 0, 0, 72,
- 0, 0, 0, 20, 24, 0, 0, 0, 0, 0,
- 0, 0, 0, 69, 32, 0, 0, 0, 0, 0,
- 0, 0, 0, 30, 71, 0, 0, 0, 81, 0,
- 0, 49, 27, 0, 0, 0, 82, 0, 0, 28,
- 29, 0, 33, 42, 0
- } ;
-
-static yyconst flex_int32_t yy_ec[256] =
- { 0,
- 1, 1, 1, 1, 1, 1, 1, 1, 2, 3,
- 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
- 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
- 1, 4, 1, 5, 6, 1, 1, 1, 1, 1,
- 1, 7, 8, 1, 9, 10, 11, 12, 12, 12,
- 12, 12, 12, 12, 12, 12, 12, 13, 14, 1,
- 15, 1, 1, 1, 18, 19, 20, 21, 22, 23,
- 24, 25, 26, 27, 28, 29, 30, 31, 32, 33,
- 34, 35, 36, 37, 38, 39, 40, 41, 42, 34,
- 1, 16, 1, 1, 17, 1, 18, 19, 20, 21,
-
- 22, 23, 24, 25, 26, 27, 28, 29, 30, 31,
- 32, 33, 34, 35, 36, 37, 38, 39, 40, 41,
- 42, 34, 43, 1, 44, 1, 1, 1, 1, 1,
- 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
- 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
- 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
- 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
- 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
- 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
- 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
-
- 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
- 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
- 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
- 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
- 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
- 1, 1, 1, 1, 1
- } ;
-
-static yyconst flex_int32_t yy_meta[45] =
- { 0,
- 1, 2, 3, 4, 1, 1, 1, 5, 5, 6,
- 5, 6, 5, 2, 1, 5, 6, 6, 6, 6,
- 6, 6, 6, 6, 6, 6, 6, 6, 6, 6,
- 6, 6, 6, 6, 6, 6, 6, 6, 6, 6,
- 6, 6, 1, 1
- } ;
-
-static yyconst flex_int16_t yy_base[575] =
- { 0,
- 0, 0, 44, 0, 87, 130, 713, 714, 95, 714,
- 102, 0, 0, 84, 700, 96, 90, 85, 91, 92,
- 86, 83, 122, 689, 82, 85, 101, 111, 133, 118,
- 137, 128, 125, 677, 136, 124, 166, 167, 173, 0,
- 174, 0, 704, 177, 173, 714, 181, 185, 188, 191,
- 192, 703, 0, 695, 187, 694, 714, 0, 188, 668,
- 685, 175, 670, 665, 681, 180, 659, 167, 178, 190,
- 192, 678, 676, 668, 667, 657, 655, 200, 661, 653,
- 659, 666, 657, 182, 653, 657, 656, 658, 661, 652,
- 714, 660, 649, 191, 638, 205, 661, 199, 660, 641,
-
- 208, 643, 636, 639, 637, 231, 235, 236, 240, 0,
- 241, 0, 667, 666, 245, 0, 246, 714, 0, 644,
- 643, 229, 642, 645, 631, 637, 633, 632, 714, 625,
- 625, 628, 626, 620, 631, 627, 632, 714, 621, 617,
- 630, 625, 608, 619, 612, 617, 624, 609, 619, 615,
- 620, 606, 605, 617, 222, 608, 714, 611, 605, 604,
- 592, 607, 595, 609, 595, 608, 596, 606, 606, 603,
- 589, 586, 591, 599, 598, 597, 596, 580, 590, 252,
- 576, 592, 578, 575, 593, 590, 583, 584, 586, 575,
- 569, 567, 229, 585, 578, 570, 578, 561, 566, 575,
-
- 227, 575, 714, 573, 563, 571, 557, 553, 553, 571,
- 553, 569, 554, 714, 553, 562, 551, 714, 558, 557,
- 556, 542, 543, 551, 558, 553, 545, 541, 534, 536,
- 533, 539, 532, 537, 714, 714, 546, 543, 545, 541,
- 531, 543, 542, 530, 521, 538, 521, 533, 714, 529,
- 527, 714, 517, 516, 239, 528, 529, 512, 521, 714,
- 514, 527, 515, 507, 520, 504, 503, 504, 714, 501,
- 511, 494, 500, 505, 498, 511, 502, 714, 498, 503,
- 510, 488, 506, 490, 486, 483, 493, 499, 714, 488,
- 244, 501, 714, 477, 488, 714, 479, 485, 479, 487,
-
- 714, 474, 479, 475, 491, 488, 714, 485, 484, 473,
- 478, 486, 465, 479, 469, 478, 468, 478, 468, 466,
- 459, 714, 470, 714, 474, 470, 714, 448, 452, 466,
- 469, 455, 453, 464, 461, 456, 461, 443, 449, 460,
- 714, 456, 249, 458, 434, 714, 452, 444, 450, 434,
- 452, 432, 430, 449, 445, 245, 436, 425, 442, 421,
- 443, 425, 714, 422, 436, 435, 426, 429, 714, 412,
- 435, 423, 429, 426, 423, 419, 410, 714, 415, 419,
- 408, 412, 424, 415, 422, 404, 416, 416, 399, 400,
- 252, 714, 408, 238, 714, 397, 410, 400, 393, 397,
-
- 393, 402, 246, 407, 403, 402, 401, 385, 395, 714,
- 714, 714, 714, 387, 714, 399, 714, 385, 385, 396,
- 714, 378, 714, 383, 388, 391, 373, 378, 376, 714,
- 714, 382, 387, 384, 383, 369, 379, 714, 376, 714,
- 365, 379, 362, 358, 362, 364, 377, 359, 363, 363,
- 714, 362, 353, 369, 714, 366, 350, 355, 363, 349,
- 359, 364, 359, 344, 348, 359, 340, 344, 344, 341,
- 347, 347, 341, 714, 714, 335, 333, 350, 330, 333,
- 343, 714, 714, 714, 329, 714, 714, 338, 326, 325,
- 714, 714, 339, 318, 321, 714, 331, 330, 326, 334,
-
- 316, 334, 314, 328, 714, 714, 328, 316, 714, 316,
- 320, 714, 714, 714, 313, 714, 318, 325, 303, 714,
- 319, 315, 305, 714, 714, 261, 299, 300, 300, 278,
- 297, 277, 290, 714, 714, 287, 280, 268, 256, 254,
- 252, 252, 251, 714, 714, 256, 248, 231, 714, 228,
- 197, 714, 714, 207, 167, 149, 714, 150, 106, 714,
- 714, 101, 714, 714, 714, 294, 297, 303, 89, 309,
- 315, 321, 327, 333
- } ;
-
-static yyconst flex_int16_t yy_def[575] =
- { 0,
- 565, 1, 565, 3, 566, 566, 565, 565, 565, 565,
- 565, 567, 568, 565, 565, 565, 565, 565, 565, 565,
- 565, 565, 565, 565, 565, 565, 565, 565, 565, 565,
- 565, 565, 565, 565, 565, 565, 565, 565, 565, 569,
- 565, 570, 571, 572, 570, 565, 570, 570, 565, 565,
- 565, 567, 568, 565, 565, 565, 565, 573, 565, 565,
- 565, 565, 565, 565, 565, 565, 565, 565, 565, 565,
- 565, 565, 565, 565, 565, 565, 565, 565, 565, 565,
- 565, 565, 565, 565, 565, 565, 565, 565, 565, 565,
- 565, 565, 565, 565, 565, 565, 565, 565, 565, 565,
-
- 565, 565, 565, 565, 565, 565, 565, 565, 565, 569,
- 565, 570, 571, 571, 572, 570, 574, 565, 573, 565,
- 565, 565, 565, 565, 565, 565, 565, 565, 565, 565,
- 565, 565, 565, 565, 565, 565, 565, 565, 565, 565,
- 565, 565, 565, 565, 565, 565, 565, 565, 565, 565,
- 565, 565, 565, 565, 565, 565, 565, 565, 565, 565,
- 565, 565, 565, 565, 565, 565, 565, 565, 565, 565,
- 565, 565, 565, 565, 565, 565, 565, 565, 565, 574,
- 565, 565, 565, 565, 565, 565, 565, 565, 565, 565,
- 565, 565, 565, 565, 565, 565, 565, 565, 565, 565,
-
- 565, 565, 565, 565, 565, 565, 565, 565, 565, 565,
- 565, 565, 565, 565, 565, 565, 565, 565, 565, 565,
- 565, 565, 565, 565, 565, 565, 565, 565, 565, 565,
- 565, 565, 565, 565, 565, 565, 565, 565, 565, 565,
- 565, 565, 565, 565, 565, 565, 565, 565, 565, 565,
- 565, 565, 565, 565, 565, 565, 565, 565, 565, 565,
- 565, 565, 565, 565, 565, 565, 565, 565, 565, 565,
- 565, 565, 565, 565, 565, 565, 565, 565, 565, 565,
- 565, 565, 565, 565, 565, 565, 565, 565, 565, 565,
- 565, 565, 565, 565, 565, 565, 565, 565, 565, 565,
-
- 565, 565, 565, 565, 565, 565, 565, 565, 565, 565,
- 565, 565, 565, 565, 565, 565, 565, 565, 565, 565,
- 565, 565, 565, 565, 565, 565, 565, 565, 565, 565,
- 565, 565, 565, 565, 565, 565, 565, 565, 565, 565,
- 565, 565, 565, 565, 565, 565, 565, 565, 565, 565,
- 565, 565, 565, 565, 565, 565, 565, 565, 565, 565,
- 565, 565, 565, 565, 565, 565, 565, 565, 565, 565,
- 565, 565, 565, 565, 565, 565, 565, 565, 565, 565,
- 565, 565, 565, 565, 565, 565, 565, 565, 565, 565,
- 565, 565, 565, 565, 565, 565, 565, 565, 565, 565,
-
- 565, 565, 565, 565, 565, 565, 565, 565, 565, 565,
- 565, 565, 565, 565, 565, 565, 565, 565, 565, 565,
- 565, 565, 565, 565, 565, 565, 565, 565, 565, 565,
- 565, 565, 565, 565, 565, 565, 565, 565, 565, 565,
- 565, 565, 565, 565, 565, 565, 565, 565, 565, 565,
- 565, 565, 565, 565, 565, 565, 565, 565, 565, 565,
- 565, 565, 565, 565, 565, 565, 565, 565, 565, 565,
- 565, 565, 565, 565, 565, 565, 565, 565, 565, 565,
- 565, 565, 565, 565, 565, 565, 565, 565, 565, 565,
- 565, 565, 565, 565, 565, 565, 565, 565, 565, 565,
-
- 565, 565, 565, 565, 565, 565, 565, 565, 565, 565,
- 565, 565, 565, 565, 565, 565, 565, 565, 565, 565,
- 565, 565, 565, 565, 565, 565, 565, 565, 565, 565,
- 565, 565, 565, 565, 565, 565, 565, 565, 565, 565,
- 565, 565, 565, 565, 565, 565, 565, 565, 565, 565,
- 565, 565, 565, 565, 565, 565, 565, 565, 565, 565,
- 565, 565, 565, 565, 0, 565, 565, 565, 565, 565,
- 565, 565, 565, 565
- } ;
-
-static yyconst flex_int16_t yy_nxt[759] =
- { 0,
- 8, 9, 10, 11, 12, 13, 8, 8, 14, 15,
- 16, 17, 8, 8, 8, 8, 8, 18, 19, 20,
- 21, 22, 23, 24, 8, 25, 8, 8, 26, 27,
- 28, 29, 30, 8, 31, 32, 33, 34, 35, 8,
- 8, 8, 36, 37, 8, 38, 10, 39, 8, 13,
- 8, 8, 8, 40, 16, 40, 8, 8, 41, 8,
- 40, 40, 40, 40, 40, 40, 40, 40, 40, 40,
- 40, 40, 40, 40, 40, 40, 40, 40, 40, 40,
- 40, 40, 40, 40, 40, 40, 36, 37, 9, 10,
- 11, 43, 44, 54, 110, 55, 49, 45, 49, 54,
-
- 46, 59, 57, 49, 60, 49, 58, 70, 65, 68,
- 82, 71, 80, 72, 61, 62, 83, 81, 84, 66,
- 63, 64, 67, 69, 73, 106, 85, 106, 86, 47,
- 48, 9, 10, 11, 43, 44, 564, 50, 51, 74,
- 45, 563, 93, 46, 50, 51, 100, 75, 87, 94,
- 76, 88, 97, 77, 95, 89, 78, 104, 96, 101,
- 98, 105, 90, 91, 99, 92, 102, 107, 108, 107,
- 108, 562, 47, 48, 108, 111, 108, 111, 53, 116,
- 53, 109, 106, 117, 106, 561, 107, 109, 107, 49,
- 53, 49, 106, 107, 106, 107, 54, 54, 55, 59,
-
- 122, 127, 130, 560, 131, 128, 132, 133, 134, 50,
- 51, 123, 135, 136, 137, 50, 51, 144, 151, 161,
- 169, 145, 152, 170, 164, 173, 162, 165, 559, 174,
- 50, 51, 106, 558, 106, 166, 107, 108, 107, 108,
- 167, 111, 111, 111, 111, 175, 53, 119, 53, 119,
- 109, 183, 557, 119, 215, 119, 261, 262, 53, 119,
- 216, 343, 556, 252, 184, 119, 253, 309, 310, 388,
- 401, 311, 435, 438, 439, 447, 344, 402, 50, 51,
- 403, 537, 448, 555, 554, 389, 553, 552, 436, 551,
- 550, 549, 548, 538, 42, 42, 42, 42, 42, 42,
-
- 52, 52, 52, 53, 53, 547, 53, 53, 53, 112,
- 546, 545, 544, 112, 112, 113, 543, 542, 541, 113,
- 113, 115, 115, 540, 115, 115, 115, 119, 119, 539,
- 119, 119, 119, 180, 180, 536, 180, 180, 180, 535,
- 534, 533, 532, 531, 530, 529, 528, 527, 526, 525,
- 524, 523, 522, 521, 520, 519, 518, 517, 516, 515,
- 514, 513, 512, 511, 510, 509, 508, 507, 506, 505,
- 504, 503, 502, 501, 500, 499, 498, 497, 496, 495,
- 494, 493, 492, 491, 490, 489, 488, 487, 486, 485,
- 484, 483, 482, 481, 480, 479, 478, 477, 476, 475,
-
- 474, 473, 472, 471, 470, 469, 468, 467, 466, 465,
- 464, 463, 462, 461, 460, 459, 458, 457, 456, 455,
- 454, 453, 452, 451, 450, 449, 446, 445, 444, 443,
- 442, 441, 440, 437, 434, 433, 432, 431, 430, 429,
- 428, 427, 426, 425, 424, 423, 422, 421, 420, 419,
- 418, 417, 416, 415, 414, 413, 412, 411, 410, 409,
- 408, 407, 406, 405, 404, 400, 399, 398, 397, 396,
- 395, 394, 393, 392, 391, 390, 387, 386, 385, 384,
- 383, 382, 381, 380, 379, 378, 377, 376, 375, 374,
- 373, 372, 371, 370, 369, 368, 367, 366, 365, 364,
-
- 363, 362, 361, 360, 359, 358, 357, 356, 355, 354,
- 353, 352, 351, 350, 349, 348, 347, 346, 345, 342,
- 341, 340, 339, 338, 337, 336, 335, 334, 333, 332,
- 331, 330, 329, 328, 327, 326, 325, 324, 323, 322,
- 321, 320, 319, 318, 317, 316, 315, 314, 313, 312,
- 308, 307, 306, 305, 304, 303, 302, 301, 300, 299,
- 298, 297, 296, 295, 294, 293, 292, 291, 290, 289,
- 288, 287, 286, 285, 284, 283, 282, 281, 280, 279,
- 278, 277, 276, 275, 274, 273, 272, 271, 270, 269,
- 268, 267, 266, 265, 264, 263, 260, 259, 258, 257,
-
- 256, 255, 254, 251, 250, 249, 248, 247, 246, 245,
- 244, 243, 242, 241, 240, 239, 238, 237, 236, 235,
- 234, 233, 232, 231, 230, 229, 228, 227, 226, 225,
- 224, 223, 222, 221, 220, 219, 218, 217, 214, 213,
- 212, 211, 210, 209, 208, 207, 206, 205, 204, 203,
- 202, 201, 200, 199, 198, 197, 196, 195, 194, 193,
- 192, 191, 190, 189, 188, 187, 186, 185, 182, 181,
- 114, 114, 179, 178, 177, 176, 172, 171, 168, 163,
- 160, 159, 158, 157, 156, 155, 154, 153, 150, 149,
- 148, 147, 146, 143, 142, 141, 140, 139, 138, 129,
-
- 126, 125, 124, 121, 120, 56, 56, 118, 114, 103,
- 79, 56, 565, 7, 565, 565, 565, 565, 565, 565,
- 565, 565, 565, 565, 565, 565, 565, 565, 565, 565,
- 565, 565, 565, 565, 565, 565, 565, 565, 565, 565,
- 565, 565, 565, 565, 565, 565, 565, 565, 565, 565,
- 565, 565, 565, 565, 565, 565, 565, 565
- } ;
-
-static yyconst flex_int16_t yy_chk[759] =
- { 0,
- 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
- 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
- 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
- 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
- 1, 1, 1, 1, 3, 3, 3, 3, 3, 3,
- 3, 3, 3, 3, 3, 3, 3, 3, 3, 3,
- 3, 3, 3, 3, 3, 3, 3, 3, 3, 3,
- 3, 3, 3, 3, 3, 3, 3, 3, 3, 3,
- 3, 3, 3, 3, 3, 3, 3, 3, 5, 5,
- 5, 5, 5, 14, 569, 14, 9, 5, 9, 17,
-
- 5, 17, 16, 11, 18, 11, 16, 21, 19, 20,
- 26, 21, 25, 22, 18, 18, 26, 25, 27, 19,
- 18, 18, 19, 20, 22, 36, 27, 36, 28, 5,
- 5, 6, 6, 6, 6, 6, 562, 9, 9, 23,
- 6, 559, 30, 6, 11, 11, 33, 23, 28, 30,
- 23, 29, 32, 23, 31, 29, 23, 35, 31, 33,
- 32, 35, 29, 29, 32, 29, 33, 37, 38, 37,
- 38, 558, 6, 6, 39, 41, 39, 41, 44, 45,
- 44, 38, 47, 45, 47, 556, 48, 39, 48, 49,
- 44, 49, 50, 51, 50, 51, 55, 59, 55, 59,
-
- 62, 66, 68, 555, 68, 66, 69, 69, 70, 38,
- 38, 62, 70, 71, 71, 39, 39, 78, 84, 94,
- 98, 78, 84, 98, 96, 101, 94, 96, 554, 101,
- 49, 49, 106, 551, 106, 96, 107, 108, 107, 108,
- 96, 109, 111, 109, 111, 101, 115, 117, 115, 117,
- 108, 122, 550, 180, 155, 180, 201, 201, 115, 117,
- 155, 291, 548, 193, 122, 180, 193, 255, 255, 343,
- 356, 255, 391, 394, 394, 403, 291, 356, 108, 108,
- 356, 526, 403, 547, 546, 343, 543, 542, 391, 541,
- 540, 539, 538, 526, 566, 566, 566, 566, 566, 566,
-
- 567, 567, 567, 568, 568, 537, 568, 568, 568, 570,
- 536, 533, 532, 570, 570, 571, 531, 530, 529, 571,
- 571, 572, 572, 528, 572, 572, 572, 573, 573, 527,
- 573, 573, 573, 574, 574, 523, 574, 574, 574, 522,
- 521, 519, 518, 517, 515, 511, 510, 508, 507, 504,
- 503, 502, 501, 500, 499, 498, 497, 495, 494, 493,
- 490, 489, 488, 485, 481, 480, 479, 478, 477, 476,
- 473, 472, 471, 470, 469, 468, 467, 466, 465, 464,
- 463, 462, 461, 460, 459, 458, 457, 456, 454, 453,
- 452, 450, 449, 448, 447, 446, 445, 444, 443, 442,
-
- 441, 439, 437, 436, 435, 434, 433, 432, 429, 428,
- 427, 426, 425, 424, 422, 420, 419, 418, 416, 414,
- 409, 408, 407, 406, 405, 404, 402, 401, 400, 399,
- 398, 397, 396, 393, 390, 389, 388, 387, 386, 385,
- 384, 383, 382, 381, 380, 379, 377, 376, 375, 374,
- 373, 372, 371, 370, 368, 367, 366, 365, 364, 362,
- 361, 360, 359, 358, 357, 355, 354, 353, 352, 351,
- 350, 349, 348, 347, 345, 344, 342, 340, 339, 338,
- 337, 336, 335, 334, 333, 332, 331, 330, 329, 328,
- 326, 325, 323, 321, 320, 319, 318, 317, 316, 315,
-
- 314, 313, 312, 311, 310, 309, 308, 306, 305, 304,
- 303, 302, 300, 299, 298, 297, 295, 294, 292, 290,
- 288, 287, 286, 285, 284, 283, 282, 281, 280, 279,
- 277, 276, 275, 274, 273, 272, 271, 270, 268, 267,
- 266, 265, 264, 263, 262, 261, 259, 258, 257, 256,
- 254, 253, 251, 250, 248, 247, 246, 245, 244, 243,
- 242, 241, 240, 239, 238, 237, 234, 233, 232, 231,
- 230, 229, 228, 227, 226, 225, 224, 223, 222, 221,
- 220, 219, 217, 216, 215, 213, 212, 211, 210, 209,
- 208, 207, 206, 205, 204, 202, 200, 199, 198, 197,
-
- 196, 195, 194, 192, 191, 190, 189, 188, 187, 186,
- 185, 184, 183, 182, 181, 179, 178, 177, 176, 175,
- 174, 173, 172, 171, 170, 169, 168, 167, 166, 165,
- 164, 163, 162, 161, 160, 159, 158, 156, 154, 153,
- 152, 151, 150, 149, 148, 147, 146, 145, 144, 143,
- 142, 141, 140, 139, 137, 136, 135, 134, 133, 132,
- 131, 130, 128, 127, 126, 125, 124, 123, 121, 120,
- 114, 113, 105, 104, 103, 102, 100, 99, 97, 95,
- 93, 92, 90, 89, 88, 87, 86, 85, 83, 82,
- 81, 80, 79, 77, 76, 75, 74, 73, 72, 67,
-
- 65, 64, 63, 61, 60, 56, 54, 52, 43, 34,
- 24, 15, 7, 565, 565, 565, 565, 565, 565, 565,
- 565, 565, 565, 565, 565, 565, 565, 565, 565, 565,
- 565, 565, 565, 565, 565, 565, 565, 565, 565, 565,
- 565, 565, 565, 565, 565, 565, 565, 565, 565, 565,
- 565, 565, 565, 565, 565, 565, 565, 565
- } ;
-
-static yy_state_type yy_last_accepting_state;
-static char *yy_last_accepting_cpos;
-
-extern int yy__flex_debug;
-int yy__flex_debug = 0;
-
-/* The intent behind this definition is that it'll catch
- * any uses of REJECT which flex missed.
- */
-#define REJECT reject_used_but_not_detected
-#define yymore() yymore_used_but_not_detected
-#define YY_MORE_ADJ 0
-#define YY_RESTORE_YY_MORE_OFFSET
-char *yy_text;
-#line 1 "src/cfglexer.ll"
-/*---------------------------------------------------------------------------*/
-/* */
-/* Minimal Flex Lexer */
-/* */
-/*---------------------------------------------------------------------------*/
-#line 11 "src/cfglexer.ll"
-
-/*---------------------------------------------------------------------------*/
-/* bison grammar tokens */
-/*---------------------------------------------------------------------------*/
-
-/* this header file is automatically generated by bison
- * and includes all token definitions, as well as yy_lval */
-#if ELBEEM_BLENDER==1
-// for blender the headers have to be .h
-#include "cfgparser.h"
-#else
-#include "cfgparser.hpp"
-#endif
-#include "utilities.h"
-
-#include <string.h>
-#define CHAR_BUFFER_SIZE 8000
-char charBuffer[ CHAR_BUFFER_SIZE ];
-
-int lineCount = 1;
-
-#ifndef yy_wrap
-extern "C" int yy_wrap (void ) { return 1; }
-#endif
-
-#define YY_NO_UNISTD_H
-
-/*----------------------------------------------------------------------------*/
-/* definitions */
-/*----------------------------------------------------------------------------*/
-
-
-/*----------------------------------------------------------------------------*/
-/*
- * rules start
- */
-/*----------------------------------------------------------------------------*/
-#line 832 "<stdout>"
-
-#define INITIAL 0
-#define ATTR 1
-#define ATTRVALUE 2
-
-#ifndef YY_NO_UNISTD_H
-/* Special case for "unistd.h", since it is non-ANSI. We include it way
- * down here because we want the user's section 1 to have been scanned first.
- * The user has a chance to override it with an option.
- */
-#include <unistd.h>
-#endif
-
-#ifndef YY_EXTRA_TYPE
-#define YY_EXTRA_TYPE void *
-#endif
-
-/* Macros after this point can all be overridden by user definitions in
- * section 1.
- */
-
-#ifndef YY_SKIP_YYWRAP
-#ifdef __cplusplus
-extern "C" int yy_wrap (void );
-#else
-extern int yy_wrap (void );
-#endif
-#endif
-
- static void yyunput (int c,char *buf_ptr );
-
-#ifndef yytext_ptr
-static void yy_flex_strncpy (char *,yyconst char *,int );
-#endif
-
-#ifdef YY_NEED_STRLEN
-static int yy_flex_strlen (yyconst char * );
-#endif
-
-#ifndef YY_NO_INPUT
-
-#ifdef __cplusplus
-static int yyinput (void );
-#else
-static int input (void );
-#endif
-
-#endif
-
-/* Amount of stuff to slurp up with each read. */
-#ifndef YY_READ_BUF_SIZE
-#define YY_READ_BUF_SIZE 8192
-#endif
-
-/* Copy whatever the last rule matched to the standard output. */
-#ifndef ECHO
-/* This used to be an fputs(), but since the string might contain NUL's,
- * we now use fwrite().
- */
-#define ECHO (void) fwrite( yy_text, yy_leng, 1, yy_out )
-#endif
-
-/* Gets input and stuffs it into "buf". number of characters read, or YY_NULL,
- * is returned in "result".
- */
-#ifndef YY_INPUT
-#define YY_INPUT(buf,result,max_size) \
- if ( YY_CURRENT_BUFFER_LVALUE->yy_is_interactive ) \
- { \
- int c = '*'; \
- size_t n; \
- for ( n = 0; n < max_size && \
- (c = getc( yy_in )) != EOF && c != '\n'; ++n ) \
- buf[n] = (char) c; \
- if ( c == '\n' ) \
- buf[n++] = (char) c; \
- if ( c == EOF && ferror( yy_in ) ) \
- YY_FATAL_ERROR( "input in flex scanner failed" ); \
- result = n; \
- } \
- else \
- { \
- errno=0; \
- while ( (result = fread(buf, 1, max_size, yy_in))==0 && ferror(yy_in)) \
- { \
- if( errno != EINTR) \
- { \
- YY_FATAL_ERROR( "input in flex scanner failed" ); \
- break; \
- } \
- errno=0; \
- clearerr(yy_in); \
- } \
- }\
-\
-
-#endif
-
-/* No semi-colon after return; correct usage is to write "yyterminate();" -
- * we don't want an extra ';' after the "return" because that will cause
- * some compilers to complain about unreachable statements.
- */
-#ifndef yyterminate
-#define yyterminate() return YY_NULL
-#endif
-
-/* Number of entries by which start-condition stack grows. */
-#ifndef YY_START_STACK_INCR
-#define YY_START_STACK_INCR 25
-#endif
-
-/* Report a fatal error. */
-#ifndef YY_FATAL_ERROR
-#define YY_FATAL_ERROR(msg) yy_fatal_error( msg )
-#endif
-
-/* end tables serialization structures and prototypes */
-
-/* Default declaration of generated scanner - a define so the user can
- * easily add parameters.
- */
-#ifndef YY_DECL
-#define YY_DECL_IS_OURS 1
-
-extern int yy_lex (void);
-
-#define YY_DECL int yy_lex (void)
-#endif /* !YY_DECL */
-
-/* Code executed at the beginning of each rule, after yy_text and yy_leng
- * have been set up.
- */
-#ifndef YY_USER_ACTION
-#define YY_USER_ACTION
-#endif
-
-/* Code executed at the end of each rule. */
-#ifndef YY_BREAK
-#define YY_BREAK break;
-#endif
-
-#define YY_RULE_SETUP \
- YY_USER_ACTION
-
-/** The main scanner function which does all the work.
- */
-YY_DECL
-{
- register yy_state_type yy_current_state;
- register char *yy_cp, *yy_bp;
- register int yy_act;
-
-#line 55 "src/cfglexer.ll"
-
-
-
-#line 989 "<stdout>"
-
- if ( (yy_init) )
- {
- (yy_init) = 0;
-
-#ifdef YY_USER_INIT
- YY_USER_INIT;
-#endif
-
- if ( ! (yy_start) )
- (yy_start) = 1; /* first start state */
-
- if ( ! yy_in )
- yy_in = stdin;
-
- if ( ! yy_out )
- yy_out = stdout;
-
- if ( ! YY_CURRENT_BUFFER ) {
- yy_ensure_buffer_stack ();
- YY_CURRENT_BUFFER_LVALUE =
- yy__create_buffer(yy_in,YY_BUF_SIZE );
- }
-
- yy__load_buffer_state( );
- }
-
- while ( 1 ) /* loops until end-of-file is reached */
- {
- yy_cp = (yy_c_buf_p);
-
- /* Support of yy_text. */
- *yy_cp = (yy_hold_char);
-
- /* yy_bp points to the position in yy_ch_buf of the start of
- * the current run.
- */
- yy_bp = yy_cp;
-
- yy_current_state = (yy_start);
-yy_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 >= 566 )
- 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_current_state != 565 );
- yy_cp = (yy_last_accepting_cpos);
- yy_current_state = (yy_last_accepting_state);
-
-yy_find_action:
- yy_act = yy_accept[yy_current_state];
-
- YY_DO_BEFORE_ACTION;
-
-do_action: /* This label is used only to access EOF actions. */
-
- switch ( yy_act )
- { /* beginning of action switch */
- case 0: /* must back up */
- /* undo the effects of YY_DO_BEFORE_ACTION */
- *yy_cp = (yy_hold_char);
- yy_cp = (yy_last_accepting_cpos);
- yy_current_state = (yy_last_accepting_state);
- goto yy_find_action;
-
-case 1:
-YY_RULE_SETUP
-#line 58 "src/cfglexer.ll"
-{ return KW_PAROPEN; }
- YY_BREAK
-case 2:
-YY_RULE_SETUP
-#line 59 "src/cfglexer.ll"
-{ BEGIN(INITIAL); // '}' always closes scopes
- return KW_PARCLOSE; }
- YY_BREAK
-case 3:
-YY_RULE_SETUP
-#line 62 "src/cfglexer.ll"
-{
- BEGIN(ATTRVALUE);
- return KW_EQUALS; }
- YY_BREAK
-case 4:
-YY_RULE_SETUP
-#line 65 "src/cfglexer.ll"
-{ /* attribute name = normal string */
- strncpy( charBuffer, yy_text, CHAR_BUFFER_SIZE-2 );
- yy_lval.charValue = charBuffer;
- // "CHANNEL" { return KW_ATTRCHANNEL; /* global attr list */ }
- if(!strcmp(charBuffer,"CHANNEL")) return KW_ATTRCHANNEL;
- return DT_ATTRNAME; }
- YY_BREAK
-case 5:
-YY_RULE_SETUP
-#line 71 "src/cfglexer.ll"
-{ /* quoted string! attribute name = normal string */
- strncpy( charBuffer, yy_text, CHAR_BUFFER_SIZE-2 );
- /* get rid of " " */
- for(unsigned int j=0;j<strlen(charBuffer);j++) charBuffer[j]=charBuffer[j+1];
- charBuffer[ strlen(charBuffer)-1 ] = 0;
- yy_lval.charValue = charBuffer;
- return DT_ATTRVALUE; }
- YY_BREAK
-case 6:
-YY_RULE_SETUP
-#line 78 "src/cfglexer.ll"
-{ /* ends at newline or ';' */
- strncpy( charBuffer, yy_text, CHAR_BUFFER_SIZE-2 );
- yy_lval.charValue = charBuffer;
- return DT_ATTRVALUE; }
- YY_BREAK
-case 7:
-YY_RULE_SETUP
-#line 82 "src/cfglexer.ll"
-{ /* return end token... */
- BEGIN(ATTR);
- return KW_ATTREND; }
- YY_BREAK
-case 8:
-YY_RULE_SETUP
-#line 87 "src/cfglexer.ll"
-{ return KW_LBMSIM; }
- YY_BREAK
-case 9:
-YY_RULE_SETUP
-#line 88 "src/cfglexer.ll"
-{ return KW_COMPARELBM; }
- YY_BREAK
-case 10:
-YY_RULE_SETUP
-#line 89 "src/cfglexer.ll"
-{ return KW_DEBUGMODE; }
- YY_BREAK
-case 11:
-YY_RULE_SETUP
-#line 90 "src/cfglexer.ll"
-{ return KW_DEBUGLEVEL; }
- YY_BREAK
-case 12:
-YY_RULE_SETUP
-#line 91 "src/cfglexer.ll"
-{ return KW_RAYTRACING; }
- YY_BREAK
-case 13:
-YY_RULE_SETUP
-#line 94 "src/cfglexer.ll"
-{ return KW_RESOLUTION; }
- YY_BREAK
-case 14:
-YY_RULE_SETUP
-#line 95 "src/cfglexer.ll"
-{ return KW_ANTIALIAS; }
- YY_BREAK
-case 15:
-YY_RULE_SETUP
-#line 96 "src/cfglexer.ll"
-{ return KW_EYEPOINT; }
- YY_BREAK
-case 16:
-YY_RULE_SETUP
-#line 97 "src/cfglexer.ll"
-{ return KW_LOOKAT ; }
- YY_BREAK
-case 17:
-YY_RULE_SETUP
-#line 98 "src/cfglexer.ll"
-{ return KW_UPVEC ; }
- YY_BREAK
-case 18:
-YY_RULE_SETUP
-#line 99 "src/cfglexer.ll"
-{ return KW_FOVY; }
- YY_BREAK
-case 19:
-YY_RULE_SETUP
-#line 100 "src/cfglexer.ll"
-{ return KW_ASPECT ; }
- YY_BREAK
-case 20:
-YY_RULE_SETUP
-#line 101 "src/cfglexer.ll"
-{ return KW_AMBIENCE; }
- YY_BREAK
-case 21:
-YY_RULE_SETUP
-#line 102 "src/cfglexer.ll"
-{ return KW_BACKGROUND; }
- YY_BREAK
-case 22:
-YY_RULE_SETUP
-#line 103 "src/cfglexer.ll"
-{ return KW_ANISTART; }
- YY_BREAK
-case 23:
-YY_RULE_SETUP
-#line 104 "src/cfglexer.ll"
-{ return KW_ANIFRAMES; }
- YY_BREAK
-case 24:
-YY_RULE_SETUP
-#line 105 "src/cfglexer.ll"
-{ return KW_ANIFRAMETIME; }
- YY_BREAK
-case 25:
-YY_RULE_SETUP
-#line 106 "src/cfglexer.ll"
-{ return KW_FRAMESKIP; }
- YY_BREAK
-case 26:
-YY_RULE_SETUP
-#line 107 "src/cfglexer.ll"
-{ return KW_FILENAME; }
- YY_BREAK
-case 27:
-YY_RULE_SETUP
-#line 108 "src/cfglexer.ll"
-{ return KW_PMCAUSTICS; }
- YY_BREAK
-case 28:
-YY_RULE_SETUP
-#line 109 "src/cfglexer.ll"
-{ return KW_CAUSTICDIST; }
- YY_BREAK
-case 29:
-YY_RULE_SETUP
-#line 110 "src/cfglexer.ll"
-{ return KW_CAUSTICPHOT; }
- YY_BREAK
-case 30:
-YY_RULE_SETUP
-#line 111 "src/cfglexer.ll"
-{ return KW_SHADOWMAPBIAS; }
- YY_BREAK
-case 31:
-YY_RULE_SETUP
-#line 112 "src/cfglexer.ll"
-{ return KW_MAXRAYDEPTH; }
- YY_BREAK
-case 32:
-YY_RULE_SETUP
-#line 113 "src/cfglexer.ll"
-{ return KW_TREEMAXDEPTH; }
- YY_BREAK
-case 33:
-YY_RULE_SETUP
-#line 114 "src/cfglexer.ll"
-{ return KW_TREEMAXTRIANGLES; }
- YY_BREAK
-case 34:
-YY_RULE_SETUP
-#line 115 "src/cfglexer.ll"
-{ return KW_DEBUGPIXEL; }
- YY_BREAK
-case 35:
-YY_RULE_SETUP
-#line 116 "src/cfglexer.ll"
-{ return KW_TESTMODE; }
- YY_BREAK
-case 36:
-YY_RULE_SETUP
-#line 117 "src/cfglexer.ll"
-{ return KW_OPENGLATTR; }
- YY_BREAK
-case 37:
-YY_RULE_SETUP
-#line 118 "src/cfglexer.ll"
-{ return KW_BLENDERATTR; }
- YY_BREAK
-case 38:
-YY_RULE_SETUP
-#line 120 "src/cfglexer.ll"
-{ return KW_OBJATTR; /* assign attr to obj */ }
- YY_BREAK
-case 39:
-YY_RULE_SETUP
-#line 121 "src/cfglexer.ll"
-{ BEGIN(ATTR); return KW_ATTRIBUTE; /* global attr list */ }
- YY_BREAK
-case 40:
-YY_RULE_SETUP
-#line 122 "src/cfglexer.ll"
-{ BEGIN(ATTR); return KW_DEFINEATTR; /* obj defines new attrs */ }
- YY_BREAK
-case 41:
-YY_RULE_SETUP
-#line 123 "src/cfglexer.ll"
-{ BEGIN(ATTR); return KW_DEFINEATTR; }
- YY_BREAK
-case 42:
-YY_RULE_SETUP
-#line 124 "src/cfglexer.ll"
-{ BEGIN(ATTR); return KW_DEFINEATTR; }
- YY_BREAK
-case 43:
-YY_RULE_SETUP
-#line 126 "src/cfglexer.ll"
-{ return KW_GEOMETRY; }
- YY_BREAK
-case 44:
-YY_RULE_SETUP
-#line 127 "src/cfglexer.ll"
-{ return KW_TYPE; }
- YY_BREAK
-case 45:
-YY_RULE_SETUP
-#line 128 "src/cfglexer.ll"
-{ return KW_GEOTYPE_BOX; }
- YY_BREAK
-case 46:
-YY_RULE_SETUP
-#line 129 "src/cfglexer.ll"
-{ return KW_GEOTYPE_SPHERE; }
- YY_BREAK
-case 47:
-YY_RULE_SETUP
-#line 130 "src/cfglexer.ll"
-{ return KW_GEOTYPE_OBJMODEL; }
- YY_BREAK
-case 48:
-YY_RULE_SETUP
-#line 131 "src/cfglexer.ll"
-{ return KW_CASTSHADOWS; }
- YY_BREAK
-case 49:
-YY_RULE_SETUP
-#line 132 "src/cfglexer.ll"
-{ return KW_RECEIVESHADOWS ; }
- YY_BREAK
-case 50:
-YY_RULE_SETUP
-#line 133 "src/cfglexer.ll"
-{ return KW_VISIBLE; }
- YY_BREAK
-case 51:
-YY_RULE_SETUP
-#line 134 "src/cfglexer.ll"
-{ return KW_BOX_START; }
- YY_BREAK
-case 52:
-YY_RULE_SETUP
-#line 135 "src/cfglexer.ll"
-{ return KW_BOX_END; }
- YY_BREAK
-case 53:
-YY_RULE_SETUP
-#line 136 "src/cfglexer.ll"
-{ return KW_POLY ; }
- YY_BREAK
-case 54:
-YY_RULE_SETUP
-#line 137 "src/cfglexer.ll"
-{ return KW_POLY ; }
- YY_BREAK
-case 55:
-YY_RULE_SETUP
-#line 138 "src/cfglexer.ll"
-{ return KW_NUMVERTICES; }
- YY_BREAK
-case 56:
-YY_RULE_SETUP
-#line 139 "src/cfglexer.ll"
-{ return KW_VERTEX; }
- YY_BREAK
-case 57:
-YY_RULE_SETUP
-#line 140 "src/cfglexer.ll"
-{ return KW_NUMPOLYGONS; }
- YY_BREAK
-case 58:
-YY_RULE_SETUP
-#line 141 "src/cfglexer.ll"
-{ return KW_ISOSURF; }
- YY_BREAK
-case 59:
-YY_RULE_SETUP
-#line 142 "src/cfglexer.ll"
-{ return KW_FILEMODE; }
- YY_BREAK
-case 60:
-YY_RULE_SETUP
-#line 143 "src/cfglexer.ll"
-{ return KW_INVERT; }
- YY_BREAK
-case 61:
-YY_RULE_SETUP
-#line 145 "src/cfglexer.ll"
-{ return KW_MATERIAL; }
- YY_BREAK
-case 62:
-YY_RULE_SETUP
-#line 146 "src/cfglexer.ll"
-{ return KW_MATTYPE_PHONG; }
- YY_BREAK
-case 63:
-YY_RULE_SETUP
-#line 147 "src/cfglexer.ll"
-{ return KW_MATTYPE_BLINN; }
- YY_BREAK
-case 64:
-YY_RULE_SETUP
-#line 148 "src/cfglexer.ll"
-{ return KW_NAME; }
- YY_BREAK
-case 65:
-YY_RULE_SETUP
-#line 149 "src/cfglexer.ll"
-{ return KW_AMBIENT; }
- YY_BREAK
-case 66:
-YY_RULE_SETUP
-#line 150 "src/cfglexer.ll"
-{ return KW_DIFFUSE; }
- YY_BREAK
-case 67:
-YY_RULE_SETUP
-#line 151 "src/cfglexer.ll"
-{ return KW_SPECULAR; }
- YY_BREAK
-case 68:
-YY_RULE_SETUP
-#line 152 "src/cfglexer.ll"
-{ return KW_MIRROR; }
- YY_BREAK
-case 69:
-YY_RULE_SETUP
-#line 153 "src/cfglexer.ll"
-{ return KW_TRANSPARENCE; }
- YY_BREAK
-case 70:
-YY_RULE_SETUP
-#line 154 "src/cfglexer.ll"
-{ return KW_REFRACINDEX; }
- YY_BREAK
-case 71:
-YY_RULE_SETUP
-#line 155 "src/cfglexer.ll"
-{ return KW_TRANSADDITIVE; }
- YY_BREAK
-case 72:
-YY_RULE_SETUP
-#line 156 "src/cfglexer.ll"
-{ return KW_TRANSATTCOL; }
- YY_BREAK
-case 73:
-YY_RULE_SETUP
-#line 157 "src/cfglexer.ll"
-{ return KW_FRESNEL; }
- YY_BREAK
-case 74:
-YY_RULE_SETUP
-#line 158 "src/cfglexer.ll"
-{ return KW_FRESNEL; }
- YY_BREAK
-case 75:
-YY_RULE_SETUP
-#line 160 "src/cfglexer.ll"
-{ return KW_LIGHT; }
- YY_BREAK
-case 76:
-YY_RULE_SETUP
-#line 161 "src/cfglexer.ll"
-{ return KW_LIGHT_OMNI; }
- YY_BREAK
-case 77:
-YY_RULE_SETUP
-#line 162 "src/cfglexer.ll"
-{ return KW_ACTIVE; }
- YY_BREAK
-case 78:
-YY_RULE_SETUP
-#line 163 "src/cfglexer.ll"
-{ return KW_COLOUR; }
- YY_BREAK
-case 79:
-YY_RULE_SETUP
-#line 164 "src/cfglexer.ll"
-{ return KW_COLOUR; }
- YY_BREAK
-case 80:
-YY_RULE_SETUP
-#line 165 "src/cfglexer.ll"
-{ return KW_POSITION; }
- YY_BREAK
-case 81:
-YY_RULE_SETUP
-#line 166 "src/cfglexer.ll"
-{ return KW_CAUSTICPHOTONS; }
- YY_BREAK
-case 82:
-YY_RULE_SETUP
-#line 167 "src/cfglexer.ll"
-{ return KW_CAUSTICSTRENGTH; }
- YY_BREAK
-case 83:
-YY_RULE_SETUP
-#line 168 "src/cfglexer.ll"
-{ return KW_SHADOWMAP; }
- YY_BREAK
-case 84:
-YY_RULE_SETUP
-#line 169 "src/cfglexer.ll"
-{ return KW_CAUSTICSMAP; }
- YY_BREAK
-case 85:
-YY_RULE_SETUP
-#line 171 "src/cfglexer.ll"
-{ yy_lval.intValue = 1; return DT_INTEGER; }
- YY_BREAK
-case 86:
-YY_RULE_SETUP
-#line 172 "src/cfglexer.ll"
-{ yy_lval.intValue = 0; return DT_INTEGER; }
- YY_BREAK
-case 87:
-YY_RULE_SETUP
-#line 173 "src/cfglexer.ll"
-{ yy_lval.intValue = 1; return DT_INTEGER; }
- YY_BREAK
-case 88:
-YY_RULE_SETUP
-#line 174 "src/cfglexer.ll"
-{ yy_lval.intValue = 0; return DT_INTEGER; }
- YY_BREAK
-case 89:
-YY_RULE_SETUP
-#line 177 "src/cfglexer.ll"
-{ // integer number
- yy_lval.intValue = atoi( yy_text );
- return DT_INTEGER; }
- YY_BREAK
-case 90:
-YY_RULE_SETUP
-#line 181 "src/cfglexer.ll"
-{ // floating point number
- yy_lval.floatValue = atof( yy_text );
- return DT_FLOAT; }
- YY_BREAK
-case 91:
-YY_RULE_SETUP
-#line 185 "src/cfglexer.ll"
-{ /* normal character strings, now also for paths/filenames */
- strncpy( charBuffer, yy_text, CHAR_BUFFER_SIZE-2 );
- /* get rid of " " */
- for(unsigned int j=0;j<strlen(charBuffer);j++) charBuffer[j]=charBuffer[j+1];
- charBuffer[ strlen(charBuffer)-1 ] = 0;
- yy_lval.charValue = charBuffer;
- return DT_STRING; }
- YY_BREAK
-case 92:
-YY_RULE_SETUP
-#line 193 "src/cfglexer.ll"
-{ /* one line comment */ }
- YY_BREAK
-case 93:
-YY_RULE_SETUP
-#line 194 "src/cfglexer.ll"
-{ /* one line comment */ }
- YY_BREAK
-case 94:
-YY_RULE_SETUP
-#line 195 "src/cfglexer.ll"
-{ /* multiline comment */
- register int c;
- for ( ; ; ) {
- while ( (c = yyinput()) != '*' &&
- c != EOF ) {
- /* eat up text of comment, count lines */
- if(c == '\n') lineCount++;
- }
-
- if ( c == '*' ) {
- while ( (c = yyinput()) == '*' ); /* search '*' */
- if ( c == '/' ) break; /* found the end */
- if ( c == '\n' ) lineCount++;
- }
-
- if ( c == EOF ) {
- errorOut( "cfgLexer, Line "<<lineCount<<" :End of file found in comment..." );
- break;
- }
- } /* multline comment done */
- }
- YY_BREAK
-case 95:
-/* rule 95 can match eol */
-YY_RULE_SETUP
-#line 219 "src/cfglexer.ll"
-{ // count line numbers
- lineCount++; }
- YY_BREAK
-case 96:
-YY_RULE_SETUP
-#line 222 "src/cfglexer.ll"
-{ /* do nothing by default... */ }
- YY_BREAK
-case 97:
-YY_RULE_SETUP
-#line 224 "src/cfglexer.ll"
-{ /*errorOut( "cfgLexer, Line "<<lineCount<<" : Unknown character '"<<(char)yyinput()<<"' " ); xit(1); */ }
- YY_BREAK
-case 98:
-YY_RULE_SETUP
-#line 227 "src/cfglexer.ll"
-ECHO;
- YY_BREAK
-#line 1609 "<stdout>"
-case YY_STATE_EOF(INITIAL):
-case YY_STATE_EOF(ATTR):
-case YY_STATE_EOF(ATTRVALUE):
- yyterminate();
-
- 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 yy_in at a new source and called
- * yy_lex(). If so, then we have to assure
- * consistency between YY_CURRENT_BUFFER and our
- * globals. Here is the right place to do so, because
- * this is the first action (other than possibly a
- * back-up) that will match for the new input source.
- */
- (yy_n_chars) = YY_CURRENT_BUFFER_LVALUE->yy_n_chars;
- YY_CURRENT_BUFFER_LVALUE->yy_input_file = yy_in;
- YY_CURRENT_BUFFER_LVALUE->yy_buffer_status = YY_BUFFER_NORMAL;
- }
-
- /* Note that here we test for yy_c_buf_p "<=" to the position
- * of the first EOB in the buffer, since yy_c_buf_p will
- * already have been incremented past the NUL character
- * (since all states make transitions on EOB to the
- * end-of-buffer state). Contrast this with the test
- * in input().
- */
- if ( (yy_c_buf_p) <= &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)] )
- { /* This was really a NUL. */
- yy_state_type yy_next_state;
-
- (yy_c_buf_p) = (yytext_ptr) + yy_amount_of_matched_text;
-
- yy_current_state = yy_get_previous_state( );
-
- /* Okay, we're now positioned to make the NUL
- * transition. We couldn't have
- * yy_get_previous_state() go ahead and do it
- * for us because it doesn't know how to deal
- * with the possibility of jamming (and we don't
- * want to build jamming into it because then it
- * will run more slowly).
- */
-
- yy_next_state = yy_try_NUL_trans( yy_current_state );
-
- yy_bp = (yytext_ptr) + YY_MORE_ADJ;
-
- if ( yy_next_state )
- {
- /* Consume the NUL. */
- yy_cp = ++(yy_c_buf_p);
- yy_current_state = yy_next_state;
- goto yy_match;
- }
-
- else
- {
- yy_cp = (yy_last_accepting_cpos);
- yy_current_state = (yy_last_accepting_state);
- goto yy_find_action;
- }
- }
-
- else switch ( yy_get_next_buffer( ) )
- {
- case EOB_ACT_END_OF_FILE:
- {
- (yy_did_buffer_switch_on_eof) = 0;
-
- if ( yy_wrap( ) )
- {
- /* Note: because we've taken care in
- * yy_get_next_buffer() to have set up
- * yy_text, we can now set up
- * yy_c_buf_p so that if some total
- * hoser (like flex itself) wants to
- * call the scanner after we return the
- * YY_NULL, it'll still work - another
- * YY_NULL will get returned.
- */
- (yy_c_buf_p) = (yytext_ptr) + YY_MORE_ADJ;
-
- yy_act = YY_STATE_EOF(YY_START);
- goto do_action;
- }
-
- else
- {
- if ( ! (yy_did_buffer_switch_on_eof) )
- YY_NEW_FILE;
- }
- break;
- }
-
- case EOB_ACT_CONTINUE_SCAN:
- (yy_c_buf_p) =
- (yytext_ptr) + yy_amount_of_matched_text;
-
- yy_current_state = yy_get_previous_state( );
-
- yy_cp = (yy_c_buf_p);
- yy_bp = (yytext_ptr) + YY_MORE_ADJ;
- goto yy_match;
-
- case EOB_ACT_LAST_MATCH:
- (yy_c_buf_p) =
- &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)];
-
- yy_current_state = yy_get_previous_state( );
-
- yy_cp = (yy_c_buf_p);
- yy_bp = (yytext_ptr) + YY_MORE_ADJ;
- goto yy_find_action;
- }
- break;
- }
-
- default:
- YY_FATAL_ERROR(
- "fatal flex scanner internal error--no action found" );
- } /* end of action switch */
- } /* end of scanning one token */
-} /* end of yy_lex */
-
-/* yy_get_next_buffer - try to read in a new buffer
- *
- * Returns a code representing an action:
- * EOB_ACT_LAST_MATCH -
- * EOB_ACT_CONTINUE_SCAN - continue scanning from current position
- * EOB_ACT_END_OF_FILE - end of file
- */
-static int yy_get_next_buffer (void)
-{
- register char *dest = YY_CURRENT_BUFFER_LVALUE->yy_ch_buf;
- register char *source = (yytext_ptr);
- register int number_to_move, i;
- int ret_val;
-
- if ( (yy_c_buf_p) > &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars) + 1] )
- YY_FATAL_ERROR(
- "fatal flex scanner internal error--end of buffer missed" );
-
- if ( YY_CURRENT_BUFFER_LVALUE->yy_fill_buffer == 0 )
- { /* Don't try to fill the buffer, so this is an EOF. */
- if ( (yy_c_buf_p) - (yytext_ptr) - YY_MORE_ADJ == 1 )
- {
- /* We matched a single character, the EOB, so
- * treat this as a final EOF.
- */
- return EOB_ACT_END_OF_FILE;
- }
-
- else
- {
- /* We matched some text prior to the EOB, first
- * process it.
- */
- return EOB_ACT_LAST_MATCH;
- }
- }
-
- /* Try to read more data. */
-
- /* First move last chars to start of buffer. */
- number_to_move = (int) ((yy_c_buf_p) - (yytext_ptr)) - 1;
-
- for ( i = 0; i < number_to_move; ++i )
- *(dest++) = *(source++);
-
- if ( YY_CURRENT_BUFFER_LVALUE->yy_buffer_status == YY_BUFFER_EOF_PENDING )
- /* don't do the read, it's not guaranteed to return an EOF,
- * just force an EOF
- */
- YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars) = 0;
-
- else
- {
- 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 )
- {
- int new_size = b->yy_buf_size * 2;
-
- if ( new_size <= 0 )
- b->yy_buf_size += b->yy_buf_size / 8;
- else
- b->yy_buf_size *= 2;
-
- b->yy_ch_buf = (char *)
- /* Include room in for 2 EOB chars. */
- yy_realloc((void *) b->yy_ch_buf,b->yy_buf_size + 2 );
- }
- else
- /* Can't grow it, we don't own it. */
- b->yy_ch_buf = 0;
-
- if ( ! b->yy_ch_buf )
- YY_FATAL_ERROR(
- "fatal error - scanner input buffer overflow" );
-
- (yy_c_buf_p) = &b->yy_ch_buf[yy_c_buf_p_offset];
-
- num_to_read = YY_CURRENT_BUFFER_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;
- yy_restart(yy_in );
- }
-
- else
- {
- ret_val = EOB_ACT_LAST_MATCH;
- YY_CURRENT_BUFFER_LVALUE->yy_buffer_status =
- YY_BUFFER_EOF_PENDING;
- }
- }
-
- else
- ret_val = EOB_ACT_CONTINUE_SCAN;
-
- (yy_n_chars) += number_to_move;
- YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)] = YY_END_OF_BUFFER_CHAR;
- YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars) + 1] = YY_END_OF_BUFFER_CHAR;
-
- (yytext_ptr) = &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[0];
-
- return ret_val;
-}
-
-/* yy_get_previous_state - get the state just before the EOB char was reached */
-
- static yy_state_type yy_get_previous_state (void)
-{
- register yy_state_type yy_current_state;
- register char *yy_cp;
-
- yy_current_state = (yy_start);
-
- 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 >= 566 )
- yy_c = yy_meta[(unsigned int) yy_c];
- }
- yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c];
- }
-
- return yy_current_state;
-}
-
-/* yy_try_NUL_trans - try to make a transition on the NUL character
- *
- * synopsis
- * next_state = yy_try_NUL_trans( current_state );
- */
- static yy_state_type yy_try_NUL_trans (yy_state_type yy_current_state )
-{
- 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 >= 566 )
- 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 == 565);
-
- return yy_is_jam ? 0 : yy_current_state;
-}
-
- static void yyunput (int c, register char * yy_bp )
-{
- register char *yy_cp;
-
- yy_cp = (yy_c_buf_p);
-
- /* undo effects of setting up yy_text */
- *yy_cp = (yy_hold_char);
-
- if ( yy_cp < YY_CURRENT_BUFFER_LVALUE->yy_ch_buf + 2 )
- { /* need to shift things up to make room */
- /* +2 for EOB chars. */
- register int number_to_move = (yy_n_chars) + 2;
- register char *dest = &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[
- YY_CURRENT_BUFFER_LVALUE->yy_buf_size + 2];
- register char *source =
- &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[number_to_move];
-
- while ( source > YY_CURRENT_BUFFER_LVALUE->yy_ch_buf )
- *--dest = *--source;
-
- yy_cp += (int) (dest - source);
- yy_bp += (int) (dest - source);
- YY_CURRENT_BUFFER_LVALUE->yy_n_chars =
- (yy_n_chars) = YY_CURRENT_BUFFER_LVALUE->yy_buf_size;
-
- if ( yy_cp < YY_CURRENT_BUFFER_LVALUE->yy_ch_buf + 2 )
- YY_FATAL_ERROR( "flex scanner push-back overflow" );
- }
-
- *--yy_cp = (char) c;
-
- (yytext_ptr) = yy_bp;
- (yy_hold_char) = *yy_cp;
- (yy_c_buf_p) = yy_cp;
-}
-
-#ifndef YY_NO_INPUT
-#ifdef __cplusplus
- static int yyinput (void)
-#else
- static int input (void)
-#endif
-
-{
- int c;
-
- *(yy_c_buf_p) = (yy_hold_char);
-
- if ( *(yy_c_buf_p) == YY_END_OF_BUFFER_CHAR )
- {
- /* yy_c_buf_p now points to the character we want to return.
- * If this occurs *before* the EOB characters, then it's a
- * valid NUL; if not, then we've hit the end of the buffer.
- */
- if ( (yy_c_buf_p) < &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)] )
- /* This was really a NUL. */
- *(yy_c_buf_p) = '\0';
-
- else
- { /* need more input */
- int offset = (yy_c_buf_p) - (yytext_ptr);
- ++(yy_c_buf_p);
-
- switch ( yy_get_next_buffer( ) )
- {
- case EOB_ACT_LAST_MATCH:
- /* This happens because yy_g_n_b()
- * sees that we've accumulated a
- * token and flags that we need to
- * try matching the token before
- * proceeding. But for input(),
- * there's no matching to consider.
- * So convert the EOB_ACT_LAST_MATCH
- * to EOB_ACT_END_OF_FILE.
- */
-
- /* Reset buffer status. */
- yy_restart(yy_in );
-
- /*FALLTHROUGH*/
-
- case EOB_ACT_END_OF_FILE:
- {
- if ( yy_wrap( ) )
- return EOF;
-
- if ( ! (yy_did_buffer_switch_on_eof) )
- YY_NEW_FILE;
-#ifdef __cplusplus
- return yyinput();
-#else
- return input();
-#endif
- }
-
- case EOB_ACT_CONTINUE_SCAN:
- (yy_c_buf_p) = (yytext_ptr) + offset;
- break;
- }
- }
- }
-
- c = *(unsigned char *) (yy_c_buf_p); /* cast for 8-bit char's */
- *(yy_c_buf_p) = '\0'; /* preserve yy_text */
- (yy_hold_char) = *++(yy_c_buf_p);
-
- return c;
-}
-#endif /* ifndef YY_NO_INPUT */
-
-/** Immediately switch to a different input stream.
- * @param input_file A readable stream.
- *
- * @note This function does not reset the start condition to @c INITIAL .
- */
- void yy_restart (FILE * input_file )
-{
-
- if ( ! YY_CURRENT_BUFFER ){
- yy_ensure_buffer_stack ();
- YY_CURRENT_BUFFER_LVALUE =
- yy__create_buffer(yy_in,YY_BUF_SIZE );
- }
-
- yy__init_buffer(YY_CURRENT_BUFFER,input_file );
- yy__load_buffer_state( );
-}
-
-/** Switch to a different input buffer.
- * @param new_buffer The new input buffer.
- *
- */
- void yy__switch_to_buffer (YY_BUFFER_STATE new_buffer )
-{
-
- /* TODO. We should be able to replace this entire function body
- * with
- * yy_pop_buffer_state();
- * yy_push_buffer_state(new_buffer);
- */
- yy_ensure_buffer_stack ();
- if ( YY_CURRENT_BUFFER == new_buffer )
- return;
-
- if ( YY_CURRENT_BUFFER )
- {
- /* Flush out information for old buffer. */
- *(yy_c_buf_p) = (yy_hold_char);
- YY_CURRENT_BUFFER_LVALUE->yy_buf_pos = (yy_c_buf_p);
- YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars);
- }
-
- YY_CURRENT_BUFFER_LVALUE = new_buffer;
- yy__load_buffer_state( );
-
- /* We don't actually know whether we did this switch during
- * EOF (yy_wrap()) processing, but the only time this flag
- * is looked at is after yy_wrap() is called, so it's safe
- * to go ahead and always set it.
- */
- (yy_did_buffer_switch_on_eof) = 1;
-}
-
-static void yy__load_buffer_state (void)
-{
- (yy_n_chars) = YY_CURRENT_BUFFER_LVALUE->yy_n_chars;
- (yytext_ptr) = (yy_c_buf_p) = YY_CURRENT_BUFFER_LVALUE->yy_buf_pos;
- yy_in = YY_CURRENT_BUFFER_LVALUE->yy_input_file;
- (yy_hold_char) = *(yy_c_buf_p);
-}
-
-/** Allocate and initialize an input buffer state.
- * @param file A readable stream.
- * @param size The character buffer size in bytes. When in doubt, use @c YY_BUF_SIZE.
- *
- * @return the allocated buffer state.
- */
- YY_BUFFER_STATE yy__create_buffer (FILE * file, int size )
-{
- YY_BUFFER_STATE b;
-
- b = (YY_BUFFER_STATE) yy_alloc(sizeof( struct yy_buffer_state ) );
- if ( ! b )
- YY_FATAL_ERROR( "out of dynamic memory in yy__create_buffer()" );
-
- b->yy_buf_size = size;
-
- /* yy_ch_buf has to be 2 characters longer than the size given because
- * we need to put in 2 end-of-buffer characters.
- */
- b->yy_ch_buf = (char *) yy_alloc(b->yy_buf_size + 2 );
- if ( ! b->yy_ch_buf )
- YY_FATAL_ERROR( "out of dynamic memory in yy__create_buffer()" );
-
- b->yy_is_our_buffer = 1;
-
- yy__init_buffer(b,file );
-
- return b;
-}
-
-/** Destroy the buffer.
- * @param b a buffer created with yy__create_buffer()
- *
- */
- void yy__delete_buffer (YY_BUFFER_STATE b )
-{
-
- if ( ! b )
- return;
-
- if ( b == YY_CURRENT_BUFFER ) /* Not sure if we should pop here. */
- YY_CURRENT_BUFFER_LVALUE = (YY_BUFFER_STATE) 0;
-
- if ( b->yy_is_our_buffer )
- yy_free((void *) b->yy_ch_buf );
-
- yy_free((void *) b );
-}
-
-/* Initializes or reinitializes a buffer.
- * This function is sometimes called more than once on the same buffer,
- * such as during a yy_restart() or at EOF.
- */
- static void yy__init_buffer (YY_BUFFER_STATE b, FILE * file )
-
-{
- 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 yy_restart() or through yy_get_next_buffer.
- * In that case, we don't want to reset the lineno or column.
- */
- if (b != YY_CURRENT_BUFFER){
- b->yy_bs_lineno = 1;
- b->yy_bs_column = 0;
- }
-
- b->yy_is_interactive = 0;
-
- errno = oerrno;
-}
-
-/** Discard all buffered characters. On the next scan, YY_INPUT will be called.
- * @param b the buffer state to be flushed, usually @c YY_CURRENT_BUFFER.
- *
- */
- void yy__flush_buffer (YY_BUFFER_STATE b )
-{
- if ( ! b )
- return;
-
- b->yy_n_chars = 0;
-
- /* We always need two end-of-buffer characters. The first causes
- * a transition to the end-of-buffer state. The second causes
- * a jam in that state.
- */
- b->yy_ch_buf[0] = YY_END_OF_BUFFER_CHAR;
- b->yy_ch_buf[1] = YY_END_OF_BUFFER_CHAR;
-
- b->yy_buf_pos = &b->yy_ch_buf[0];
-
- b->yy_at_bol = 1;
- b->yy_buffer_status = YY_BUFFER_NEW;
-
- if ( b == YY_CURRENT_BUFFER )
- yy__load_buffer_state( );
-}
-
-/** Pushes the new state onto the stack. The new state becomes
- * the current state. This function will allocate the stack
- * if necessary.
- * @param new_buffer The new state.
- *
- */
-void yy_push_buffer_state (YY_BUFFER_STATE new_buffer )
-{
- if (new_buffer == NULL)
- return;
-
- yy_ensure_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;
-}
-
-/** Removes and deletes the top of the stack, if present.
- * The next element becomes the new top.
- *
- */
-void yy_pop_buffer_state (void)
-{
- if (!YY_CURRENT_BUFFER)
- return;
-
- yy__delete_buffer(YY_CURRENT_BUFFER );
- YY_CURRENT_BUFFER_LVALUE = NULL;
- if ((yy_buffer_stack_top) > 0)
- --(yy_buffer_stack_top);
-
- if (YY_CURRENT_BUFFER) {
- yy__load_buffer_state( );
- (yy_did_buffer_switch_on_eof) = 1;
- }
-}
-
-/* Allocates the stack if it does not exist.
- * Guarantees space for at least one push.
- */
-static void yy_ensure_buffer_stack (void)
-{
- int 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**)yy_alloc
- (num_to_alloc * sizeof(struct yy_buffer_state*)
- );
-
- 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**)yy_realloc
- ((yy_buffer_stack),
- num_to_alloc * sizeof(struct yy_buffer_state*)
- );
-
- /* zero only the new slots.*/
- memset((yy_buffer_stack) + (yy_buffer_stack_max), 0, grow_size * sizeof(struct yy_buffer_state*));
- (yy_buffer_stack_max) = num_to_alloc;
- }
-}
-
-/** Setup the input buffer state to scan directly from a user-specified character buffer.
- * @param base the character buffer
- * @param size the size in bytes of the character buffer
- *
- * @return the newly allocated buffer state object.
- */
-YY_BUFFER_STATE yy__scan_buffer (char * base, yy_size_t size )
-{
- YY_BUFFER_STATE b;
-
- if ( size < 2 ||
- base[size-2] != YY_END_OF_BUFFER_CHAR ||
- base[size-1] != YY_END_OF_BUFFER_CHAR )
- /* They forgot to leave room for the EOB's. */
- return 0;
-
- b = (YY_BUFFER_STATE) yy_alloc(sizeof( struct yy_buffer_state ) );
- if ( ! b )
- YY_FATAL_ERROR( "out of dynamic memory in yy__scan_buffer()" );
-
- b->yy_buf_size = size - 2; /* "- 2" to take care of EOB's */
- b->yy_buf_pos = b->yy_ch_buf = base;
- b->yy_is_our_buffer = 0;
- b->yy_input_file = 0;
- b->yy_n_chars = b->yy_buf_size;
- b->yy_is_interactive = 0;
- b->yy_at_bol = 1;
- b->yy_fill_buffer = 0;
- b->yy_buffer_status = YY_BUFFER_NEW;
-
- yy__switch_to_buffer(b );
-
- return b;
-}
-
-/** Setup the input buffer state to scan a string. The next call to yy_lex() will
- * scan from a @e copy of @a str.
- * @param str a NUL-terminated string to scan
- *
- * @return the newly allocated buffer state object.
- * @note If you want to scan bytes that may contain NUL values, then use
- * yy__scan_bytes() instead.
- */
-YY_BUFFER_STATE yy__scan_string (yyconst char * yy_str )
-{
-
- return yy__scan_bytes(yy_str,strlen(yy_str) );
-}
-
-/** Setup the input buffer state to scan the given bytes. The next call to yy_lex() will
- * scan from a @e copy of @a bytes.
- * @param bytes the byte buffer to scan
- * @param len the number of bytes in the buffer pointed to by @a bytes.
- *
- * @return the newly allocated buffer state object.
- */
-YY_BUFFER_STATE yy__scan_bytes (yyconst char * bytes, int len )
-{
- YY_BUFFER_STATE b;
- char *buf;
- yy_size_t n;
- int i;
-
- /* Get memory for full buffer, including space for trailing EOB's. */
- n = len + 2;
- buf = (char *) yy_alloc(n );
- if ( ! buf )
- YY_FATAL_ERROR( "out of dynamic memory in yy__scan_bytes()" );
-
- for ( i = 0; i < len; ++i )
- buf[i] = bytes[i];
-
- buf[len] = buf[len+1] = YY_END_OF_BUFFER_CHAR;
-
- b = yy__scan_buffer(buf,n );
- if ( ! b )
- YY_FATAL_ERROR( "bad buffer in yy__scan_bytes()" );
-
- /* It's okay to grow etc. this buffer, and we should throw it
- * away when we're done.
- */
- b->yy_is_our_buffer = 1;
-
- return b;
-}
-
-#ifndef YY_EXIT_FAILURE
-#define YY_EXIT_FAILURE 2
-#endif
-
-static void yy_fatal_error (yyconst char* msg )
-{
- (void) fprintf( stderr, "%s\n", msg );
- exit( YY_EXIT_FAILURE );
-}
-
-/* Redefine yyless() so it works in section 3 code. */
-
-#undef yyless
-#define yyless(n) \
- do \
- { \
- /* Undo effects of setting up yy_text. */ \
- int yyless_macro_arg = (n); \
- YY_LESS_LINENO(yyless_macro_arg);\
- yy_text[yy_leng] = (yy_hold_char); \
- (yy_c_buf_p) = yy_text + yyless_macro_arg; \
- (yy_hold_char) = *(yy_c_buf_p); \
- *(yy_c_buf_p) = '\0'; \
- yy_leng = yyless_macro_arg; \
- } \
- while ( 0 )
-
-/* Accessor methods (get/set functions) to struct members. */
-
-/** Get the current line number.
- *
- */
-int yy_get_lineno (void)
-{
-
- return yy_lineno;
-}
-
-/** Get the input stream.
- *
- */
-FILE *yy_get_in (void)
-{
- return yy_in;
-}
-
-/** Get the output stream.
- *
- */
-FILE *yy_get_out (void)
-{
- return yy_out;
-}
-
-/** Get the length of the current token.
- *
- */
-int yy_get_leng (void)
-{
- return yy_leng;
-}
-
-/** Get the current token.
- *
- */
-
-char *yy_get_text (void)
-{
- return yy_text;
-}
-
-/** Set the current line number.
- * @param line_number
- *
- */
-void yy_set_lineno (int line_number )
-{
-
- yy_lineno = line_number;
-}
-
-/** Set the input stream. This does not discard the current
- * input buffer.
- * @param in_str A readable stream.
- *
- * @see yy__switch_to_buffer
- */
-void yy_set_in (FILE * in_str )
-{
- yy_in = in_str ;
-}
-
-void yy_set_out (FILE * out_str )
-{
- yy_out = out_str ;
-}
-
-int yy_get_debug (void)
-{
- return yy__flex_debug;
-}
-
-void yy_set_debug (int bdebug )
-{
- yy__flex_debug = bdebug ;
-}
-
-/* yy_lex_destroy is for both reentrant and non-reentrant scanners. */
-int yy_lex_destroy (void)
-{
-
- /* Pop the buffer stack, destroying each element. */
- while(YY_CURRENT_BUFFER){
- yy__delete_buffer(YY_CURRENT_BUFFER );
- YY_CURRENT_BUFFER_LVALUE = NULL;
- yy_pop_buffer_state();
- }
-
- /* Destroy the stack itself. */
- yy_free((yy_buffer_stack) );
- (yy_buffer_stack) = NULL;
-
- return 0;
-}
-
-/*
- * Internal utility routines.
- */
-
-#ifndef yytext_ptr
-static void yy_flex_strncpy (char* s1, yyconst char * s2, int n )
-{
- register int i;
- for ( i = 0; i < n; ++i )
- s1[i] = s2[i];
-}
-#endif
-
-#ifdef YY_NEED_STRLEN
-static int yy_flex_strlen (yyconst char * s )
-{
- register int n;
- for ( n = 0; s[n]; ++n )
- ;
-
- return n;
-}
-#endif
-
-void *yy_alloc (yy_size_t size )
-{
- return (void *) malloc( size );
-}
-
-void *yy_realloc (void * ptr, yy_size_t size )
-{
- /* The cast to (char *) in the following accommodates both
- * implementations that use char* generic pointers, and those
- * that use void* generic pointers. It works with the latter
- * because both ANSI C and C++ allow castless assignment from
- * any pointer type to void*, and deal with argument conversions
- * as though doing an assignment.
- */
- return (void *) realloc( (char *) ptr, size );
-}
-
-void yy_free (void * ptr )
-{
- free( (char *) ptr ); /* see yy_realloc() for (char *) cast */
-}
-
-#define YYTABLES_NAME "yytables"
-
-#undef YY_NEW_FILE
-#undef YY_FLUSH_BUFFER
-#undef yy_set_bol
-#undef yy_new_buffer
-#undef yy_set_interactive
-#undef yytext_ptr
-#undef YY_DO_BEFORE_ACTION
-
-#ifdef YY_DECL_IS_OURS
-#undef YY_DECL_IS_OURS
-#undef YY_DECL
-#endif
-#line 227 "src/cfglexer.ll"
diff --git a/intern/elbeem/intern/cfgparser.cpp b/intern/elbeem/intern/cfgparser.cpp
deleted file mode 100644
index 224c7d2787c..00000000000
--- a/intern/elbeem/intern/cfgparser.cpp
+++ /dev/null
@@ -1,2436 +0,0 @@
-/* A Bison parser, made by GNU Bison 2.0. */
-
-/* Skeleton parser for Yacc-like parsing with Bison,
- Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002, 2003, 2004 Free Software Foundation, Inc.
-
- This program is free software; you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 2, or (at your option)
- any later version.
-
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this program; if not, write to the Free Software
- Foundation, Inc., 59 Temple Place - Suite 330,
- Boston, MA 02111-1307, USA. */
-
-/* As a special exception, when this file is copied by Bison into a
- Bison output file, you may use that output file without restriction.
- This special exception was added by the Free Software Foundation
- in version 1.24 of Bison. */
-
-/* Written by Richard Stallman by simplifying the original so called
- ``semantic'' parser. */
-
-/* All symbols defined below should begin with yy or YY, to avoid
- infringing on user name space. This should be done even for local
- variables, as they might otherwise be expanded by user macros.
- There are some unavoidable exceptions within include files to
- define necessary library symbols; they are noted "INFRINGES ON
- USER NAME SPACE" below. */
-
-/* Identify Bison output. */
-#define YYBISON 1
-
-/* Skeleton name. */
-#define YYSKELETON_NAME "yacc.c"
-
-/* Pure parsers. */
-#define YYPURE 0
-
-/* Using locations. */
-#define YYLSP_NEEDED 0
-
-/* Substitute the variable and function names. */
-
-#ifndef yy_parse
-#define yyparse yy_parse
-/* the parse function from bison */
-int yy_parse( void );
-#endif
-
-#define yylex yy_lex
-#define yyerror yy_error
-#define yylval yy_lval
-#define yychar yy_char
-#define yydebug yy_debug
-#define yynerrs yy_nerrs
-
-
-/* Tokens. */
-#ifndef YYTOKENTYPE
-# define YYTOKENTYPE
- /* Put the tokens into the symbol table, so that GDB and other debuggers
- know about them. */
- enum yytokentype {
- DT_INTEGER = 258,
- DT_FLOAT = 259,
- DT_STRING = 260,
- DT_ATTRNAME = 261,
- DT_ATTRVALUE = 262,
- KW_LBMSIM = 263,
- KW_COMPARELBM = 264,
- KW_ANIFRAMETIME = 265,
- KW_DEBUGMODE = 266,
- KW_DEBUGLEVEL = 267,
- KW_P_RELAXTIME = 268,
- KW_P_REYNOLDS = 269,
- KW_P_VISCOSITY = 270,
- KW_P_SOUNDSPEED = 271,
- KW_P_DOMAINSIZE = 272,
- KW_P_FORCE = 273,
- KW_P_TIMELENGTH = 274,
- KW_P_STEPTIME = 275,
- KW_P_TIMEFACTOR = 276,
- KW_P_ANIFRAMETIME = 277,
- KW_P_ANISTART = 278,
- KW_P_SURFACETENSION = 279,
- KW_P_ACTIVATE = 280,
- KW_P_DEACTIVATE = 281,
- KW_P_DENSITY = 282,
- KW_P_CELLSIZE = 283,
- KW_P_GSTAR = 284,
- KW_PFSPATH = 285,
- KW_PARTLINELENGTH = 286,
- KW_PARTICLES = 287,
- KW_FRAMESPERSEC = 288,
- KW_RAYTRACING = 289,
- KW_PAROPEN = 290,
- KW_PARCLOSE = 291,
- KW_FILENAME = 292,
- KW_PMCAUSTICS = 293,
- KW_MAXRAYDEPTH = 294,
- KW_CAUSTICDIST = 295,
- KW_CAUSTICPHOT = 296,
- KW_SHADOWMAPBIAS = 297,
- KW_TREEMAXDEPTH = 298,
- KW_TREEMAXTRIANGLES = 299,
- KW_RESOLUTION = 300,
- KW_ANTIALIAS = 301,
- KW_EYEPOINT = 302,
- KW_ANISTART = 303,
- KW_ANIFRAMES = 304,
- KW_FRAMESKIP = 305,
- KW_LOOKAT = 306,
- KW_UPVEC = 307,
- KW_FOVY = 308,
- KW_ASPECT = 309,
- KW_AMBIENCE = 310,
- KW_BACKGROUND = 311,
- KW_DEBUGPIXEL = 312,
- KW_TESTMODE = 313,
- KW_OPENGLATTR = 314,
- KW_BLENDERATTR = 315,
- KW_ATTRIBUTE = 316,
- KW_ATTRCHANNEL = 317,
- KW_OBJATTR = 318,
- KW_EQUALS = 319,
- KW_DEFINEATTR = 320,
- KW_ATTREND = 321,
- KW_GEOMETRY = 322,
- KW_TYPE = 323,
- KW_GEOTYPE_BOX = 324,
- KW_GEOTYPE_FLUID = 325,
- KW_GEOTYPE_OBJMODEL = 326,
- KW_GEOTYPE_SPHERE = 327,
- KW_CASTSHADOWS = 328,
- KW_RECEIVESHADOWS = 329,
- KW_VISIBLE = 330,
- KW_BOX_END = 331,
- KW_BOX_START = 332,
- KW_POLY = 333,
- KW_NUMVERTICES = 334,
- KW_VERTEX = 335,
- KW_NUMPOLYGONS = 336,
- KW_ISOSURF = 337,
- KW_FILEMODE = 338,
- KW_INVERT = 339,
- KW_MATERIAL = 340,
- KW_MATTYPE_PHONG = 341,
- KW_MATTYPE_BLINN = 342,
- KW_NAME = 343,
- KW_AMBIENT = 344,
- KW_DIFFUSE = 345,
- KW_SPECULAR = 346,
- KW_MIRROR = 347,
- KW_TRANSPARENCE = 348,
- KW_REFRACINDEX = 349,
- KW_TRANSADDITIVE = 350,
- KW_TRANSATTCOL = 351,
- KW_FRESNEL = 352,
- KW_LIGHT = 353,
- KW_ACTIVE = 354,
- KW_COLOUR = 355,
- KW_POSITION = 356,
- KW_LIGHT_OMNI = 357,
- KW_CAUSTICPHOTONS = 358,
- KW_CAUSTICSTRENGTH = 359,
- KW_SHADOWMAP = 360,
- KW_CAUSTICSMAP = 361
- };
-#endif
-#define DT_INTEGER 258
-#define DT_FLOAT 259
-#define DT_STRING 260
-#define DT_ATTRNAME 261
-#define DT_ATTRVALUE 262
-#define KW_LBMSIM 263
-#define KW_COMPARELBM 264
-#define KW_ANIFRAMETIME 265
-#define KW_DEBUGMODE 266
-#define KW_DEBUGLEVEL 267
-#define KW_P_RELAXTIME 268
-#define KW_P_REYNOLDS 269
-#define KW_P_VISCOSITY 270
-#define KW_P_SOUNDSPEED 271
-#define KW_P_DOMAINSIZE 272
-#define KW_P_FORCE 273
-#define KW_P_TIMELENGTH 274
-#define KW_P_STEPTIME 275
-#define KW_P_TIMEFACTOR 276
-#define KW_P_ANIFRAMETIME 277
-#define KW_P_ANISTART 278
-#define KW_P_SURFACETENSION 279
-#define KW_P_ACTIVATE 280
-#define KW_P_DEACTIVATE 281
-#define KW_P_DENSITY 282
-#define KW_P_CELLSIZE 283
-#define KW_P_GSTAR 284
-#define KW_PFSPATH 285
-#define KW_PARTLINELENGTH 286
-#define KW_PARTICLES 287
-#define KW_FRAMESPERSEC 288
-#define KW_RAYTRACING 289
-#define KW_PAROPEN 290
-#define KW_PARCLOSE 291
-#define KW_FILENAME 292
-#define KW_PMCAUSTICS 293
-#define KW_MAXRAYDEPTH 294
-#define KW_CAUSTICDIST 295
-#define KW_CAUSTICPHOT 296
-#define KW_SHADOWMAPBIAS 297
-#define KW_TREEMAXDEPTH 298
-#define KW_TREEMAXTRIANGLES 299
-#define KW_RESOLUTION 300
-#define KW_ANTIALIAS 301
-#define KW_EYEPOINT 302
-#define KW_ANISTART 303
-#define KW_ANIFRAMES 304
-#define KW_FRAMESKIP 305
-#define KW_LOOKAT 306
-#define KW_UPVEC 307
-#define KW_FOVY 308
-#define KW_ASPECT 309
-#define KW_AMBIENCE 310
-#define KW_BACKGROUND 311
-#define KW_DEBUGPIXEL 312
-#define KW_TESTMODE 313
-#define KW_OPENGLATTR 314
-#define KW_BLENDERATTR 315
-#define KW_ATTRIBUTE 316
-#define KW_ATTRCHANNEL 317
-#define KW_OBJATTR 318
-#define KW_EQUALS 319
-#define KW_DEFINEATTR 320
-#define KW_ATTREND 321
-#define KW_GEOMETRY 322
-#define KW_TYPE 323
-#define KW_GEOTYPE_BOX 324
-#define KW_GEOTYPE_FLUID 325
-#define KW_GEOTYPE_OBJMODEL 326
-#define KW_GEOTYPE_SPHERE 327
-#define KW_CASTSHADOWS 328
-#define KW_RECEIVESHADOWS 329
-#define KW_VISIBLE 330
-#define KW_BOX_END 331
-#define KW_BOX_START 332
-#define KW_POLY 333
-#define KW_NUMVERTICES 334
-#define KW_VERTEX 335
-#define KW_NUMPOLYGONS 336
-#define KW_ISOSURF 337
-#define KW_FILEMODE 338
-#define KW_INVERT 339
-#define KW_MATERIAL 340
-#define KW_MATTYPE_PHONG 341
-#define KW_MATTYPE_BLINN 342
-#define KW_NAME 343
-#define KW_AMBIENT 344
-#define KW_DIFFUSE 345
-#define KW_SPECULAR 346
-#define KW_MIRROR 347
-#define KW_TRANSPARENCE 348
-#define KW_REFRACINDEX 349
-#define KW_TRANSADDITIVE 350
-#define KW_TRANSATTCOL 351
-#define KW_FRESNEL 352
-#define KW_LIGHT 353
-#define KW_ACTIVE 354
-#define KW_COLOUR 355
-#define KW_POSITION 356
-#define KW_LIGHT_OMNI 357
-#define KW_CAUSTICPHOTONS 358
-#define KW_CAUSTICSTRENGTH 359
-#define KW_SHADOWMAP 360
-#define KW_CAUSTICSMAP 361
-
-
-
-
-/* Copy the first part of user declarations. */
-#line 14 "src/cfgparser.yy"
-
-
-#define YYDEBUG 1
-
-/* library functions */
-#include <stdio.h>
-#include <stdlib.h>
-#include <string.h>
-#include "attributes.h"
-
-void yy_warn(char *s);
-void yy_error(const char *s);
-
-/* imported from flex... */
-extern int yy_lex();
-extern int lineCount;
-extern FILE *yy_in;
-
-// local variables to access objects
-#include "solver_interface.h"
-#include "simulation_object.h"
-#ifdef LBM_INCLUDE_TESTSOLVERS
-#include "simulation_complbm.h"
-#endif // LBM_INCLUDE_TESTSOLVERS
-
-#include "parametrizer.h"
-#include "ntl_world.h"
-#include "ntl_ray.h"
-#include "ntl_lighting.h"
-#include "ntl_geometrymodel.h"
-
- /* global variables */
- static map<string,AttributeList*> attrs; /* global attribute storage */
- vector<string> currentAttrValue; /* build string vector */
-
- // global raytracing settings, stores object,lights,material lists etc.
- // lists are freed by ntlScene upon deletion
- static ntlRenderGlobals *reglob; /* raytracing global settings */
-
- /* light initialization checks */
- ntlLightObject *currentLight;
- ntlLightObject *currentLightOmni;
-
- /* geometry initialization checks */
- ntlGeometryClass *currentGeoClass;
- ntlGeometryObject *currentGeoObj;
- SimulationObject *currentGeometrySim;
- ntlGeometryObjModel *currentGeometryModel;
- AttributeList *currentAttrib;
- string currentAttrName, currentAttribAddName;
-
-#ifndef ELBEEM_PLUGIN
-#include "ntl_geometrybox.h"
-#include "ntl_geometrysphere.h"
- ntlGeometryBox *currentGeometryBox;
-#endif //ELBEEM_PLUGIN
-
- /* material init checks */
- ntlMaterial *currentMaterial;
-
-
-
-/* Enabling traces. */
-#ifndef YYDEBUG
-# define YYDEBUG 1
-#endif
-
-/* Enabling verbose error messages. */
-#ifdef YYERROR_VERBOSE
-# undef YYERROR_VERBOSE
-# define YYERROR_VERBOSE 1
-#else
-# define YYERROR_VERBOSE 0
-#endif
-
-#if ! defined (YYSTYPE) && ! defined (YYSTYPE_IS_DECLARED)
-#line 85 "src/cfgparser.yy"
-typedef union YYSTYPE {
- int intValue;
- float floatValue;
- char *charValue;
-} YYSTYPE;
-/* Line 190 of yacc.c. */
-#line 367 "bld-std-gcc/src/cfgparser.cpp"
-# define yystype YYSTYPE /* obsolescent; will be withdrawn */
-# define YYSTYPE_IS_DECLARED 1
-# define YYSTYPE_IS_TRIVIAL 1
-#endif
-
-
-
-/* Copy the second part of user declarations. */
-
-
-/* Line 213 of yacc.c. */
-#line 379 "bld-std-gcc/src/cfgparser.cpp"
-
-#if ! defined (yyoverflow) || YYERROR_VERBOSE
-
-# ifndef YYFREE
-# define YYFREE free
-# endif
-# ifndef YYMALLOC
-# define YYMALLOC malloc
-# endif
-
-/* The parser invokes alloca or malloc; define the necessary symbols. */
-
-# ifdef YYSTACK_USE_ALLOCA
-# if YYSTACK_USE_ALLOCA
-# ifdef __GNUC__
-# define YYSTACK_ALLOC __builtin_alloca
-# else
-# define YYSTACK_ALLOC alloca
-# endif
-# endif
-# endif
-
-# ifdef YYSTACK_ALLOC
- /* Pacify GCC's `empty if-body' warning. */
-# define YYSTACK_FREE(Ptr) do { /* empty */; } while (0)
-# else
-# if defined (__STDC__) || defined (__cplusplus)
-# include <stdlib.h> /* INFRINGES ON USER NAME SPACE */
-# define YYSIZE_T size_t
-# endif
-# define YYSTACK_ALLOC YYMALLOC
-# define YYSTACK_FREE YYFREE
-# endif
-#endif /* ! defined (yyoverflow) || YYERROR_VERBOSE */
-
-
-#if (! defined (yyoverflow) \
- && (! defined (__cplusplus) \
- || (defined (YYSTYPE_IS_TRIVIAL) && YYSTYPE_IS_TRIVIAL)))
-
-/* A type that is properly aligned for any stack member. */
-union yyalloc
-{
- short int yyss;
- YYSTYPE yyvs;
- };
-
-/* The size of the maximum gap between one aligned stack and the next. */
-# define YYSTACK_GAP_MAXIMUM (sizeof (union yyalloc) - 1)
-
-/* The size of an array large to enough to hold all stacks, each with
- N elements. */
-# define YYSTACK_BYTES(N) \
- ((N) * (sizeof (short int) + sizeof (YYSTYPE)) \
- + YYSTACK_GAP_MAXIMUM)
-
-/* Copy COUNT objects from FROM to TO. The source and destination do
- not overlap. */
-# ifndef YYCOPY
-# if defined (__GNUC__) && 1 < __GNUC__
-# define YYCOPY(To, From, Count) \
- __builtin_memcpy (To, From, (Count) * sizeof (*(From)))
-# else
-# define YYCOPY(To, From, Count) \
- do \
- { \
- register YYSIZE_T yyi; \
- for (yyi = 0; yyi < (Count); yyi++) \
- (To)[yyi] = (From)[yyi]; \
- } \
- while (0)
-# endif
-# endif
-
-/* Relocate STACK from its old location to the new one. The
- local variables YYSIZE and YYSTACKSIZE give the old and new number of
- elements in the stack, and YYPTR gives the new location of the
- stack. Advance YYPTR to a properly aligned location for the next
- stack. */
-# define YYSTACK_RELOCATE(Stack) \
- do \
- { \
- YYSIZE_T yynewbytes; \
- YYCOPY (&yyptr->Stack, Stack, yysize); \
- Stack = &yyptr->Stack; \
- yynewbytes = yystacksize * sizeof (*Stack) + YYSTACK_GAP_MAXIMUM; \
- yyptr += yynewbytes / sizeof (*yyptr); \
- } \
- while (0)
-
-#endif
-
-#if defined (__STDC__) || defined (__cplusplus)
- typedef signed char yysigned_char;
-#else
- typedef short int yysigned_char;
-#endif
-
-/* YYFINAL -- State number of the termination state. */
-#define YYFINAL 15
-/* YYLAST -- Last index in YYTABLE. */
-#define YYLAST 288
-
-/* YYNTOKENS -- Number of terminals. */
-#define YYNTOKENS 107
-/* YYNNTS -- Number of nonterminals. */
-#define YYNNTS 82
-/* YYNRULES -- Number of rules. */
-#define YYNRULES 143
-/* YYNRULES -- Number of states. */
-#define YYNSTATES 249
-
-/* YYTRANSLATE(YYLEX) -- Bison symbol number corresponding to YYLEX. */
-#define YYUNDEFTOK 2
-#define YYMAXUTOK 361
-
-#define YYTRANSLATE(YYX) \
- ((unsigned int) (YYX) <= YYMAXUTOK ? yytranslate[YYX] : YYUNDEFTOK)
-
-/* YYTRANSLATE[YYLEX] -- Bison symbol number corresponding to YYLEX. */
-static const unsigned char yytranslate[] =
-{
- 0, 2, 2, 2, 2, 2, 2, 2, 2, 2,
- 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
- 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
- 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
- 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
- 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
- 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
- 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
- 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
- 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
- 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
- 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
- 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
- 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
- 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
- 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
- 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
- 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
- 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
- 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
- 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
- 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
- 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
- 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
- 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
- 2, 2, 2, 2, 2, 2, 1, 2, 3, 4,
- 5, 6, 7, 8, 9, 10, 11, 12, 13, 14,
- 15, 16, 17, 18, 19, 20, 21, 22, 23, 24,
- 25, 26, 27, 28, 29, 30, 31, 32, 33, 34,
- 35, 36, 37, 38, 39, 40, 41, 42, 43, 44,
- 45, 46, 47, 48, 49, 50, 51, 52, 53, 54,
- 55, 56, 57, 58, 59, 60, 61, 62, 63, 64,
- 65, 66, 67, 68, 69, 70, 71, 72, 73, 74,
- 75, 76, 77, 78, 79, 80, 81, 82, 83, 84,
- 85, 86, 87, 88, 89, 90, 91, 92, 93, 94,
- 95, 96, 97, 98, 99, 100, 101, 102, 103, 104,
- 105, 106
-};
-
-#if YYDEBUG
-/* YYPRHS[YYN] -- Index of the first RHS symbol of rule number YYN in
- YYRHS. */
-static const unsigned short int yyprhs[] =
-{
- 0, 0, 3, 6, 8, 10, 12, 14, 16, 19,
- 22, 27, 30, 32, 34, 36, 38, 40, 42, 44,
- 46, 48, 50, 52, 54, 56, 58, 60, 62, 64,
- 66, 68, 70, 72, 74, 76, 78, 80, 82, 85,
- 88, 91, 94, 98, 101, 106, 111, 116, 119, 122,
- 127, 132, 135, 138, 141, 144, 148, 151, 154, 157,
- 164, 167, 169, 171, 173, 175, 177, 179, 182, 185,
- 190, 195, 196, 204, 207, 209, 211, 213, 215, 217,
- 219, 221, 223, 225, 227, 229, 231, 233, 235, 237,
- 240, 243, 246, 249, 252, 257, 262, 265, 270, 277,
- 280, 282, 284, 286, 288, 290, 292, 294, 296, 298,
- 300, 302, 304, 306, 309, 314, 319, 323, 326, 329,
- 332, 335, 340, 343, 344, 351, 354, 356, 358, 360,
- 361, 362, 370, 371, 372, 379, 382, 384, 386, 388,
- 390, 392, 394, 396
-};
-
-/* YYRHS -- A `-1'-separated list of the rules' RHS. */
-static const short int yyrhs[] =
-{
- 108, 0, -1, 108, 109, -1, 109, -1, 112, -1,
- 172, -1, 110, -1, 111, -1, 11, 3, -1, 12,
- 3, -1, 34, 35, 113, 36, -1, 113, 114, -1,
- 114, -1, 117, -1, 115, -1, 116, -1, 118, -1,
- 119, -1, 120, -1, 121, -1, 122, -1, 123, -1,
- 124, -1, 125, -1, 126, -1, 127, -1, 128, -1,
- 129, -1, 130, -1, 131, -1, 132, -1, 133, -1,
- 134, -1, 135, -1, 136, -1, 144, -1, 175, -1,
- 158, -1, 48, 187, -1, 10, 187, -1, 49, 186,
- -1, 50, 188, -1, 45, 186, 186, -1, 46, 3,
- -1, 47, 185, 185, 185, -1, 51, 185, 185, 185,
- -1, 52, 185, 185, 185, -1, 53, 185, -1, 54,
- 185, -1, 55, 185, 185, 185, -1, 56, 185, 185,
- 185, -1, 37, 5, -1, 43, 186, -1, 44, 186,
- -1, 39, 186, -1, 57, 3, 3, -1, 58, 188,
- -1, 59, 5, -1, 60, 5, -1, 98, 35, 68,
- 138, 137, 36, -1, 137, 139, -1, 139, -1, 102,
- -1, 140, -1, 141, -1, 142, -1, 143, -1, 99,
- 188, -1, 73, 188, -1, 100, 185, 185, 185, -1,
- 101, 185, 185, 185, -1, -1, 67, 35, 68, 147,
- 145, 146, 36, -1, 146, 148, -1, 148, -1, 69,
- -1, 72, -1, 71, -1, 8, -1, 9, -1, 149,
- -1, 150, -1, 151, -1, 152, -1, 153, -1, 154,
- -1, 155, -1, 156, -1, 157, -1, 88, 5, -1,
- 85, 5, -1, 73, 188, -1, 74, 188, -1, 75,
- 188, -1, 77, 185, 185, 185, -1, 76, 185, 185,
- 185, -1, 63, 5, -1, 65, 35, 174, 36, -1,
- 85, 35, 68, 160, 159, 36, -1, 159, 161, -1,
- 161, -1, 86, -1, 87, -1, 162, -1, 163, -1,
- 164, -1, 165, -1, 166, -1, 168, -1, 167, -1,
- 169, -1, 170, -1, 171, -1, 88, 5, -1, 89,
- 183, 183, 183, -1, 90, 183, 183, 183, -1, 91,
- 185, 185, -1, 92, 184, -1, 93, 184, -1, 94,
- 185, -1, 95, 184, -1, 96, 185, 185, 185, -1,
- 97, 187, -1, -1, 61, 6, 35, 173, 174, 36,
- -1, 174, 175, -1, 175, -1, 179, -1, 176, -1,
- -1, -1, 62, 6, 64, 177, 182, 178, 66, -1,
- -1, -1, 6, 64, 180, 182, 181, 66, -1, 182,
- 7, -1, 7, -1, 184, -1, 185, -1, 4, -1,
- 3, -1, 3, -1, 3, -1, 3, -1
-};
-
-/* YYRLINE[YYN] -- source line where rule number YYN was defined. */
-static const unsigned short int yyrline[] =
-{
- 0, 144, 144, 145, 148, 149, 150, 151, 155, 158,
- 173, 174, 174, 177, 178, 179, 180, 182, 183, 184,
- 185, 186, 187, 188, 189, 190, 191, 192, 193, 194,
- 195, 196, 197, 198, 200, 201, 202, 203, 208, 212,
- 217, 221, 227, 231, 235, 239, 243, 247, 251, 255,
- 259, 263, 267, 271, 275, 279, 283, 287, 292, 301,
- 312, 313, 316, 324, 325, 326, 327, 331, 336, 341,
- 346, 364, 363, 385, 386, 389, 398, 406, 411, 417,
- 429, 430, 431, 432, 433, 434, 435, 436, 437, 442,
- 447, 453, 459, 465, 470, 485, 501, 510, 520, 531,
- 532, 535, 540, 544, 545, 546, 547, 548, 549, 550,
- 551, 552, 553, 558, 563, 568, 573, 579, 584, 589,
- 594, 599, 604, 615, 615, 625, 625, 628, 628, 631,
- 632, 631, 639, 640, 639, 647, 650, 660, 663, 675,
- 677, 683, 694, 706
-};
-#endif
-
-#if YYDEBUG || YYERROR_VERBOSE
-/* YYTNME[SYMBOL-NUM] -- String name of the symbol SYMBOL-NUM.
- First, the terminals, then, starting at YYNTOKENS, nonterminals. */
-static const char *const yytname[] =
-{
- "$end", "error", "$undefined", "DT_INTEGER", "DT_FLOAT", "DT_STRING",
- "DT_ATTRNAME", "DT_ATTRVALUE", "KW_LBMSIM", "KW_COMPARELBM",
- "KW_ANIFRAMETIME", "KW_DEBUGMODE", "KW_DEBUGLEVEL", "KW_P_RELAXTIME",
- "KW_P_REYNOLDS", "KW_P_VISCOSITY", "KW_P_SOUNDSPEED", "KW_P_DOMAINSIZE",
- "KW_P_FORCE", "KW_P_TIMELENGTH", "KW_P_STEPTIME", "KW_P_TIMEFACTOR",
- "KW_P_ANIFRAMETIME", "KW_P_ANISTART", "KW_P_SURFACETENSION",
- "KW_P_ACTIVATE", "KW_P_DEACTIVATE", "KW_P_DENSITY", "KW_P_CELLSIZE",
- "KW_P_GSTAR", "KW_PFSPATH", "KW_PARTLINELENGTH", "KW_PARTICLES",
- "KW_FRAMESPERSEC", "KW_RAYTRACING", "KW_PAROPEN", "KW_PARCLOSE",
- "KW_FILENAME", "KW_PMCAUSTICS", "KW_MAXRAYDEPTH", "KW_CAUSTICDIST",
- "KW_CAUSTICPHOT", "KW_SHADOWMAPBIAS", "KW_TREEMAXDEPTH",
- "KW_TREEMAXTRIANGLES", "KW_RESOLUTION", "KW_ANTIALIAS", "KW_EYEPOINT",
- "KW_ANISTART", "KW_ANIFRAMES", "KW_FRAMESKIP", "KW_LOOKAT", "KW_UPVEC",
- "KW_FOVY", "KW_ASPECT", "KW_AMBIENCE", "KW_BACKGROUND", "KW_DEBUGPIXEL",
- "KW_TESTMODE", "KW_OPENGLATTR", "KW_BLENDERATTR", "KW_ATTRIBUTE",
- "KW_ATTRCHANNEL", "KW_OBJATTR", "KW_EQUALS", "KW_DEFINEATTR",
- "KW_ATTREND", "KW_GEOMETRY", "KW_TYPE", "KW_GEOTYPE_BOX",
- "KW_GEOTYPE_FLUID", "KW_GEOTYPE_OBJMODEL", "KW_GEOTYPE_SPHERE",
- "KW_CASTSHADOWS", "KW_RECEIVESHADOWS", "KW_VISIBLE", "KW_BOX_END",
- "KW_BOX_START", "KW_POLY", "KW_NUMVERTICES", "KW_VERTEX",
- "KW_NUMPOLYGONS", "KW_ISOSURF", "KW_FILEMODE", "KW_INVERT",
- "KW_MATERIAL", "KW_MATTYPE_PHONG", "KW_MATTYPE_BLINN", "KW_NAME",
- "KW_AMBIENT", "KW_DIFFUSE", "KW_SPECULAR", "KW_MIRROR",
- "KW_TRANSPARENCE", "KW_REFRACINDEX", "KW_TRANSADDITIVE",
- "KW_TRANSATTCOL", "KW_FRESNEL", "KW_LIGHT", "KW_ACTIVE", "KW_COLOUR",
- "KW_POSITION", "KW_LIGHT_OMNI", "KW_CAUSTICPHOTONS",
- "KW_CAUSTICSTRENGTH", "KW_SHADOWMAP", "KW_CAUSTICSMAP", "$accept",
- "desc_line", "desc_expression", "toggledebug_expression",
- "setdebuglevel_expression", "raytrace_section", "raytrace_line",
- "raytrace_expression", "anistart_expression", "aniframetime_expression",
- "aniframes_expression", "frameskip_expression", "resolution_expression",
- "antialias_expression", "eyepoint_expression", "lookat_expression",
- "upvec_expression", "fovy_expression", "aspect_expression",
- "ambience_expression", "background_expression", "filename_expression",
- "treemaxdepth_expression", "treemaxtriangles_expression",
- "maxraydepth_expression", "debugpixel_expression", "testmode_expression",
- "openglattr_expr", "blenderattr_expr", "light_expression",
- "lightsettings_line", "lighttype_expression", "lightsettings_expression",
- "lightactive_expression", "lightcastshadows_expression",
- "lightcolor_expression", "lightposition_expression",
- "geometry_expression", "@1", "geometrysettings_line",
- "geometrytype_expression", "geometrysettings_expression",
- "geometryexpression_name", "geometryexpression_propname",
- "geometryexpression_castshadows", "geometryexpression_recshadows",
- "geometryexpression_visible", "geometryexpression_boxstart",
- "geometryexpression_boxend", "geometryexpression_attrib",
- "geometryexpression_defattrib", "material_expression",
- "materialsettings_line", "materialtype_expression",
- "materialsettings_expression", "materialexpression_name",
- "materialexpression_ambient", "materialexpression_diffuse",
- "materialexpression_specular", "materialexpression_mirror",
- "materialexpression_transparence", "materialexpression_refracindex",
- "materialexpression_transadd", "materialexpression_transattcol",
- "materialexpression_fresnel", "attribute_section", "@2",
- "attribute_line", "attribute_expression", "attribute_channel", "@3",
- "@4", "attribute_normal", "@5", "@6", "attrvalue_list", "DT_COLOR",
- "DT_ZEROTOONE", "DT_REALVAL", "DT_INTLTZERO", "DT_POSINT", "DT_BOOLEAN", 0
-};
-#endif
-
-# ifdef YYPRINT
-/* YYTOKNUM[YYLEX-NUM] -- Internal token number corresponding to
- token YYLEX-NUM. */
-static const unsigned short int yytoknum[] =
-{
- 0, 256, 257, 258, 259, 260, 261, 262, 263, 264,
- 265, 266, 267, 268, 269, 270, 271, 272, 273, 274,
- 275, 276, 277, 278, 279, 280, 281, 282, 283, 284,
- 285, 286, 287, 288, 289, 290, 291, 292, 293, 294,
- 295, 296, 297, 298, 299, 300, 301, 302, 303, 304,
- 305, 306, 307, 308, 309, 310, 311, 312, 313, 314,
- 315, 316, 317, 318, 319, 320, 321, 322, 323, 324,
- 325, 326, 327, 328, 329, 330, 331, 332, 333, 334,
- 335, 336, 337, 338, 339, 340, 341, 342, 343, 344,
- 345, 346, 347, 348, 349, 350, 351, 352, 353, 354,
- 355, 356, 357, 358, 359, 360, 361
-};
-# endif
-
-/* YYR1[YYN] -- Symbol number of symbol that rule YYN derives. */
-static const unsigned char yyr1[] =
-{
- 0, 107, 108, 108, 109, 109, 109, 109, 110, 111,
- 112, 113, 113, 114, 114, 114, 114, 114, 114, 114,
- 114, 114, 114, 114, 114, 114, 114, 114, 114, 114,
- 114, 114, 114, 114, 114, 114, 114, 114, 115, 116,
- 117, 118, 119, 120, 121, 122, 123, 124, 125, 126,
- 127, 128, 129, 130, 131, 132, 133, 134, 135, 136,
- 137, 137, 138, 139, 139, 139, 139, 140, 141, 142,
- 143, 145, 144, 146, 146, 147, 147, 147, 147, 147,
- 148, 148, 148, 148, 148, 148, 148, 148, 148, 149,
- 150, 151, 152, 153, 154, 155, 156, 157, 158, 159,
- 159, 160, 160, 161, 161, 161, 161, 161, 161, 161,
- 161, 161, 161, 162, 163, 164, 165, 166, 167, 168,
- 169, 170, 171, 173, 172, 174, 174, 175, 175, 177,
- 178, 176, 180, 181, 179, 182, 182, 183, 184, 185,
- 185, 186, 187, 188
-};
-
-/* YYR2[YYN] -- Number of symbols composing right hand side of rule YYN. */
-static const unsigned char yyr2[] =
-{
- 0, 2, 2, 1, 1, 1, 1, 1, 2, 2,
- 4, 2, 1, 1, 1, 1, 1, 1, 1, 1,
- 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
- 1, 1, 1, 1, 1, 1, 1, 1, 2, 2,
- 2, 2, 3, 2, 4, 4, 4, 2, 2, 4,
- 4, 2, 2, 2, 2, 3, 2, 2, 2, 6,
- 2, 1, 1, 1, 1, 1, 1, 2, 2, 4,
- 4, 0, 7, 2, 1, 1, 1, 1, 1, 1,
- 1, 1, 1, 1, 1, 1, 1, 1, 1, 2,
- 2, 2, 2, 2, 4, 4, 2, 4, 6, 2,
- 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
- 1, 1, 1, 2, 4, 4, 3, 2, 2, 2,
- 2, 4, 2, 0, 6, 2, 1, 1, 1, 0,
- 0, 7, 0, 0, 6, 2, 1, 1, 1, 1,
- 1, 1, 1, 1
-};
-
-/* YYDEFACT[STATE-NAME] -- Default rule to reduce with in state
- STATE-NUM when YYTABLE doesn't specify something else to do. Zero
- means the default is an error. */
-static const unsigned char yydefact[] =
-{
- 0, 0, 0, 0, 0, 0, 3, 6, 7, 4,
- 5, 8, 9, 0, 0, 1, 2, 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, 12, 14, 15, 13, 16, 17,
- 18, 19, 20, 21, 22, 23, 24, 25, 26, 27,
- 28, 29, 30, 31, 32, 33, 34, 35, 37, 36,
- 128, 127, 123, 132, 142, 39, 51, 141, 54, 52,
- 53, 0, 43, 140, 139, 0, 38, 40, 143, 41,
- 0, 0, 47, 48, 0, 0, 0, 56, 57, 58,
- 0, 0, 0, 0, 10, 11, 0, 0, 42, 0,
- 0, 0, 0, 0, 55, 129, 0, 0, 0, 0,
- 126, 136, 133, 44, 45, 46, 49, 50, 0, 78,
- 79, 75, 77, 76, 71, 101, 102, 0, 62, 0,
- 124, 125, 135, 0, 130, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 100, 103, 104,
- 105, 106, 107, 109, 108, 110, 111, 112, 0, 0,
- 0, 0, 0, 61, 63, 64, 65, 66, 134, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 74, 80, 81, 82, 83, 84, 85, 86, 87, 88,
- 113, 0, 137, 138, 0, 0, 117, 118, 119, 120,
- 0, 122, 98, 99, 68, 67, 0, 0, 59, 60,
- 131, 96, 0, 91, 92, 93, 0, 0, 90, 89,
- 72, 73, 0, 0, 116, 0, 0, 0, 0, 0,
- 0, 114, 115, 121, 69, 70, 97, 95, 94
-};
-
-/* YYDEFGOTO[NTERM-NUM]. */
-static const short int yydefgoto[] =
-{
- -1, 5, 6, 7, 8, 9, 43, 44, 45, 46,
- 47, 48, 49, 50, 51, 52, 53, 54, 55, 56,
- 57, 58, 59, 60, 61, 62, 63, 64, 65, 66,
- 172, 139, 173, 174, 175, 176, 177, 67, 145, 189,
- 134, 190, 191, 192, 193, 194, 195, 196, 197, 198,
- 199, 68, 156, 137, 157, 158, 159, 160, 161, 162,
- 163, 164, 165, 166, 167, 10, 106, 119, 69, 70,
- 128, 179, 71, 107, 143, 122, 201, 202, 203, 78,
- 75, 89
-};
-
-/* YYPACT[STATE-NUM] -- Index in YYTABLE of the portion describing
- STATE-NUM. */
-#define YYPACT_NINF -123
-static const short int yypact[] =
-{
- 3, 27, 33, -11, 37, 11, -123, -123, -123, -123,
- -123, -123, -123, 180, 13, -123, -123, -20, 43, 44,
- 47, 47, 47, 47, 48, 29, 43, 47, 49, 29,
- 29, 29, 29, 29, 29, 50, 49, 52, 56, 61,
- 19, 23, 36, 53, -123, -123, -123, -123, -123, -123,
- -123, -123, -123, -123, -123, -123, -123, -123, -123, -123,
- -123, -123, -123, -123, -123, -123, -123, -123, -123, -123,
- -123, -123, -123, -123, -123, -123, -123, -123, -123, -123,
- -123, 47, -123, -123, -123, 29, -123, -123, -123, -123,
- 29, 29, -123, -123, 29, 29, 59, -123, -123, -123,
- -9, 8, 25, 57, -123, -123, 21, 70, -123, 29,
- 29, 29, 29, 29, -123, -123, 9, -52, -7, 6,
- -123, -123, 109, -123, -123, -123, -123, -123, 70, -123,
- -123, -123, -123, -123, -123, -123, -123, 191, -123, -60,
- -123, -123, -123, 51, 109, 67, 113, 29, 29, 29,
- 29, 29, 29, 29, 29, 43, 78, -123, -123, -123,
- -123, -123, -123, -123, -123, -123, -123, -123, 49, 49,
- 29, 29, -26, -123, -123, -123, -123, -123, -123, 55,
- 121, 93, 49, 49, 49, 29, 29, 131, 132, 185,
- -123, -123, -123, -123, -123, -123, -123, -123, -123, -123,
- -123, 29, -123, -123, 29, 29, -123, -123, -123, -123,
- 29, -123, -123, -123, -123, -123, 29, 29, -123, -123,
- -123, -123, 21, -123, -123, -123, 29, 29, -123, -123,
- -123, -123, 29, 29, -123, 29, 29, 29, 20, 29,
- 29, -123, -123, -123, -123, -123, -123, -123, -123
-};
-
-/* YYPGOTO[NTERM-NUM]. */
-static const short int yypgoto[] =
-{
- -123, -123, 134, -123, -123, -123, -123, 107, -123, -123,
- -123, -123, -123, -123, -123, -123, -123, -123, -123, -123,
- -123, -123, -123, -123, -123, -123, -123, -123, -123, -123,
- -123, -123, -19, -123, -123, -123, -123, -123, -123, -123,
- -123, -33, -123, -123, -123, -123, -123, -123, -123, -123,
- -123, -123, -123, -123, 1, -123, -123, -123, -123, -123,
- -123, -123, -123, -123, -123, -123, -123, -68, -103, -123,
- -123, -123, -123, -123, -123, 30, -110, -122, -25, -2,
- -24, -35
-};
-
-/* YYTABLE[YYPACT[STATE-NUM]]. What to do in state STATE-NUM. If
- positive, shift that token. If negative, reduce the rule which
- number is the opposite. If zero, do what YYDEFACT says.
- If YYTABLE_NINF, syntax error. */
-#define YYTABLE_NINF -1
-static const unsigned char yytable[] =
-{
- 85, 97, 86, 120, 90, 91, 92, 93, 94, 95,
- 218, 15, 17, 168, 1, 2, 141, 129, 130, 79,
- 80, 81, 1, 2, 13, 87, 17, 17, 206, 207,
- 11, 209, 83, 84, 135, 136, 12, 3, 204, 169,
- 170, 171, 140, 14, 73, 3, 74, 168, 72, 76,
- 77, 82, 88, 96, 101, 115, 246, 98, 102, 17,
- 109, 99, 114, 18, 4, 110, 111, 100, 39, 112,
- 113, 103, 4, 169, 170, 171, 116, 121, 131, 108,
- 132, 133, 39, 39, 123, 124, 125, 126, 127, 104,
- 19, 232, 20, 117, 233, 138, 21, 22, 23, 24,
- 25, 26, 27, 28, 29, 30, 31, 32, 33, 34,
- 35, 36, 37, 38, 212, 39, 142, 178, 200, 120,
- 40, 220, 241, 242, 205, 118, 221, 208, 222, 210,
- 180, 211, 181, 214, 215, 141, 228, 229, 41, 16,
- 182, 183, 184, 185, 186, 216, 217, 223, 224, 225,
- 105, 42, 187, 219, 238, 188, 231, 213, 144, 0,
- 226, 227, 0, 0, 0, 0, 146, 147, 148, 149,
- 150, 151, 152, 153, 154, 155, 0, 0, 0, 0,
- 234, 0, 0, 0, 0, 235, 17, 0, 0, 0,
- 18, 236, 237, 0, 0, 0, 0, 0, 0, 0,
- 0, 239, 240, 0, 0, 0, 0, 0, 0, 0,
- 243, 244, 245, 0, 247, 248, 0, 19, 0, 20,
- 0, 230, 0, 21, 22, 23, 24, 25, 26, 27,
- 28, 29, 30, 31, 32, 33, 34, 35, 36, 37,
- 38, 0, 39, 0, 0, 0, 0, 40, 180, 0,
- 181, 0, 0, 0, 0, 0, 0, 0, 182, 183,
- 184, 185, 186, 0, 0, 41, 0, 0, 0, 0,
- 187, 0, 0, 188, 0, 0, 0, 0, 42, 146,
- 147, 148, 149, 150, 151, 152, 153, 154, 155
-};
-
-static const short int yycheck[] =
-{
- 25, 36, 26, 106, 29, 30, 31, 32, 33, 34,
- 36, 0, 6, 73, 11, 12, 119, 8, 9, 21,
- 22, 23, 11, 12, 35, 27, 6, 6, 150, 151,
- 3, 153, 3, 4, 86, 87, 3, 34, 148, 99,
- 100, 101, 36, 6, 64, 34, 3, 73, 35, 5,
- 3, 3, 3, 3, 35, 64, 36, 5, 35, 6,
- 85, 5, 3, 10, 61, 90, 91, 6, 62, 94,
- 95, 35, 61, 99, 100, 101, 68, 7, 69, 81,
- 71, 72, 62, 62, 109, 110, 111, 112, 113, 36,
- 37, 201, 39, 68, 204, 102, 43, 44, 45, 46,
- 47, 48, 49, 50, 51, 52, 53, 54, 55, 56,
- 57, 58, 59, 60, 36, 62, 7, 66, 5, 222,
- 67, 66, 232, 233, 149, 68, 5, 152, 35, 154,
- 63, 155, 65, 168, 169, 238, 5, 5, 85, 5,
- 73, 74, 75, 76, 77, 170, 171, 182, 183, 184,
- 43, 98, 85, 172, 222, 88, 189, 156, 128, -1,
- 185, 186, -1, -1, -1, -1, 88, 89, 90, 91,
- 92, 93, 94, 95, 96, 97, -1, -1, -1, -1,
- 205, -1, -1, -1, -1, 210, 6, -1, -1, -1,
- 10, 216, 217, -1, -1, -1, -1, -1, -1, -1,
- -1, 226, 227, -1, -1, -1, -1, -1, -1, -1,
- 235, 236, 237, -1, 239, 240, -1, 37, -1, 39,
- -1, 36, -1, 43, 44, 45, 46, 47, 48, 49,
- 50, 51, 52, 53, 54, 55, 56, 57, 58, 59,
- 60, -1, 62, -1, -1, -1, -1, 67, 63, -1,
- 65, -1, -1, -1, -1, -1, -1, -1, 73, 74,
- 75, 76, 77, -1, -1, 85, -1, -1, -1, -1,
- 85, -1, -1, 88, -1, -1, -1, -1, 98, 88,
- 89, 90, 91, 92, 93, 94, 95, 96, 97
-};
-
-/* YYSTOS[STATE-NUM] -- The (internal number of the) accessing
- symbol of state STATE-NUM. */
-static const unsigned char yystos[] =
-{
- 0, 11, 12, 34, 61, 108, 109, 110, 111, 112,
- 172, 3, 3, 35, 6, 0, 109, 6, 10, 37,
- 39, 43, 44, 45, 46, 47, 48, 49, 50, 51,
- 52, 53, 54, 55, 56, 57, 58, 59, 60, 62,
- 67, 85, 98, 113, 114, 115, 116, 117, 118, 119,
- 120, 121, 122, 123, 124, 125, 126, 127, 128, 129,
- 130, 131, 132, 133, 134, 135, 136, 144, 158, 175,
- 176, 179, 35, 64, 3, 187, 5, 3, 186, 186,
- 186, 186, 3, 3, 4, 185, 187, 186, 3, 188,
- 185, 185, 185, 185, 185, 185, 3, 188, 5, 5,
- 6, 35, 35, 35, 36, 114, 173, 180, 186, 185,
- 185, 185, 185, 185, 3, 64, 68, 68, 68, 174,
- 175, 7, 182, 185, 185, 185, 185, 185, 177, 8,
- 9, 69, 71, 72, 147, 86, 87, 160, 102, 138,
- 36, 175, 7, 181, 182, 145, 88, 89, 90, 91,
- 92, 93, 94, 95, 96, 97, 159, 161, 162, 163,
- 164, 165, 166, 167, 168, 169, 170, 171, 73, 99,
- 100, 101, 137, 139, 140, 141, 142, 143, 66, 178,
- 63, 65, 73, 74, 75, 76, 77, 85, 88, 146,
- 148, 149, 150, 151, 152, 153, 154, 155, 156, 157,
- 5, 183, 184, 185, 183, 185, 184, 184, 185, 184,
- 185, 187, 36, 161, 188, 188, 185, 185, 36, 139,
- 66, 5, 35, 188, 188, 188, 185, 185, 5, 5,
- 36, 148, 183, 183, 185, 185, 185, 185, 174, 185,
- 185, 183, 183, 185, 185, 185, 36, 185, 185
-};
-
-#if ! defined (YYSIZE_T) && defined (__SIZE_TYPE__)
-# define YYSIZE_T __SIZE_TYPE__
-#endif
-#if ! defined (YYSIZE_T) && defined (size_t)
-# define YYSIZE_T size_t
-#endif
-#if ! defined (YYSIZE_T)
-# if defined (__STDC__) || defined (__cplusplus)
-# include <stddef.h> /* INFRINGES ON USER NAME SPACE */
-# define YYSIZE_T size_t
-# endif
-#endif
-#if ! defined (YYSIZE_T)
-# define YYSIZE_T unsigned int
-#endif
-
-#define yyerrok (yyerrstatus = 0)
-#define yyclearin (yychar = YYEMPTY)
-#define YYEMPTY (-2)
-#define YYEOF 0
-
-#define YYACCEPT goto yyacceptlab
-#define YYABORT goto yyabortlab
-#define YYERROR goto yyerrorlab
-
-
-/* Like YYERROR except do call yyerror. This remains here temporarily
- to ease the transition to the new meaning of YYERROR, for GCC.
- Once GCC version 2 has supplanted version 1, this can go. */
-
-#define YYFAIL goto yyerrlab
-
-#define YYRECOVERING() (!!yyerrstatus)
-
-#define YYBACKUP(Token, Value) \
-do \
- if (yychar == YYEMPTY && yylen == 1) \
- { \
- yychar = (Token); \
- yylval = (Value); \
- yytoken = YYTRANSLATE (yychar); \
- YYPOPSTACK; \
- goto yybackup; \
- } \
- else \
- { \
- yyerror ("syntax error: cannot back up");\
- YYERROR; \
- } \
-while (0)
-
-
-#define YYTERROR 1
-#define YYERRCODE 256
-
-
-/* YYLLOC_DEFAULT -- Set CURRENT to span from RHS[1] to RHS[N].
- If N is 0, then set CURRENT to the empty location which ends
- the previous symbol: RHS[0] (always defined). */
-
-#define YYRHSLOC(Rhs, K) ((Rhs)[K])
-#ifndef YYLLOC_DEFAULT
-# define YYLLOC_DEFAULT(Current, Rhs, N) \
- do \
- if (N) \
- { \
- (Current).first_line = YYRHSLOC (Rhs, 1).first_line; \
- (Current).first_column = YYRHSLOC (Rhs, 1).first_column; \
- (Current).last_line = YYRHSLOC (Rhs, N).last_line; \
- (Current).last_column = YYRHSLOC (Rhs, N).last_column; \
- } \
- else \
- { \
- (Current).first_line = (Current).last_line = \
- YYRHSLOC (Rhs, 0).last_line; \
- (Current).first_column = (Current).last_column = \
- YYRHSLOC (Rhs, 0).last_column; \
- } \
- while (0)
-#endif
-
-
-/* YY_LOCATION_PRINT -- Print the location on the stream.
- This macro was not mandated originally: define only if we know
- we won't break user code: when these are the locations we know. */
-
-#ifndef YY_LOCATION_PRINT
-# if YYLTYPE_IS_TRIVIAL
-# define YY_LOCATION_PRINT(File, Loc) \
- fprintf (File, "%d.%d-%d.%d", \
- (Loc).first_line, (Loc).first_column, \
- (Loc).last_line, (Loc).last_column)
-# else
-# define YY_LOCATION_PRINT(File, Loc) ((void) 0)
-# endif
-#endif
-
-
-/* YYLEX -- calling `yylex' with the right arguments. */
-
-#ifdef YYLEX_PARAM
-# define YYLEX yylex (YYLEX_PARAM)
-#else
-# define YYLEX yylex ()
-#endif
-
-/* Enable debugging if requested. */
-#if YYDEBUG
-
-# ifndef YYFPRINTF
-# include <stdio.h> /* INFRINGES ON USER NAME SPACE */
-# define YYFPRINTF fprintf
-# endif
-
-# define YYDPRINTF(Args) \
-do { \
- if (yydebug) \
- YYFPRINTF Args; \
-} while (0)
-
-# define YY_SYMBOL_PRINT(Title, Type, Value, Location) \
-do { \
- if (yydebug) \
- { \
- YYFPRINTF (stderr, "%s ", Title); \
- yysymprint (stderr, \
- Type, Value); \
- YYFPRINTF (stderr, "\n"); \
- } \
-} while (0)
-
-/*------------------------------------------------------------------.
-| yy_stack_print -- Print the state stack from its BOTTOM up to its |
-| TOP (included). |
-`------------------------------------------------------------------*/
-
-#if defined (__STDC__) || defined (__cplusplus)
-static void
-yy_stack_print (short int *bottom, short int *top)
-#else
-static void
-yy_stack_print (bottom, top)
- short int *bottom;
- short int *top;
-#endif
-{
- YYFPRINTF (stderr, "Stack now");
- for (/* Nothing. */; bottom <= top; ++bottom)
- YYFPRINTF (stderr, " %d", *bottom);
- YYFPRINTF (stderr, "\n");
-}
-
-# define YY_STACK_PRINT(Bottom, Top) \
-do { \
- if (yydebug) \
- yy_stack_print ((Bottom), (Top)); \
-} while (0)
-
-
-/*------------------------------------------------.
-| Report that the YYRULE is going to be reduced. |
-`------------------------------------------------*/
-
-#if defined (__STDC__) || defined (__cplusplus)
-static void
-yy_reduce_print (int yyrule)
-#else
-static void
-yy_reduce_print (yyrule)
- int yyrule;
-#endif
-{
- int yyi;
- unsigned int yylno = yyrline[yyrule];
- YYFPRINTF (stderr, "Reducing stack by rule %d (line %u), ",
- yyrule - 1, yylno);
- /* Print the symbols being reduced, and their result. */
- for (yyi = yyprhs[yyrule]; 0 <= yyrhs[yyi]; yyi++)
- YYFPRINTF (stderr, "%s ", yytname [yyrhs[yyi]]);
- YYFPRINTF (stderr, "-> %s\n", yytname [yyr1[yyrule]]);
-}
-
-# define YY_REDUCE_PRINT(Rule) \
-do { \
- if (yydebug) \
- yy_reduce_print (Rule); \
-} while (0)
-
-/* Nonzero means print parse trace. It is left uninitialized so that
- multiple parsers can coexist. */
-int yydebug;
-#else /* !YYDEBUG */
-# define YYDPRINTF(Args)
-# define YY_SYMBOL_PRINT(Title, Type, Value, Location)
-# define YY_STACK_PRINT(Bottom, Top)
-# define YY_REDUCE_PRINT(Rule)
-#endif /* !YYDEBUG */
-
-
-/* YYINITDEPTH -- initial size of the parser's stacks. */
-#ifndef YYINITDEPTH
-# define YYINITDEPTH 200
-#endif
-
-/* YYMAXDEPTH -- maximum size the stacks can grow to (effective only
- if the built-in stack extension method is used).
-
- Do not make this value too large; the results are undefined if
- SIZE_MAX < YYSTACK_BYTES (YYMAXDEPTH)
- evaluated with infinite-precision integer arithmetic. */
-
-#ifndef YYMAXDEPTH
-# define YYMAXDEPTH 10000
-#endif
-
-
-
-#if YYERROR_VERBOSE
-
-# ifndef yystrlen
-# if defined (__GLIBC__) && defined (_STRING_H)
-# define yystrlen strlen
-# else
-/* Return the length of YYSTR. */
-static YYSIZE_T
-# if defined (__STDC__) || defined (__cplusplus)
-yystrlen (const char *yystr)
-# else
-yystrlen (yystr)
- const char *yystr;
-# endif
-{
- register const char *yys = yystr;
-
- while (*yys++ != '\0')
- continue;
-
- return yys - yystr - 1;
-}
-# endif
-# endif
-
-# ifndef yystpcpy
-# if defined (__GLIBC__) && defined (_STRING_H) && defined (_GNU_SOURCE)
-# define yystpcpy stpcpy
-# else
-/* Copy YYSRC to YYDEST, returning the address of the terminating '\0' in
- YYDEST. */
-static char *
-# if defined (__STDC__) || defined (__cplusplus)
-yystpcpy (char *yydest, const char *yysrc)
-# else
-yystpcpy (yydest, yysrc)
- char *yydest;
- const char *yysrc;
-# endif
-{
- register char *yyd = yydest;
- register const char *yys = yysrc;
-
- while ((*yyd++ = *yys++) != '\0')
- continue;
-
- return yyd - 1;
-}
-# endif
-# endif
-
-#endif /* !YYERROR_VERBOSE */
-
-
-
-#if YYDEBUG
-/*--------------------------------.
-| Print this symbol on YYOUTPUT. |
-`--------------------------------*/
-
-#if defined (__STDC__) || defined (__cplusplus)
-static void
-yysymprint (FILE *yyoutput, int yytype, YYSTYPE *yyvaluep)
-#else
-static void
-yysymprint (yyoutput, yytype, yyvaluep)
- FILE *yyoutput;
- int yytype;
- YYSTYPE *yyvaluep;
-#endif
-{
- /* Pacify ``unused variable'' warnings. */
- (void) yyvaluep;
-
- if (yytype < YYNTOKENS)
- YYFPRINTF (yyoutput, "token %s (", yytname[yytype]);
- else
- YYFPRINTF (yyoutput, "nterm %s (", yytname[yytype]);
-
-
-# ifdef YYPRINT
- if (yytype < YYNTOKENS)
- YYPRINT (yyoutput, yytoknum[yytype], *yyvaluep);
-# endif
- switch (yytype)
- {
- default:
- break;
- }
- YYFPRINTF (yyoutput, ")");
-}
-
-#endif /* ! YYDEBUG */
-/*-----------------------------------------------.
-| Release the memory associated to this symbol. |
-`-----------------------------------------------*/
-
-#if defined (__STDC__) || defined (__cplusplus)
-static void
-yydestruct (const char *yymsg, int yytype, YYSTYPE *yyvaluep)
-#else
-static void
-yydestruct (yymsg, yytype, yyvaluep)
- const char *yymsg;
- int yytype;
- YYSTYPE *yyvaluep;
-#endif
-{
- /* Pacify ``unused variable'' warnings. */
- (void) yyvaluep;
-
- if (!yymsg)
- yymsg = "Deleting";
- YY_SYMBOL_PRINT (yymsg, yytype, yyvaluep, yylocationp);
-
- switch (yytype)
- {
-
- default:
- break;
- }
-}
-
-
-/* Prevent warnings from -Wmissing-prototypes. */
-
-#ifdef YYPARSE_PARAM
-# if defined (__STDC__) || defined (__cplusplus)
-int yyparse (void *YYPARSE_PARAM);
-# else
-int yyparse ();
-# endif
-#else /* ! YYPARSE_PARAM */
-#if defined (__STDC__) || defined (__cplusplus)
-int yyparse (void);
-#else
-int yyparse ();
-#endif
-#endif /* ! YYPARSE_PARAM */
-
-
-
-/* The look-ahead symbol. */
-int yychar;
-
-/* The semantic value of the look-ahead symbol. */
-YYSTYPE yylval;
-
-/* Number of syntax errors so far. */
-int yynerrs;
-
-
-
-/*----------.
-| yyparse. |
-`----------*/
-
-#ifdef YYPARSE_PARAM
-# if defined (__STDC__) || defined (__cplusplus)
-int yyparse (void *YYPARSE_PARAM)
-# else
-int yyparse (YYPARSE_PARAM)
- void *YYPARSE_PARAM;
-# endif
-#else /* ! YYPARSE_PARAM */
-#if defined (__STDC__) || defined (__cplusplus)
-int
-yyparse (void)
-#else
-int
-yyparse ()
-
-#endif
-#endif
-{
-
- register int yystate;
- register int yyn;
- int yyresult;
- /* Number of tokens to shift before error messages enabled. */
- int yyerrstatus;
- /* Look-ahead token as an internal (translated) token number. */
- int yytoken = 0;
-
- /* Three stacks and their tools:
- `yyss': related to states,
- `yyvs': related to semantic values,
- `yyls': related to locations.
-
- Refer to the stacks thru separate pointers, to allow yyoverflow
- to reallocate them elsewhere. */
-
- /* The state stack. */
- short int yyssa[YYINITDEPTH];
- short int *yyss = yyssa;
- register short int *yyssp;
-
- /* The semantic value stack. */
- YYSTYPE yyvsa[YYINITDEPTH];
- YYSTYPE *yyvs = yyvsa;
- register YYSTYPE *yyvsp;
-
-
-
-#define YYPOPSTACK (yyvsp--, yyssp--)
-
- YYSIZE_T yystacksize = YYINITDEPTH;
-
- /* The variables used to return semantic value and location from the
- action routines. */
- YYSTYPE yyval;
-
-
- /* When reducing, the number of symbols on the RHS of the reduced
- rule. */
- int yylen;
-
- YYDPRINTF ((stderr, "Starting parse\n"));
-
- yystate = 0;
- yyerrstatus = 0;
- yynerrs = 0;
- yychar = YYEMPTY; /* Cause a token to be read. */
-
- /* Initialize stack pointers.
- Waste one element of value and location stack
- so that they stay on the same level as the state stack.
- The wasted elements are never initialized. */
-
- yyssp = yyss;
- yyvsp = yyvs;
-
-
- yyvsp[0] = yylval;
-
- goto yysetstate;
-
-/*------------------------------------------------------------.
-| yynewstate -- Push a new state, which is found in yystate. |
-`------------------------------------------------------------*/
- yynewstate:
- /* In all cases, when you get here, the value and location stacks
- have just been pushed. so pushing a state here evens the stacks.
- */
- yyssp++;
-
- yysetstate:
- *yyssp = yystate;
-
- if (yyss + yystacksize - 1 <= yyssp)
- {
- /* Get the current used size of the three stacks, in elements. */
- YYSIZE_T yysize = yyssp - yyss + 1;
-
-#ifdef yyoverflow
- {
- /* Give user a chance to reallocate the stack. Use copies of
- these so that the &'s don't force the real ones into
- memory. */
- YYSTYPE *yyvs1 = yyvs;
- short int *yyss1 = yyss;
-
-
- /* Each stack pointer address is followed by the size of the
- data in use in that stack, in bytes. This used to be a
- conditional around just the two extra args, but that might
- be undefined if yyoverflow is a macro. */
- yyoverflow ("parser stack overflow",
- &yyss1, yysize * sizeof (*yyssp),
- &yyvs1, yysize * sizeof (*yyvsp),
-
- &yystacksize);
-
- yyss = yyss1;
- yyvs = yyvs1;
- }
-#else /* no yyoverflow */
-# ifndef YYSTACK_RELOCATE
- goto yyoverflowlab;
-# else
- /* Extend the stack our own way. */
- if (YYMAXDEPTH <= yystacksize)
- goto yyoverflowlab;
- yystacksize *= 2;
- if (YYMAXDEPTH < yystacksize)
- yystacksize = YYMAXDEPTH;
-
- {
- short int *yyss1 = yyss;
- union yyalloc *yyptr =
- (union yyalloc *) YYSTACK_ALLOC (YYSTACK_BYTES (yystacksize));
- if (! yyptr)
- goto yyoverflowlab;
- YYSTACK_RELOCATE (yyss);
- YYSTACK_RELOCATE (yyvs);
-
-# undef YYSTACK_RELOCATE
- if (yyss1 != yyssa)
- YYSTACK_FREE (yyss1);
- }
-# endif
-#endif /* no yyoverflow */
-
- yyssp = yyss + yysize - 1;
- yyvsp = yyvs + yysize - 1;
-
-
- YYDPRINTF ((stderr, "Stack size increased to %lu\n",
- (unsigned long int) yystacksize));
-
- if (yyss + yystacksize - 1 <= yyssp)
- YYABORT;
- }
-
- YYDPRINTF ((stderr, "Entering state %d\n", yystate));
-
- goto yybackup;
-
-/*-----------.
-| yybackup. |
-`-----------*/
-yybackup:
-
-/* Do appropriate processing given the current state. */
-/* Read a look-ahead token if we need one and don't already have one. */
-/* yyresume: */
-
- /* First try to decide what to do without reference to look-ahead token. */
-
- yyn = yypact[yystate];
- if (yyn == YYPACT_NINF)
- goto yydefault;
-
- /* Not known => get a look-ahead token if don't already have one. */
-
- /* YYCHAR is either YYEMPTY or YYEOF or a valid look-ahead symbol. */
- if (yychar == YYEMPTY)
- {
- YYDPRINTF ((stderr, "Reading a token: "));
- yychar = YYLEX;
- }
-
- if (yychar <= YYEOF)
- {
- yychar = yytoken = YYEOF;
- YYDPRINTF ((stderr, "Now at end of input.\n"));
- }
- else
- {
- yytoken = YYTRANSLATE (yychar);
- YY_SYMBOL_PRINT ("Next token is", yytoken, &yylval, &yylloc);
- }
-
- /* If the proper action on seeing token YYTOKEN is to reduce or to
- detect an error, take that action. */
- yyn += yytoken;
- if (yyn < 0 || YYLAST < yyn || yycheck[yyn] != yytoken)
- goto yydefault;
- yyn = yytable[yyn];
- if (yyn <= 0)
- {
- if (yyn == 0 || yyn == YYTABLE_NINF)
- goto yyerrlab;
- yyn = -yyn;
- goto yyreduce;
- }
-
- if (yyn == YYFINAL)
- YYACCEPT;
-
- /* Shift the look-ahead token. */
- YY_SYMBOL_PRINT ("Shifting", yytoken, &yylval, &yylloc);
-
- /* Discard the token being shifted unless it is eof. */
- if (yychar != YYEOF)
- yychar = YYEMPTY;
-
- *++yyvsp = yylval;
-
-
- /* Count tokens shifted since error; after three, turn off error
- status. */
- if (yyerrstatus)
- yyerrstatus--;
-
- yystate = yyn;
- goto yynewstate;
-
-
-/*-----------------------------------------------------------.
-| yydefault -- do the default action for the current state. |
-`-----------------------------------------------------------*/
-yydefault:
- yyn = yydefact[yystate];
- if (yyn == 0)
- goto yyerrlab;
- goto yyreduce;
-
-
-/*-----------------------------.
-| yyreduce -- Do a reduction. |
-`-----------------------------*/
-yyreduce:
- /* yyn is the number of a rule to reduce with. */
- yylen = yyr2[yyn];
-
- /* If YYLEN is nonzero, implement the default value of the action:
- `$$ = $1'.
-
- Otherwise, the following line sets YYVAL to garbage.
- This behavior is undocumented and Bison
- users should not rely upon it. Assigning to YYVAL
- unconditionally makes the parser a bit smaller, and it avoids a
- GCC warning that YYVAL may be used uninitialized. */
- yyval = yyvsp[1-yylen];
-
-
- YY_REDUCE_PRINT (yyn);
- switch (yyn)
- {
- case 8:
-#line 155 "src/cfgparser.yy"
- { yy_debug = (yyvsp[0].intValue); }
- break;
-
- case 9:
-#line 158 "src/cfgparser.yy"
- {
- int sdebug = (yyvsp[0].intValue);
- if(sdebug<0) sdebug=0;
- if(sdebug>10) sdebug=10;
- gDebugLevel = sdebug;
- }
- break;
-
- case 38:
-#line 209 "src/cfgparser.yy"
- { reglob->setAniStart( (yyvsp[0].intValue) ); }
- break;
-
- case 39:
-#line 213 "src/cfgparser.yy"
- { /*reglob->setAniFrameTime( $2 );*/ debMsgStd("cfgparser",DM_NOTIFY,"Deprecated setting aniframetime!",1); }
- break;
-
- case 40:
-#line 218 "src/cfgparser.yy"
- { reglob->setAniFrames( ((yyvsp[0].intValue))-1 ); }
- break;
-
- case 41:
-#line 222 "src/cfgparser.yy"
- { reglob->setFrameSkip( ((yyvsp[0].intValue)) ); }
- break;
-
- case 42:
-#line 228 "src/cfgparser.yy"
- { reglob->setResX( (yyvsp[-1].intValue) ); reglob->setResY( (yyvsp[0].intValue)); }
- break;
-
- case 43:
-#line 232 "src/cfgparser.yy"
- { reglob->setAADepth( (yyvsp[0].intValue) ); }
- break;
-
- case 44:
-#line 236 "src/cfgparser.yy"
- { reglob->setEye( ntlVec3Gfx((yyvsp[-2].floatValue),(yyvsp[-1].floatValue),(yyvsp[0].floatValue)) ); }
- break;
-
- case 45:
-#line 240 "src/cfgparser.yy"
- { reglob->setLookat( ntlVec3Gfx((yyvsp[-2].floatValue),(yyvsp[-1].floatValue),(yyvsp[0].floatValue)) ); }
- break;
-
- case 46:
-#line 244 "src/cfgparser.yy"
- { reglob->setUpVec( ntlVec3Gfx((yyvsp[-2].floatValue),(yyvsp[-1].floatValue),(yyvsp[0].floatValue)) ); }
- break;
-
- case 47:
-#line 248 "src/cfgparser.yy"
- { reglob->setFovy( (yyvsp[0].floatValue) ); }
- break;
-
- case 48:
-#line 252 "src/cfgparser.yy"
- { reglob->setAspect( (yyvsp[0].floatValue) ); }
- break;
-
- case 49:
-#line 256 "src/cfgparser.yy"
- { reglob->setAmbientLight( ntlColor((yyvsp[-2].floatValue),(yyvsp[-1].floatValue),(yyvsp[0].floatValue)) ); }
- break;
-
- case 50:
-#line 260 "src/cfgparser.yy"
- { reglob->setBackgroundCol( ntlColor((yyvsp[-2].floatValue),(yyvsp[-1].floatValue),(yyvsp[0].floatValue)) ); }
- break;
-
- case 51:
-#line 264 "src/cfgparser.yy"
- { reglob->setOutFilename( (yyvsp[0].charValue) ); }
- break;
-
- case 52:
-#line 268 "src/cfgparser.yy"
- { reglob->setTreeMaxDepth( (yyvsp[0].intValue) ); }
- break;
-
- case 53:
-#line 272 "src/cfgparser.yy"
- { reglob->setTreeMaxTriangles( (yyvsp[0].intValue) ); }
- break;
-
- case 54:
-#line 276 "src/cfgparser.yy"
- { reglob->setRayMaxDepth( (yyvsp[0].intValue) ); }
- break;
-
- case 55:
-#line 280 "src/cfgparser.yy"
- { reglob->setDebugPixel( (yyvsp[-1].intValue), (yyvsp[0].intValue) ); }
- break;
-
- case 56:
-#line 284 "src/cfgparser.yy"
- { reglob->setTestMode( (yyvsp[0].intValue) ); }
- break;
-
- case 57:
-#line 288 "src/cfgparser.yy"
- { if(attrs[(yyvsp[0].charValue)] == NULL){ yyerror("OPENGL ATTRIBUTES: The attribute was not found!"); }
- reglob->getOpenGlAttributes()->import( attrs[(yyvsp[0].charValue)] ); }
- break;
-
- case 58:
-#line 293 "src/cfgparser.yy"
- { if(attrs[(yyvsp[0].charValue)] == NULL){ yyerror("BLENDER ATTRIBUTES: The attribute was not found!"); }
- reglob->getBlenderAttributes()->import( attrs[(yyvsp[0].charValue)] ); }
- break;
-
- case 59:
-#line 305 "src/cfgparser.yy"
- {
- /* reset light pointers */
- currentLightOmni = NULL;
- }
- break;
-
- case 62:
-#line 317 "src/cfgparser.yy"
- { currentLightOmni = new ntlLightObject( reglob );
- currentLight = currentLightOmni;
- reglob->getLightList()->push_back(currentLight);
- }
- break;
-
- case 67:
-#line 331 "src/cfgparser.yy"
- {
- currentLight->setActive( (yyvsp[0].intValue) );
- }
- break;
-
- case 68:
-#line 336 "src/cfgparser.yy"
- {
- currentLight->setCastShadows( (yyvsp[0].intValue) );
- }
- break;
-
- case 69:
-#line 341 "src/cfgparser.yy"
- {
- currentLight->setColor( ntlColor((yyvsp[-2].floatValue),(yyvsp[-1].floatValue),(yyvsp[0].floatValue)) );
- }
- break;
-
- case 70:
-#line 346 "src/cfgparser.yy"
- {
- int init = 0;
- if(currentLightOmni != NULL) {
- currentLightOmni->setPosition( ntlVec3Gfx((yyvsp[-2].floatValue),(yyvsp[-1].floatValue),(yyvsp[0].floatValue)) ); init = 1; }
- if(!init) yyerror("This property can only be set for omni-directional and rectangular lights!");
- }
- break;
-
- case 71:
-#line 364 "src/cfgparser.yy"
- {
- // geo classes have attributes...
- reglob->getRenderScene()->addGeoClass(currentGeoClass);
- reglob->getSimScene()->addGeoClass(currentGeoClass);
- currentAttrib = currentGeoClass->getAttributeList();
- }
- break;
-
- case 72:
-#line 371 "src/cfgparser.yy"
- {
- /* reset geometry object pointers */
- currentGeoObj = NULL;
- currentGeoClass = NULL;
- currentGeometrySim = NULL;
- currentGeometryModel = NULL;
- currentAttrib = NULL;
-#ifndef ELBEEM_PLUGIN
- currentGeometryBox = NULL;
-#endif // ELBEEM_PLUGIN
- }
- break;
-
- case 75:
-#line 389 "src/cfgparser.yy"
- {
-#ifndef ELBEEM_PLUGIN
- currentGeometryBox = new ntlGeometryBox( );
- currentGeoClass = currentGeometryBox;
- currentGeoObj = (ntlGeometryObject*)( currentGeometryBox );
-#else // ELBEEM_PLUGIN
- yyerror("GEOTYPE_BOX : This object type is not supported in this version!");
-#endif // ELBEEM_PLUGIN
- }
- break;
-
- case 76:
-#line 398 "src/cfgparser.yy"
- {
-#ifndef ELBEEM_PLUGIN
- currentGeoClass = new ntlGeometrySphere( );
- currentGeoObj = (ntlGeometryObject*)( currentGeoClass );
-#else // ELBEEM_PLUGIN
- yyerror("GEOTYPE_SPHERE : This object type is not supported in this version!");
-#endif // ELBEEM_PLUGIN
- }
- break;
-
- case 77:
-#line 406 "src/cfgparser.yy"
- {
- currentGeometryModel = new ntlGeometryObjModel( );
- currentGeoClass = currentGeometryModel;
- currentGeoObj = (ntlGeometryObject*)( currentGeometryModel );
- }
- break;
-
- case 78:
-#line 411 "src/cfgparser.yy"
- {
- currentGeometrySim = new SimulationObject();
- currentGeoClass = currentGeometrySim;
- reglob->getSims()->push_back(currentGeometrySim);
- // dont add mcubes to geo list!
- }
- break;
-
- case 79:
-#line 417 "src/cfgparser.yy"
- {
-#ifdef LBM_INCLUDE_TESTSOLVERS
- currentGeometrySim = new SimulationCompareLbm();
- currentGeoClass = currentGeometrySim;
- reglob->getSims()->push_back(currentGeometrySim);
-#else // LBM_INCLUDE_TESTSOLVERS
- errMsg("El'Beem::cfg","compare test solver not supported!");
-#endif // LBM_INCLUDE_TESTSOLVERS
- }
- break;
-
- case 89:
-#line 442 "src/cfgparser.yy"
- {
- currentGeoClass->setName( (yyvsp[0].charValue) );
- }
- break;
-
- case 90:
-#line 447 "src/cfgparser.yy"
- {
- if(currentGeoObj == NULL){ yyerror(" MATERIAL : This property can only be set for geometry objects!"); }
- currentGeoObj->setMaterialName( (yyvsp[0].charValue) );
- }
- break;
-
- case 91:
-#line 453 "src/cfgparser.yy"
- {
- if(currentGeoObj == NULL){ yyerror(" CAST_SHADOW : This property can only be set for geometry objects!"); }
- currentGeoObj->setCastShadows( (yyvsp[0].intValue) );
- }
- break;
-
- case 92:
-#line 459 "src/cfgparser.yy"
- {
- if(currentGeoObj == NULL){ yyerror(" RECEIVE_SHADOW : This property can only be set for geometry objects!"); }
- currentGeoObj->setReceiveShadows( (yyvsp[0].intValue) );
- }
- break;
-
- case 93:
-#line 465 "src/cfgparser.yy"
- {
- currentGeoClass->setVisible( (yyvsp[0].intValue) );
- }
- break;
-
- case 94:
-#line 470 "src/cfgparser.yy"
- {
- int init = 0;
-#ifndef ELBEEM_PLUGIN
- if(currentGeometryBox != NULL){
- currentGeometryBox->setStart( ntlVec3Gfx((yyvsp[-2].floatValue),(yyvsp[-1].floatValue),(yyvsp[0].floatValue)) ); init=1; }
-#else // ELBEEM_PLUGIN
-#endif // ELBEEM_PLUGIN
- if(currentGeometrySim != NULL){
- currentGeometrySim->setGeoStart( ntlVec3Gfx((yyvsp[-2].floatValue),(yyvsp[-1].floatValue),(yyvsp[0].floatValue)) ); init=1; }
- if(currentGeometryModel != NULL){
- currentGeometryModel->setStart( ntlVec3Gfx((yyvsp[-2].floatValue),(yyvsp[-1].floatValue),(yyvsp[0].floatValue)) ); init=1; }
- if(!init ){ yyerror("BOXSTART : This property can only be set for box, objmodel, fluid and isosurface objects!"); }
- }
- break;
-
- case 95:
-#line 485 "src/cfgparser.yy"
- {
- int init = 0;
-#ifndef ELBEEM_PLUGIN
- if(currentGeometryBox != NULL){
- currentGeometryBox->setEnd( ntlVec3Gfx((yyvsp[-2].floatValue),(yyvsp[-1].floatValue),(yyvsp[0].floatValue)) ); init=1; }
-#else // ELBEEM_PLUGIN
-#endif // ELBEEM_PLUGIN
- if(currentGeometrySim != NULL){
- currentGeometrySim->setGeoEnd( ntlVec3Gfx((yyvsp[-2].floatValue),(yyvsp[-1].floatValue),(yyvsp[0].floatValue)) ); init=1; }
- if(currentGeometryModel != NULL){
- currentGeometryModel->setEnd( ntlVec3Gfx((yyvsp[-2].floatValue),(yyvsp[-1].floatValue),(yyvsp[0].floatValue)) ); init=1; }
- if(!init ){ yyerror("BOXEND : This property can only be set for box, objmodel, fluid and isosurface objects!"); }
- }
- break;
-
- case 96:
-#line 501 "src/cfgparser.yy"
- {
- if(attrs[(yyvsp[0].charValue)] == NULL){ yyerror("GEO ATTRIBUTES: The attribute was not found!"); }
- else {
- if(currentGeoClass->getAttributeList())
- currentGeoClass->getAttributeList()->import( attrs[(yyvsp[0].charValue)] );
- }
- }
- break;
-
- case 97:
-#line 512 "src/cfgparser.yy"
- { }
- break;
-
- case 98:
-#line 524 "src/cfgparser.yy"
- {
- /* reset geometry object pointers */
- currentMaterial = NULL;
- }
- break;
-
- case 101:
-#line 536 "src/cfgparser.yy"
- { currentMaterial = new ntlMaterial( );
- currentMaterial = currentMaterial;
- reglob->getMaterials()->push_back(currentMaterial);
- }
- break;
-
- case 102:
-#line 540 "src/cfgparser.yy"
- {
- yyerror("MATTYPE: Blinn NYI!"); }
- break;
-
- case 113:
-#line 558 "src/cfgparser.yy"
- {
- currentMaterial->setName( (yyvsp[0].charValue) );
- }
- break;
-
- case 114:
-#line 563 "src/cfgparser.yy"
- {
- currentMaterial->setAmbientRefl( ntlColor((yyvsp[-2].floatValue),(yyvsp[-1].floatValue),(yyvsp[0].floatValue)) );
- }
- break;
-
- case 115:
-#line 568 "src/cfgparser.yy"
- {
- currentMaterial->setDiffuseRefl( ntlColor((yyvsp[-2].floatValue),(yyvsp[-1].floatValue),(yyvsp[0].floatValue)) );
- }
- break;
-
- case 116:
-#line 573 "src/cfgparser.yy"
- {
- currentMaterial->setSpecular( (yyvsp[-1].floatValue) );
- currentMaterial->setSpecExponent( (yyvsp[0].floatValue) );
- }
- break;
-
- case 117:
-#line 579 "src/cfgparser.yy"
- {
- currentMaterial->setMirror( (yyvsp[0].floatValue) );
- }
- break;
-
- case 118:
-#line 584 "src/cfgparser.yy"
- {
- currentMaterial->setTransparence( (yyvsp[0].floatValue) );
- }
- break;
-
- case 119:
-#line 589 "src/cfgparser.yy"
- {
- currentMaterial->setRefracIndex( (yyvsp[0].floatValue) );
- }
- break;
-
- case 120:
-#line 594 "src/cfgparser.yy"
- {
- currentMaterial->setTransAdditive( (yyvsp[0].floatValue) );
- }
- break;
-
- case 121:
-#line 599 "src/cfgparser.yy"
- {
- currentMaterial->setTransAttCol( ntlColor((yyvsp[-2].floatValue),(yyvsp[-1].floatValue),(yyvsp[0].floatValue)) );
- }
- break;
-
- case 122:
-#line 604 "src/cfgparser.yy"
- {
- currentMaterial->setFresnel( (yyvsp[0].intValue) );
- }
- break;
-
- case 123:
-#line 615 "src/cfgparser.yy"
- {
- currentAttrib = new AttributeList((yyvsp[-1].charValue));
- currentAttrName = (yyvsp[-1].charValue); }
- break;
-
- case 124:
-#line 618 "src/cfgparser.yy"
- { // store attribute
- //std::cerr << " NEW ATTR " << currentAttrName << std::endl;
- //currentAttrib->print();
- attrs[currentAttrName] = currentAttrib;
- currentAttrib = NULL; }
- break;
-
- case 129:
-#line 631 "src/cfgparser.yy"
- { currentAttrValue.clear(); currentAttribAddName = (yyvsp[-1].charValue); }
- break;
-
- case 130:
-#line 632 "src/cfgparser.yy"
- {
- currentAttrib->addAttr( currentAttribAddName, currentAttrValue, lineCount, true);
- //std::cerr << " ADD ATTRCHANNEL " << currentAttribAddName << std::endl;
- //currentAttrib->find( currentAttribAddName )->print();
- }
- break;
-
- case 132:
-#line 639 "src/cfgparser.yy"
- { currentAttrValue.clear(); currentAttribAddName = (yyvsp[-1].charValue); }
- break;
-
- case 133:
-#line 640 "src/cfgparser.yy"
- {
- currentAttrib->addAttr( currentAttribAddName, currentAttrValue, lineCount, false);
- //std::cerr << " ADD ATTRNORM " << currentAttribAddName << std::endl;
- //currentAttrib->find( currentAttribAddName )->print();
- }
- break;
-
- case 135:
-#line 647 "src/cfgparser.yy"
- {
- //std::cerr << "LLL "<<$2<<std::endl; // ignore newline entries
- if(strcmp((yyvsp[0].charValue),"\n")) currentAttrValue.push_back((yyvsp[0].charValue)); }
- break;
-
- case 136:
-#line 650 "src/cfgparser.yy"
- {
- //std::cerr << "LRR "<<$1<<std::endl;
- if(strcmp((yyvsp[0].charValue),"\n")) currentAttrValue.push_back((yyvsp[0].charValue)); }
- break;
-
- case 138:
-#line 664 "src/cfgparser.yy"
- {
- if ( ((yyvsp[0].floatValue) < 0.0) || ((yyvsp[0].floatValue) > 1.0) ) {
- yyerror("Value out of range (only 0 to 1 allowed)");
- }
-
- /* pass that value up the tree */
- (yyval.floatValue) = (yyvsp[0].floatValue);
-}
- break;
-
- case 139:
-#line 676 "src/cfgparser.yy"
- { (yyval.floatValue) = (yyvsp[0].floatValue); }
- break;
-
- case 140:
-#line 678 "src/cfgparser.yy"
- { (yyval.floatValue) = (float) (yyvsp[0].intValue); /* conversion from integers */ }
- break;
-
- case 141:
-#line 684 "src/cfgparser.yy"
- {
- if ( (yyvsp[0].intValue) <= 0 ) {
- yy_error("Value out of range (has to be above zero)");
- }
-
- /* pass that value up the tree */
- (yyval.intValue) = (yyvsp[0].intValue);
-}
- break;
-
- case 142:
-#line 695 "src/cfgparser.yy"
- {
- //cout << " " << $1 << " ";
- if ( (yyvsp[0].intValue) < 0 ) {
- yy_error("Value out of range (has to be above or equal to zero)");
- }
-
- /* pass that value up the tree */
- (yyval.intValue) = (yyvsp[0].intValue);
-}
- break;
-
- case 143:
-#line 707 "src/cfgparser.yy"
- {
- if( ( (yyvsp[0].intValue) != 0 ) && ( (yyvsp[0].intValue) != 1 ) ) {
- yy_error("Boolean value has to be 1|0, 'true'|'false' or 'on'|'off'!");
- }
- /* pass that value up the tree */
- (yyval.intValue) = (yyvsp[0].intValue);
-}
- break;
-
-
- }
-
-/* Line 1037 of yacc.c. */
-#line 2136 "bld-std-gcc/src/cfgparser.cpp"
-
- yyvsp -= yylen;
- yyssp -= yylen;
-
-
- YY_STACK_PRINT (yyss, yyssp);
-
- *++yyvsp = yyval;
-
-
- /* Now `shift' the result of the reduction. Determine what state
- that goes to, based on the state we popped back to and the rule
- number reduced by. */
-
- yyn = yyr1[yyn];
-
- yystate = yypgoto[yyn - YYNTOKENS] + *yyssp;
- if (0 <= yystate && yystate <= YYLAST && yycheck[yystate] == *yyssp)
- yystate = yytable[yystate];
- else
- yystate = yydefgoto[yyn - YYNTOKENS];
-
- goto yynewstate;
-
-
-/*------------------------------------.
-| yyerrlab -- here on detecting error |
-`------------------------------------*/
-yyerrlab:
- /* If not already recovering from an error, report this error. */
- if (!yyerrstatus)
- {
- ++yynerrs;
-#if YYERROR_VERBOSE
- yyn = yypact[yystate];
-
- if (YYPACT_NINF < yyn && yyn < YYLAST)
- {
- YYSIZE_T yysize = 0;
- int yytype = YYTRANSLATE (yychar);
- const char* yyprefix;
- char *yymsg;
- int yyx;
-
- /* Start YYX at -YYN if negative to avoid negative indexes in
- YYCHECK. */
- int yyxbegin = yyn < 0 ? -yyn : 0;
-
- /* Stay within bounds of both yycheck and yytname. */
- int yychecklim = YYLAST - yyn;
- int yyxend = yychecklim < YYNTOKENS ? yychecklim : YYNTOKENS;
- int yycount = 0;
-
- yyprefix = ", expecting ";
- for (yyx = yyxbegin; yyx < yyxend; ++yyx)
- if (yycheck[yyx + yyn] == yyx && yyx != YYTERROR)
- {
- yysize += yystrlen (yyprefix) + yystrlen (yytname [yyx]);
- yycount += 1;
- if (yycount == 5)
- {
- yysize = 0;
- break;
- }
- }
- yysize += (sizeof ("syntax error, unexpected ")
- + yystrlen (yytname[yytype]));
- yymsg = (char *) YYSTACK_ALLOC (yysize);
- if (yymsg != 0)
- {
- char *yyp = yystpcpy (yymsg, "syntax error, unexpected ");
- yyp = yystpcpy (yyp, yytname[yytype]);
-
- if (yycount < 5)
- {
- yyprefix = ", expecting ";
- for (yyx = yyxbegin; yyx < yyxend; ++yyx)
- if (yycheck[yyx + yyn] == yyx && yyx != YYTERROR)
- {
- yyp = yystpcpy (yyp, yyprefix);
- yyp = yystpcpy (yyp, yytname[yyx]);
- yyprefix = " or ";
- }
- }
- yyerror (yymsg);
- YYSTACK_FREE (yymsg);
- }
- else
- yyerror ("syntax error; also virtual memory exhausted");
- }
- else
-#endif /* YYERROR_VERBOSE */
- yyerror ("syntax error");
- }
-
-
-
- if (yyerrstatus == 3)
- {
- /* If just tried and failed to reuse look-ahead token after an
- error, discard it. */
-
- if (yychar <= YYEOF)
- {
- /* If at end of input, pop the error token,
- then the rest of the stack, then return failure. */
- if (yychar == YYEOF)
- for (;;)
- {
-
- YYPOPSTACK;
- if (yyssp == yyss)
- YYABORT;
- yydestruct ("Error: popping",
- yystos[*yyssp], yyvsp);
- }
- }
- else
- {
- yydestruct ("Error: discarding", yytoken, &yylval);
- yychar = YYEMPTY;
- }
- }
-
- /* Else will try to reuse look-ahead token after shifting the error
- token. */
- goto yyerrlab1;
-
-
-/*---------------------------------------------------.
-| yyerrorlab -- error raised explicitly by YYERROR. |
-`---------------------------------------------------*/
-yyerrorlab:
-
-#ifdef __GNUC__
- /* Pacify GCC when the user code never invokes YYERROR and the label
- yyerrorlab therefore never appears in user code. */
- if (0)
- goto yyerrorlab;
-#endif
-
-yyvsp -= yylen;
- yyssp -= yylen;
- yystate = *yyssp;
- goto yyerrlab1;
-
-
-/*-------------------------------------------------------------.
-| yyerrlab1 -- common code for both syntax error and YYERROR. |
-`-------------------------------------------------------------*/
-yyerrlab1:
- yyerrstatus = 3; /* Each real token shifted decrements this. */
-
- for (;;)
- {
- yyn = yypact[yystate];
- if (yyn != YYPACT_NINF)
- {
- yyn += YYTERROR;
- if (0 <= yyn && yyn <= YYLAST && yycheck[yyn] == YYTERROR)
- {
- yyn = yytable[yyn];
- if (0 < yyn)
- break;
- }
- }
-
- /* Pop the current state because it cannot handle the error token. */
- if (yyssp == yyss)
- YYABORT;
-
-
- yydestruct ("Error: popping", yystos[yystate], yyvsp);
- YYPOPSTACK;
- yystate = *yyssp;
- YY_STACK_PRINT (yyss, yyssp);
- }
-
- if (yyn == YYFINAL)
- YYACCEPT;
-
- *++yyvsp = yylval;
-
-
- /* Shift the error token. */
- YY_SYMBOL_PRINT ("Shifting", yystos[yyn], yyvsp, yylsp);
-
- yystate = yyn;
- goto yynewstate;
-
-
-/*-------------------------------------.
-| yyacceptlab -- YYACCEPT comes here. |
-`-------------------------------------*/
-yyacceptlab:
- yyresult = 0;
- goto yyreturn;
-
-/*-----------------------------------.
-| yyabortlab -- YYABORT comes here. |
-`-----------------------------------*/
-yyabortlab:
- yydestruct ("Error: discarding lookahead",
- yytoken, &yylval);
- yychar = YYEMPTY;
- yyresult = 1;
- goto yyreturn;
-
-#ifndef yyoverflow
-/*----------------------------------------------.
-| yyoverflowlab -- parser overflow comes here. |
-`----------------------------------------------*/
-yyoverflowlab:
- yyerror ("parser stack overflow");
- yyresult = 2;
- /* Fall through. */
-#endif
-
-yyreturn:
-#ifndef yyoverflow
- if (yyss != yyssa)
- YYSTACK_FREE (yyss);
-#endif
- return yyresult;
-}
-
-
-#line 715 "src/cfgparser.yy"
-
-
-/*---------------------------------------------------------------------------*/
-/* parser functions */
-/*---------------------------------------------------------------------------*/
-
-
-/* parse warnings */
-void yy_warn(char *s)
-{
- debMsgStd("yy_warn",DM_WARNING,"Config Parse Warning at Line :"<<lineCount<<" '"<<s<<"' ",1);
-}
-
-/* parse errors */
-void yy_error(const char *s)
-{
- //errorOut("Current token: "<<yytname[ (int)yytranslate[yychar] ]);
- errFatal("yy_error","Config Parse Error at Line "<<lineCount<<": "<<s,SIMWORLD_INITERROR);
- return;
-}
-
-
-/* get the global pointers from calling program */
-char pointersInited = 0;
-void setPointers(ntlRenderGlobals *setglob)
-{
- if(
- (!setglob) ||
- (!setglob)
- ) {
- errFatal("setPointers","Config Parse Error: Invalid Pointers!\n",SIMWORLD_INITERROR);
- return;
- }
-
- reglob = setglob;
- pointersInited = 1;
-}
-
-
-/* parse given file as config file */
-void parseFile(string filename)
-{
- if(!pointersInited) {
- errFatal("parseFile","Config Parse Error: Pointers not set!\n", SIMWORLD_INITERROR);
- return;
- }
-
- /* open file */
- yy_in = fopen( filename.c_str(), "r");
- if(!yy_in) {
- errFatal("parseFile","Config Parse Error: Unable to open '"<<filename.c_str() <<"'!\n", SIMWORLD_INITERROR );
- return;
- }
-
- /* parse */
- //yy_debug = 1; /* Enable debugging? */
- yy_parse();
-
- /* close file */
- fclose( yy_in );
- // cleanup static map<string,AttributeList*> attrs
- for(map<string, AttributeList*>::iterator i=attrs.begin();
- i != attrs.end(); i++) {
- if((*i).second) {
- delete (*i).second;
- (*i).second = NULL;
- }
- }
-}
-
diff --git a/intern/elbeem/intern/cfgparser.h b/intern/elbeem/intern/cfgparser.h
deleted file mode 100644
index 2b7791a78cb..00000000000
--- a/intern/elbeem/intern/cfgparser.h
+++ /dev/null
@@ -1,263 +0,0 @@
-/* A Bison parser, made by GNU Bison 2.0. */
-
-/* Skeleton parser for Yacc-like parsing with Bison,
- Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002, 2003, 2004 Free Software Foundation, Inc.
-
- This program is free software; you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 2, or (at your option)
- any later version.
-
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this program; if not, write to the Free Software
- Foundation, Inc., 59 Temple Place - Suite 330,
- Boston, MA 02111-1307, USA. */
-
-/* As a special exception, when this file is copied by Bison into a
- Bison output file, you may use that output file without restriction.
- This special exception was added by the Free Software Foundation
- in version 1.24 of Bison. */
-
-/* Tokens. */
-#ifndef YYTOKENTYPE
-# define YYTOKENTYPE
- /* Put the tokens into the symbol table, so that GDB and other debuggers
- know about them. */
- enum yytokentype {
- DT_INTEGER = 258,
- DT_FLOAT = 259,
- DT_STRING = 260,
- DT_ATTRNAME = 261,
- DT_ATTRVALUE = 262,
- KW_LBMSIM = 263,
- KW_COMPARELBM = 264,
- KW_ANIFRAMETIME = 265,
- KW_DEBUGMODE = 266,
- KW_DEBUGLEVEL = 267,
- KW_P_RELAXTIME = 268,
- KW_P_REYNOLDS = 269,
- KW_P_VISCOSITY = 270,
- KW_P_SOUNDSPEED = 271,
- KW_P_DOMAINSIZE = 272,
- KW_P_FORCE = 273,
- KW_P_TIMELENGTH = 274,
- KW_P_STEPTIME = 275,
- KW_P_TIMEFACTOR = 276,
- KW_P_ANIFRAMETIME = 277,
- KW_P_ANISTART = 278,
- KW_P_SURFACETENSION = 279,
- KW_P_ACTIVATE = 280,
- KW_P_DEACTIVATE = 281,
- KW_P_DENSITY = 282,
- KW_P_CELLSIZE = 283,
- KW_P_GSTAR = 284,
- KW_PFSPATH = 285,
- KW_PARTLINELENGTH = 286,
- KW_PARTICLES = 287,
- KW_FRAMESPERSEC = 288,
- KW_RAYTRACING = 289,
- KW_PAROPEN = 290,
- KW_PARCLOSE = 291,
- KW_FILENAME = 292,
- KW_PMCAUSTICS = 293,
- KW_MAXRAYDEPTH = 294,
- KW_CAUSTICDIST = 295,
- KW_CAUSTICPHOT = 296,
- KW_SHADOWMAPBIAS = 297,
- KW_TREEMAXDEPTH = 298,
- KW_TREEMAXTRIANGLES = 299,
- KW_RESOLUTION = 300,
- KW_ANTIALIAS = 301,
- KW_EYEPOINT = 302,
- KW_ANISTART = 303,
- KW_ANIFRAMES = 304,
- KW_FRAMESKIP = 305,
- KW_LOOKAT = 306,
- KW_UPVEC = 307,
- KW_FOVY = 308,
- KW_ASPECT = 309,
- KW_AMBIENCE = 310,
- KW_BACKGROUND = 311,
- KW_DEBUGPIXEL = 312,
- KW_TESTMODE = 313,
- KW_OPENGLATTR = 314,
- KW_BLENDERATTR = 315,
- KW_ATTRIBUTE = 316,
- KW_ATTRCHANNEL = 317,
- KW_OBJATTR = 318,
- KW_EQUALS = 319,
- KW_DEFINEATTR = 320,
- KW_ATTREND = 321,
- KW_GEOMETRY = 322,
- KW_TYPE = 323,
- KW_GEOTYPE_BOX = 324,
- KW_GEOTYPE_FLUID = 325,
- KW_GEOTYPE_OBJMODEL = 326,
- KW_GEOTYPE_SPHERE = 327,
- KW_CASTSHADOWS = 328,
- KW_RECEIVESHADOWS = 329,
- KW_VISIBLE = 330,
- KW_BOX_END = 331,
- KW_BOX_START = 332,
- KW_POLY = 333,
- KW_NUMVERTICES = 334,
- KW_VERTEX = 335,
- KW_NUMPOLYGONS = 336,
- KW_ISOSURF = 337,
- KW_FILEMODE = 338,
- KW_INVERT = 339,
- KW_MATERIAL = 340,
- KW_MATTYPE_PHONG = 341,
- KW_MATTYPE_BLINN = 342,
- KW_NAME = 343,
- KW_AMBIENT = 344,
- KW_DIFFUSE = 345,
- KW_SPECULAR = 346,
- KW_MIRROR = 347,
- KW_TRANSPARENCE = 348,
- KW_REFRACINDEX = 349,
- KW_TRANSADDITIVE = 350,
- KW_TRANSATTCOL = 351,
- KW_FRESNEL = 352,
- KW_LIGHT = 353,
- KW_ACTIVE = 354,
- KW_COLOUR = 355,
- KW_POSITION = 356,
- KW_LIGHT_OMNI = 357,
- KW_CAUSTICPHOTONS = 358,
- KW_CAUSTICSTRENGTH = 359,
- KW_SHADOWMAP = 360,
- KW_CAUSTICSMAP = 361
- };
-#endif
-#define DT_INTEGER 258
-#define DT_FLOAT 259
-#define DT_STRING 260
-#define DT_ATTRNAME 261
-#define DT_ATTRVALUE 262
-#define KW_LBMSIM 263
-#define KW_COMPARELBM 264
-#define KW_ANIFRAMETIME 265
-#define KW_DEBUGMODE 266
-#define KW_DEBUGLEVEL 267
-#define KW_P_RELAXTIME 268
-#define KW_P_REYNOLDS 269
-#define KW_P_VISCOSITY 270
-#define KW_P_SOUNDSPEED 271
-#define KW_P_DOMAINSIZE 272
-#define KW_P_FORCE 273
-#define KW_P_TIMELENGTH 274
-#define KW_P_STEPTIME 275
-#define KW_P_TIMEFACTOR 276
-#define KW_P_ANIFRAMETIME 277
-#define KW_P_ANISTART 278
-#define KW_P_SURFACETENSION 279
-#define KW_P_ACTIVATE 280
-#define KW_P_DEACTIVATE 281
-#define KW_P_DENSITY 282
-#define KW_P_CELLSIZE 283
-#define KW_P_GSTAR 284
-#define KW_PFSPATH 285
-#define KW_PARTLINELENGTH 286
-#define KW_PARTICLES 287
-#define KW_FRAMESPERSEC 288
-#define KW_RAYTRACING 289
-#define KW_PAROPEN 290
-#define KW_PARCLOSE 291
-#define KW_FILENAME 292
-#define KW_PMCAUSTICS 293
-#define KW_MAXRAYDEPTH 294
-#define KW_CAUSTICDIST 295
-#define KW_CAUSTICPHOT 296
-#define KW_SHADOWMAPBIAS 297
-#define KW_TREEMAXDEPTH 298
-#define KW_TREEMAXTRIANGLES 299
-#define KW_RESOLUTION 300
-#define KW_ANTIALIAS 301
-#define KW_EYEPOINT 302
-#define KW_ANISTART 303
-#define KW_ANIFRAMES 304
-#define KW_FRAMESKIP 305
-#define KW_LOOKAT 306
-#define KW_UPVEC 307
-#define KW_FOVY 308
-#define KW_ASPECT 309
-#define KW_AMBIENCE 310
-#define KW_BACKGROUND 311
-#define KW_DEBUGPIXEL 312
-#define KW_TESTMODE 313
-#define KW_OPENGLATTR 314
-#define KW_BLENDERATTR 315
-#define KW_ATTRIBUTE 316
-#define KW_ATTRCHANNEL 317
-#define KW_OBJATTR 318
-#define KW_EQUALS 319
-#define KW_DEFINEATTR 320
-#define KW_ATTREND 321
-#define KW_GEOMETRY 322
-#define KW_TYPE 323
-#define KW_GEOTYPE_BOX 324
-#define KW_GEOTYPE_FLUID 325
-#define KW_GEOTYPE_OBJMODEL 326
-#define KW_GEOTYPE_SPHERE 327
-#define KW_CASTSHADOWS 328
-#define KW_RECEIVESHADOWS 329
-#define KW_VISIBLE 330
-#define KW_BOX_END 331
-#define KW_BOX_START 332
-#define KW_POLY 333
-#define KW_NUMVERTICES 334
-#define KW_VERTEX 335
-#define KW_NUMPOLYGONS 336
-#define KW_ISOSURF 337
-#define KW_FILEMODE 338
-#define KW_INVERT 339
-#define KW_MATERIAL 340
-#define KW_MATTYPE_PHONG 341
-#define KW_MATTYPE_BLINN 342
-#define KW_NAME 343
-#define KW_AMBIENT 344
-#define KW_DIFFUSE 345
-#define KW_SPECULAR 346
-#define KW_MIRROR 347
-#define KW_TRANSPARENCE 348
-#define KW_REFRACINDEX 349
-#define KW_TRANSADDITIVE 350
-#define KW_TRANSATTCOL 351
-#define KW_FRESNEL 352
-#define KW_LIGHT 353
-#define KW_ACTIVE 354
-#define KW_COLOUR 355
-#define KW_POSITION 356
-#define KW_LIGHT_OMNI 357
-#define KW_CAUSTICPHOTONS 358
-#define KW_CAUSTICSTRENGTH 359
-#define KW_SHADOWMAP 360
-#define KW_CAUSTICSMAP 361
-
-
-
-
-#if ! defined (YYSTYPE) && ! defined (YYSTYPE_IS_DECLARED)
-#line 85 "src/cfgparser.yy"
-typedef union YYSTYPE {
- int intValue;
- float floatValue;
- char *charValue;
-} YYSTYPE;
-/* Line 1318 of yacc.c. */
-#line 255 "bld-std-gcc/src/cfgparser.hpp"
-# define yystype YYSTYPE /* obsolescent; will be withdrawn */
-# define YYSTYPE_IS_DECLARED 1
-# define YYSTYPE_IS_TRIVIAL 1
-#endif
-
-extern YYSTYPE yy_lval;
-
-
-