#ifndef YY_MyParser_h_included
#define YY_MyParser_h_included
#line 1 "M:\\kbase\\src\\release\\2A\\debug\\gnuwin32\\bin\\bison.h"
/* before anything */
#ifdef c_plusplus
#ifndef __cplusplus
#define __cplusplus
#endif
#endif
#ifdef __cplusplus
#ifndef YY_USE_CLASS
#define YY_USE_CLASS
#endif
#else
#endif
#include <stdio.h>
/* #line 14 "M:\\kbase\\src\\release\\2A\\debug\\gnuwin32\\bin\\bison.h" */
#line 21 "parser.h"
#define YY_MyParser_LSP_NEEDED
#define YY_MyParser_ERROR_BODY =0
#define YY_MyParser_LEX_BODY =0
#line 7 "pcode.y"
// ------------------------------------
// dBase for Linux (c) 2012 Jens Kallup
// All Rights Reserved.
// ------------------------------------
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <math.h>
#include <stdarg.h>
#include <signal.h>
#include <iostream>
#include <fstream>
#line 72 "pcode.y"
typedef union {
int type;
float val;
char* id;
char* text;
int trfa;
} yy_MyParser_stype;
#define YY_MyParser_STYPE yy_MyParser_stype
#line 14 "M:\\kbase\\src\\release\\2A\\debug\\gnuwin32\\bin\\bison.h"
/* %{ and %header{ and %union, during decl */
#ifndef YY_MyParser_COMPATIBILITY
#ifndef YY_USE_CLASS
#define YY_MyParser_COMPATIBILITY 1
#else
#define YY_MyParser_COMPATIBILITY 0
#endif
#endif
#if YY_MyParser_COMPATIBILITY != 0
/* backward compatibility */
#ifdef YYLTYPE
#ifndef YY_MyParser_LTYPE
#define YY_MyParser_LTYPE YYLTYPE
/* WARNING obsolete !!! user defined YYLTYPE not reported into generated header */
/* use %define LTYPE */
#endif
#endif
#ifdef YYSTYPE
#ifndef YY_MyParser_STYPE
#define YY_MyParser_STYPE YYSTYPE
/* WARNING obsolete !!! user defined YYSTYPE not reported into generated header */
/* use %define STYPE */
#endif
#endif
#ifdef YYDEBUG
#ifndef YY_MyParser_DEBUG
#define YY_MyParser_DEBUG YYDEBUG
/* WARNING obsolete !!! user defined YYDEBUG not reported into generated header */
/* use %define DEBUG */
#endif
#endif
#ifdef YY_MyParser_STYPE
#ifndef yystype
#define yystype YY_MyParser_STYPE
#endif
#endif
/* use goto to be compatible */
#ifndef YY_MyParser_USE_GOTO
#define YY_MyParser_USE_GOTO 1
#endif
#endif
/* use no goto to be clean in C++ */
#ifndef YY_MyParser_USE_GOTO
#define YY_MyParser_USE_GOTO 0
#endif
#ifndef YY_MyParser_PURE
/* #line 63 "M:\\kbase\\src\\release\\2A\\debug\\gnuwin32\\bin\\bison.h" */
#line 103 "parser.h"
#line 63 "M:\\kbase\\src\\release\\2A\\debug\\gnuwin32\\bin\\bison.h"
/* YY_MyParser_PURE */
#endif
/* #line 65 "M:\\kbase\\src\\release\\2A\\debug\\gnuwin32\\bin\\bison.h" */
#line 110 "parser.h"
#line 65 "M:\\kbase\\src\\release\\2A\\debug\\gnuwin32\\bin\\bison.h"
/* prefix */
#ifndef YY_MyParser_DEBUG
/* #line 67 "M:\\kbase\\src\\release\\2A\\debug\\gnuwin32\\bin\\bison.h" */
#line 117 "parser.h"
#line 67 "M:\\kbase\\src\\release\\2A\\debug\\gnuwin32\\bin\\bison.h"
/* YY_MyParser_DEBUG */
#endif
#ifndef YY_MyParser_LSP_NEEDED
/* #line 70 "M:\\kbase\\src\\release\\2A\\debug\\gnuwin32\\bin\\bison.h" */
#line 125 "parser.h"
#line 70 "M:\\kbase\\src\\release\\2A\\debug\\gnuwin32\\bin\\bison.h"
/* YY_MyParser_LSP_NEEDED*/
#endif
/* DEFAULT LTYPE*/
#ifdef YY_MyParser_LSP_NEEDED
#ifndef YY_MyParser_LTYPE
typedef
struct yyltype
{
int timestamp;
int first_line;
int first_column;
int last_line;
int last_column;
char *text;
}
yyltype;
#define YY_MyParser_LTYPE yyltype
#endif
#endif
/* DEFAULT STYPE*/
#ifndef YY_MyParser_STYPE
#define YY_MyParser_STYPE int
#endif
/* DEFAULT MISCELANEOUS */
#ifndef YY_MyParser_PARSE
#define YY_MyParser_PARSE yyparse
#endif
#ifndef YY_MyParser_LEX
#define YY_MyParser_LEX yylex
#endif
#ifndef YY_MyParser_LVAL
#define YY_MyParser_LVAL yylval
#endif
#ifndef YY_MyParser_LLOC
#define YY_MyParser_LLOC yylloc
#endif
#ifndef YY_MyParser_CHAR
#define YY_MyParser_CHAR yychar
#endif
#ifndef YY_MyParser_NERRS
#define YY_MyParser_NERRS yynerrs
#endif
#ifndef YY_MyParser_DEBUG_FLAG
#define YY_MyParser_DEBUG_FLAG yydebug
#endif
#ifndef YY_MyParser_ERROR
#define YY_MyParser_ERROR yyerror
#endif
#ifndef YY_MyParser_PARSE_PARAM
#ifndef __STDC__
#ifndef __cplusplus
#ifndef YY_USE_CLASS
#define YY_MyParser_PARSE_PARAM
#ifndef YY_MyParser_PARSE_PARAM_DEF
#define YY_MyParser_PARSE_PARAM_DEF
#endif
#endif
#endif
#endif
#ifndef YY_MyParser_PARSE_PARAM
#define YY_MyParser_PARSE_PARAM void
#endif
#endif
/* TOKEN C */
#ifndef YY_USE_CLASS
#ifndef YY_MyParser_PURE
extern YY_MyParser_STYPE YY_MyParser_LVAL;
#endif
/* #line 143 "M:\\kbase\\src\\release\\2A\\debug\\gnuwin32\\bin\\bison.h" */
#line 203 "parser.h"
#define _NUM_ 258
#define _ID_ 259
#define _ASSIGN_ 260
#define _PLUS_ 261
#define _MINUS_ 262
#define _DIV_ 263
#define _MUL_ 264
#define _MOD_ 265
#define _POW_ 266
#define _OBR_ 267
#define _CBR_ 268
#define _NEW_ 269
#define _CLASS_ 270
#define _OF_ 271
#define _ENDCLASS_ 272
#define _WITH_ 273
#define _ENDWITH_ 274
#define _LOCAL_ 275
#define _COMMA_ 276
#define _POINT_ 277
#define _STRING_ 278
#define _FUNCTION_ 279
#define _RETURN_ 280
#define _DBPOINT_ 281
#define _MSGBOX_ 282
#define _EQUAL_ 283
#define _PARAMETER_ 284
#define _IF_ 285
#define _ELSE_ 286
#define _ENDIF_ 287
#define _NOT_ 288
#define _TRUE_ 289
#define _FALSE_ 290
#define _OBR2_ 291
#define _CBR2_ 292
#line 143 "M:\\kbase\\src\\release\\2A\\debug\\gnuwin32\\bin\\bison.h"
/* #defines token */
/* after #define tokens, before const tokens S5*/
#else
#ifndef YY_MyParser_CLASS
#define YY_MyParser_CLASS MyParser
#endif
#ifndef YY_MyParser_INHERIT
#define YY_MyParser_INHERIT
#endif
#ifndef YY_MyParser_MEMBERS
#define YY_MyParser_MEMBERS
#endif
#ifndef YY_MyParser_LEX_BODY
#define YY_MyParser_LEX_BODY
#endif
#ifndef YY_MyParser_ERROR_BODY
#define YY_MyParser_ERROR_BODY
#endif
#ifndef YY_MyParser_CONSTRUCTOR_PARAM
#define YY_MyParser_CONSTRUCTOR_PARAM
#endif
/* choose between enum and const */
#ifndef YY_MyParser_USE_CONST_TOKEN
#define YY_MyParser_USE_CONST_TOKEN 0
/* yes enum is more compatible with flex, */
/* so by default we use it */
#endif
#if YY_MyParser_USE_CONST_TOKEN != 0
#ifndef YY_MyParser_ENUM_TOKEN
#define YY_MyParser_ENUM_TOKEN yy_MyParser_enum_token
#endif
#endif
class YY_MyParser_CLASS YY_MyParser_INHERIT
{
public:
#if YY_MyParser_USE_CONST_TOKEN != 0
/* static const int token ... */
/* #line 182 "M:\\kbase\\src\\release\\2A\\debug\\gnuwin32\\bin\\bison.h" */
#line 283 "parser.h"
static const int _NUM_;
static const int _ID_;
static const int _ASSIGN_;
static const int _PLUS_;
static const int _MINUS_;
static const int _DIV_;
static const int _MUL_;
static const int _MOD_;
static const int _POW_;
static const int _OBR_;
static const int _CBR_;
static const int _NEW_;
static const int _CLASS_;
static const int _OF_;
static const int _ENDCLASS_;
static const int _WITH_;
static const int _ENDWITH_;
static const int _LOCAL_;
static const int _COMMA_;
static const int _POINT_;
static const int _STRING_;
static const int _FUNCTION_;
static const int _RETURN_;
static const int _DBPOINT_;
static const int _MSGBOX_;
static const int _EQUAL_;
static const int _PARAMETER_;
static const int _IF_;
static const int _ELSE_;
static const int _ENDIF_;
static const int _NOT_;
static const int _TRUE_;
static const int _FALSE_;
static const int _OBR2_;
static const int _CBR2_;
#line 182 "M:\\kbase\\src\\release\\2A\\debug\\gnuwin32\\bin\\bison.h"
/* decl const */
#else
enum YY_MyParser_ENUM_TOKEN { YY_MyParser_NULL_TOKEN=0
/* #line 185 "M:\\kbase\\src\\release\\2A\\debug\\gnuwin32\\bin\\bison.h" */
#line 327 "parser.h"
,_NUM_=258
,_ID_=259
,_ASSIGN_=260
,_PLUS_=261
,_MINUS_=262
,_DIV_=263
,_MUL_=264
,_MOD_=265
,_POW_=266
,_OBR_=267
,_CBR_=268
,_NEW_=269
,_CLASS_=270
,_OF_=271
,_ENDCLASS_=272
,_WITH_=273
,_ENDWITH_=274
,_LOCAL_=275
,_COMMA_=276
,_POINT_=277
,_STRING_=278
,_FUNCTION_=279
,_RETURN_=280
,_DBPOINT_=281
,_MSGBOX_=282
,_EQUAL_=283
,_PARAMETER_=284
,_IF_=285
,_ELSE_=286
,_ENDIF_=287
,_NOT_=288
,_TRUE_=289
,_FALSE_=290
,_OBR2_=291
,_CBR2_=292
#line 185 "M:\\kbase\\src\\release\\2A\\debug\\gnuwin32\\bin\\bison.h"
/* enum token */
}; /* end of enum declaration */
#endif
public:
int YY_MyParser_PARSE(YY_MyParser_PARSE_PARAM);
virtual void YY_MyParser_ERROR(char *msg) YY_MyParser_ERROR_BODY;
#ifdef YY_MyParser_PURE
#ifdef YY_MyParser_LSP_NEEDED
virtual int YY_MyParser_LEX(YY_MyParser_STYPE *YY_MyParser_LVAL,YY_MyParser_LTYPE *YY_MyParser_LLOC) YY_MyParser_LEX_BODY;
#else
virtual int YY_MyParser_LEX(YY_MyParser_STYPE *YY_MyParser_LVAL) YY_MyParser_LEX_BODY;
#endif
#else
virtual int YY_MyParser_LEX() YY_MyParser_LEX_BODY;
YY_MyParser_STYPE YY_MyParser_LVAL;
#ifdef YY_MyParser_LSP_NEEDED
YY_MyParser_LTYPE YY_MyParser_LLOC;
#endif
int YY_MyParser_NERRS;
int YY_MyParser_CHAR;
#endif
#if YY_MyParser_DEBUG != 0
public:
int YY_MyParser_DEBUG_FLAG; /* nonzero means print parse trace */
#endif
public:
YY_MyParser_CLASS(YY_MyParser_CONSTRUCTOR_PARAM);
public:
YY_MyParser_MEMBERS
};
/* other declare folow */
#endif
#if YY_MyParser_COMPATIBILITY != 0
/* backward compatibility */
#ifndef YYSTYPE
#define YYSTYPE YY_MyParser_STYPE
#endif
#ifndef YYLTYPE
#define YYLTYPE YY_MyParser_LTYPE
#endif
#ifndef YYDEBUG
#ifdef YY_MyParser_DEBUG
#define YYDEBUG YY_MyParser_DEBUG
#endif
#endif
#endif
/* END */
/* #line 236 "M:\\kbase\\src\\release\\2A\\debug\\gnuwin32\\bin\\bison.h" */
#line 419 "parser.h"
#endif