aseFile.lex.cpp File Reference

#include <stdio.h>
#include <common/DefinesString.h>
#include <string.h>
#include <common/Vector.h>
#include <3dsparse/aseFile.tab.cpp.h>

Go to the source code of this file.

Classes

struct  yy_buffer_state

Defines

#define yy_create_buffer   ase_create_buffer
#define yy_delete_buffer   ase_delete_buffer
#define yy_scan_buffer   ase_scan_buffer
#define yy_scan_string   ase_scan_string
#define yy_scan_bytes   ase_scan_bytes
#define yy_flex_debug   ase_flex_debug
#define yy_init_buffer   ase_init_buffer
#define yy_flush_buffer   ase_flush_buffer
#define yy_load_buffer_state   ase_load_buffer_state
#define yy_switch_to_buffer   ase_switch_to_buffer
#define yyin   asein
#define yyleng   aseleng
#define yylex   aselex
#define yyout   aseout
#define yyrestart   aserestart
#define yytext   asetext
#define yywrap   asewrap
#define FLEX_SCANNER
#define YY_FLEX_MAJOR_VERSION   2
#define YY_FLEX_MINOR_VERSION   5
#define yyconst
#define YY_PROTO(proto)   ()
#define YY_NULL   0
#define YY_SC_TO_UI(c)   ((unsigned int) (unsigned char) c)
#define BEGIN   yy_start = 1 + 2 *
#define YY_START   ((yy_start - 1) / 2)
#define YYSTATE   YY_START
#define YY_STATE_EOF(state)   (YY_END_OF_BUFFER + state + 1)
#define YY_NEW_FILE   yyrestart( yyin )
#define YY_END_OF_BUFFER_CHAR   0
#define YY_BUF_SIZE   16384
#define EOB_ACT_CONTINUE_SCAN   0
#define EOB_ACT_END_OF_FILE   1
#define EOB_ACT_LAST_MATCH   2
#define yyless(n)
#define unput(c)   yyunput( c, yytext_ptr )
#define YY_BUFFER_NEW   0
#define YY_BUFFER_NORMAL   1
#define YY_BUFFER_EOF_PENDING   2
#define YY_CURRENT_BUFFER   yy_current_buffer
#define YY_FLUSH_BUFFER   yy_flush_buffer( yy_current_buffer )
#define yy_new_buffer   yy_create_buffer
#define yy_set_interactive(is_interactive)
#define yy_set_bol(at_bol)
#define YY_AT_BOL()   (yy_current_buffer->yy_at_bol)
#define yytext_ptr   yytext
#define YY_DO_BEFORE_ACTION
#define YY_NUM_RULES   56
#define YY_END_OF_BUFFER   57
#define REJECT   reject_used_but_not_detected
#define yymore()   yymore_used_but_not_detected
#define YY_MORE_ADJ   0
#define YY_RESTORE_YY_MORE_OFFSET
#define INITIAL   0
#define YY_NO_PUSH_STATE   1
#define YY_NO_POP_STATE   1
#define YY_NO_TOP_STATE   1
#define YY_READ_BUF_SIZE   8192
#define ECHO   (void) fwrite( yytext, yyleng, 1, yyout )
#define YY_INPUT(buf, result, max_size)
#define yyterminate()   return YY_NULL
#define YY_START_STACK_INCR   25
#define YY_FATAL_ERROR(msg)   yy_fatal_error( msg )
#define YY_DECL   int yylex YY_PROTO(( void ))
#define YY_BREAK   break;
#define YY_RULE_SETUP   YY_USER_ACTION
#define YY_EXIT_FAILURE   2
#define yyless(n)

Typedefs

typedef struct
yy_buffer_state
YY_BUFFER_STATE
typedef unsigned int yy_size_t
typedef unsigned char YY_CHAR
typedef int yy_state_type

Functions

void yyrestart YY_PROTO ((FILE *input_file))
void yy_switch_to_buffer YY_PROTO ((YY_BUFFER_STATE new_buffer))
void yy_load_buffer_state YY_PROTO ((void))
YY_BUFFER_STATE
yy_create_buffer 
YY_PROTO ((FILE *file, int size))
void yy_delete_buffer YY_PROTO ((YY_BUFFER_STATE b))
void yy_init_buffer YY_PROTO ((YY_BUFFER_STATE b, FILE *file))
YY_BUFFER_STATE
yy_scan_buffer 
YY_PROTO ((char *base, yy_size_t size))
YY_BUFFER_STATE
yy_scan_string 
YY_PROTO ((yyconst char *yy_str))
YY_BUFFER_STATE
yy_scan_bytes 
YY_PROTO ((yyconst char *bytes, int len))
static void
*yy_flex_alloc 
YY_PROTO ((yy_size_t))
static void
*yy_flex_realloc 
YY_PROTO ((void *, yy_size_t))
static void yy_flex_free YY_PROTO ((void *))
static yy_state_type
yy_try_NUL_trans 
YY_PROTO ((yy_state_type current_state))
static void
yy_fatal_error 
YY_PROTO ((yyconst char msg[]))
static void yyunput YY_PROTO ((int c, char *buf_ptr))
void yy_init_buffer (b, file) YY_BUFFER_STATE b

Variables

int yyleng
FILE * yyin
FILE * yyout
static YY_BUFFER_STATE yy_current_buffer = 0
static char yy_hold_char
static int yy_n_chars
int yyleng
static char * yy_c_buf_p = (char *) 0
static int yy_init = 1
static int yy_start = 0
static int yy_did_buffer_switch_on_eof
FILE * yyin = (FILE *) 0
FILE * yyout = (FILE *) 0
char * yytext
static yyconst short int yy_accept [360]
static yyconst int yy_ec [256]
static yyconst int yy_meta [40]
static yyconst short int yy_base [363]
static yyconst short int yy_def [363]
static yyconst short int yy_nxt [448]
static yyconst short int yy_chk [448]
static yy_state_type yy_last_accepting_state
static char * yy_last_accepting_cpos
char * yytext
Vector aseVector
int aselineno = 1
char aseString [1024]
float aseFloat = 0.0f
int aseDigit = 0
register char * yy_bp
int size
FILE * file
yy_size_t size
int len
yy_size_t size


Define Documentation

#define BEGIN   yy_start = 1 + 2 *

Definition at line 119 of file aseFile.lex.cpp.

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

Definition at line 706 of file aseFile.lex.cpp.

#define EOB_ACT_CONTINUE_SCAN   0

Definition at line 144 of file aseFile.lex.cpp.

#define EOB_ACT_END_OF_FILE   1

Definition at line 145 of file aseFile.lex.cpp.

#define EOB_ACT_LAST_MATCH   2

Definition at line 146 of file aseFile.lex.cpp.

#define FLEX_SCANNER

Definition at line 46 of file aseFile.lex.cpp.

#define INITIAL   0

Definition at line 615 of file aseFile.lex.cpp.

#define REJECT   reject_used_but_not_detected

Definition at line 610 of file aseFile.lex.cpp.

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

Definition at line 175 of file aseFile.lex.cpp.

 
#define YY_AT_BOL (  )     (yy_current_buffer->yy_at_bol)

Definition at line 302 of file aseFile.lex.cpp.

#define YY_BREAK   break;

Definition at line 765 of file aseFile.lex.cpp.

#define YY_BUF_SIZE   16384

Definition at line 137 of file aseFile.lex.cpp.

#define YY_BUFFER_EOF_PENDING   2

Definition at line 238 of file aseFile.lex.cpp.

#define YY_BUFFER_NEW   0

Definition at line 226 of file aseFile.lex.cpp.

#define YY_BUFFER_NORMAL   1

Definition at line 227 of file aseFile.lex.cpp.

#define yy_create_buffer   ase_create_buffer

Definition at line 22 of file aseFile.lex.cpp.

#define YY_CURRENT_BUFFER   yy_current_buffer

Definition at line 247 of file aseFile.lex.cpp.

#define YY_DECL   int yylex YY_PROTO(( void ))

Definition at line 753 of file aseFile.lex.cpp.

#define yy_delete_buffer   ase_delete_buffer

Definition at line 23 of file aseFile.lex.cpp.

#define YY_DO_BEFORE_ACTION

Value:

yytext_ptr = yy_bp; \
        yyleng = (int) (yy_cp - yy_bp); \
        yy_hold_char = *yy_cp; \
        *yy_cp = '\0'; \
        yy_c_buf_p = yy_cp;

Definition at line 318 of file aseFile.lex.cpp.

#define YY_END_OF_BUFFER   57

Definition at line 326 of file aseFile.lex.cpp.

#define YY_END_OF_BUFFER_CHAR   0

Definition at line 134 of file aseFile.lex.cpp.

#define YY_EXIT_FAILURE   2

#define YY_FATAL_ERROR ( msg   )     yy_fatal_error( msg )

Definition at line 746 of file aseFile.lex.cpp.

#define yy_flex_debug   ase_flex_debug

Definition at line 27 of file aseFile.lex.cpp.

#define YY_FLEX_MAJOR_VERSION   2

Definition at line 47 of file aseFile.lex.cpp.

#define YY_FLEX_MINOR_VERSION   5

Definition at line 48 of file aseFile.lex.cpp.

#define YY_FLUSH_BUFFER   yy_flush_buffer( yy_current_buffer )

Definition at line 276 of file aseFile.lex.cpp.

#define yy_flush_buffer   ase_flush_buffer

Definition at line 29 of file aseFile.lex.cpp.

#define yy_init_buffer   ase_init_buffer

Definition at line 28 of file aseFile.lex.cpp.

#define YY_INPUT ( buf,
result,
max_size   ) 

Value:

if ( yy_current_buffer->yy_is_interactive ) \
                { \
                int c = '*', n; \
                for ( n = 0; n < max_size && \
                             (c = getc( yyin )) != EOF && c != '\n'; ++n ) \
                        buf[n] = (char) c; \
                if ( c == '\n' ) \
                        buf[n++] = (char) c; \
                if ( c == EOF && ferror( yyin ) ) \
                        YY_FATAL_ERROR( "input in flex scanner failed" ); \
                result = n; \
                } \
        else if ( ((result = fread( buf, 1, max_size, yyin )) == 0) \
                  && ferror( yyin ) ) \
                YY_FATAL_ERROR( "input in flex scanner failed" );

Definition at line 713 of file aseFile.lex.cpp.

#define yy_load_buffer_state   ase_load_buffer_state

Definition at line 30 of file aseFile.lex.cpp.

#define YY_MORE_ADJ   0

Definition at line 612 of file aseFile.lex.cpp.

#define yy_new_buffer   yy_create_buffer

Definition at line 286 of file aseFile.lex.cpp.

#define YY_NEW_FILE   yyrestart( yyin )

Definition at line 132 of file aseFile.lex.cpp.

#define YY_NO_POP_STATE   1

Definition at line 676 of file aseFile.lex.cpp.

#define YY_NO_PUSH_STATE   1

Definition at line 675 of file aseFile.lex.cpp.

#define YY_NO_TOP_STATE   1

Definition at line 677 of file aseFile.lex.cpp.

#define YY_NULL   0

Definition at line 106 of file aseFile.lex.cpp.

#define YY_NUM_RULES   56

Definition at line 325 of file aseFile.lex.cpp.

#define YY_PROTO ( proto   )     ()

Definition at line 102 of file aseFile.lex.cpp.

#define YY_READ_BUF_SIZE   8192

Definition at line 697 of file aseFile.lex.cpp.

#define YY_RESTORE_YY_MORE_OFFSET

Definition at line 613 of file aseFile.lex.cpp.

#define YY_RULE_SETUP   YY_USER_ACTION

Definition at line 768 of file aseFile.lex.cpp.

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

Definition at line 113 of file aseFile.lex.cpp.

#define yy_scan_buffer   ase_scan_buffer

Definition at line 24 of file aseFile.lex.cpp.

#define yy_scan_bytes   ase_scan_bytes

Definition at line 26 of file aseFile.lex.cpp.

#define yy_scan_string   ase_scan_string

Definition at line 25 of file aseFile.lex.cpp.

#define yy_set_bol ( at_bol   ) 

Value:

Definition at line 295 of file aseFile.lex.cpp.

#define yy_set_interactive ( is_interactive   ) 

Value:

Definition at line 288 of file aseFile.lex.cpp.

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

Definition at line 125 of file aseFile.lex.cpp.

#define YY_START_STACK_INCR   25

Definition at line 741 of file aseFile.lex.cpp.

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

Definition at line 129 of file aseFile.lex.cpp.

#define yy_switch_to_buffer   ase_switch_to_buffer

Definition at line 31 of file aseFile.lex.cpp.

#define yyconst

Definition at line 95 of file aseFile.lex.cpp.

#define yyin   asein

Definition at line 32 of file aseFile.lex.cpp.

#define yyleng   aseleng

Definition at line 33 of file aseFile.lex.cpp.

#define yyless ( n   ) 

Value:

do \
                { \
                /* Undo effects of setting up yytext. */ \
                yytext[yyleng] = yy_hold_char; \
                yy_c_buf_p = yytext + n; \
                yy_hold_char = *yy_c_buf_p; \
                *yy_c_buf_p = '\0'; \
                yyleng = n; \
                } \
        while ( 0 )

Definition at line 164 of file aseFile.lex.cpp.

#define yyless ( n   ) 

Value:

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

Definition at line 164 of file aseFile.lex.cpp.

#define yylex   aselex

Definition at line 34 of file aseFile.lex.cpp.

 
#define yymore (  )     yymore_used_but_not_detected

Definition at line 611 of file aseFile.lex.cpp.

#define yyout   aseout

Definition at line 35 of file aseFile.lex.cpp.

#define yyrestart   aserestart

Definition at line 36 of file aseFile.lex.cpp.

#define YYSTATE   YY_START

Definition at line 126 of file aseFile.lex.cpp.

 
#define yyterminate (  )     return YY_NULL

Definition at line 736 of file aseFile.lex.cpp.

#define yytext   asetext

Definition at line 37 of file aseFile.lex.cpp.

#define yytext_ptr   yytext

Definition at line 308 of file aseFile.lex.cpp.

#define yywrap   asewrap

Definition at line 38 of file aseFile.lex.cpp.


Typedef Documentation

typedef struct yy_buffer_state* YY_BUFFER_STATE

Definition at line 139 of file aseFile.lex.cpp.

typedef unsigned char YY_CHAR

Definition at line 304 of file aseFile.lex.cpp.

typedef unsigned int yy_size_t

Definition at line 181 of file aseFile.lex.cpp.

typedef int yy_state_type

Definition at line 306 of file aseFile.lex.cpp.


Function Documentation

void yy_init_buffer ( b  ,
file   
)

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

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

static yy_state_type yy_try_NUL_trans YY_PROTO ( (yy_state_type current_state)   )  [static]

static void yy_flex_free YY_PROTO ( (void *)   )  [static]

static void* yy_flex_realloc YY_PROTO ( (void *, yy_size_t  )  [static]

static void* yy_flex_alloc YY_PROTO ( (yy_size_t  )  [static]

YY_BUFFER_STATE yy_scan_bytes YY_PROTO ( (yyconst char *bytes, int len  ) 

YY_BUFFER_STATE yy_scan_string YY_PROTO ( (yyconst char *yy_str)   ) 

YY_BUFFER_STATE yy_scan_buffer YY_PROTO ( (char *base, yy_size_t size  ) 

void yy_init_buffer YY_PROTO ( (YY_BUFFER_STATE b, FILE *file  ) 

void yy_flush_buffer YY_PROTO ( (YY_BUFFER_STATE b  ) 

YY_BUFFER_STATE yy_create_buffer YY_PROTO ( (FILE *file, int size  ) 

static int input YY_PROTO ( (void)   ) 

void yy_switch_to_buffer YY_PROTO ( (YY_BUFFER_STATE new_buffer)   ) 

void yyrestart YY_PROTO ( (FILE *input_file)   ) 


Variable Documentation

int aseDigit = 0

Definition at line 626 of file aseFile.lex.cpp.

float aseFloat = 0.0f

Definition at line 625 of file aseFile.lex.cpp.

int aselineno = 1

Definition at line 623 of file aseFile.lex.cpp.

Referenced by ASEModelFactory::loadFile().

char aseString[1024]

Definition at line 624 of file aseFile.lex.cpp.

Vector aseVector

Definition at line 621 of file aseFile.lex.cpp.

FILE* file

Definition at line 1663 of file aseFile.lex.cpp.

Referenced by StatsLoggerDatabase::createLogger(), ExplosionTextures::createTextures(), TutorialDialog::drawHighlight(), Sun::generate(), HeightMapLoader::generateTerrain(), ServerAdminSessions::getAllCredentials(), ServerBrowserCollect::getFavourites(), ServerWebServerUtil::getFile(), LandscapeDefinitionsItem< LandscapeDefn >::getItem(), LandscapeDefinitions::getLeastUsedFile(), WallActionRenderer::init(), ServerTimedMessage::load(), ServerBanned::load(), ServerAuthHandlerPrefered::load(), TankAIStore::loadAIs(), TankAINames::loadAIs(), ClientSave::loadClient(), BuyAccessoryDialog::loadFavorites(), ConsoleFileReader::loadFileIntoConsole(), ImagePng::loadFromFile(), ImageLuminance::loadFromFile(), ImageJpg::loadFromFile(), LUAScriptHook::loadHook(), Keyboard::loadKeyFile(), ModFiles::loadModFile(), ModFileEntry::loadModFile(), ModFiles::loadModFiles(), GLWWindowManager::loadPositions(), EconomyFreeMarket::loadPrices(), UniqueIdStore::loadStore(), TankModelStore::loadTankMeshes(), TankTypes::loadTankTypes(), GLWWindowSkinManager::loadWindows(), DisplayFrame::onExportMod(), DisplayFrame::onImportMod(), ModInfo::parse(), TankAIWeaponSets::parseConfig(), AccessoryStore::parseFile(), LandscapeSoundSoundFile::play(), ClientConnectionAcceptHandler::processMessage(), ServerWebHandler::LogFileHandler::processRequest(), ServerWebAppletHandler::AppletFileHandler::processRequest(), OptionEntryHelper::readFromFile(), LandscapeMusicManager::readGlobalMusicFile(), LandscapeDefinitionsBase::readLandscapeDefinitions(), LandscapeSoundSoundFile::readXML(), ClientSave::saveClient(), EconomyFreeMarket::savePrices(), ServerAuthHandlerMinKills::setup(), and ModFileEntry::writeModFile().

int len

Definition at line 1762 of file aseFile.lex.cpp.

yy_size_t size

Definition at line 1873 of file aseFile.lex.cpp.

yy_size_t size

Definition at line 1693 of file aseFile.lex.cpp.

int size

Definition at line 1538 of file aseFile.lex.cpp.

yyconst short int yy_accept[360] [static]

Definition at line 327 of file aseFile.lex.cpp.

yyconst short int yy_base[363] [static]

Definition at line 410 of file aseFile.lex.cpp.

register char* yy_bp

Definition at line 1391 of file aseFile.lex.cpp.

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

Definition at line 259 of file aseFile.lex.cpp.

yyconst short int yy_chk[448] [static]

Definition at line 551 of file aseFile.lex.cpp.

YY_BUFFER_STATE yy_current_buffer = 0 [static]

Definition at line 241 of file aseFile.lex.cpp.

yyconst short int yy_def[363] [static]

Definition at line 454 of file aseFile.lex.cpp.

int yy_did_buffer_switch_on_eof [static]

Definition at line 266 of file aseFile.lex.cpp.

yyconst int yy_ec[256] [static]

Definition at line 370 of file aseFile.lex.cpp.

char yy_hold_char [static]

Definition at line 251 of file aseFile.lex.cpp.

int yy_init = 1 [static]

Definition at line 260 of file aseFile.lex.cpp.

char* yy_last_accepting_cpos [static]

Definition at line 605 of file aseFile.lex.cpp.

yy_state_type yy_last_accepting_state [static]

Definition at line 604 of file aseFile.lex.cpp.

yyconst int yy_meta[40] [static]

Initial value:

    {   0,
        1,    1,    2,    1,    1,    3,    4,    5,    5,    5,
        5,    5,    4,    1,    1,    1,    1,    1,    1,    1,
        1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
        1,    1,    1,    1,    1,    1,    1,    1,    1
    }

Definition at line 402 of file aseFile.lex.cpp.

int yy_n_chars [static]

Definition at line 253 of file aseFile.lex.cpp.

yyconst short int yy_nxt[448] [static]

Definition at line 498 of file aseFile.lex.cpp.

int yy_start = 0 [static]

Definition at line 261 of file aseFile.lex.cpp.

FILE* yyin = (FILE *) 0

Definition at line 305 of file aseFile.lex.cpp.

FILE* yyin

Definition at line 305 of file aseFile.lex.cpp.

int yyleng

Definition at line 256 of file aseFile.lex.cpp.

int yyleng

Definition at line 256 of file aseFile.lex.cpp.

FILE * yyout = (FILE *) 0

Definition at line 305 of file aseFile.lex.cpp.

FILE * yyout

Definition at line 305 of file aseFile.lex.cpp.

char* yytext

Definition at line 614 of file aseFile.lex.cpp.

char* yytext

Definition at line 614 of file aseFile.lex.cpp.


Generated on Mon Feb 16 15:14:56 2009 for Scorched3D by  doxygen 1.5.3