aseFile.tab.cpp File Reference

#include <common/Defines.h>
#include <3dsparse/ASEModelFactory.h>
#include <stdio.h>

Go to the source code of this file.

Defines

#define YYBISON   1
#define alloca
#define yyparse   aseparse
 defined(__FreeBSD__) && !defined(__DARWIN__)
#define yylex   aselex
#define yyerror   aseerror
#define yylval   aselval
#define yychar   asechar
#define yydebug   asedebug
#define yynerrs   asenerrs
#define MAX_DIGIT   258
#define MAX_FLOAT   259
#define MAX_STRING   260
#define MAX_LBRACKET   261
#define MAX_RBRACKET   262
#define MAX_ASCIIEXPORT_SYM   263
#define MAX_COMMENT   264
#define MAX_MESH_FACE_ID   265
#define MAX_SCENE   266
#define MAX_SCENE_TOKEN   267
#define MAX_MATERIAL_LIST   268
#define MAX_MATERIAL_LIST_TOKEN   269
#define MAX_GEOMOBJECT   270
#define MAX_NODE_NAME   271
#define MAX_NODE_TM   272
#define MAX_NODE_TM_TOKEN   273
#define MAX_MESH   274
#define MAX_TIMEVALUE   275
#define MAX_MESH_NUMVERTEX   276
#define MAX_MESH_NUMFACES   277
#define MAX_MESH_VERTEX_LIST   278
#define MAX_MESH_VERTEX   279
#define MAX_MESH_FACE_LIST   280
#define MAX_MESH_FACE   281
#define MAX_MESH_SMOOTHING   282
#define MAX_MESH_MTLID   283
#define MAX_MESH_NUMTVERTEX   284
#define MAX_MESH_NORMALS   285
#define MAX_MESH_FACENORMAL   286
#define MAX_MESH_VERTEXNORMAL   287
#define MAX_PROP_MOTIONBLUR   288
#define MAX_PROP_CASTSHADOW   289
#define MAX_PROP_RECVSHADOW   290
#define MAX_WIREFRAME_COLOR   291
#define MAX_TM_ROW0   292
#define MAX_TM_ROW1   293
#define MAX_TM_ROW2   294
#define MAX_TM_ROW3   295
#define YYSTYPE   int
#define const
#define YYFINAL   166
#define YYFLAG   32768
#define YYNTBASE   41
#define YYTRANSLATE(x)   ((unsigned)(x) <= 295 ? yytranslate[x] : 70)
#define YYLAST   155
#define yyerrok   (yyerrstatus = 0)
#define yyclearin   (yychar = YYEMPTY)
#define YYEMPTY   -2
#define YYEOF   0
#define YYACCEPT   return(0)
#define YYABORT   return(1)
#define YYERROR   goto yyerrlab1
#define YYFAIL   goto yyerrlab
#define YYRECOVERING()   (!!yyerrstatus)
#define YYBACKUP(token, value)
#define YYTERROR   1
#define YYERRCODE   256
#define YYLEX   yylex()
#define YYINITDEPTH   200
#define YYMAXDEPTH   10000
#define YYPARSE_PARAM_ARG
#define YYPARSE_PARAM_DECL
#define YYPOPSTACK   (yyvsp--, yyssp--)

Functions

int aselex ()
int aseerror (const char *errmsg)
int asewarning (const char *warningmsg)
int asedebug (const char *debugmsg)
static void __yy_memcpy (to, from, count) char *to

Variables

static Vector tmRow [3]
Face aseFace
int aseFaceNo
Vector aseVector
char aseString [1024]
float aseFloat
int aseDigit
char * asetext
int aselineno
static const char yytranslate []
static const short yyr1 []
static const short yyr2 []
static const short yydefact []
static const short yydefgoto []
static const short yypact []
static const short yypgoto []
static const short yytable []
static const short yycheck []
int yychar
YYSTYPE yylval
int yynerrs
char * from
int count


Define Documentation

#define alloca

Definition at line 9 of file aseFile.tab.cpp.

#define const

Definition at line 86 of file aseFile.tab.cpp.

#define MAX_ASCIIEXPORT_SYM   263

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

#define MAX_COMMENT   264

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

#define MAX_DIGIT   258

Definition at line 19 of file aseFile.tab.cpp.

#define MAX_FLOAT   259

Definition at line 20 of file aseFile.tab.cpp.

#define MAX_GEOMOBJECT   270

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

#define MAX_LBRACKET   261

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

#define MAX_MATERIAL_LIST   268

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

#define MAX_MATERIAL_LIST_TOKEN   269

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

#define MAX_MESH   274

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

#define MAX_MESH_FACE   281

Definition at line 42 of file aseFile.tab.cpp.

#define MAX_MESH_FACE_ID   265

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

#define MAX_MESH_FACE_LIST   280

Definition at line 41 of file aseFile.tab.cpp.

#define MAX_MESH_FACENORMAL   286

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

#define MAX_MESH_MTLID   283

Definition at line 44 of file aseFile.tab.cpp.

#define MAX_MESH_NORMALS   285

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

#define MAX_MESH_NUMFACES   277

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

#define MAX_MESH_NUMTVERTEX   284

Definition at line 45 of file aseFile.tab.cpp.

#define MAX_MESH_NUMVERTEX   276

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

#define MAX_MESH_SMOOTHING   282

Definition at line 43 of file aseFile.tab.cpp.

#define MAX_MESH_VERTEX   279

Definition at line 40 of file aseFile.tab.cpp.

#define MAX_MESH_VERTEX_LIST   278

Definition at line 39 of file aseFile.tab.cpp.

#define MAX_MESH_VERTEXNORMAL   287

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

#define MAX_NODE_NAME   271

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

#define MAX_NODE_TM   272

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

#define MAX_NODE_TM_TOKEN   273

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

#define MAX_PROP_CASTSHADOW   289

Definition at line 50 of file aseFile.tab.cpp.

#define MAX_PROP_MOTIONBLUR   288

Definition at line 49 of file aseFile.tab.cpp.

#define MAX_PROP_RECVSHADOW   290

Definition at line 51 of file aseFile.tab.cpp.

#define MAX_RBRACKET   262

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

#define MAX_SCENE   266

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

#define MAX_SCENE_TOKEN   267

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

#define MAX_STRING   260

Definition at line 21 of file aseFile.tab.cpp.

#define MAX_TIMEVALUE   275

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

#define MAX_TM_ROW0   292

Definition at line 53 of file aseFile.tab.cpp.

#define MAX_TM_ROW1   293

Definition at line 54 of file aseFile.tab.cpp.

#define MAX_TM_ROW2   294

Definition at line 55 of file aseFile.tab.cpp.

#define MAX_TM_ROW3   295

Definition at line 56 of file aseFile.tab.cpp.

#define MAX_WIREFRAME_COLOR   291

Definition at line 52 of file aseFile.tab.cpp.

#define YYABORT   return(1)

Definition at line 367 of file aseFile.tab.cpp.

#define YYACCEPT   return(0)

Definition at line 366 of file aseFile.tab.cpp.

#define YYBACKUP ( token,
value   ) 

Value:

do                                                              \
  if (yychar == YYEMPTY && yylen == 1)                          \
    { yychar = (token), yylval = (value);                       \
      yychar1 = YYTRANSLATE (yychar);                           \
      YYPOPSTACK;                                               \
      goto yybackup;                                            \
    }                                                           \
  else                                                          \
    { yyerror ("syntax error: cannot back up"); YYERROR; }      \
while (0)

Definition at line 375 of file aseFile.tab.cpp.

#define YYBISON   1

Definition at line 6 of file aseFile.tab.cpp.

#define yychar   asechar

Definition at line 16 of file aseFile.tab.cpp.

#define yyclearin   (yychar = YYEMPTY)

Definition at line 363 of file aseFile.tab.cpp.

#define yydebug   asedebug

Definition at line 17 of file aseFile.tab.cpp.

#define YYEMPTY   -2

Definition at line 364 of file aseFile.tab.cpp.

#define YYEOF   0

Definition at line 365 of file aseFile.tab.cpp.

#define YYERRCODE   256

Definition at line 388 of file aseFile.tab.cpp.

#define yyerrok   (yyerrstatus = 0)

Definition at line 362 of file aseFile.tab.cpp.

#define YYERROR   goto yyerrlab1

Definition at line 368 of file aseFile.tab.cpp.

#define yyerror   aseerror

Definition at line 14 of file aseFile.tab.cpp.

#define YYFAIL   goto yyerrlab

Definition at line 373 of file aseFile.tab.cpp.

#define YYFINAL   166

Definition at line 92 of file aseFile.tab.cpp.

#define YYFLAG   32768

Definition at line 93 of file aseFile.tab.cpp.

#define YYINITDEPTH   200

Definition at line 435 of file aseFile.tab.cpp.

#define YYLAST   155

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

#define YYLEX   yylex()

Definition at line 391 of file aseFile.tab.cpp.

#define yylex   aselex

Definition at line 13 of file aseFile.tab.cpp.

#define yylval   aselval

Definition at line 15 of file aseFile.tab.cpp.

#define YYMAXDEPTH   10000

Definition at line 446 of file aseFile.tab.cpp.

#define yynerrs   asenerrs

Definition at line 18 of file aseFile.tab.cpp.

#define YYNTBASE   41

Definition at line 94 of file aseFile.tab.cpp.

#define yyparse   aseparse

defined(__FreeBSD__) && !defined(__DARWIN__)

Definition at line 12 of file aseFile.tab.cpp.

#define YYPARSE_PARAM_ARG

#define YYPARSE_PARAM_DECL

#define YYPOPSTACK   (yyvsp--, yyssp--)

 
#define YYRECOVERING (  )     (!!yyerrstatus)

Definition at line 374 of file aseFile.tab.cpp.

#define YYSTYPE   int

Definition at line 80 of file aseFile.tab.cpp.

#define YYTERROR   1

Definition at line 387 of file aseFile.tab.cpp.

#define YYTRANSLATE ( x   )     ((unsigned)(x) <= 295 ? yytranslate[x] : 70)

Definition at line 96 of file aseFile.tab.cpp.


Function Documentation

static void __yy_memcpy ( to  ,
from  ,
count   
) [static]

int asedebug ( const char *  debugmsg  ) 

int aseerror ( const char *  errmsg  ) 

int aselex (  ) 

int asewarning ( const char *  warningmsg  ) 


Variable Documentation

int aseDigit

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

Face aseFace

Definition at line 63 of file aseFile.tab.cpp.

int aseFaceNo

Definition at line 64 of file aseFile.tab.cpp.

float aseFloat

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

int aselineno

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

char aseString[1024]

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

char* asetext

Vector aseVector

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

int count

Definition at line 464 of file aseFile.tab.cpp.

char* from

Definition at line 463 of file aseFile.tab.cpp.

Referenced by ImageBitmap::loadFromFile(), TankState::setState(), and Image::writeToFile().

Vector tmRow[3] [static]

Definition at line 61 of file aseFile.tab.cpp.

int yychar

Definition at line 414 of file aseFile.tab.cpp.

const short yycheck[] [static]

Initial value:

 {    63,
     7,     7,    66,     8,     7,     3,     5,     9,    12,     6,
    11,     6,     5,    13,     3,     6,     3,    81,    12,    15,
    26,    24,    14,     7,    31,     6,    16,    12,     3,    93,
     6,    17,    12,     5,    16,    99,    19,     3,     3,    18,
     3,   105,    20,    12,     3,    33,     3,     3,   112,     3,
    21,     3,    12,     3,    22,     3,    18,   121,    35,     4,
    34,     3,     3,    36,     4,   129,    12,     4,    23,     7,
   134,     3,     6,     3,   138,    24,     7,     3,     3,    18,
   144,    25,     3,     6,     3,    38,   150,     3,    10,     3,
   154,    26,    10,    10,   158,     3,    29,    40,    10,     3,
    10,    37,    30,     6,     3,    18,     3,    31,    10,    18,
    39,     3,    32,     7,     3,    10,     3,    32,    18,     3,
     3,    32,     4,     3,     3,    18,    27,    18,    18,     4,
    28,     7,     0,     0,    -1,    16,    24,    -1,    -1,    -1,
    91,    -1,    -1,    -1,    -1,    -1,    -1,    -1,    -1,    -1,
    -1,    78,    -1,    -1,   124
}

Definition at line 282 of file aseFile.tab.cpp.

const short yydefact[] [static]

Initial value:

 {     0,
     0,     0,     2,     0,     0,    32,     3,     0,     0,     0,
     0,     0,     0,     0,     0,     1,     6,     0,     0,     0,
     7,     0,     0,     0,     0,     0,     5,    10,     0,     0,
     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,
     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,
     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,
     0,     0,     0,     0,     0,     0,     0,     0,     9,     8,
    33,     0,     0,     0,     4,     0,     0,     0,    16,     0,
     0,     0,    17,     0,    18,     0,     0,     0,     0,     0,
     0,    19,     0,     0,     0,     0,    20,    12,     0,     0,
     0,     0,     0,    13,     0,     0,    22,     0,     0,     0,
    14,     0,    23,     0,     0,     0,     0,    24,     0,     0,
     0,     0,     0,     0,    25,     0,     0,     0,     0,     0,
    26,     0,     0,     0,     0,    28,    15,     0,     0,     0,
     0,     0,    29,     0,     0,    27,     0,     0,    30,     0,
     0,     0,    31,     0,     0,     0,     0,     0,    21,     0,
     0,     0,    11,     0,     0,     0
}

Definition at line 207 of file aseFile.tab.cpp.

const short yydefgoto[] [static]

Initial value:

 {   164,
     2,     5,     9,    12,    16,    17,    64,    25,    30,    94,
   100,   106,    34,    78,    79,    91,    92,   102,   109,   115,
   124,   125,   126,   133,   140,   146,     7,    60
}

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

YYSTYPE yylval

Definition at line 415 of file aseFile.tab.cpp.

int yynerrs

Definition at line 423 of file aseFile.tab.cpp.

const short yypact[] [static]

Initial value:

 {    -4,
     3,    -1,-32768,     2,     0,-32768,-32768,     4,     1,    -3,
     6,     5,     8,     9,    10,     5,-32768,     7,    12,    11,
-32768,    14,    17,     2,    15,    16,-32768,-32768,    20,    18,
    26,    19,    25,    13,    21,    29,    23,    35,    36,    22,
    38,    27,    32,    42,    30,    44,    45,    47,    49,    24,
    41,    51,    33,    53,    56,    39,    59,    28,    61,    55,
    60,    46,    56,    63,    64,    56,    69,    67,-32768,-32768,
-32768,    70,    71,    52,-32768,    62,    75,    -2,-32768,    76,
    56,    57,-32768,    80,-32768,    78,    82,    66,    65,    79,
    -5,-32768,    56,    48,    83,    68,-32768,-32768,    56,    72,
    85,    84,    87,-32768,    56,    58,-32768,    93,    89,    73,
-32768,    56,-32768,    97,    91,    98,    88,-32768,   102,    77,
    56,    99,   104,    -6,-32768,    81,    92,   109,    56,   107,
-32768,   112,    86,    56,   106,-32768,-32768,    56,   114,    90,
   101,   117,-32768,    56,   118,-32768,   119,   100,-32768,    56,
   108,   121,-32768,    56,   103,   110,   122,    56,-32768,   111,
   126,   125,-32768,   133,   134,-32768
}

Definition at line 233 of file aseFile.tab.cpp.

const short yypgoto[] [static]

Initial value:

 {-32768,
-32768,-32768,-32768,-32768,-32768,   120,-32768,-32768,-32768,-32768,
-32768,-32768,-32768,-32768,    74,-32768,    50,-32768,-32768,-32768,
-32768,    31,-32768,-32768,-32768,-32768,   113,   -63
}

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

const short yyr1[] [static]

Initial value:

 {     0,
    41,    42,    43,    44,    45,    46,    46,    47,    48,    49,
    50,    51,    52,    53,    54,    55,    55,    56,    57,    57,
    58,    59,    60,    61,    62,    62,    63,    64,    65,    66,
    67,    68,    69
}

Definition at line 193 of file aseFile.tab.cpp.

const short yyr2[] [static]

Initial value:

 {     0,
     5,     2,     2,    17,     5,     1,     2,    13,     2,     2,
    34,     2,     2,     2,    23,     1,     2,     3,     1,     2,
    15,     2,     2,     2,     1,     2,     4,     3,     3,     3,
     3,     1,     3
}

Definition at line 200 of file aseFile.tab.cpp.

const short yytable[] [static]

Initial value:

 {    69,
   130,    96,    72,     1,    82,     3,     6,     4,    13,    10,
     8,    14,    18,    11,    23,    20,    26,    85,    22,    15,
    90,    77,    19,    27,   123,    32,    24,    31,    35,    98,
    37,    29,    39,    40,    36,   104,    33,    42,    43,    44,
    45,   111,    41,    47,    48,    38,    50,    51,   117,    52,
    49,    53,    55,    56,    57,    58,    61,   127,    54,    59,
    46,    62,    67,    63,    65,   136,    66,    71,    68,    70,
   141,    73,    74,    76,   143,    77,    75,    81,    84,    80,
   149,    86,    87,    88,    89,    99,   153,   107,    95,   110,
   156,    90,   101,   108,   160,   113,   103,   112,   114,   118,
   119,    93,   116,   120,   122,   121,   129,   123,   128,   134,
   105,   135,   132,   137,   138,   142,   144,   139,   147,   148,
   150,   145,   151,   155,   159,   154,   152,   158,   161,   162,
   157,   163,   165,   166,     0,    21,    28,     0,     0,     0,
    97,     0,     0,     0,     0,     0,     0,     0,     0,     0,
     0,    83,     0,     0,   131
}

Definition at line 263 of file aseFile.tab.cpp.

const char yytranslate[] [static]

Definition at line 98 of file aseFile.tab.cpp.


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