* harbour/source/macro/macro.y
* harbour/source/macro/macro.yyc
* harbour/source/macro/macro.yyh
* harbour/source/macro/macrolex.c
* added support for extended string (e"...") to macro compiler and
strings with embedded ASCII NUL character (chr(0))
* harbour/source/rtl/valtostr.c
* added HB_STRTOEXP() function which converts string item to valid
expression which can be compiled by macro compiler. String may
contain any characters.
* harbour/source/rtl/persist.prg
* use HB_STRTOEXP() for sting conversion and 0d....... for date
constants
* harbour/source/rtl/readvar.prg
* harbour/source/rtl/xsavescr.c
* minor cleanup
4384 lines
154 KiB
Plaintext
4384 lines
154 KiB
Plaintext
/* A Bison parser, made by GNU Bison 2.3. */
|
||
|
||
/* Skeleton implementation for Bison's Yacc-like parsers in C
|
||
|
||
Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002, 2003, 2004, 2005, 2006
|
||
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., 51 Franklin Street, Fifth Floor,
|
||
Boston, MA 02110-1301, USA. */
|
||
|
||
/* As a special exception, you may create a larger work that contains
|
||
part or all of the Bison parser skeleton and distribute that work
|
||
under terms of your choice, so long as that work isn't itself a
|
||
parser generator using the skeleton or a modified version thereof
|
||
as a parser skeleton. Alternatively, if you modify or redistribute
|
||
the parser skeleton itself, you may (at your option) remove this
|
||
special exception, which will cause the skeleton and the resulting
|
||
Bison output files to be licensed under the GNU General Public
|
||
License without this special exception.
|
||
|
||
This special exception was added by the Free Software Foundation in
|
||
version 2.2 of Bison. */
|
||
|
||
/* C LALR(1) parser skeleton 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
|
||
|
||
/* Bison version. */
|
||
#define YYBISON_VERSION "2.3"
|
||
|
||
/* Skeleton name. */
|
||
#define YYSKELETON_NAME "yacc.c"
|
||
|
||
/* Pure parsers. */
|
||
#define YYPURE 1
|
||
|
||
/* Using locations. */
|
||
#define YYLSP_NEEDED 0
|
||
|
||
/* Substitute the variable and function names. */
|
||
#define yyparse hb_macroparse
|
||
#define yylex hb_macrolex
|
||
#define yyerror hb_macroerror
|
||
#define yylval hb_macrolval
|
||
#define yychar hb_macrochar
|
||
#define yydebug hb_macrodebug
|
||
#define yynerrs hb_macronerrs
|
||
|
||
|
||
/* Tokens. */
|
||
#ifndef YYTOKENTYPE
|
||
# define YYTOKENTYPE
|
||
/* Put the tokens into the symbol table, so that GDB and other debuggers
|
||
know about them. */
|
||
enum yytokentype {
|
||
IDENTIFIER = 258,
|
||
NIL = 259,
|
||
NUM_DOUBLE = 260,
|
||
INASSIGN = 261,
|
||
NUM_LONG = 262,
|
||
NUM_DATE = 263,
|
||
IIF = 264,
|
||
IF = 265,
|
||
LITERAL = 266,
|
||
TRUEVALUE = 267,
|
||
FALSEVALUE = 268,
|
||
AND = 269,
|
||
OR = 270,
|
||
NOT = 271,
|
||
EQ = 272,
|
||
NE1 = 273,
|
||
NE2 = 274,
|
||
INC = 275,
|
||
DEC = 276,
|
||
ALIASOP = 277,
|
||
SELF = 278,
|
||
LE = 279,
|
||
GE = 280,
|
||
FIELD = 281,
|
||
MACROVAR = 282,
|
||
MACROTEXT = 283,
|
||
PLUSEQ = 284,
|
||
MINUSEQ = 285,
|
||
MULTEQ = 286,
|
||
DIVEQ = 287,
|
||
POWER = 288,
|
||
EXPEQ = 289,
|
||
MODEQ = 290,
|
||
POST = 291,
|
||
UNARY = 292,
|
||
PRE = 293
|
||
};
|
||
#endif
|
||
/* Tokens. */
|
||
#define IDENTIFIER 258
|
||
#define NIL 259
|
||
#define NUM_DOUBLE 260
|
||
#define INASSIGN 261
|
||
#define NUM_LONG 262
|
||
#define NUM_DATE 263
|
||
#define IIF 264
|
||
#define IF 265
|
||
#define LITERAL 266
|
||
#define TRUEVALUE 267
|
||
#define FALSEVALUE 268
|
||
#define AND 269
|
||
#define OR 270
|
||
#define NOT 271
|
||
#define EQ 272
|
||
#define NE1 273
|
||
#define NE2 274
|
||
#define INC 275
|
||
#define DEC 276
|
||
#define ALIASOP 277
|
||
#define SELF 278
|
||
#define LE 279
|
||
#define GE 280
|
||
#define FIELD 281
|
||
#define MACROVAR 282
|
||
#define MACROTEXT 283
|
||
#define PLUSEQ 284
|
||
#define MINUSEQ 285
|
||
#define MULTEQ 286
|
||
#define DIVEQ 287
|
||
#define POWER 288
|
||
#define EXPEQ 289
|
||
#define MODEQ 290
|
||
#define POST 291
|
||
#define UNARY 292
|
||
#define PRE 293
|
||
|
||
|
||
|
||
|
||
/* Copy the first part of user declarations. */
|
||
#line 5 "macro.y"
|
||
|
||
/*
|
||
* $Id$
|
||
*/
|
||
|
||
/*
|
||
* Harbour Project source code:
|
||
* Macro compiler YACC rules and actions
|
||
*
|
||
* Copyright 1999 Antonio Linares <alinares@fivetech.com>
|
||
* www - http://www.harbour-project.org
|
||
*
|
||
* 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 software; see the file COPYING. If not, write to
|
||
* the Free Software Foundation, Inc., 59 Temple Place, Suite 330,
|
||
* Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/).
|
||
*
|
||
* As a special exception, the Harbour Project gives permission for
|
||
* additional uses of the text contained in its release of Harbour.
|
||
*
|
||
* The exception is that, if you link the Harbour libraries with other
|
||
* files to produce an executable, this does not by itself cause the
|
||
* resulting executable to be covered by the GNU General Public License.
|
||
* Your use of that executable is in no way restricted on account of
|
||
* linking the Harbour library code into it.
|
||
*
|
||
* This exception does not however invalidate any other reasons why
|
||
* the executable file might be covered by the GNU General Public License.
|
||
*
|
||
* This exception applies only to the code released by the Harbour
|
||
* Project under the name Harbour. If you copy code from other
|
||
* Harbour Project or Free Software Foundation releases into a copy of
|
||
* Harbour, as the General Public License permits, the exception does
|
||
* not apply to the code that you add in this way. To avoid misleading
|
||
* anyone as to the status of such modified files, you must delete
|
||
* this exception notice from them.
|
||
*
|
||
* If you write modifications of your own for Harbour, it is your choice
|
||
* whether to permit this exception to apply to your modifications.
|
||
* If you do not wish that, delete this exception notice.
|
||
*
|
||
*/
|
||
|
||
/* TODO list
|
||
* 1) jumps longer then 2^15 bytes
|
||
* 2) Change the pcode generated by ::cVar from Self:cVar to QSELF():cVar
|
||
* 3) Support this syntax: nPtr := @Hello()
|
||
*/
|
||
|
||
/* this #define HAVE TO be placed before all #include directives
|
||
*/
|
||
#define HB_MACRO_SUPPORT
|
||
|
||
#include "hbmacro.h"
|
||
#include "hbcomp.h"
|
||
#include "hbdate.h"
|
||
#include "hbpp.h"
|
||
|
||
/* Compile using: bison -d -p hb_comp macro.y */
|
||
|
||
/* to pacify some warnings in BCC */
|
||
#if defined( __BORLANDC__ ) && !defined( __STDC__ )
|
||
# define __STDC__
|
||
#endif
|
||
|
||
#undef alloca
|
||
#define alloca hb_xgrab
|
||
#undef malloc
|
||
#define malloc hb_xgrab
|
||
#undef realloc
|
||
#define realloc hb_xrealloc
|
||
#undef free
|
||
#define free hb_xfree
|
||
|
||
/* NOTE: these symbols are used internally in bison.simple
|
||
*/
|
||
#undef YYFREE
|
||
#define YYFREE hb_xfree
|
||
#undef YYMALLOC
|
||
#define YYMALLOC hb_xgrab
|
||
|
||
/* yacc/lex related definitions
|
||
*/
|
||
|
||
|
||
/* Standard checking for valid expression creation
|
||
*/
|
||
#define HB_MACRO_CHECK( pExpr ) \
|
||
if( ! ( HB_MACRO_DATA->status & HB_MACRO_CONT ) ) \
|
||
{ \
|
||
YYABORT; \
|
||
}
|
||
|
||
#define HB_MACRO_IFENABLED( pSet, pExpr, flag ) \
|
||
if( HB_MACRO_DATA->supported & (flag) ) \
|
||
{ \
|
||
pSet = (pExpr); \
|
||
}\
|
||
else \
|
||
{ \
|
||
YYABORT; \
|
||
}
|
||
|
||
|
||
|
||
/* Enabling traces. */
|
||
#ifndef YYDEBUG
|
||
# define YYDEBUG 0
|
||
#endif
|
||
|
||
/* Enabling verbose error messages. */
|
||
#ifdef YYERROR_VERBOSE
|
||
# undef YYERROR_VERBOSE
|
||
# define YYERROR_VERBOSE 1
|
||
#else
|
||
# define YYERROR_VERBOSE 0
|
||
#endif
|
||
|
||
/* Enabling the token table. */
|
||
#ifndef YYTOKEN_TABLE
|
||
# define YYTOKEN_TABLE 0
|
||
#endif
|
||
|
||
#if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED
|
||
typedef union YYSTYPE
|
||
#line 121 "macro.y"
|
||
{
|
||
char * string; /* to hold a string returned by lex */
|
||
int iNumber; /* to hold a temporary integer number */
|
||
HB_LONG lNumber; /* to hold a temporary long number */
|
||
void * pVoid; /* to hold any memory structure we may need */
|
||
HB_EXPR_PTR asExpr;
|
||
struct
|
||
{
|
||
char * string;
|
||
int length;
|
||
} valChar;
|
||
struct
|
||
{
|
||
int iNumber; /* to hold a number returned by lex */
|
||
} valInteger;
|
||
struct
|
||
{
|
||
HB_LONG lNumber; /* to hold a long number returned by lex */
|
||
UCHAR bWidth; /* to hold the width of the value */
|
||
} valLong;
|
||
struct
|
||
{
|
||
double dNumber; /* to hold a double number returned by lex */
|
||
UCHAR bWidth; /* to hold the width of the value */
|
||
UCHAR bDec; /* to hold the number of decimal points in the value */
|
||
} valDouble;
|
||
}
|
||
/* Line 193 of yacc.c. */
|
||
#line 323 "macroy.c"
|
||
YYSTYPE;
|
||
# 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 149 "macro.y"
|
||
|
||
/* This must be placed after the above union - the union is
|
||
* typedef-ined to YYSTYPE
|
||
*/
|
||
extern int yylex( YYSTYPE *, HB_MACRO_PTR ); /* main lex token function, called by yyparse() */
|
||
extern int yyparse( HB_MACRO_PTR ); /* main yacc parsing function */
|
||
extern void yyerror( HB_MACRO_PTR, char * ); /* parsing error management function */
|
||
|
||
static void hb_macroIdentNew( HB_COMP_DECL, char * );
|
||
|
||
#line 161 "macro.y"
|
||
|
||
#ifdef __WATCOMC__
|
||
/* disable warnings for unreachable code */
|
||
#pragma warning 13 9
|
||
#endif
|
||
|
||
|
||
/* Line 216 of yacc.c. */
|
||
#line 353 "macroy.c"
|
||
|
||
#ifdef short
|
||
# undef short
|
||
#endif
|
||
|
||
#ifdef YYTYPE_UINT8
|
||
typedef YYTYPE_UINT8 yytype_uint8;
|
||
#else
|
||
typedef unsigned char yytype_uint8;
|
||
#endif
|
||
|
||
#ifdef YYTYPE_INT8
|
||
typedef YYTYPE_INT8 yytype_int8;
|
||
#elif (defined __STDC__ || defined __C99__FUNC__ \
|
||
|| defined __cplusplus || defined _MSC_VER)
|
||
typedef signed char yytype_int8;
|
||
#else
|
||
typedef short int yytype_int8;
|
||
#endif
|
||
|
||
#ifdef YYTYPE_UINT16
|
||
typedef YYTYPE_UINT16 yytype_uint16;
|
||
#else
|
||
typedef unsigned short int yytype_uint16;
|
||
#endif
|
||
|
||
#ifdef YYTYPE_INT16
|
||
typedef YYTYPE_INT16 yytype_int16;
|
||
#else
|
||
typedef short int yytype_int16;
|
||
#endif
|
||
|
||
#ifndef YYSIZE_T
|
||
# ifdef __SIZE_TYPE__
|
||
# define YYSIZE_T __SIZE_TYPE__
|
||
# elif defined size_t
|
||
# define YYSIZE_T size_t
|
||
# elif ! defined YYSIZE_T && (defined __STDC__ || defined __C99__FUNC__ \
|
||
|| defined __cplusplus || defined _MSC_VER)
|
||
# include <stddef.h> /* INFRINGES ON USER NAME SPACE */
|
||
# define YYSIZE_T size_t
|
||
# else
|
||
# define YYSIZE_T unsigned int
|
||
# endif
|
||
#endif
|
||
|
||
#define YYSIZE_MAXIMUM ((YYSIZE_T) -1)
|
||
|
||
#ifndef YY_
|
||
# if YYENABLE_NLS
|
||
# if ENABLE_NLS
|
||
# include <libintl.h> /* INFRINGES ON USER NAME SPACE */
|
||
# define YY_(msgid) dgettext ("bison-runtime", msgid)
|
||
# endif
|
||
# endif
|
||
# ifndef YY_
|
||
# define YY_(msgid) msgid
|
||
# endif
|
||
#endif
|
||
|
||
/* Suppress unused-variable warnings by "using" E. */
|
||
#if ! defined lint || defined __GNUC__
|
||
# define YYUSE(e) ((void) (e))
|
||
#else
|
||
# define YYUSE(e) /* empty */
|
||
#endif
|
||
|
||
/* Identity function, used to suppress warnings about constant conditions. */
|
||
#ifndef lint
|
||
# define YYID(n) (n)
|
||
#else
|
||
#if (defined __STDC__ || defined __C99__FUNC__ \
|
||
|| defined __cplusplus || defined _MSC_VER)
|
||
static int
|
||
YYID (int i)
|
||
#else
|
||
static int
|
||
YYID (i)
|
||
int i;
|
||
#endif
|
||
{
|
||
return i;
|
||
}
|
||
#endif
|
||
|
||
#if ! defined yyoverflow || YYERROR_VERBOSE
|
||
|
||
/* 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
|
||
# elif defined __BUILTIN_VA_ARG_INCR
|
||
# include <alloca.h> /* INFRINGES ON USER NAME SPACE */
|
||
# elif defined _AIX
|
||
# define YYSTACK_ALLOC __alloca
|
||
# elif defined _MSC_VER
|
||
# include <malloc.h> /* INFRINGES ON USER NAME SPACE */
|
||
# define alloca _alloca
|
||
# else
|
||
# define YYSTACK_ALLOC alloca
|
||
# if ! defined _ALLOCA_H && ! defined _STDLIB_H && (defined __STDC__ || defined __C99__FUNC__ \
|
||
|| defined __cplusplus || defined _MSC_VER)
|
||
# include <stdlib.h> /* INFRINGES ON USER NAME SPACE */
|
||
# ifndef _STDLIB_H
|
||
# define _STDLIB_H 1
|
||
# endif
|
||
# endif
|
||
# endif
|
||
# endif
|
||
# endif
|
||
|
||
# ifdef YYSTACK_ALLOC
|
||
/* Pacify GCC's `empty if-body' warning. */
|
||
# define YYSTACK_FREE(Ptr) do { /* empty */; } while (YYID (0))
|
||
# ifndef YYSTACK_ALLOC_MAXIMUM
|
||
/* The OS might guarantee only one guard page at the bottom of the stack,
|
||
and a page size can be as small as 4096 bytes. So we cannot safely
|
||
invoke alloca (N) if N exceeds 4096. Use a slightly smaller number
|
||
to allow for a few compiler-allocated temporary stack slots. */
|
||
# define YYSTACK_ALLOC_MAXIMUM 4032 /* reasonable circa 2006 */
|
||
# endif
|
||
# else
|
||
# define YYSTACK_ALLOC YYMALLOC
|
||
# define YYSTACK_FREE YYFREE
|
||
# ifndef YYSTACK_ALLOC_MAXIMUM
|
||
# define YYSTACK_ALLOC_MAXIMUM YYSIZE_MAXIMUM
|
||
# endif
|
||
# if (defined __cplusplus && ! defined _STDLIB_H \
|
||
&& ! ((defined YYMALLOC || defined malloc) \
|
||
&& (defined YYFREE || defined free)))
|
||
# include <stdlib.h> /* INFRINGES ON USER NAME SPACE */
|
||
# ifndef _STDLIB_H
|
||
# define _STDLIB_H 1
|
||
# endif
|
||
# endif
|
||
# ifndef YYMALLOC
|
||
# define YYMALLOC malloc
|
||
# if ! defined malloc && ! defined _STDLIB_H && (defined __STDC__ || defined __C99__FUNC__ \
|
||
|| defined __cplusplus || defined _MSC_VER)
|
||
void *malloc (YYSIZE_T); /* INFRINGES ON USER NAME SPACE */
|
||
# endif
|
||
# endif
|
||
# ifndef YYFREE
|
||
# define YYFREE free
|
||
# if ! defined free && ! defined _STDLIB_H && (defined __STDC__ || defined __C99__FUNC__ \
|
||
|| defined __cplusplus || defined _MSC_VER)
|
||
void free (void *); /* INFRINGES ON USER NAME SPACE */
|
||
# endif
|
||
# endif
|
||
# 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
|
||
{
|
||
yytype_int16 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 (yytype_int16) + 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 \
|
||
{ \
|
||
YYSIZE_T yyi; \
|
||
for (yyi = 0; yyi < (Count); yyi++) \
|
||
(To)[yyi] = (From)[yyi]; \
|
||
} \
|
||
while (YYID (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 (YYID (0))
|
||
|
||
#endif
|
||
|
||
/* YYFINAL -- State number of the termination state. */
|
||
#define YYFINAL 89
|
||
/* YYLAST -- Last index in YYTABLE. */
|
||
#define YYLAST 1156
|
||
|
||
/* YYNTOKENS -- Number of terminals. */
|
||
#define YYNTOKENS 60
|
||
/* YYNNTS -- Number of nonterminals. */
|
||
#define YYNNTS 64
|
||
/* YYNRULES -- Number of rules. */
|
||
#define YYNRULES 329
|
||
/* YYNRULES -- Number of states. */
|
||
#define YYNSTATES 569
|
||
|
||
/* YYTRANSLATE(YYLEX) -- Bison symbol number corresponding to YYLEX. */
|
||
#define YYUNDEFTOK 2
|
||
#define YYMAXUTOK 293
|
||
|
||
#define YYTRANSLATE(YYX) \
|
||
((unsigned int) (YYX) <= YYMAXUTOK ? yytranslate[YYX] : YYUNDEFTOK)
|
||
|
||
/* YYTRANSLATE[YYLEX] -- Bison symbol number corresponding to YYLEX. */
|
||
static const yytype_uint8 yytranslate[] =
|
||
{
|
||
0, 2, 2, 2, 2, 2, 2, 2, 2, 2,
|
||
51, 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, 40, 45, 48, 2,
|
||
54, 55, 43, 41, 50, 42, 2, 44, 2, 2,
|
||
2, 2, 2, 2, 2, 2, 2, 2, 56, 2,
|
||
38, 37, 39, 2, 49, 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, 58, 2, 57, 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, 52, 59, 53, 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, 46, 47
|
||
};
|
||
|
||
#if YYDEBUG
|
||
/* YYPRHS[YYN] -- Index of the first RHS symbol of rule number YYN in
|
||
YYRHS. */
|
||
static const yytype_uint16 yyprhs[] =
|
||
{
|
||
0, 0, 3, 6, 8, 10, 13, 15, 17, 19,
|
||
21, 24, 26, 28, 30, 32, 34, 38, 41, 43,
|
||
46, 48, 50, 53, 56, 59, 62, 66, 69, 72,
|
||
75, 78, 81, 83, 85, 88, 91, 94, 97, 100,
|
||
103, 106, 109, 112, 115, 118, 121, 124, 127, 130,
|
||
133, 136, 139, 142, 145, 148, 151, 154, 157, 160,
|
||
163, 166, 171, 176, 178, 182, 184, 187, 190, 195,
|
||
199, 203, 207, 211, 215, 219, 223, 227, 231, 235,
|
||
239, 243, 247, 251, 255, 259, 263, 267, 271, 275,
|
||
280, 282, 284, 286, 288, 290, 292, 294, 296, 298,
|
||
300, 302, 304, 306, 308, 310, 312, 314, 316, 318,
|
||
320, 322, 324, 326, 328, 330, 332, 334, 336, 338,
|
||
339, 344, 346, 350, 351, 353, 355, 357, 360, 363,
|
||
366, 369, 372, 375, 378, 381, 384, 387, 390, 393,
|
||
396, 399, 402, 405, 408, 411, 414, 417, 420, 423,
|
||
426, 429, 433, 437, 441, 445, 449, 453, 457, 461,
|
||
465, 469, 473, 477, 481, 485, 489, 493, 497, 501,
|
||
505, 509, 513, 517, 521, 525, 529, 533, 537, 541,
|
||
545, 549, 553, 557, 561, 565, 569, 573, 577, 581,
|
||
585, 589, 593, 597, 601, 605, 609, 613, 617, 621,
|
||
625, 629, 633, 637, 641, 645, 649, 653, 657, 661,
|
||
665, 669, 673, 677, 681, 685, 689, 693, 697, 701,
|
||
705, 709, 713, 717, 721, 725, 729, 733, 737, 741,
|
||
745, 749, 753, 757, 761, 765, 769, 773, 777, 781,
|
||
785, 789, 793, 797, 801, 805, 809, 813, 817, 821,
|
||
825, 829, 833, 837, 841, 845, 849, 853, 857, 861,
|
||
865, 869, 873, 877, 881, 885, 889, 893, 897, 901,
|
||
905, 909, 913, 917, 921, 925, 929, 933, 937, 941,
|
||
945, 949, 953, 957, 961, 963, 965, 967, 969, 971,
|
||
973, 977, 981, 985, 989, 993, 997, 1001, 1005, 1009,
|
||
1013, 1017, 1021, 1025, 1029, 1033, 1037, 1041, 1044, 1047,
|
||
1051, 1056, 1058, 1062, 1063, 1071, 1072, 1080, 1082, 1086,
|
||
1087, 1089, 1093, 1096, 1100, 1103, 1106, 1107, 1117, 1118
|
||
};
|
||
|
||
/* YYRHS -- A `-1'-separated list of the rules' RHS. */
|
||
static const yytype_int8 yyrhs[] =
|
||
{
|
||
61, 0, -1, 89, 51, -1, 89, -1, 92, -1,
|
||
89, 1, -1, 1, -1, 5, -1, 7, -1, 8,
|
||
-1, 7, 22, -1, 4, -1, 11, -1, 12, -1,
|
||
13, -1, 23, -1, 52, 111, 53, -1, 69, 109,
|
||
-1, 3, -1, 3, 22, -1, 27, -1, 28, -1,
|
||
73, 22, -1, 48, 119, -1, 75, 22, -1, 26,
|
||
22, -1, 26, 22, 77, -1, 77, 72, -1, 77,
|
||
64, -1, 77, 120, -1, 77, 74, -1, 77, 76,
|
||
-1, 3, -1, 73, -1, 64, 79, -1, 74, 79,
|
||
-1, 76, 79, -1, 120, 79, -1, 72, 79, -1,
|
||
77, 79, -1, 78, 79, -1, 64, 119, -1, 72,
|
||
119, -1, 74, 119, -1, 76, 119, -1, 120, 119,
|
||
-1, 65, 109, -1, 66, 109, -1, 112, 109, -1,
|
||
67, 109, -1, 68, 109, -1, 71, 109, -1, 80,
|
||
109, -1, 81, 109, -1, 73, 109, -1, 75, 109,
|
||
-1, 86, 109, -1, 87, 109, -1, 83, 109, -1,
|
||
121, 109, -1, 119, 109, -1, 3, 54, 84, 55,
|
||
-1, 73, 54, 84, 55, -1, 85, -1, 84, 50,
|
||
85, -1, 93, -1, 49, 3, -1, 49, 80, -1,
|
||
49, 3, 54, 55, -1, 62, 56, 3, -1, 65,
|
||
56, 3, -1, 63, 56, 3, -1, 66, 56, 3,
|
||
-1, 112, 56, 3, -1, 67, 56, 3, -1, 68,
|
||
56, 3, -1, 69, 56, 3, -1, 70, 56, 3,
|
||
-1, 71, 56, 3, -1, 80, 56, 3, -1, 81,
|
||
56, 3, -1, 73, 56, 3, -1, 75, 56, 3,
|
||
-1, 83, 56, 3, -1, 121, 56, 3, -1, 119,
|
||
56, 3, -1, 82, 56, 3, -1, 87, 56, 3,
|
||
-1, 86, 56, 3, -1, 86, 54, 84, 55, -1,
|
||
62, -1, 65, -1, 63, -1, 66, -1, 112, -1,
|
||
67, -1, 68, -1, 69, -1, 70, -1, 80, -1,
|
||
73, -1, 75, -1, 71, -1, 82, -1, 83, -1,
|
||
121, -1, 86, -1, 87, -1, 81, -1, 98, -1,
|
||
105, -1, 95, -1, 96, -1, 97, -1, 106, -1,
|
||
107, -1, 108, -1, 88, -1, 119, -1, -1, 93,
|
||
50, 91, 93, -1, 90, -1, 92, 50, 93, -1,
|
||
-1, 89, -1, 20, -1, 21, -1, 62, 94, -1,
|
||
65, 94, -1, 66, 94, -1, 112, 94, -1, 67,
|
||
94, -1, 68, 94, -1, 69, 94, -1, 70, 94,
|
||
-1, 71, 94, -1, 73, 94, -1, 75, 94, -1,
|
||
80, 94, -1, 81, 94, -1, 82, 94, -1, 119,
|
||
94, -1, 121, 94, -1, 83, 94, -1, 86, 94,
|
||
-1, 87, 94, -1, 20, 89, -1, 21, 89, -1,
|
||
16, 89, -1, 42, 89, -1, 41, 89, -1, 62,
|
||
6, 89, -1, 65, 6, 89, -1, 66, 6, 89,
|
||
-1, 112, 6, 89, -1, 67, 6, 89, -1, 68,
|
||
6, 89, -1, 69, 6, 89, -1, 70, 6, 89,
|
||
-1, 71, 6, 89, -1, 73, 6, 89, -1, 75,
|
||
6, 89, -1, 80, 6, 89, -1, 81, 6, 89,
|
||
-1, 82, 6, 89, -1, 119, 6, 89, -1, 121,
|
||
6, 89, -1, 83, 6, 89, -1, 86, 6, 89,
|
||
-1, 87, 6, 89, -1, 62, 29, 89, -1, 65,
|
||
29, 89, -1, 66, 29, 89, -1, 112, 29, 89,
|
||
-1, 67, 29, 89, -1, 68, 29, 89, -1, 69,
|
||
29, 89, -1, 70, 29, 89, -1, 71, 29, 89,
|
||
-1, 73, 29, 89, -1, 75, 29, 89, -1, 80,
|
||
29, 89, -1, 81, 29, 89, -1, 82, 29, 89,
|
||
-1, 119, 29, 89, -1, 121, 29, 89, -1, 83,
|
||
29, 89, -1, 86, 29, 89, -1, 87, 29, 89,
|
||
-1, 62, 30, 89, -1, 65, 30, 89, -1, 66,
|
||
30, 89, -1, 112, 30, 89, -1, 67, 30, 89,
|
||
-1, 68, 30, 89, -1, 69, 30, 89, -1, 70,
|
||
30, 89, -1, 71, 30, 89, -1, 73, 30, 89,
|
||
-1, 75, 30, 89, -1, 80, 30, 89, -1, 81,
|
||
30, 89, -1, 82, 30, 89, -1, 119, 30, 89,
|
||
-1, 121, 30, 89, -1, 83, 30, 89, -1, 86,
|
||
30, 89, -1, 87, 30, 89, -1, 62, 31, 89,
|
||
-1, 65, 31, 89, -1, 66, 31, 89, -1, 112,
|
||
31, 89, -1, 67, 31, 89, -1, 68, 31, 89,
|
||
-1, 69, 31, 89, -1, 70, 31, 89, -1, 71,
|
||
31, 89, -1, 73, 31, 89, -1, 75, 31, 89,
|
||
-1, 80, 31, 89, -1, 81, 31, 89, -1, 82,
|
||
31, 89, -1, 119, 31, 89, -1, 121, 31, 89,
|
||
-1, 83, 31, 89, -1, 86, 31, 89, -1, 87,
|
||
31, 89, -1, 62, 32, 89, -1, 65, 32, 89,
|
||
-1, 66, 32, 89, -1, 112, 32, 89, -1, 67,
|
||
32, 89, -1, 68, 32, 89, -1, 69, 32, 89,
|
||
-1, 70, 32, 89, -1, 71, 32, 89, -1, 73,
|
||
32, 89, -1, 75, 32, 89, -1, 80, 32, 89,
|
||
-1, 81, 32, 89, -1, 82, 32, 89, -1, 119,
|
||
32, 89, -1, 121, 32, 89, -1, 83, 32, 89,
|
||
-1, 86, 32, 89, -1, 87, 32, 89, -1, 62,
|
||
35, 89, -1, 65, 35, 89, -1, 66, 35, 89,
|
||
-1, 112, 35, 89, -1, 67, 35, 89, -1, 68,
|
||
35, 89, -1, 69, 35, 89, -1, 70, 35, 89,
|
||
-1, 71, 35, 89, -1, 73, 35, 89, -1, 75,
|
||
35, 89, -1, 80, 35, 89, -1, 81, 35, 89,
|
||
-1, 82, 35, 89, -1, 119, 35, 89, -1, 121,
|
||
35, 89, -1, 83, 35, 89, -1, 86, 35, 89,
|
||
-1, 87, 35, 89, -1, 62, 34, 89, -1, 65,
|
||
34, 89, -1, 66, 34, 89, -1, 112, 34, 89,
|
||
-1, 67, 34, 89, -1, 68, 34, 89, -1, 69,
|
||
34, 89, -1, 70, 34, 89, -1, 71, 34, 89,
|
||
-1, 73, 34, 89, -1, 75, 34, 89, -1, 80,
|
||
34, 89, -1, 81, 34, 89, -1, 82, 34, 89,
|
||
-1, 119, 34, 89, -1, 121, 34, 89, -1, 83,
|
||
34, 89, -1, 86, 34, 89, -1, 87, 34, 89,
|
||
-1, 99, -1, 100, -1, 101, -1, 102, -1, 103,
|
||
-1, 104, -1, 89, 41, 89, -1, 89, 42, 89,
|
||
-1, 89, 43, 89, -1, 89, 44, 89, -1, 89,
|
||
45, 89, -1, 89, 33, 89, -1, 89, 14, 89,
|
||
-1, 89, 15, 89, -1, 89, 17, 89, -1, 89,
|
||
38, 89, -1, 89, 39, 89, -1, 89, 24, 89,
|
||
-1, 89, 25, 89, -1, 89, 18, 89, -1, 89,
|
||
19, 89, -1, 89, 40, 89, -1, 89, 37, 89,
|
||
-1, 110, 57, -1, 58, 89, -1, 110, 50, 89,
|
||
-1, 110, 57, 58, 89, -1, 93, -1, 111, 50,
|
||
93, -1, -1, 52, 59, 113, 116, 59, 115, 53,
|
||
-1, -1, 52, 59, 114, 117, 59, 115, 53, -1,
|
||
89, -1, 115, 50, 89, -1, -1, 3, -1, 117,
|
||
50, 3, -1, 54, 93, -1, 118, 50, 93, -1,
|
||
118, 55, -1, 119, 22, -1, -1, 9, 54, 89,
|
||
50, 93, 50, 122, 93, 55, -1, -1, 10, 54,
|
||
89, 50, 93, 50, 123, 93, 55, -1
|
||
};
|
||
|
||
/* YYRLINE[YYN] -- source line where rule number YYN was defined. */
|
||
static const yytype_uint16 yyrline[] =
|
||
{
|
||
0, 236, 236, 245, 253, 261, 266, 275, 276, 279,
|
||
282, 287, 292, 297, 298, 303, 308, 313, 318, 321,
|
||
326, 329, 348, 353, 356, 363, 364, 369, 370, 371,
|
||
372, 373, 376, 377, 380, 381, 382, 383, 384, 385,
|
||
386, 395, 396, 397, 398, 399, 404, 405, 406, 407,
|
||
408, 409, 410, 411, 412, 413, 414, 415, 416, 417,
|
||
418, 423, 426, 431, 432, 435, 436, 437, 438, 443,
|
||
444, 445, 446, 447, 448, 449, 450, 451, 452, 453,
|
||
454, 455, 456, 457, 458, 459, 460, 461, 462, 467,
|
||
471, 472, 473, 474, 475, 476, 477, 478, 479, 480,
|
||
481, 482, 483, 484, 485, 486, 487, 488, 489, 490,
|
||
491, 492, 493, 494, 495, 496, 497, 500, 501, 504,
|
||
504, 518, 519, 523, 524, 530, 531, 537, 538, 539,
|
||
540, 541, 542, 543, 544, 545, 546, 547, 548, 549,
|
||
550, 551, 552, 553, 554, 555, 558, 559, 562, 563,
|
||
564, 567, 568, 569, 570, 571, 572, 573, 574, 575,
|
||
576, 577, 578, 579, 580, 581, 582, 583, 584, 585,
|
||
588, 589, 590, 591, 592, 593, 594, 595, 596, 597,
|
||
598, 599, 600, 601, 602, 603, 604, 605, 606, 609,
|
||
610, 611, 612, 613, 614, 615, 616, 617, 618, 619,
|
||
620, 621, 622, 623, 624, 625, 626, 627, 630, 631,
|
||
632, 633, 634, 635, 636, 637, 638, 639, 640, 641,
|
||
642, 643, 644, 645, 646, 647, 648, 651, 652, 653,
|
||
654, 655, 656, 657, 658, 659, 660, 661, 662, 663,
|
||
664, 665, 666, 667, 668, 669, 672, 673, 674, 675,
|
||
676, 677, 678, 679, 680, 681, 682, 683, 684, 685,
|
||
686, 687, 688, 689, 690, 693, 694, 695, 696, 697,
|
||
698, 699, 700, 701, 702, 703, 704, 705, 706, 707,
|
||
708, 709, 710, 711, 714, 715, 716, 717, 718, 719,
|
||
722, 723, 724, 725, 726, 727, 730, 731, 734, 735,
|
||
736, 737, 738, 739, 740, 741, 742, 745, 751, 752,
|
||
753, 756, 757, 761, 760, 765, 764, 773, 774, 780,
|
||
783, 784, 787, 788, 791, 794, 798, 797, 803, 802
|
||
};
|
||
#endif
|
||
|
||
#if YYDEBUG || YYERROR_VERBOSE || YYTOKEN_TABLE
|
||
/* YYTNAME[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", "IDENTIFIER", "NIL", "NUM_DOUBLE",
|
||
"INASSIGN", "NUM_LONG", "NUM_DATE", "IIF", "IF", "LITERAL", "TRUEVALUE",
|
||
"FALSEVALUE", "AND", "OR", "NOT", "EQ", "NE1", "NE2", "INC", "DEC",
|
||
"ALIASOP", "SELF", "LE", "GE", "FIELD", "MACROVAR", "MACROTEXT",
|
||
"PLUSEQ", "MINUSEQ", "MULTEQ", "DIVEQ", "POWER", "EXPEQ", "MODEQ",
|
||
"POST", "'='", "'<'", "'>'", "'$'", "'+'", "'-'", "'*'", "'/'", "'%'",
|
||
"UNARY", "PRE", "'&'", "'@'", "','", "'\\n'", "'{'", "'}'", "'('", "')'",
|
||
"':'", "']'", "'['", "'|'", "$accept", "Main", "NumValue", "DateValue",
|
||
"NumAlias", "NilValue", "LiteralValue", "Logical", "SelfValue", "Array",
|
||
"ArrayAt", "Variable", "VarAlias", "MacroVar", "MacroVarAlias",
|
||
"MacroExpr", "MacroExprAlias", "FieldAlias", "FieldVarAlias", "AliasId",
|
||
"AliasVar", "AliasExpr", "VariableAt", "FunCall", "ArgList", "Argument",
|
||
"ObjectData", "ObjectMethod", "SimpleExpression", "Expression",
|
||
"RootParamList", "@1", "AsParamList", "EmptyExpression", "PostOp",
|
||
"ExprPostOp", "ExprPreOp", "ExprUnary", "ExprAssign", "ExprPlusEq",
|
||
"ExprMinusEq", "ExprMultEq", "ExprDivEq", "ExprModEq", "ExprExpEq",
|
||
"ExprOperEq", "ExprMath", "ExprBool", "ExprRelation", "ArrayIndex",
|
||
"IndexList", "ElemList", "CodeBlock", "@2", "@3", "BlockExpList",
|
||
"BlockNoVar", "BlockVarList", "ExpList", "PareExpList",
|
||
"PareExpListAlias", "IfInline", "@4", "@5", 0
|
||
};
|
||
#endif
|
||
|
||
# ifdef YYPRINT
|
||
/* YYTOKNUM[YYLEX-NUM] -- Internal token number corresponding to
|
||
token YYLEX-NUM. */
|
||
static const yytype_uint16 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, 61, 60, 62,
|
||
36, 43, 45, 42, 47, 37, 292, 293, 38, 64,
|
||
44, 10, 123, 125, 40, 41, 58, 93, 91, 124
|
||
};
|
||
# endif
|
||
|
||
/* YYR1[YYN] -- Symbol number of symbol that rule YYN derives. */
|
||
static const yytype_uint8 yyr1[] =
|
||
{
|
||
0, 60, 61, 61, 61, 61, 61, 62, 62, 63,
|
||
64, 65, 66, 67, 67, 68, 69, 70, 71, 72,
|
||
73, 73, 74, 75, 76, 77, 77, 78, 78, 78,
|
||
78, 78, 79, 79, 80, 80, 80, 80, 80, 80,
|
||
80, 81, 81, 81, 81, 81, 82, 82, 82, 82,
|
||
82, 82, 82, 82, 82, 82, 82, 82, 82, 82,
|
||
82, 83, 83, 84, 84, 85, 85, 85, 85, 86,
|
||
86, 86, 86, 86, 86, 86, 86, 86, 86, 86,
|
||
86, 86, 86, 86, 86, 86, 86, 86, 86, 87,
|
||
88, 88, 88, 88, 88, 88, 88, 88, 88, 88,
|
||
88, 88, 88, 88, 88, 88, 88, 88, 88, 88,
|
||
88, 88, 88, 88, 88, 88, 88, 89, 89, 91,
|
||
90, 92, 92, 93, 93, 94, 94, 95, 95, 95,
|
||
95, 95, 95, 95, 95, 95, 95, 95, 95, 95,
|
||
95, 95, 95, 95, 95, 95, 96, 96, 97, 97,
|
||
97, 98, 98, 98, 98, 98, 98, 98, 98, 98,
|
||
98, 98, 98, 98, 98, 98, 98, 98, 98, 98,
|
||
99, 99, 99, 99, 99, 99, 99, 99, 99, 99,
|
||
99, 99, 99, 99, 99, 99, 99, 99, 99, 100,
|
||
100, 100, 100, 100, 100, 100, 100, 100, 100, 100,
|
||
100, 100, 100, 100, 100, 100, 100, 100, 101, 101,
|
||
101, 101, 101, 101, 101, 101, 101, 101, 101, 101,
|
||
101, 101, 101, 101, 101, 101, 101, 102, 102, 102,
|
||
102, 102, 102, 102, 102, 102, 102, 102, 102, 102,
|
||
102, 102, 102, 102, 102, 102, 103, 103, 103, 103,
|
||
103, 103, 103, 103, 103, 103, 103, 103, 103, 103,
|
||
103, 103, 103, 103, 103, 104, 104, 104, 104, 104,
|
||
104, 104, 104, 104, 104, 104, 104, 104, 104, 104,
|
||
104, 104, 104, 104, 105, 105, 105, 105, 105, 105,
|
||
106, 106, 106, 106, 106, 106, 107, 107, 108, 108,
|
||
108, 108, 108, 108, 108, 108, 108, 109, 110, 110,
|
||
110, 111, 111, 113, 112, 114, 112, 115, 115, 116,
|
||
117, 117, 118, 118, 119, 120, 122, 121, 123, 121
|
||
};
|
||
|
||
/* YYR2[YYN] -- Number of symbols composing right hand side of rule YYN. */
|
||
static const yytype_uint8 yyr2[] =
|
||
{
|
||
0, 2, 2, 1, 1, 2, 1, 1, 1, 1,
|
||
2, 1, 1, 1, 1, 1, 3, 2, 1, 2,
|
||
1, 1, 2, 2, 2, 2, 3, 2, 2, 2,
|
||
2, 2, 1, 1, 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, 4, 4, 1, 3, 1, 2, 2, 4, 3,
|
||
3, 3, 3, 3, 3, 3, 3, 3, 3, 3,
|
||
3, 3, 3, 3, 3, 3, 3, 3, 3, 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, 1, 1, 1, 0,
|
||
4, 1, 3, 0, 1, 1, 1, 2, 2, 2,
|
||
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
|
||
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
|
||
2, 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, 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, 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, 3, 1, 1, 1, 1, 1, 1,
|
||
3, 3, 3, 3, 3, 3, 3, 3, 3, 3,
|
||
3, 3, 3, 3, 3, 3, 3, 2, 2, 3,
|
||
4, 1, 3, 0, 7, 0, 7, 1, 3, 0,
|
||
1, 3, 2, 3, 2, 2, 0, 9, 0, 9
|
||
};
|
||
|
||
/* 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 yytype_uint16 yydefact[] =
|
||
{
|
||
0, 6, 18, 11, 7, 8, 9, 0, 0, 12,
|
||
13, 14, 0, 0, 0, 15, 0, 20, 21, 0,
|
||
0, 0, 123, 123, 0, 90, 92, 0, 91, 93,
|
||
95, 96, 97, 98, 102, 0, 100, 0, 101, 0,
|
||
0, 0, 99, 108, 103, 104, 106, 107, 117, 0,
|
||
121, 4, 0, 111, 112, 113, 109, 284, 285, 286,
|
||
287, 288, 289, 110, 114, 115, 116, 94, 0, 118,
|
||
0, 105, 19, 123, 10, 0, 0, 148, 146, 147,
|
||
25, 150, 149, 23, 313, 124, 311, 0, 322, 1,
|
||
0, 125, 126, 0, 0, 0, 0, 0, 0, 0,
|
||
127, 0, 32, 33, 34, 41, 0, 0, 0, 0,
|
||
0, 0, 0, 0, 0, 128, 46, 0, 0, 0,
|
||
0, 0, 0, 0, 0, 0, 129, 47, 0, 0,
|
||
0, 0, 0, 0, 0, 0, 131, 49, 0, 0,
|
||
0, 0, 0, 0, 0, 0, 132, 50, 0, 0,
|
||
0, 0, 0, 0, 0, 0, 133, 17, 0, 0,
|
||
0, 0, 0, 0, 0, 0, 134, 0, 0, 0,
|
||
0, 0, 0, 0, 0, 135, 51, 38, 42, 0,
|
||
22, 0, 0, 0, 0, 0, 0, 123, 0, 136,
|
||
54, 35, 43, 0, 24, 0, 0, 0, 0, 0,
|
||
0, 0, 137, 55, 36, 44, 32, 0, 28, 27,
|
||
33, 30, 0, 31, 39, 0, 29, 40, 0, 0,
|
||
0, 0, 0, 0, 0, 0, 138, 52, 0, 0,
|
||
0, 0, 0, 0, 0, 0, 139, 53, 0, 0,
|
||
0, 0, 0, 0, 0, 0, 140, 0, 0, 0,
|
||
0, 0, 0, 0, 0, 143, 58, 0, 0, 0,
|
||
0, 0, 0, 0, 123, 0, 144, 56, 0, 0,
|
||
0, 0, 0, 0, 0, 0, 145, 57, 5, 0,
|
||
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
||
0, 0, 0, 0, 0, 0, 2, 123, 119, 0,
|
||
0, 0, 0, 0, 0, 0, 0, 130, 48, 123,
|
||
324, 0, 325, 0, 0, 0, 0, 0, 0, 0,
|
||
141, 60, 37, 45, 0, 0, 0, 0, 0, 0,
|
||
0, 0, 142, 59, 0, 0, 63, 65, 0, 0,
|
||
26, 319, 0, 123, 16, 151, 170, 189, 208, 227,
|
||
265, 246, 69, 71, 152, 171, 190, 209, 228, 266,
|
||
247, 70, 308, 0, 307, 153, 172, 191, 210, 229,
|
||
267, 248, 72, 155, 174, 193, 212, 231, 269, 250,
|
||
74, 156, 175, 194, 213, 232, 270, 251, 75, 157,
|
||
176, 195, 214, 233, 271, 252, 76, 158, 177, 196,
|
||
215, 234, 272, 253, 77, 159, 178, 197, 216, 235,
|
||
273, 254, 78, 160, 179, 198, 217, 236, 274, 255,
|
||
0, 81, 161, 180, 199, 218, 237, 275, 256, 82,
|
||
162, 181, 200, 219, 238, 276, 257, 79, 163, 182,
|
||
201, 220, 239, 277, 258, 80, 164, 183, 202, 221,
|
||
240, 278, 259, 86, 167, 186, 205, 224, 243, 281,
|
||
262, 83, 168, 187, 206, 225, 244, 282, 263, 0,
|
||
88, 169, 188, 207, 226, 245, 283, 264, 87, 296,
|
||
297, 298, 303, 304, 301, 302, 295, 306, 299, 300,
|
||
305, 290, 291, 292, 293, 294, 122, 123, 154, 173,
|
||
192, 211, 230, 268, 249, 73, 323, 165, 184, 203,
|
||
222, 241, 279, 260, 85, 166, 185, 204, 223, 242,
|
||
280, 261, 84, 66, 0, 0, 0, 0, 0, 67,
|
||
0, 123, 61, 123, 123, 0, 320, 0, 312, 309,
|
||
0, 62, 89, 120, 0, 64, 0, 0, 0, 0,
|
||
0, 310, 68, 326, 328, 317, 0, 321, 0, 123,
|
||
123, 0, 314, 316, 0, 0, 318, 327, 329
|
||
};
|
||
|
||
/* YYDEFGOTO[NTERM-NUM]. */
|
||
static const yytype_int16 yydefgoto[] =
|
||
{
|
||
-1, 24, 25, 26, 27, 28, 29, 30, 31, 32,
|
||
33, 34, 35, 36, 37, 38, 39, 40, 41, 104,
|
||
42, 43, 44, 45, 335, 336, 46, 47, 48, 85,
|
||
50, 497, 51, 337, 100, 53, 54, 55, 56, 57,
|
||
58, 59, 60, 61, 62, 63, 64, 65, 66, 116,
|
||
117, 87, 67, 341, 342, 556, 535, 537, 68, 69,
|
||
70, 71, 559, 560
|
||
};
|
||
|
||
/* YYPACT[STATE-NUM] -- Index in YYTABLE of the portion describing
|
||
STATE-NUM. */
|
||
#define YYPACT_NINF -316
|
||
static const yytype_int16 yypact[] =
|
||
{
|
||
388, -316, -13, -316, -316, -1, -316, -43, -32, -316,
|
||
-316, -316, 819, 819, 819, -316, 13, -316, -316, 819,
|
||
819, -20, 331, 819, 51, 877, -6, 162, 57, 533,
|
||
552, 572, 591, 893, 611, 162, 25, 162, 425, 162,
|
||
434, 41, 630, 650, 909, 669, 443, 689, -316, 851,
|
||
-316, 2, 22, -316, -316, -316, -316, -316, -316, -316,
|
||
-316, -316, -316, -316, -316, -316, -316, 708, 11, 499,
|
||
162, 728, -316, 767, -316, 819, 819, 1111, -316, -316,
|
||
27, -316, -316, -316, 71, 1050, -316, 50, -316, -316,
|
||
819, -316, -316, 819, 819, 819, 819, 819, 819, 77,
|
||
-316, 79, -316, -316, -316, -316, 819, 819, 819, 819,
|
||
819, 819, 819, 81, 819, -316, -316, 14, 819, 819,
|
||
819, 819, 819, 819, 819, 98, -316, -316, 819, 819,
|
||
819, 819, 819, 819, 819, 113, -316, -316, 819, 819,
|
||
819, 819, 819, 819, 819, 114, -316, -316, 819, 819,
|
||
819, 819, 819, 819, 819, 123, -316, -316, 819, 819,
|
||
819, 819, 819, 819, 819, 124, -316, 819, 819, 819,
|
||
819, 819, 819, 819, 142, -316, -316, -316, -316, 819,
|
||
-316, 819, 819, 819, 819, 819, 819, 767, 143, -316,
|
||
-316, -316, -316, 819, -316, 819, 819, 819, 819, 819,
|
||
819, 144, -316, -316, -316, -316, 134, -1, -316, -316,
|
||
135, -316, 158, -316, -316, 165, -316, -316, 819, 819,
|
||
819, 819, 819, 819, 819, 152, -316, -316, 819, 819,
|
||
819, 819, 819, 819, 819, 189, -316, -316, 819, 819,
|
||
819, 819, 819, 819, 819, 191, -316, 819, 819, 819,
|
||
819, 819, 819, 819, 198, -316, -316, 819, 819, 819,
|
||
819, 819, 819, 819, 767, 199, -316, -316, 819, 819,
|
||
819, 819, 819, 819, 819, 200, -316, -316, -316, 819,
|
||
819, 819, 819, 819, 819, 819, 819, 819, 819, 819,
|
||
819, 819, 819, 819, 819, 819, -316, 819, -316, 819,
|
||
819, 819, 819, 819, 819, 819, 201, -316, -316, 819,
|
||
-316, 819, -316, 819, 819, 819, 819, 819, 819, 202,
|
||
-316, -316, -316, -316, 819, 819, 819, 819, 819, 819,
|
||
819, 203, -316, -316, 379, 12, -316, -316, 982, 1016,
|
||
-316, -316, 204, 819, -316, 1050, 1050, 1050, 1050, 1050,
|
||
1050, 1050, -316, -316, 1050, 1050, 1050, 1050, 1050, 1050,
|
||
1050, -316, 1050, 819, 150, 1050, 1050, 1050, 1050, 1050,
|
||
1050, 1050, -316, 1050, 1050, 1050, 1050, 1050, 1050, 1050,
|
||
-316, 1050, 1050, 1050, 1050, 1050, 1050, 1050, -316, 1050,
|
||
1050, 1050, 1050, 1050, 1050, 1050, -316, 1050, 1050, 1050,
|
||
1050, 1050, 1050, 1050, -316, 1050, 1050, 1050, 1050, 1050,
|
||
1050, 1050, -316, 1050, 1050, 1050, 1050, 1050, 1050, 1050,
|
||
15, -316, 1050, 1050, 1050, 1050, 1050, 1050, 1050, -316,
|
||
1050, 1050, 1050, 1050, 1050, 1050, 1050, -316, 1050, 1050,
|
||
1050, 1050, 1050, 1050, 1050, -316, 1050, 1050, 1050, 1050,
|
||
1050, 1050, 1050, -316, 1050, 1050, 1050, 1050, 1050, 1050,
|
||
1050, -316, 1050, 1050, 1050, 1050, 1050, 1050, 1050, 49,
|
||
-316, 1050, 1050, 1050, 1050, 1050, 1050, 1050, -316, 1082,
|
||
1050, 1111, 1111, 1111, 1111, 1111, 176, 1111, 1111, 1111,
|
||
1111, 133, 133, 92, 92, 92, -316, 819, 1050, 1050,
|
||
1050, 1050, 1050, 1050, 1050, -316, -316, 1050, 1050, 1050,
|
||
1050, 1050, 1050, 1050, -316, 1050, 1050, 1050, 1050, 1050,
|
||
1050, 1050, -316, -5, 41, 41, 135, 41, 41, -316,
|
||
41, 767, -316, 819, 819, 151, -316, -11, -316, 1050,
|
||
819, -316, -316, -316, 156, -316, 163, 164, 819, 209,
|
||
819, 1050, -316, -316, -316, 1050, 52, -316, 138, 819,
|
||
819, 819, -316, -316, 160, 170, 1050, -316, -316
|
||
};
|
||
|
||
/* YYPGOTO[NTERM-NUM]. */
|
||
static const yytype_int16 yypgoto[] =
|
||
{
|
||
-316, -316, -316, -316, -38, -316, -316, -316, -316, -316,
|
||
-316, -316, -36, -12, -24, -22, -14, 137, -316, -34,
|
||
-108, -316, -316, -316, -179, -304, -316, -316, -316, 0,
|
||
-316, -316, -316, 10, 924, -316, -316, -316, -316, -316,
|
||
-316, -316, -316, -316, -316, -316, -316, -316, -316, 943,
|
||
-316, -316, -316, -316, -316, -315, -316, -316, -316, 3,
|
||
-3, -316, -316, -316
|
||
};
|
||
|
||
/* 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 -316
|
||
static const yytype_int16 yytable[] =
|
||
{
|
||
49, 177, 208, 191, 209, 204, 214, 217, 420, 72,
|
||
52, 75, 77, 78, 79, 103, 211, 72, 212, 81,
|
||
82, 74, 76, 103, 83, 103, 213, 103, 210, 103,
|
||
105, 179, 86, 88, 23, 80, 322, 216, 178, 549,
|
||
192, 73, 205, 215, 102, 91, 92, 180, 550, 544,
|
||
101, 89, 297, 16, 181, 182, 183, 184, 103, 185,
|
||
186, 309, 531, 106, 363, 531, 310, 532, 17, 18,
|
||
541, 364, 298, 323, -315, 338, 339, 91, 92, 187,
|
||
352, 188, 353, 114, 361, 469, 107, 108, 109, 110,
|
||
345, 111, 112, 346, 347, 348, 349, 350, 351, 531,
|
||
343, 372, 561, 344, 542, 562, 354, 355, 356, 357,
|
||
358, 359, 360, 113, 362, 114, 380, 388, 365, 366,
|
||
367, 368, 369, 370, 371, 286, 396, 404, 373, 374,
|
||
375, 376, 377, 378, 379, 293, 294, 295, 381, 382,
|
||
383, 384, 385, 386, 387, 412, 421, 429, 389, 390,
|
||
391, 392, 393, 394, 395, 437, 72, 180, 397, 398,
|
||
399, 400, 401, 402, 403, 102, 286, 405, 406, 407,
|
||
408, 409, 410, 411, 291, 292, 293, 294, 295, 413,
|
||
194, 414, 415, 416, 417, 418, 419, 312, 561, 17,
|
||
18, 563, 445, 422, 453, 423, 424, 425, 426, 427,
|
||
428, 461, 470, 478, 505, 514, 522, 536, 540, 286,
|
||
548, 552, 557, 553, 554, 567, 23, 340, 430, 431,
|
||
432, 433, 434, 435, 436, 568, 529, 545, 438, 439,
|
||
440, 441, 442, 443, 444, 558, 0, 0, 446, 447,
|
||
448, 449, 450, 451, 452, 0, 0, 454, 455, 456,
|
||
457, 458, 459, 460, 0, 0, 0, 462, 463, 464,
|
||
465, 466, 467, 468, 0, 0, 0, 0, 471, 472,
|
||
473, 474, 475, 476, 477, 0, 0, 0, 0, 479,
|
||
480, 481, 482, 483, 484, 485, 486, 487, 488, 489,
|
||
490, 491, 492, 493, 494, 495, 524, 0, 525, 498,
|
||
499, 500, 501, 502, 503, 504, 0, 496, 0, 0,
|
||
527, 507, 212, 508, 509, 510, 511, 512, 513, 506,
|
||
528, 0, 526, 0, 515, 516, 517, 518, 519, 520,
|
||
521, 530, 0, 0, 2, 3, 4, 215, 5, 6,
|
||
7, 8, 9, 10, 11, 0, 0, 12, 0, 0,
|
||
0, 13, 14, 538, 15, 0, 0, 16, 17, 18,
|
||
0, 0, 0, 539, 0, 0, 0, 0, 0, 0,
|
||
0, 0, 19, 20, 0, 0, 0, 0, 0, 21,
|
||
0, 0, 523, 22, 0, 23, 207, 0, 0, 1,
|
||
84, 2, 3, 4, 0, 5, 6, 7, 8, 9,
|
||
10, 11, 0, 0, 12, 16, 17, 18, 13, 14,
|
||
0, 15, 0, 0, 16, 17, 18, 0, 0, 0,
|
||
0, 0, 0, 0, 0, 0, 0, 21, 0, 19,
|
||
20, 193, 0, 23, 0, 0, 21, 206, -123, 0,
|
||
22, 207, 23, 0, 0, 91, 92, 194, 0, 257,
|
||
0, 0, 0, 0, 195, 196, 197, 198, 0, 199,
|
||
200, 17, 18, 91, 92, 0, 0, 0, 0, 0,
|
||
0, 0, 258, 259, 260, 261, 0, 262, 263, 0,
|
||
0, 201, 21, 114, 0, 0, 0, 0, 23, 0,
|
||
0, 177, 0, 191, 204, 0, 322, 264, 0, 265,
|
||
0, 114, 0, 0, 0, 311, 0, 543, 0, 0,
|
||
0, 0, 103, 103, 0, 103, 103, 0, 103, 91,
|
||
92, 312, 0, 0, 0, 0, 0, 0, 313, 314,
|
||
315, 316, 0, 317, 318, 0, 0, 0, 0, 118,
|
||
551, 0, 0, 546, 547, 0, 0, 0, 555, 0,
|
||
555, 0, 0, 91, 92, 319, 0, 114, 128, 0,
|
||
0, 566, 119, 120, 121, 122, 0, 123, 124, 564,
|
||
565, 0, 91, 92, 0, 0, 0, 0, 138, 0,
|
||
0, 129, 130, 131, 132, 0, 133, 134, 0, 125,
|
||
0, 114, 91, 92, 0, 0, 0, 148, 0, 0,
|
||
0, 139, 140, 141, 142, 0, 143, 144, 135, 0,
|
||
114, 91, 92, 0, 0, 0, 0, 167, 0, 0,
|
||
149, 150, 151, 152, 0, 153, 154, 0, 145, 0,
|
||
114, 91, 92, 0, 0, 0, 218, 0, 0, 0,
|
||
168, 169, 170, 171, 0, 172, 173, 155, 0, 114,
|
||
91, 92, 0, 0, 0, 0, 228, 0, 0, 219,
|
||
220, 221, 222, 0, 223, 224, 0, 174, 0, 114,
|
||
91, 92, 0, 0, 0, 247, 0, 0, 0, 229,
|
||
230, 231, 232, 0, 233, 234, 225, 0, 114, 91,
|
||
92, 0, 0, 0, 0, 268, 0, 0, 248, 249,
|
||
250, 251, 0, 252, 253, 0, 235, 0, 114, 91,
|
||
92, 0, 0, 0, 299, 0, 0, 0, 269, 270,
|
||
271, 272, 0, 273, 274, 254, 0, 114, 91, 92,
|
||
0, 0, 0, 0, 324, 0, 0, 300, 301, 302,
|
||
303, 0, 304, 305, 0, 275, 0, 114, 91, 92,
|
||
0, 0, 0, 0, 0, 0, 0, 325, 326, 327,
|
||
328, 0, 329, 330, 306, 0, 114, 0, 0, 0,
|
||
2, 3, 4, 0, 5, 6, 7, 8, 9, 10,
|
||
11, 0, 0, 12, 331, 0, 114, 13, 14, 0,
|
||
15, 0, 0, 16, 17, 18, 0, 0, 0, 0,
|
||
0, 0, 0, 0, 0, 0, 0, 0, 19, 20,
|
||
0, 0, 0, 0, 0, 21, 334, 0, 0, 22,
|
||
0, 23, 2, 3, 4, 0, 5, 6, 7, 8,
|
||
9, 10, 11, 0, 0, 12, 0, 0, 0, 13,
|
||
14, 0, 15, 0, 0, 16, 17, 18, 0, 0,
|
||
0, -3, 278, 0, 0, 0, 0, 0, 0, 0,
|
||
19, 20, 0, 0, 0, 279, 280, 21, 281, 282,
|
||
283, 22, 0, 23, 0, 284, 285, 0, 0, 0,
|
||
0, 0, 0, 90, 286, 0, 0, 0, 287, 288,
|
||
289, 290, 291, 292, 293, 294, 295, 91, 92, 158,
|
||
0, -124, 296, 0, 0, 0, 93, 94, 95, 96,
|
||
0, 97, 98, 91, 92, 238, 0, 0, 0, 0,
|
||
0, 0, 159, 160, 161, 162, 0, 163, 164, 91,
|
||
92, 0, 0, 99, 0, 0, 0, 0, 239, 240,
|
||
241, 242, 0, 243, 244, 0, 0, 0, 0, 165,
|
||
0, 0, 115, 126, 136, 146, 156, 166, 175, 0,
|
||
189, 0, 202, 0, 0, 245, 226, 236, 246, 255,
|
||
266, 276, 127, 137, 147, 157, 0, 176, 0, 190,
|
||
0, 203, 0, 0, 0, 227, 237, 0, 256, 267,
|
||
277, 307, 0, 320, 0, 332, 279, 280, 0, 281,
|
||
282, 283, 0, 0, 0, 0, 284, 285, 0, 0,
|
||
308, 0, 321, 0, 333, 286, 0, 0, 0, 287,
|
||
288, 289, 290, 291, 292, 293, 294, 295, 0, 0,
|
||
279, 280, 533, 281, 282, 283, 0, 0, 0, 0,
|
||
284, 285, 0, 0, 0, 0, 0, 0, 0, 286,
|
||
0, 0, 0, 287, 288, 289, 290, 291, 292, 293,
|
||
294, 295, 0, 0, 279, 280, 534, 281, 282, 283,
|
||
0, 0, 0, 0, 284, 285, 0, 0, 0, 0,
|
||
0, 0, 0, 286, 0, 0, 0, 287, 288, 289,
|
||
290, 291, 292, 293, 294, 295, 279, 0, 0, 281,
|
||
282, 283, 0, 0, 0, 0, 284, 285, 0, 0,
|
||
0, 0, 0, 0, 0, 286, 0, 0, 0, 287,
|
||
288, 289, 290, 291, 292, 293, 294, 295, 281, 282,
|
||
283, 0, 0, 0, 0, 284, 285, 0, 0, 0,
|
||
0, 0, 0, 0, 286, 0, 0, 0, 287, 288,
|
||
289, 290, 291, 292, 293, 294, 295
|
||
};
|
||
|
||
static const yytype_int16 yycheck[] =
|
||
{
|
||
0, 35, 40, 37, 40, 39, 40, 41, 187, 22,
|
||
0, 54, 12, 13, 14, 27, 40, 22, 40, 19,
|
||
20, 22, 54, 35, 21, 37, 40, 39, 40, 41,
|
||
27, 6, 22, 23, 54, 22, 70, 40, 35, 50,
|
||
37, 54, 39, 40, 3, 20, 21, 22, 59, 54,
|
||
56, 0, 50, 26, 29, 30, 31, 32, 70, 34,
|
||
35, 50, 50, 6, 50, 50, 55, 55, 27, 28,
|
||
55, 57, 50, 70, 3, 75, 76, 20, 21, 54,
|
||
3, 56, 3, 58, 3, 264, 29, 30, 31, 32,
|
||
90, 34, 35, 93, 94, 95, 96, 97, 98, 50,
|
||
50, 3, 50, 53, 55, 53, 106, 107, 108, 109,
|
||
110, 111, 112, 56, 114, 58, 3, 3, 118, 119,
|
||
120, 121, 122, 123, 124, 33, 3, 3, 128, 129,
|
||
130, 131, 132, 133, 134, 43, 44, 45, 138, 139,
|
||
140, 141, 142, 143, 144, 3, 3, 3, 148, 149,
|
||
150, 151, 152, 153, 154, 3, 22, 22, 158, 159,
|
||
160, 161, 162, 163, 164, 3, 33, 167, 168, 169,
|
||
170, 171, 172, 173, 41, 42, 43, 44, 45, 179,
|
||
22, 181, 182, 183, 184, 185, 186, 22, 50, 27,
|
||
28, 53, 3, 193, 3, 195, 196, 197, 198, 199,
|
||
200, 3, 3, 3, 3, 3, 3, 3, 58, 33,
|
||
59, 55, 3, 50, 50, 55, 54, 80, 218, 219,
|
||
220, 221, 222, 223, 224, 55, 334, 531, 228, 229,
|
||
230, 231, 232, 233, 234, 550, -1, -1, 238, 239,
|
||
240, 241, 242, 243, 244, -1, -1, 247, 248, 249,
|
||
250, 251, 252, 253, -1, -1, -1, 257, 258, 259,
|
||
260, 261, 262, 263, -1, -1, -1, -1, 268, 269,
|
||
270, 271, 272, 273, 274, -1, -1, -1, -1, 279,
|
||
280, 281, 282, 283, 284, 285, 286, 287, 288, 289,
|
||
290, 291, 292, 293, 294, 295, 334, -1, 334, 299,
|
||
300, 301, 302, 303, 304, 305, -1, 297, -1, -1,
|
||
334, 311, 334, 313, 314, 315, 316, 317, 318, 309,
|
||
334, -1, 334, -1, 324, 325, 326, 327, 328, 329,
|
||
330, 334, -1, -1, 3, 4, 5, 334, 7, 8,
|
||
9, 10, 11, 12, 13, -1, -1, 16, -1, -1,
|
||
-1, 20, 21, 343, 23, -1, -1, 26, 27, 28,
|
||
-1, -1, -1, 363, -1, -1, -1, -1, -1, -1,
|
||
-1, -1, 41, 42, -1, -1, -1, -1, -1, 48,
|
||
-1, -1, 3, 52, -1, 54, 7, -1, -1, 1,
|
||
59, 3, 4, 5, -1, 7, 8, 9, 10, 11,
|
||
12, 13, -1, -1, 16, 26, 27, 28, 20, 21,
|
||
-1, 23, -1, -1, 26, 27, 28, -1, -1, -1,
|
||
-1, -1, -1, -1, -1, -1, -1, 48, -1, 41,
|
||
42, 6, -1, 54, -1, -1, 48, 3, 50, -1,
|
||
52, 7, 54, -1, -1, 20, 21, 22, -1, 6,
|
||
-1, -1, -1, -1, 29, 30, 31, 32, -1, 34,
|
||
35, 27, 28, 20, 21, -1, -1, -1, -1, -1,
|
||
-1, -1, 29, 30, 31, 32, -1, 34, 35, -1,
|
||
-1, 56, 48, 58, -1, -1, -1, -1, 54, -1,
|
||
-1, 525, -1, 527, 528, -1, 530, 54, -1, 56,
|
||
-1, 58, -1, -1, -1, 6, -1, 497, -1, -1,
|
||
-1, -1, 524, 525, -1, 527, 528, -1, 530, 20,
|
||
21, 22, -1, -1, -1, -1, -1, -1, 29, 30,
|
||
31, 32, -1, 34, 35, -1, -1, -1, -1, 6,
|
||
540, -1, -1, 533, 534, -1, -1, -1, 548, -1,
|
||
550, -1, -1, 20, 21, 56, -1, 58, 6, -1,
|
||
-1, 561, 29, 30, 31, 32, -1, 34, 35, 559,
|
||
560, -1, 20, 21, -1, -1, -1, -1, 6, -1,
|
||
-1, 29, 30, 31, 32, -1, 34, 35, -1, 56,
|
||
-1, 58, 20, 21, -1, -1, -1, 6, -1, -1,
|
||
-1, 29, 30, 31, 32, -1, 34, 35, 56, -1,
|
||
58, 20, 21, -1, -1, -1, -1, 6, -1, -1,
|
||
29, 30, 31, 32, -1, 34, 35, -1, 56, -1,
|
||
58, 20, 21, -1, -1, -1, 6, -1, -1, -1,
|
||
29, 30, 31, 32, -1, 34, 35, 56, -1, 58,
|
||
20, 21, -1, -1, -1, -1, 6, -1, -1, 29,
|
||
30, 31, 32, -1, 34, 35, -1, 56, -1, 58,
|
||
20, 21, -1, -1, -1, 6, -1, -1, -1, 29,
|
||
30, 31, 32, -1, 34, 35, 56, -1, 58, 20,
|
||
21, -1, -1, -1, -1, 6, -1, -1, 29, 30,
|
||
31, 32, -1, 34, 35, -1, 56, -1, 58, 20,
|
||
21, -1, -1, -1, 6, -1, -1, -1, 29, 30,
|
||
31, 32, -1, 34, 35, 56, -1, 58, 20, 21,
|
||
-1, -1, -1, -1, 6, -1, -1, 29, 30, 31,
|
||
32, -1, 34, 35, -1, 56, -1, 58, 20, 21,
|
||
-1, -1, -1, -1, -1, -1, -1, 29, 30, 31,
|
||
32, -1, 34, 35, 56, -1, 58, -1, -1, -1,
|
||
3, 4, 5, -1, 7, 8, 9, 10, 11, 12,
|
||
13, -1, -1, 16, 56, -1, 58, 20, 21, -1,
|
||
23, -1, -1, 26, 27, 28, -1, -1, -1, -1,
|
||
-1, -1, -1, -1, -1, -1, -1, -1, 41, 42,
|
||
-1, -1, -1, -1, -1, 48, 49, -1, -1, 52,
|
||
-1, 54, 3, 4, 5, -1, 7, 8, 9, 10,
|
||
11, 12, 13, -1, -1, 16, -1, -1, -1, 20,
|
||
21, -1, 23, -1, -1, 26, 27, 28, -1, -1,
|
||
-1, 0, 1, -1, -1, -1, -1, -1, -1, -1,
|
||
41, 42, -1, -1, -1, 14, 15, 48, 17, 18,
|
||
19, 52, -1, 54, -1, 24, 25, -1, -1, -1,
|
||
-1, -1, -1, 6, 33, -1, -1, -1, 37, 38,
|
||
39, 40, 41, 42, 43, 44, 45, 20, 21, 6,
|
||
-1, 50, 51, -1, -1, -1, 29, 30, 31, 32,
|
||
-1, 34, 35, 20, 21, 6, -1, -1, -1, -1,
|
||
-1, -1, 29, 30, 31, 32, -1, 34, 35, 20,
|
||
21, -1, -1, 56, -1, -1, -1, -1, 29, 30,
|
||
31, 32, -1, 34, 35, -1, -1, -1, -1, 56,
|
||
-1, -1, 28, 29, 30, 31, 32, 33, 34, -1,
|
||
36, -1, 38, -1, -1, 56, 42, 43, 44, 45,
|
||
46, 47, 29, 30, 31, 32, -1, 34, -1, 36,
|
||
-1, 38, -1, -1, -1, 42, 43, -1, 45, 46,
|
||
47, 67, -1, 69, -1, 71, 14, 15, -1, 17,
|
||
18, 19, -1, -1, -1, -1, 24, 25, -1, -1,
|
||
67, -1, 69, -1, 71, 33, -1, -1, -1, 37,
|
||
38, 39, 40, 41, 42, 43, 44, 45, -1, -1,
|
||
14, 15, 50, 17, 18, 19, -1, -1, -1, -1,
|
||
24, 25, -1, -1, -1, -1, -1, -1, -1, 33,
|
||
-1, -1, -1, 37, 38, 39, 40, 41, 42, 43,
|
||
44, 45, -1, -1, 14, 15, 50, 17, 18, 19,
|
||
-1, -1, -1, -1, 24, 25, -1, -1, -1, -1,
|
||
-1, -1, -1, 33, -1, -1, -1, 37, 38, 39,
|
||
40, 41, 42, 43, 44, 45, 14, -1, -1, 17,
|
||
18, 19, -1, -1, -1, -1, 24, 25, -1, -1,
|
||
-1, -1, -1, -1, -1, 33, -1, -1, -1, 37,
|
||
38, 39, 40, 41, 42, 43, 44, 45, 17, 18,
|
||
19, -1, -1, -1, -1, 24, 25, -1, -1, -1,
|
||
-1, -1, -1, -1, 33, -1, -1, -1, 37, 38,
|
||
39, 40, 41, 42, 43, 44, 45
|
||
};
|
||
|
||
/* YYSTOS[STATE-NUM] -- The (internal number of the) accessing
|
||
symbol of state STATE-NUM. */
|
||
static const yytype_uint8 yystos[] =
|
||
{
|
||
0, 1, 3, 4, 5, 7, 8, 9, 10, 11,
|
||
12, 13, 16, 20, 21, 23, 26, 27, 28, 41,
|
||
42, 48, 52, 54, 61, 62, 63, 64, 65, 66,
|
||
67, 68, 69, 70, 71, 72, 73, 74, 75, 76,
|
||
77, 78, 80, 81, 82, 83, 86, 87, 88, 89,
|
||
90, 92, 93, 95, 96, 97, 98, 99, 100, 101,
|
||
102, 103, 104, 105, 106, 107, 108, 112, 118, 119,
|
||
120, 121, 22, 54, 22, 54, 54, 89, 89, 89,
|
||
22, 89, 89, 119, 59, 89, 93, 111, 93, 0,
|
||
6, 20, 21, 29, 30, 31, 32, 34, 35, 56,
|
||
94, 56, 3, 73, 79, 119, 6, 29, 30, 31,
|
||
32, 34, 35, 56, 58, 94, 109, 110, 6, 29,
|
||
30, 31, 32, 34, 35, 56, 94, 109, 6, 29,
|
||
30, 31, 32, 34, 35, 56, 94, 109, 6, 29,
|
||
30, 31, 32, 34, 35, 56, 94, 109, 6, 29,
|
||
30, 31, 32, 34, 35, 56, 94, 109, 6, 29,
|
||
30, 31, 32, 34, 35, 56, 94, 6, 29, 30,
|
||
31, 32, 34, 35, 56, 94, 109, 79, 119, 6,
|
||
22, 29, 30, 31, 32, 34, 35, 54, 56, 94,
|
||
109, 79, 119, 6, 22, 29, 30, 31, 32, 34,
|
||
35, 56, 94, 109, 79, 119, 3, 7, 64, 72,
|
||
73, 74, 75, 76, 79, 119, 120, 79, 6, 29,
|
||
30, 31, 32, 34, 35, 56, 94, 109, 6, 29,
|
||
30, 31, 32, 34, 35, 56, 94, 109, 6, 29,
|
||
30, 31, 32, 34, 35, 56, 94, 6, 29, 30,
|
||
31, 32, 34, 35, 56, 94, 109, 6, 29, 30,
|
||
31, 32, 34, 35, 54, 56, 94, 109, 6, 29,
|
||
30, 31, 32, 34, 35, 56, 94, 109, 1, 14,
|
||
15, 17, 18, 19, 24, 25, 33, 37, 38, 39,
|
||
40, 41, 42, 43, 44, 45, 51, 50, 50, 6,
|
||
29, 30, 31, 32, 34, 35, 56, 94, 109, 50,
|
||
55, 6, 22, 29, 30, 31, 32, 34, 35, 56,
|
||
94, 109, 79, 119, 6, 29, 30, 31, 32, 34,
|
||
35, 56, 94, 109, 49, 84, 85, 93, 89, 89,
|
||
77, 113, 114, 50, 53, 89, 89, 89, 89, 89,
|
||
89, 89, 3, 3, 89, 89, 89, 89, 89, 89,
|
||
89, 3, 89, 50, 57, 89, 89, 89, 89, 89,
|
||
89, 89, 3, 89, 89, 89, 89, 89, 89, 89,
|
||
3, 89, 89, 89, 89, 89, 89, 89, 3, 89,
|
||
89, 89, 89, 89, 89, 89, 3, 89, 89, 89,
|
||
89, 89, 89, 89, 3, 89, 89, 89, 89, 89,
|
||
89, 89, 3, 89, 89, 89, 89, 89, 89, 89,
|
||
84, 3, 89, 89, 89, 89, 89, 89, 89, 3,
|
||
89, 89, 89, 89, 89, 89, 89, 3, 89, 89,
|
||
89, 89, 89, 89, 89, 3, 89, 89, 89, 89,
|
||
89, 89, 89, 3, 89, 89, 89, 89, 89, 89,
|
||
89, 3, 89, 89, 89, 89, 89, 89, 89, 84,
|
||
3, 89, 89, 89, 89, 89, 89, 89, 3, 89,
|
||
89, 89, 89, 89, 89, 89, 89, 89, 89, 89,
|
||
89, 89, 89, 89, 89, 89, 93, 91, 89, 89,
|
||
89, 89, 89, 89, 89, 3, 93, 89, 89, 89,
|
||
89, 89, 89, 89, 3, 89, 89, 89, 89, 89,
|
||
89, 89, 3, 3, 64, 72, 73, 74, 76, 80,
|
||
120, 50, 55, 50, 50, 116, 3, 117, 93, 89,
|
||
58, 55, 55, 93, 54, 85, 93, 93, 59, 50,
|
||
59, 89, 55, 50, 50, 89, 115, 3, 115, 122,
|
||
123, 50, 53, 53, 93, 93, 89, 55, 55
|
||
};
|
||
|
||
#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 (1); \
|
||
goto yybackup; \
|
||
} \
|
||
else \
|
||
{ \
|
||
yyerror (pMacro, YY_("syntax error: cannot back up")); \
|
||
YYERROR; \
|
||
} \
|
||
while (YYID (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 (YYID (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 (YYID (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 (&yylval, YYLEX_PARAM)
|
||
#else
|
||
# define YYLEX yylex (&yylval, pMacro)
|
||
#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 (YYID (0))
|
||
|
||
# define YY_SYMBOL_PRINT(Title, Type, Value, Location) \
|
||
do { \
|
||
if (yydebug) \
|
||
{ \
|
||
YYFPRINTF (stderr, "%s ", Title); \
|
||
yy_symbol_print (stderr, \
|
||
Type, Value, pMacro); \
|
||
YYFPRINTF (stderr, "\n"); \
|
||
} \
|
||
} while (YYID (0))
|
||
|
||
|
||
/*--------------------------------.
|
||
| Print this symbol on YYOUTPUT. |
|
||
`--------------------------------*/
|
||
|
||
/*ARGSUSED*/
|
||
#if (defined __STDC__ || defined __C99__FUNC__ \
|
||
|| defined __cplusplus || defined _MSC_VER)
|
||
static void
|
||
yy_symbol_value_print (FILE *yyoutput, int yytype, YYSTYPE const * const yyvaluep, HB_MACRO_PTR pMacro)
|
||
#else
|
||
static void
|
||
yy_symbol_value_print (yyoutput, yytype, yyvaluep, pMacro)
|
||
FILE *yyoutput;
|
||
int yytype;
|
||
YYSTYPE const * const yyvaluep;
|
||
HB_MACRO_PTR pMacro;
|
||
#endif
|
||
{
|
||
if (!yyvaluep)
|
||
return;
|
||
YYUSE (pMacro);
|
||
# ifdef YYPRINT
|
||
if (yytype < YYNTOKENS)
|
||
YYPRINT (yyoutput, yytoknum[yytype], *yyvaluep);
|
||
# else
|
||
YYUSE (yyoutput);
|
||
# endif
|
||
switch (yytype)
|
||
{
|
||
default:
|
||
break;
|
||
}
|
||
}
|
||
|
||
|
||
/*--------------------------------.
|
||
| Print this symbol on YYOUTPUT. |
|
||
`--------------------------------*/
|
||
|
||
#if (defined __STDC__ || defined __C99__FUNC__ \
|
||
|| defined __cplusplus || defined _MSC_VER)
|
||
static void
|
||
yy_symbol_print (FILE *yyoutput, int yytype, YYSTYPE const * const yyvaluep, HB_MACRO_PTR pMacro)
|
||
#else
|
||
static void
|
||
yy_symbol_print (yyoutput, yytype, yyvaluep, pMacro)
|
||
FILE *yyoutput;
|
||
int yytype;
|
||
YYSTYPE const * const yyvaluep;
|
||
HB_MACRO_PTR pMacro;
|
||
#endif
|
||
{
|
||
if (yytype < YYNTOKENS)
|
||
YYFPRINTF (yyoutput, "token %s (", yytname[yytype]);
|
||
else
|
||
YYFPRINTF (yyoutput, "nterm %s (", yytname[yytype]);
|
||
|
||
yy_symbol_value_print (yyoutput, yytype, yyvaluep, pMacro);
|
||
YYFPRINTF (yyoutput, ")");
|
||
}
|
||
|
||
/*------------------------------------------------------------------.
|
||
| yy_stack_print -- Print the state stack from its BOTTOM up to its |
|
||
| TOP (included). |
|
||
`------------------------------------------------------------------*/
|
||
|
||
#if (defined __STDC__ || defined __C99__FUNC__ \
|
||
|| defined __cplusplus || defined _MSC_VER)
|
||
static void
|
||
yy_stack_print (yytype_int16 *bottom, yytype_int16 *top)
|
||
#else
|
||
static void
|
||
yy_stack_print (bottom, top)
|
||
yytype_int16 *bottom;
|
||
yytype_int16 *top;
|
||
#endif
|
||
{
|
||
YYFPRINTF (stderr, "Stack now");
|
||
for (; 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 (YYID (0))
|
||
|
||
|
||
/*------------------------------------------------.
|
||
| Report that the YYRULE is going to be reduced. |
|
||
`------------------------------------------------*/
|
||
|
||
#if (defined __STDC__ || defined __C99__FUNC__ \
|
||
|| defined __cplusplus || defined _MSC_VER)
|
||
static void
|
||
yy_reduce_print (YYSTYPE *yyvsp, int yyrule, HB_MACRO_PTR pMacro)
|
||
#else
|
||
static void
|
||
yy_reduce_print (yyvsp, yyrule, pMacro)
|
||
YYSTYPE *yyvsp;
|
||
int yyrule;
|
||
HB_MACRO_PTR pMacro;
|
||
#endif
|
||
{
|
||
int yynrhs = yyr2[yyrule];
|
||
int yyi;
|
||
unsigned long int yylno = yyrline[yyrule];
|
||
YYFPRINTF (stderr, "Reducing stack by rule %d (line %lu):\n",
|
||
yyrule - 1, yylno);
|
||
/* The symbols being reduced. */
|
||
for (yyi = 0; yyi < yynrhs; yyi++)
|
||
{
|
||
fprintf (stderr, " $%d = ", yyi + 1);
|
||
yy_symbol_print (stderr, yyrhs[yyprhs[yyrule] + yyi],
|
||
&(yyvsp[(yyi + 1) - (yynrhs)])
|
||
, pMacro);
|
||
fprintf (stderr, "\n");
|
||
}
|
||
}
|
||
|
||
# define YY_REDUCE_PRINT(Rule) \
|
||
do { \
|
||
if (yydebug) \
|
||
yy_reduce_print (yyvsp, Rule, pMacro); \
|
||
} while (YYID (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
|
||
YYSTACK_ALLOC_MAXIMUM < 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. */
|
||
#if (defined __STDC__ || defined __C99__FUNC__ \
|
||
|| defined __cplusplus || defined _MSC_VER)
|
||
static YYSIZE_T
|
||
yystrlen (const char *yystr)
|
||
#else
|
||
static YYSIZE_T
|
||
yystrlen (yystr)
|
||
const char *yystr;
|
||
#endif
|
||
{
|
||
YYSIZE_T yylen;
|
||
for (yylen = 0; yystr[yylen]; yylen++)
|
||
continue;
|
||
return yylen;
|
||
}
|
||
# 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. */
|
||
#if (defined __STDC__ || defined __C99__FUNC__ \
|
||
|| defined __cplusplus || defined _MSC_VER)
|
||
static char *
|
||
yystpcpy (char *yydest, const char *yysrc)
|
||
#else
|
||
static char *
|
||
yystpcpy (yydest, yysrc)
|
||
char *yydest;
|
||
const char *yysrc;
|
||
#endif
|
||
{
|
||
char *yyd = yydest;
|
||
const char *yys = yysrc;
|
||
|
||
while ((*yyd++ = *yys++) != '\0')
|
||
continue;
|
||
|
||
return yyd - 1;
|
||
}
|
||
# endif
|
||
# endif
|
||
|
||
# ifndef yytnamerr
|
||
/* Copy to YYRES the contents of YYSTR after stripping away unnecessary
|
||
quotes and backslashes, so that it's suitable for yyerror. The
|
||
heuristic is that double-quoting is unnecessary unless the string
|
||
contains an apostrophe, a comma, or backslash (other than
|
||
backslash-backslash). YYSTR is taken from yytname. If YYRES is
|
||
null, do not copy; instead, return the length of what the result
|
||
would have been. */
|
||
static YYSIZE_T
|
||
yytnamerr (char *yyres, const char *yystr)
|
||
{
|
||
if (*yystr == '"')
|
||
{
|
||
YYSIZE_T yyn = 0;
|
||
char const *yyp = yystr;
|
||
|
||
for (;;)
|
||
switch (*++yyp)
|
||
{
|
||
case '\'':
|
||
case ',':
|
||
goto do_not_strip_quotes;
|
||
|
||
case '\\':
|
||
if (*++yyp != '\\')
|
||
goto do_not_strip_quotes;
|
||
/* Fall through. */
|
||
default:
|
||
if (yyres)
|
||
yyres[yyn] = *yyp;
|
||
yyn++;
|
||
break;
|
||
|
||
case '"':
|
||
if (yyres)
|
||
yyres[yyn] = '\0';
|
||
return yyn;
|
||
}
|
||
do_not_strip_quotes: ;
|
||
}
|
||
|
||
if (! yyres)
|
||
return yystrlen (yystr);
|
||
|
||
return yystpcpy (yyres, yystr) - yyres;
|
||
}
|
||
# endif
|
||
|
||
/* Copy into YYRESULT an error message about the unexpected token
|
||
YYCHAR while in state YYSTATE. Return the number of bytes copied,
|
||
including the terminating null byte. If YYRESULT is null, do not
|
||
copy anything; just return the number of bytes that would be
|
||
copied. As a special case, return 0 if an ordinary "syntax error"
|
||
message will do. Return YYSIZE_MAXIMUM if overflow occurs during
|
||
size calculation. */
|
||
static YYSIZE_T
|
||
yysyntax_error (char *yyresult, int yystate, int yychar)
|
||
{
|
||
int yyn = yypact[yystate];
|
||
|
||
if (! (YYPACT_NINF < yyn && yyn <= YYLAST))
|
||
return 0;
|
||
else
|
||
{
|
||
int yytype = YYTRANSLATE (yychar);
|
||
YYSIZE_T yysize0 = yytnamerr (0, yytname[yytype]);
|
||
YYSIZE_T yysize = yysize0;
|
||
YYSIZE_T yysize1;
|
||
int yysize_overflow = 0;
|
||
enum { YYERROR_VERBOSE_ARGS_MAXIMUM = 5 };
|
||
char const *yyarg[YYERROR_VERBOSE_ARGS_MAXIMUM];
|
||
int yyx;
|
||
|
||
# if 0
|
||
/* This is so xgettext sees the translatable formats that are
|
||
constructed on the fly. */
|
||
YY_("syntax error, unexpected %s");
|
||
YY_("syntax error, unexpected %s, expecting %s");
|
||
YY_("syntax error, unexpected %s, expecting %s or %s");
|
||
YY_("syntax error, unexpected %s, expecting %s or %s or %s");
|
||
YY_("syntax error, unexpected %s, expecting %s or %s or %s or %s");
|
||
# endif
|
||
char *yyfmt;
|
||
char const *yyf;
|
||
static char const yyunexpected[] = "syntax error, unexpected %s";
|
||
static char const yyexpecting[] = ", expecting %s";
|
||
static char const yyor[] = " or %s";
|
||
char yyformat[sizeof yyunexpected
|
||
+ sizeof yyexpecting - 1
|
||
+ ((YYERROR_VERBOSE_ARGS_MAXIMUM - 2)
|
||
* (sizeof yyor - 1))];
|
||
char const *yyprefix = yyexpecting;
|
||
|
||
/* 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 + 1;
|
||
int yyxend = yychecklim < YYNTOKENS ? yychecklim : YYNTOKENS;
|
||
int yycount = 1;
|
||
|
||
yyarg[0] = yytname[yytype];
|
||
yyfmt = yystpcpy (yyformat, yyunexpected);
|
||
|
||
for (yyx = yyxbegin; yyx < yyxend; ++yyx)
|
||
if (yycheck[yyx + yyn] == yyx && yyx != YYTERROR)
|
||
{
|
||
if (yycount == YYERROR_VERBOSE_ARGS_MAXIMUM)
|
||
{
|
||
yycount = 1;
|
||
yysize = yysize0;
|
||
yyformat[sizeof yyunexpected - 1] = '\0';
|
||
break;
|
||
}
|
||
yyarg[yycount++] = yytname[yyx];
|
||
yysize1 = yysize + yytnamerr (0, yytname[yyx]);
|
||
yysize_overflow |= (yysize1 < yysize);
|
||
yysize = yysize1;
|
||
yyfmt = yystpcpy (yyfmt, yyprefix);
|
||
yyprefix = yyor;
|
||
}
|
||
|
||
yyf = YY_(yyformat);
|
||
yysize1 = yysize + yystrlen (yyf);
|
||
yysize_overflow |= (yysize1 < yysize);
|
||
yysize = yysize1;
|
||
|
||
if (yysize_overflow)
|
||
return YYSIZE_MAXIMUM;
|
||
|
||
if (yyresult)
|
||
{
|
||
/* Avoid sprintf, as that infringes on the user's name space.
|
||
Don't have undefined behavior even if the translation
|
||
produced a string with the wrong number of "%s"s. */
|
||
char *yyp = yyresult;
|
||
int yyi = 0;
|
||
while ((*yyp = *yyf) != '\0')
|
||
{
|
||
if (*yyp == '%' && yyf[1] == 's' && yyi < yycount)
|
||
{
|
||
yyp += yytnamerr (yyp, yyarg[yyi++]);
|
||
yyf += 2;
|
||
}
|
||
else
|
||
{
|
||
yyp++;
|
||
yyf++;
|
||
}
|
||
}
|
||
}
|
||
return yysize;
|
||
}
|
||
}
|
||
#endif /* YYERROR_VERBOSE */
|
||
|
||
|
||
/*-----------------------------------------------.
|
||
| Release the memory associated to this symbol. |
|
||
`-----------------------------------------------*/
|
||
|
||
/*ARGSUSED*/
|
||
#if (defined __STDC__ || defined __C99__FUNC__ \
|
||
|| defined __cplusplus || defined _MSC_VER)
|
||
static void
|
||
yydestruct (const char *yymsg, int yytype, YYSTYPE *yyvaluep, HB_MACRO_PTR pMacro)
|
||
#else
|
||
static void
|
||
yydestruct (yymsg, yytype, yyvaluep, pMacro)
|
||
const char *yymsg;
|
||
int yytype;
|
||
YYSTYPE *yyvaluep;
|
||
HB_MACRO_PTR pMacro;
|
||
#endif
|
||
{
|
||
YYUSE (yyvaluep);
|
||
YYUSE (pMacro);
|
||
|
||
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 (HB_MACRO_PTR pMacro);
|
||
#else
|
||
int yyparse ();
|
||
#endif
|
||
#endif /* ! YYPARSE_PARAM */
|
||
|
||
|
||
|
||
|
||
|
||
|
||
/*----------.
|
||
| yyparse. |
|
||
`----------*/
|
||
|
||
#ifdef YYPARSE_PARAM
|
||
#if (defined __STDC__ || defined __C99__FUNC__ \
|
||
|| defined __cplusplus || defined _MSC_VER)
|
||
int
|
||
yyparse (void *YYPARSE_PARAM)
|
||
#else
|
||
int
|
||
yyparse (YYPARSE_PARAM)
|
||
void *YYPARSE_PARAM;
|
||
#endif
|
||
#else /* ! YYPARSE_PARAM */
|
||
#if (defined __STDC__ || defined __C99__FUNC__ \
|
||
|| defined __cplusplus || defined _MSC_VER)
|
||
int
|
||
yyparse (HB_MACRO_PTR pMacro)
|
||
#else
|
||
int
|
||
yyparse (pMacro)
|
||
HB_MACRO_PTR pMacro;
|
||
#endif
|
||
#endif
|
||
{
|
||
/* The look-ahead symbol. */
|
||
int yychar;
|
||
|
||
/* The semantic value of the look-ahead symbol. */
|
||
YYSTYPE yylval;
|
||
|
||
/* Number of syntax errors so far. */
|
||
int yynerrs;
|
||
|
||
int yystate;
|
||
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;
|
||
#if YYERROR_VERBOSE
|
||
/* Buffer for error messages, and its allocated size. */
|
||
char yymsgbuf[128];
|
||
char *yymsg = yymsgbuf;
|
||
YYSIZE_T yymsg_alloc = sizeof yymsgbuf;
|
||
#endif
|
||
|
||
/* 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. */
|
||
yytype_int16 yyssa[YYINITDEPTH];
|
||
yytype_int16 *yyss = yyssa;
|
||
yytype_int16 *yyssp;
|
||
|
||
/* The semantic value stack. */
|
||
YYSTYPE yyvsa[YYINITDEPTH];
|
||
YYSTYPE *yyvs = yyvsa;
|
||
YYSTYPE *yyvsp;
|
||
|
||
|
||
|
||
#define YYPOPSTACK(N) (yyvsp -= (N), yyssp -= (N))
|
||
|
||
YYSIZE_T yystacksize = YYINITDEPTH;
|
||
|
||
/* The variables used to return semantic value and location from the
|
||
action routines. */
|
||
YYSTYPE yyval;
|
||
|
||
|
||
/* The number of symbols on the RHS of the reduced rule.
|
||
Keep to zero when no symbol should be popped. */
|
||
int yylen = 0;
|
||
|
||
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;
|
||
|
||
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;
|
||
yytype_int16 *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 (YY_("memory exhausted"),
|
||
&yyss1, yysize * sizeof (*yyssp),
|
||
&yyvs1, yysize * sizeof (*yyvsp),
|
||
|
||
&yystacksize);
|
||
|
||
yyss = yyss1;
|
||
yyvs = yyvs1;
|
||
}
|
||
#else /* no yyoverflow */
|
||
# ifndef YYSTACK_RELOCATE
|
||
goto yyexhaustedlab;
|
||
# else
|
||
/* Extend the stack our own way. */
|
||
if (YYMAXDEPTH <= yystacksize)
|
||
goto yyexhaustedlab;
|
||
yystacksize *= 2;
|
||
if (YYMAXDEPTH < yystacksize)
|
||
yystacksize = YYMAXDEPTH;
|
||
|
||
{
|
||
yytype_int16 *yyss1 = yyss;
|
||
union yyalloc *yyptr =
|
||
(union yyalloc *) YYSTACK_ALLOC (YYSTACK_BYTES (yystacksize));
|
||
if (! yyptr)
|
||
goto yyexhaustedlab;
|
||
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. */
|
||
|
||
/* 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;
|
||
|
||
/* Count tokens shifted since error; after three, turn off error
|
||
status. */
|
||
if (yyerrstatus)
|
||
yyerrstatus--;
|
||
|
||
/* Shift the look-ahead token. */
|
||
YY_SYMBOL_PRINT ("Shifting", yytoken, &yylval, &yylloc);
|
||
|
||
/* Discard the shifted token unless it is eof. */
|
||
if (yychar != YYEOF)
|
||
yychar = YYEMPTY;
|
||
|
||
yystate = yyn;
|
||
*++yyvsp = yylval;
|
||
|
||
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 2:
|
||
#line 236 "macro.y"
|
||
{
|
||
HB_MACRO_DATA->exprType = hb_compExprType( (yyvsp[(1) - (2)].asExpr) );
|
||
if( HB_MACRO_DATA->Flags & HB_MACRO_GEN_PUSH )
|
||
hb_compExprGenPush( (yyvsp[(1) - (2)].asExpr), HB_COMP_PARAM );
|
||
else
|
||
hb_compExprGenPop( (yyvsp[(1) - (2)].asExpr), HB_COMP_PARAM );
|
||
hb_compGenPCode1( HB_P_ENDPROC, HB_COMP_PARAM );
|
||
;}
|
||
break;
|
||
|
||
case 3:
|
||
#line 245 "macro.y"
|
||
{
|
||
HB_MACRO_DATA->exprType = hb_compExprType( (yyvsp[(1) - (1)].asExpr) );
|
||
if( HB_MACRO_DATA->Flags & HB_MACRO_GEN_PUSH )
|
||
hb_compExprGenPush( (yyvsp[(1) - (1)].asExpr), HB_COMP_PARAM );
|
||
else
|
||
hb_compExprGenPop( (yyvsp[(1) - (1)].asExpr), HB_COMP_PARAM );
|
||
hb_compGenPCode1( HB_P_ENDPROC, HB_COMP_PARAM );
|
||
;}
|
||
break;
|
||
|
||
case 4:
|
||
#line 253 "macro.y"
|
||
{
|
||
HB_MACRO_DATA->exprType = hb_compExprType( (yyvsp[(1) - (1)].asExpr) );
|
||
if( HB_MACRO_DATA->Flags & HB_MACRO_GEN_PUSH )
|
||
hb_compExprGenPush( (yyvsp[(1) - (1)].asExpr), HB_COMP_PARAM );
|
||
else
|
||
hb_compExprGenPop( (yyvsp[(1) - (1)].asExpr), HB_COMP_PARAM );
|
||
hb_compGenPCode1( HB_P_ENDPROC, HB_COMP_PARAM );
|
||
;}
|
||
break;
|
||
|
||
case 5:
|
||
#line 261 "macro.y"
|
||
{
|
||
HB_TRACE(HB_TR_DEBUG, ("macro -> invalid expression: %s", HB_MACRO_DATA->string));
|
||
hb_macroError( EG_SYNTAX, HB_COMP_PARAM );
|
||
YYABORT;
|
||
;}
|
||
break;
|
||
|
||
case 6:
|
||
#line 266 "macro.y"
|
||
{
|
||
HB_TRACE(HB_TR_DEBUG, ("macro -> invalid syntax: %s", HB_MACRO_DATA->string));
|
||
hb_macroError( EG_SYNTAX, HB_COMP_PARAM );
|
||
YYABORT;
|
||
;}
|
||
break;
|
||
|
||
case 7:
|
||
#line 275 "macro.y"
|
||
{ (yyval.asExpr) = hb_compExprNewDouble( (yyvsp[(1) - (1)].valDouble).dNumber, (yyvsp[(1) - (1)].valDouble).bWidth, (yyvsp[(1) - (1)].valDouble).bDec, HB_COMP_PARAM ); ;}
|
||
break;
|
||
|
||
case 8:
|
||
#line 276 "macro.y"
|
||
{ (yyval.asExpr) = hb_compExprNewLong( (yyvsp[(1) - (1)].valLong).lNumber, HB_COMP_PARAM ); ;}
|
||
break;
|
||
|
||
case 9:
|
||
#line 279 "macro.y"
|
||
{ (yyval.asExpr) = hb_compExprNewDate( (yyvsp[(1) - (1)].valLong).lNumber, HB_COMP_PARAM ); ;}
|
||
break;
|
||
|
||
case 10:
|
||
#line 282 "macro.y"
|
||
{ (yyval.asExpr) = hb_compExprNewLong( (yyvsp[(1) - (2)].valLong).lNumber, HB_COMP_PARAM ); ;}
|
||
break;
|
||
|
||
case 11:
|
||
#line 287 "macro.y"
|
||
{ (yyval.asExpr) = hb_compExprNewNil( HB_COMP_PARAM ); ;}
|
||
break;
|
||
|
||
case 12:
|
||
#line 292 "macro.y"
|
||
{ (yyval.asExpr) = hb_compExprNewString( (yyvsp[(1) - (1)].valChar).string, (yyvsp[(1) - (1)].valChar).length, FALSE, HB_COMP_PARAM ); ;}
|
||
break;
|
||
|
||
case 13:
|
||
#line 297 "macro.y"
|
||
{ (yyval.asExpr) = hb_compExprNewLogical( TRUE, HB_COMP_PARAM ); ;}
|
||
break;
|
||
|
||
case 14:
|
||
#line 298 "macro.y"
|
||
{ (yyval.asExpr) = hb_compExprNewLogical( FALSE, HB_COMP_PARAM ); ;}
|
||
break;
|
||
|
||
case 15:
|
||
#line 303 "macro.y"
|
||
{ (yyval.asExpr) = hb_compExprNewSelf( HB_COMP_PARAM ); ;}
|
||
break;
|
||
|
||
case 16:
|
||
#line 308 "macro.y"
|
||
{ (yyval.asExpr) = hb_compExprNewArray( (yyvsp[(2) - (3)].asExpr), HB_COMP_PARAM ); ;}
|
||
break;
|
||
|
||
case 17:
|
||
#line 313 "macro.y"
|
||
{ (yyval.asExpr) = (yyvsp[(2) - (2)].asExpr); ;}
|
||
break;
|
||
|
||
case 18:
|
||
#line 318 "macro.y"
|
||
{ (yyval.asExpr) = hb_compExprNewVar( (yyvsp[(1) - (1)].string), HB_COMP_PARAM ); ;}
|
||
break;
|
||
|
||
case 19:
|
||
#line 321 "macro.y"
|
||
{ (yyval.asExpr) = hb_compExprNewAlias( (yyvsp[(1) - (2)].string), HB_COMP_PARAM ); ;}
|
||
break;
|
||
|
||
case 20:
|
||
#line 326 "macro.y"
|
||
{ (yyval.asExpr) = hb_compExprNewMacro( NULL, '&', (yyvsp[(1) - (1)].string), HB_COMP_PARAM );
|
||
HB_MACRO_CHECK( (yyval.asExpr) );
|
||
;}
|
||
break;
|
||
|
||
case 21:
|
||
#line 329 "macro.y"
|
||
{ ULONG ulLen = strlen( (yyvsp[(1) - (1)].string) );
|
||
char * szVarName = hb_macroTextSubst( (yyvsp[(1) - (1)].string), &ulLen );
|
||
if( szVarName != (yyvsp[(1) - (1)].string) )
|
||
hb_macroIdentNew( HB_COMP_PARAM, szVarName );
|
||
if( hb_macroIsIdent( szVarName ) )
|
||
{
|
||
(yyval.asExpr) = hb_compExprNewVar( szVarName, HB_COMP_PARAM );
|
||
HB_MACRO_CHECK( (yyval.asExpr) );
|
||
}
|
||
else
|
||
{
|
||
/* invalid variable name
|
||
*/
|
||
HB_TRACE(HB_TR_DEBUG, ("macro -> invalid variable name: %s", (yyvsp[(1) - (1)].string)));
|
||
YYABORT;
|
||
}
|
||
;}
|
||
break;
|
||
|
||
case 22:
|
||
#line 348 "macro.y"
|
||
{ hb_compExprMacroAsAlias( (yyvsp[(1) - (2)].asExpr) ); ;}
|
||
break;
|
||
|
||
case 23:
|
||
#line 353 "macro.y"
|
||
{ (yyval.asExpr) = hb_compExprNewMacro( (yyvsp[(2) - (2)].asExpr), 0, NULL, HB_COMP_PARAM ); ;}
|
||
break;
|
||
|
||
case 24:
|
||
#line 356 "macro.y"
|
||
{ (yyval.asExpr) = (yyvsp[(1) - (2)].asExpr); ;}
|
||
break;
|
||
|
||
case 25:
|
||
#line 363 "macro.y"
|
||
{ (yyval.asExpr) = hb_compExprNewAlias( "FIELD", HB_COMP_PARAM ); ;}
|
||
break;
|
||
|
||
case 26:
|
||
#line 364 "macro.y"
|
||
{ (yyval.asExpr) = (yyvsp[(3) - (3)].asExpr); ;}
|
||
break;
|
||
|
||
case 27:
|
||
#line 369 "macro.y"
|
||
{ (yyval.asExpr) = (yyvsp[(2) - (2)].asExpr); ;}
|
||
break;
|
||
|
||
case 28:
|
||
#line 370 "macro.y"
|
||
{ (yyval.asExpr) = (yyvsp[(2) - (2)].asExpr); ;}
|
||
break;
|
||
|
||
case 29:
|
||
#line 371 "macro.y"
|
||
{ (yyval.asExpr) = (yyvsp[(2) - (2)].asExpr); ;}
|
||
break;
|
||
|
||
case 30:
|
||
#line 372 "macro.y"
|
||
{ (yyval.asExpr) = (yyvsp[(2) - (2)].asExpr); ;}
|
||
break;
|
||
|
||
case 31:
|
||
#line 373 "macro.y"
|
||
{ (yyval.asExpr) = (yyvsp[(2) - (2)].asExpr); ;}
|
||
break;
|
||
|
||
case 32:
|
||
#line 376 "macro.y"
|
||
{ (yyval.asExpr) = hb_compExprNewVar( (yyvsp[(1) - (1)].string), HB_COMP_PARAM ); ;}
|
||
break;
|
||
|
||
case 33:
|
||
#line 377 "macro.y"
|
||
{ (yyval.asExpr) = (yyvsp[(1) - (1)].asExpr); ;}
|
||
break;
|
||
|
||
case 34:
|
||
#line 380 "macro.y"
|
||
{ (yyval.asExpr) = hb_compExprNewAliasVar( (yyvsp[(1) - (2)].asExpr), (yyvsp[(2) - (2)].asExpr), HB_COMP_PARAM ); ;}
|
||
break;
|
||
|
||
case 35:
|
||
#line 381 "macro.y"
|
||
{ (yyval.asExpr) = hb_compExprNewAliasVar( (yyvsp[(1) - (2)].asExpr), (yyvsp[(2) - (2)].asExpr), HB_COMP_PARAM ); ;}
|
||
break;
|
||
|
||
case 36:
|
||
#line 382 "macro.y"
|
||
{ (yyval.asExpr) = hb_compExprNewAliasVar( (yyvsp[(1) - (2)].asExpr), (yyvsp[(2) - (2)].asExpr), HB_COMP_PARAM ); ;}
|
||
break;
|
||
|
||
case 37:
|
||
#line 383 "macro.y"
|
||
{ (yyval.asExpr) = hb_compExprNewAliasVar( (yyvsp[(1) - (2)].asExpr), (yyvsp[(2) - (2)].asExpr), HB_COMP_PARAM ); ;}
|
||
break;
|
||
|
||
case 38:
|
||
#line 384 "macro.y"
|
||
{ (yyval.asExpr) = hb_compExprNewAliasVar( (yyvsp[(1) - (2)].asExpr), (yyvsp[(2) - (2)].asExpr), HB_COMP_PARAM ); ;}
|
||
break;
|
||
|
||
case 39:
|
||
#line 385 "macro.y"
|
||
{ (yyval.asExpr) = hb_compExprNewAliasVar( (yyvsp[(1) - (2)].asExpr), (yyvsp[(2) - (2)].asExpr), HB_COMP_PARAM ); ;}
|
||
break;
|
||
|
||
case 40:
|
||
#line 386 "macro.y"
|
||
{ (yyval.asExpr) = hb_compExprNewAliasVar( (yyvsp[(1) - (2)].asExpr), (yyvsp[(2) - (2)].asExpr), HB_COMP_PARAM ); ;}
|
||
break;
|
||
|
||
case 41:
|
||
#line 395 "macro.y"
|
||
{ (yyval.asExpr) = hb_compExprNewAliasExpr( (yyvsp[(1) - (2)].asExpr), (yyvsp[(2) - (2)].asExpr), HB_COMP_PARAM ); ;}
|
||
break;
|
||
|
||
case 42:
|
||
#line 396 "macro.y"
|
||
{ (yyval.asExpr) = hb_compExprNewAliasExpr( (yyvsp[(1) - (2)].asExpr), (yyvsp[(2) - (2)].asExpr), HB_COMP_PARAM ); ;}
|
||
break;
|
||
|
||
case 43:
|
||
#line 397 "macro.y"
|
||
{ (yyval.asExpr) = hb_compExprNewAliasExpr( (yyvsp[(1) - (2)].asExpr), (yyvsp[(2) - (2)].asExpr), HB_COMP_PARAM ); ;}
|
||
break;
|
||
|
||
case 44:
|
||
#line 398 "macro.y"
|
||
{ (yyval.asExpr) = hb_compExprNewAliasExpr( (yyvsp[(1) - (2)].asExpr), (yyvsp[(2) - (2)].asExpr), HB_COMP_PARAM ); ;}
|
||
break;
|
||
|
||
case 45:
|
||
#line 399 "macro.y"
|
||
{ (yyval.asExpr) = hb_compExprNewAliasExpr( (yyvsp[(1) - (2)].asExpr), (yyvsp[(2) - (2)].asExpr), HB_COMP_PARAM ); ;}
|
||
break;
|
||
|
||
case 46:
|
||
#line 404 "macro.y"
|
||
{ (yyval.asExpr) = (yyvsp[(2) - (2)].asExpr); ;}
|
||
break;
|
||
|
||
case 47:
|
||
#line 405 "macro.y"
|
||
{ (yyval.asExpr) = (yyvsp[(2) - (2)].asExpr); ;}
|
||
break;
|
||
|
||
case 48:
|
||
#line 406 "macro.y"
|
||
{ (yyval.asExpr) = (yyvsp[(2) - (2)].asExpr); ;}
|
||
break;
|
||
|
||
case 49:
|
||
#line 407 "macro.y"
|
||
{ (yyval.asExpr) = (yyvsp[(2) - (2)].asExpr); ;}
|
||
break;
|
||
|
||
case 50:
|
||
#line 408 "macro.y"
|
||
{ (yyval.asExpr) = (yyvsp[(2) - (2)].asExpr); ;}
|
||
break;
|
||
|
||
case 51:
|
||
#line 409 "macro.y"
|
||
{ (yyval.asExpr) = (yyvsp[(2) - (2)].asExpr); ;}
|
||
break;
|
||
|
||
case 52:
|
||
#line 410 "macro.y"
|
||
{ (yyval.asExpr) = (yyvsp[(2) - (2)].asExpr); ;}
|
||
break;
|
||
|
||
case 53:
|
||
#line 411 "macro.y"
|
||
{ (yyval.asExpr) = (yyvsp[(2) - (2)].asExpr); ;}
|
||
break;
|
||
|
||
case 54:
|
||
#line 412 "macro.y"
|
||
{ (yyval.asExpr) = (yyvsp[(2) - (2)].asExpr); ;}
|
||
break;
|
||
|
||
case 55:
|
||
#line 413 "macro.y"
|
||
{ (yyval.asExpr) = (yyvsp[(2) - (2)].asExpr); ;}
|
||
break;
|
||
|
||
case 56:
|
||
#line 414 "macro.y"
|
||
{ (yyval.asExpr) = (yyvsp[(2) - (2)].asExpr); ;}
|
||
break;
|
||
|
||
case 57:
|
||
#line 415 "macro.y"
|
||
{ (yyval.asExpr) = (yyvsp[(2) - (2)].asExpr); ;}
|
||
break;
|
||
|
||
case 58:
|
||
#line 416 "macro.y"
|
||
{ (yyval.asExpr) = (yyvsp[(2) - (2)].asExpr); ;}
|
||
break;
|
||
|
||
case 59:
|
||
#line 417 "macro.y"
|
||
{ (yyval.asExpr) = (yyvsp[(2) - (2)].asExpr); ;}
|
||
break;
|
||
|
||
case 60:
|
||
#line 418 "macro.y"
|
||
{ (yyval.asExpr) = (yyvsp[(2) - (2)].asExpr); ;}
|
||
break;
|
||
|
||
case 61:
|
||
#line 423 "macro.y"
|
||
{ (yyval.asExpr) = hb_compExprNewFunCall( hb_compExprNewFunName( (yyvsp[(1) - (4)].string), HB_COMP_PARAM ), (yyvsp[(3) - (4)].asExpr), HB_COMP_PARAM );
|
||
HB_MACRO_CHECK( (yyval.asExpr) );
|
||
;}
|
||
break;
|
||
|
||
case 62:
|
||
#line 426 "macro.y"
|
||
{ (yyval.asExpr) = hb_compExprNewFunCall( (yyvsp[(1) - (4)].asExpr), (yyvsp[(3) - (4)].asExpr), HB_COMP_PARAM );
|
||
HB_MACRO_CHECK( (yyval.asExpr) );
|
||
;}
|
||
break;
|
||
|
||
case 63:
|
||
#line 431 "macro.y"
|
||
{ (yyval.asExpr) = hb_compExprNewArgList( (yyvsp[(1) - (1)].asExpr), HB_COMP_PARAM ); ;}
|
||
break;
|
||
|
||
case 64:
|
||
#line 432 "macro.y"
|
||
{ (yyval.asExpr) = hb_compExprAddListExpr( (yyvsp[(1) - (3)].asExpr), (yyvsp[(3) - (3)].asExpr) ); ;}
|
||
break;
|
||
|
||
case 65:
|
||
#line 435 "macro.y"
|
||
{ (yyval.asExpr) = (yyvsp[(1) - (1)].asExpr); ;}
|
||
break;
|
||
|
||
case 66:
|
||
#line 436 "macro.y"
|
||
{ (yyval.asExpr) = hb_compExprNewVarRef( (yyvsp[(2) - (2)].string), HB_COMP_PARAM ); ;}
|
||
break;
|
||
|
||
case 67:
|
||
#line 437 "macro.y"
|
||
{ (yyval.asExpr) = hb_compExprNewRef( (yyvsp[(2) - (2)].asExpr), HB_COMP_PARAM ); ;}
|
||
break;
|
||
|
||
case 68:
|
||
#line 438 "macro.y"
|
||
{ (yyval.asExpr) = hb_compExprNewFunRef( (yyvsp[(2) - (4)].string), HB_COMP_PARAM ); ;}
|
||
break;
|
||
|
||
case 69:
|
||
#line 443 "macro.y"
|
||
{ (yyval.asExpr) = hb_compExprNewSend( (yyvsp[(1) - (3)].asExpr), (yyvsp[(3) - (3)].string), NULL, HB_COMP_PARAM ); ;}
|
||
break;
|
||
|
||
case 70:
|
||
#line 444 "macro.y"
|
||
{ (yyval.asExpr) = hb_compExprNewSend( (yyvsp[(1) - (3)].asExpr), (yyvsp[(3) - (3)].string), NULL, HB_COMP_PARAM ); ;}
|
||
break;
|
||
|
||
case 71:
|
||
#line 445 "macro.y"
|
||
{ (yyval.asExpr) = hb_compExprNewSend( (yyvsp[(1) - (3)].asExpr), (yyvsp[(3) - (3)].string), NULL, HB_COMP_PARAM ); ;}
|
||
break;
|
||
|
||
case 72:
|
||
#line 446 "macro.y"
|
||
{ (yyval.asExpr) = hb_compExprNewSend( (yyvsp[(1) - (3)].asExpr), (yyvsp[(3) - (3)].string), NULL, HB_COMP_PARAM ); ;}
|
||
break;
|
||
|
||
case 73:
|
||
#line 447 "macro.y"
|
||
{ (yyval.asExpr) = hb_compExprNewSend( (yyvsp[(1) - (3)].asExpr), (yyvsp[(3) - (3)].string), NULL, HB_COMP_PARAM ); ;}
|
||
break;
|
||
|
||
case 74:
|
||
#line 448 "macro.y"
|
||
{ (yyval.asExpr) = hb_compExprNewSend( (yyvsp[(1) - (3)].asExpr), (yyvsp[(3) - (3)].string), NULL, HB_COMP_PARAM ); ;}
|
||
break;
|
||
|
||
case 75:
|
||
#line 449 "macro.y"
|
||
{ (yyval.asExpr) = hb_compExprNewSend( (yyvsp[(1) - (3)].asExpr), (yyvsp[(3) - (3)].string), NULL, HB_COMP_PARAM ); ;}
|
||
break;
|
||
|
||
case 76:
|
||
#line 450 "macro.y"
|
||
{ (yyval.asExpr) = hb_compExprNewSend( (yyvsp[(1) - (3)].asExpr), (yyvsp[(3) - (3)].string), NULL, HB_COMP_PARAM ); ;}
|
||
break;
|
||
|
||
case 77:
|
||
#line 451 "macro.y"
|
||
{ (yyval.asExpr) = hb_compExprNewSend( (yyvsp[(1) - (3)].asExpr), (yyvsp[(3) - (3)].string), NULL, HB_COMP_PARAM ); ;}
|
||
break;
|
||
|
||
case 78:
|
||
#line 452 "macro.y"
|
||
{ (yyval.asExpr) = hb_compExprNewSend( (yyvsp[(1) - (3)].asExpr), (yyvsp[(3) - (3)].string), NULL, HB_COMP_PARAM ); ;}
|
||
break;
|
||
|
||
case 79:
|
||
#line 453 "macro.y"
|
||
{ (yyval.asExpr) = hb_compExprNewSend( (yyvsp[(1) - (3)].asExpr), (yyvsp[(3) - (3)].string), NULL, HB_COMP_PARAM ); ;}
|
||
break;
|
||
|
||
case 80:
|
||
#line 454 "macro.y"
|
||
{ (yyval.asExpr) = hb_compExprNewSend( (yyvsp[(1) - (3)].asExpr), (yyvsp[(3) - (3)].string), NULL, HB_COMP_PARAM ); ;}
|
||
break;
|
||
|
||
case 81:
|
||
#line 455 "macro.y"
|
||
{ (yyval.asExpr) = hb_compExprNewSend( (yyvsp[(1) - (3)].asExpr), (yyvsp[(3) - (3)].string), NULL, HB_COMP_PARAM ); ;}
|
||
break;
|
||
|
||
case 82:
|
||
#line 456 "macro.y"
|
||
{ (yyval.asExpr) = hb_compExprNewSend( (yyvsp[(1) - (3)].asExpr), (yyvsp[(3) - (3)].string), NULL, HB_COMP_PARAM ); ;}
|
||
break;
|
||
|
||
case 83:
|
||
#line 457 "macro.y"
|
||
{ (yyval.asExpr) = hb_compExprNewSend( (yyvsp[(1) - (3)].asExpr), (yyvsp[(3) - (3)].string), NULL, HB_COMP_PARAM ); ;}
|
||
break;
|
||
|
||
case 84:
|
||
#line 458 "macro.y"
|
||
{ (yyval.asExpr) = hb_compExprNewSend( (yyvsp[(1) - (3)].asExpr), (yyvsp[(3) - (3)].string), NULL, HB_COMP_PARAM ); ;}
|
||
break;
|
||
|
||
case 85:
|
||
#line 459 "macro.y"
|
||
{ (yyval.asExpr) = hb_compExprNewSend( (yyvsp[(1) - (3)].asExpr), (yyvsp[(3) - (3)].string), NULL, HB_COMP_PARAM ); ;}
|
||
break;
|
||
|
||
case 86:
|
||
#line 460 "macro.y"
|
||
{ (yyval.asExpr) = hb_compExprNewSend( (yyvsp[(1) - (3)].asExpr), (yyvsp[(3) - (3)].string), NULL, HB_COMP_PARAM ); ;}
|
||
break;
|
||
|
||
case 87:
|
||
#line 461 "macro.y"
|
||
{ (yyval.asExpr) = hb_compExprNewSend( (yyvsp[(1) - (3)].asExpr), (yyvsp[(3) - (3)].string), NULL, HB_COMP_PARAM ); ;}
|
||
break;
|
||
|
||
case 88:
|
||
#line 462 "macro.y"
|
||
{ (yyval.asExpr) = hb_compExprNewSend( (yyvsp[(1) - (3)].asExpr), (yyvsp[(3) - (3)].string), NULL, HB_COMP_PARAM ); ;}
|
||
break;
|
||
|
||
case 89:
|
||
#line 467 "macro.y"
|
||
{ (yyval.asExpr) = hb_compExprNewMethodCall( (yyvsp[(1) - (4)].asExpr), (yyvsp[(3) - (4)].asExpr) ); ;}
|
||
break;
|
||
|
||
case 91:
|
||
#line 472 "macro.y"
|
||
{ (yyval.asExpr) = (yyvsp[(1) - (1)].asExpr); ;}
|
||
break;
|
||
|
||
case 92:
|
||
#line 473 "macro.y"
|
||
{ (yyval.asExpr) = (yyvsp[(1) - (1)].asExpr); ;}
|
||
break;
|
||
|
||
case 93:
|
||
#line 474 "macro.y"
|
||
{ (yyval.asExpr) = (yyvsp[(1) - (1)].asExpr); ;}
|
||
break;
|
||
|
||
case 94:
|
||
#line 475 "macro.y"
|
||
{ (yyval.asExpr) = (yyvsp[(1) - (1)].asExpr); ;}
|
||
break;
|
||
|
||
case 95:
|
||
#line 476 "macro.y"
|
||
{ (yyval.asExpr) = (yyvsp[(1) - (1)].asExpr); ;}
|
||
break;
|
||
|
||
case 96:
|
||
#line 477 "macro.y"
|
||
{ (yyval.asExpr) = (yyvsp[(1) - (1)].asExpr); ;}
|
||
break;
|
||
|
||
case 97:
|
||
#line 478 "macro.y"
|
||
{ (yyval.asExpr) = (yyvsp[(1) - (1)].asExpr); ;}
|
||
break;
|
||
|
||
case 98:
|
||
#line 479 "macro.y"
|
||
{ (yyval.asExpr) = (yyvsp[(1) - (1)].asExpr); ;}
|
||
break;
|
||
|
||
case 99:
|
||
#line 480 "macro.y"
|
||
{ (yyval.asExpr) = (yyvsp[(1) - (1)].asExpr); ;}
|
||
break;
|
||
|
||
case 100:
|
||
#line 481 "macro.y"
|
||
{ (yyval.asExpr) = (yyvsp[(1) - (1)].asExpr); ;}
|
||
break;
|
||
|
||
case 101:
|
||
#line 482 "macro.y"
|
||
{ (yyval.asExpr) = (yyvsp[(1) - (1)].asExpr); ;}
|
||
break;
|
||
|
||
case 102:
|
||
#line 483 "macro.y"
|
||
{ (yyval.asExpr) = (yyvsp[(1) - (1)].asExpr); ;}
|
||
break;
|
||
|
||
case 103:
|
||
#line 484 "macro.y"
|
||
{ (yyval.asExpr) = (yyvsp[(1) - (1)].asExpr); ;}
|
||
break;
|
||
|
||
case 104:
|
||
#line 485 "macro.y"
|
||
{ (yyval.asExpr) = (yyvsp[(1) - (1)].asExpr); ;}
|
||
break;
|
||
|
||
case 105:
|
||
#line 486 "macro.y"
|
||
{ (yyval.asExpr) = (yyvsp[(1) - (1)].asExpr); ;}
|
||
break;
|
||
|
||
case 106:
|
||
#line 487 "macro.y"
|
||
{ (yyval.asExpr) = (yyvsp[(1) - (1)].asExpr); ;}
|
||
break;
|
||
|
||
case 107:
|
||
#line 488 "macro.y"
|
||
{ (yyval.asExpr) = (yyvsp[(1) - (1)].asExpr); ;}
|
||
break;
|
||
|
||
case 108:
|
||
#line 489 "macro.y"
|
||
{ (yyval.asExpr) = (yyvsp[(1) - (1)].asExpr); ;}
|
||
break;
|
||
|
||
case 109:
|
||
#line 490 "macro.y"
|
||
{ (yyval.asExpr) = (yyvsp[(1) - (1)].asExpr); ;}
|
||
break;
|
||
|
||
case 110:
|
||
#line 491 "macro.y"
|
||
{ HB_MACRO_IFENABLED( (yyval.asExpr), (yyvsp[(1) - (1)].asExpr), HB_SM_HARBOUR ); ;}
|
||
break;
|
||
|
||
case 111:
|
||
#line 492 "macro.y"
|
||
{ HB_MACRO_IFENABLED( (yyval.asExpr), (yyvsp[(1) - (1)].asExpr), HB_SM_HARBOUR ); ;}
|
||
break;
|
||
|
||
case 112:
|
||
#line 493 "macro.y"
|
||
{ HB_MACRO_IFENABLED( (yyval.asExpr), (yyvsp[(1) - (1)].asExpr), HB_SM_HARBOUR ); ;}
|
||
break;
|
||
|
||
case 113:
|
||
#line 494 "macro.y"
|
||
{ (yyval.asExpr) = (yyvsp[(1) - (1)].asExpr); ;}
|
||
break;
|
||
|
||
case 114:
|
||
#line 495 "macro.y"
|
||
{ (yyval.asExpr) = (yyvsp[(1) - (1)].asExpr); ;}
|
||
break;
|
||
|
||
case 115:
|
||
#line 496 "macro.y"
|
||
{ (yyval.asExpr) = (yyvsp[(1) - (1)].asExpr); ;}
|
||
break;
|
||
|
||
case 116:
|
||
#line 497 "macro.y"
|
||
{ (yyval.asExpr) = (yyvsp[(1) - (1)].asExpr); ;}
|
||
break;
|
||
|
||
case 117:
|
||
#line 500 "macro.y"
|
||
{ (yyval.asExpr) = (yyvsp[(1) - (1)].asExpr); HB_MACRO_CHECK( (yyval.asExpr) ); ;}
|
||
break;
|
||
|
||
case 118:
|
||
#line 501 "macro.y"
|
||
{ (yyval.asExpr) = (yyvsp[(1) - (1)].asExpr); HB_MACRO_CHECK( (yyval.asExpr) ); ;}
|
||
break;
|
||
|
||
case 119:
|
||
#line 504 "macro.y"
|
||
{
|
||
if( !(HB_MACRO_DATA->Flags & HB_MACRO_GEN_LIST) )
|
||
{
|
||
HB_TRACE(HB_TR_DEBUG, ("macro -> invalid expression: %s", HB_MACRO_DATA->string));
|
||
hb_macroError( EG_SYNTAX, HB_COMP_PARAM );
|
||
YYABORT;
|
||
}
|
||
;}
|
||
break;
|
||
|
||
case 120:
|
||
#line 512 "macro.y"
|
||
{
|
||
HB_MACRO_DATA->uiListElements = 1;
|
||
(yyval.asExpr) = hb_compExprAddListExpr( ( HB_MACRO_DATA->Flags & HB_MACRO_GEN_PARE ) ? hb_compExprNewList( (yyvsp[(1) - (4)].asExpr), HB_COMP_PARAM ) : hb_compExprNewArgList( (yyvsp[(1) - (4)].asExpr), HB_COMP_PARAM ), (yyvsp[(4) - (4)].asExpr) );
|
||
;}
|
||
break;
|
||
|
||
case 121:
|
||
#line 518 "macro.y"
|
||
{ (yyval.asExpr) = (yyvsp[(1) - (1)].asExpr); ;}
|
||
break;
|
||
|
||
case 122:
|
||
#line 519 "macro.y"
|
||
{ HB_MACRO_DATA->uiListElements++;
|
||
(yyval.asExpr) = hb_compExprAddListExpr( (yyvsp[(1) - (3)].asExpr), (yyvsp[(3) - (3)].asExpr) ); ;}
|
||
break;
|
||
|
||
case 123:
|
||
#line 523 "macro.y"
|
||
{ (yyval.asExpr) = hb_compExprNewEmpty( HB_COMP_PARAM ); ;}
|
||
break;
|
||
|
||
case 125:
|
||
#line 530 "macro.y"
|
||
{ (yyval.asExpr) = hb_compExprNewPostInc( (yyvsp[(0) - (1)].asExpr), HB_COMP_PARAM ); ;}
|
||
break;
|
||
|
||
case 126:
|
||
#line 531 "macro.y"
|
||
{ (yyval.asExpr) = hb_compExprNewPostDec( (yyvsp[(0) - (1)].asExpr), HB_COMP_PARAM ); ;}
|
||
break;
|
||
|
||
case 127:
|
||
#line 537 "macro.y"
|
||
{ (yyval.asExpr) = (yyvsp[(2) - (2)].asExpr); ;}
|
||
break;
|
||
|
||
case 128:
|
||
#line 538 "macro.y"
|
||
{ (yyval.asExpr) = (yyvsp[(2) - (2)].asExpr); ;}
|
||
break;
|
||
|
||
case 129:
|
||
#line 539 "macro.y"
|
||
{ (yyval.asExpr) = (yyvsp[(2) - (2)].asExpr); ;}
|
||
break;
|
||
|
||
case 130:
|
||
#line 540 "macro.y"
|
||
{ (yyval.asExpr) = (yyvsp[(2) - (2)].asExpr); ;}
|
||
break;
|
||
|
||
case 131:
|
||
#line 541 "macro.y"
|
||
{ (yyval.asExpr) = (yyvsp[(2) - (2)].asExpr); ;}
|
||
break;
|
||
|
||
case 132:
|
||
#line 542 "macro.y"
|
||
{ (yyval.asExpr) = (yyvsp[(2) - (2)].asExpr); ;}
|
||
break;
|
||
|
||
case 133:
|
||
#line 543 "macro.y"
|
||
{ (yyval.asExpr) = (yyvsp[(2) - (2)].asExpr); ;}
|
||
break;
|
||
|
||
case 134:
|
||
#line 544 "macro.y"
|
||
{ (yyval.asExpr) = (yyvsp[(2) - (2)].asExpr); ;}
|
||
break;
|
||
|
||
case 135:
|
||
#line 545 "macro.y"
|
||
{ (yyval.asExpr) = (yyvsp[(2) - (2)].asExpr); ;}
|
||
break;
|
||
|
||
case 136:
|
||
#line 546 "macro.y"
|
||
{ (yyval.asExpr) = (yyvsp[(2) - (2)].asExpr); ;}
|
||
break;
|
||
|
||
case 137:
|
||
#line 547 "macro.y"
|
||
{ (yyval.asExpr) = (yyvsp[(2) - (2)].asExpr); ;}
|
||
break;
|
||
|
||
case 138:
|
||
#line 548 "macro.y"
|
||
{ (yyval.asExpr) = (yyvsp[(2) - (2)].asExpr); ;}
|
||
break;
|
||
|
||
case 139:
|
||
#line 549 "macro.y"
|
||
{ (yyval.asExpr) = (yyvsp[(2) - (2)].asExpr); ;}
|
||
break;
|
||
|
||
case 140:
|
||
#line 550 "macro.y"
|
||
{ (yyval.asExpr) = (yyvsp[(2) - (2)].asExpr); ;}
|
||
break;
|
||
|
||
case 141:
|
||
#line 551 "macro.y"
|
||
{ (yyval.asExpr) = (yyvsp[(2) - (2)].asExpr); ;}
|
||
break;
|
||
|
||
case 142:
|
||
#line 552 "macro.y"
|
||
{ (yyval.asExpr) = (yyvsp[(2) - (2)].asExpr); ;}
|
||
break;
|
||
|
||
case 143:
|
||
#line 553 "macro.y"
|
||
{ (yyval.asExpr) = (yyvsp[(2) - (2)].asExpr); ;}
|
||
break;
|
||
|
||
case 144:
|
||
#line 554 "macro.y"
|
||
{ (yyval.asExpr) = (yyvsp[(2) - (2)].asExpr); ;}
|
||
break;
|
||
|
||
case 145:
|
||
#line 555 "macro.y"
|
||
{ (yyval.asExpr) = (yyvsp[(2) - (2)].asExpr); ;}
|
||
break;
|
||
|
||
case 146:
|
||
#line 558 "macro.y"
|
||
{ (yyval.asExpr) = hb_compExprNewPreInc( (yyvsp[(2) - (2)].asExpr), HB_COMP_PARAM ); ;}
|
||
break;
|
||
|
||
case 147:
|
||
#line 559 "macro.y"
|
||
{ (yyval.asExpr) = hb_compExprNewPreDec( (yyvsp[(2) - (2)].asExpr), HB_COMP_PARAM ); ;}
|
||
break;
|
||
|
||
case 148:
|
||
#line 562 "macro.y"
|
||
{ (yyval.asExpr) = hb_compExprNewNot( (yyvsp[(2) - (2)].asExpr), HB_COMP_PARAM ); ;}
|
||
break;
|
||
|
||
case 149:
|
||
#line 563 "macro.y"
|
||
{ (yyval.asExpr) = hb_compExprNewNegate( (yyvsp[(2) - (2)].asExpr), HB_COMP_PARAM ); ;}
|
||
break;
|
||
|
||
case 150:
|
||
#line 564 "macro.y"
|
||
{ (yyval.asExpr) = (yyvsp[(2) - (2)].asExpr); ;}
|
||
break;
|
||
|
||
case 151:
|
||
#line 567 "macro.y"
|
||
{ (yyval.asExpr) = hb_compExprAssign( (yyvsp[(1) - (3)].asExpr), (yyvsp[(3) - (3)].asExpr), HB_COMP_PARAM ); ;}
|
||
break;
|
||
|
||
case 152:
|
||
#line 568 "macro.y"
|
||
{ (yyval.asExpr) = hb_compExprAssign( (yyvsp[(1) - (3)].asExpr), (yyvsp[(3) - (3)].asExpr), HB_COMP_PARAM ); ;}
|
||
break;
|
||
|
||
case 153:
|
||
#line 569 "macro.y"
|
||
{ (yyval.asExpr) = hb_compExprAssign( (yyvsp[(1) - (3)].asExpr), (yyvsp[(3) - (3)].asExpr), HB_COMP_PARAM ); ;}
|
||
break;
|
||
|
||
case 154:
|
||
#line 570 "macro.y"
|
||
{ (yyval.asExpr) = hb_compExprAssign( (yyvsp[(1) - (3)].asExpr), (yyvsp[(3) - (3)].asExpr), HB_COMP_PARAM ); ;}
|
||
break;
|
||
|
||
case 155:
|
||
#line 571 "macro.y"
|
||
{ (yyval.asExpr) = hb_compExprAssign( (yyvsp[(1) - (3)].asExpr), (yyvsp[(3) - (3)].asExpr), HB_COMP_PARAM ); ;}
|
||
break;
|
||
|
||
case 156:
|
||
#line 572 "macro.y"
|
||
{ (yyval.asExpr) = hb_compExprAssign( (yyvsp[(1) - (3)].asExpr), (yyvsp[(3) - (3)].asExpr), HB_COMP_PARAM ); ;}
|
||
break;
|
||
|
||
case 157:
|
||
#line 573 "macro.y"
|
||
{ (yyval.asExpr) = hb_compExprAssign( (yyvsp[(1) - (3)].asExpr), (yyvsp[(3) - (3)].asExpr), HB_COMP_PARAM ); ;}
|
||
break;
|
||
|
||
case 158:
|
||
#line 574 "macro.y"
|
||
{ (yyval.asExpr) = hb_compExprAssign( (yyvsp[(1) - (3)].asExpr), (yyvsp[(3) - (3)].asExpr), HB_COMP_PARAM ); ;}
|
||
break;
|
||
|
||
case 159:
|
||
#line 575 "macro.y"
|
||
{ (yyval.asExpr) = hb_compExprAssign( (yyvsp[(1) - (3)].asExpr), (yyvsp[(3) - (3)].asExpr), HB_COMP_PARAM ); ;}
|
||
break;
|
||
|
||
case 160:
|
||
#line 576 "macro.y"
|
||
{ (yyval.asExpr) = hb_compExprAssign( (yyvsp[(1) - (3)].asExpr), (yyvsp[(3) - (3)].asExpr), HB_COMP_PARAM ); ;}
|
||
break;
|
||
|
||
case 161:
|
||
#line 577 "macro.y"
|
||
{ (yyval.asExpr) = hb_compExprAssign( (yyvsp[(1) - (3)].asExpr), (yyvsp[(3) - (3)].asExpr), HB_COMP_PARAM ); ;}
|
||
break;
|
||
|
||
case 162:
|
||
#line 578 "macro.y"
|
||
{ (yyval.asExpr) = hb_compExprAssign( (yyvsp[(1) - (3)].asExpr), (yyvsp[(3) - (3)].asExpr), HB_COMP_PARAM ); ;}
|
||
break;
|
||
|
||
case 163:
|
||
#line 579 "macro.y"
|
||
{ (yyval.asExpr) = hb_compExprAssign( (yyvsp[(1) - (3)].asExpr), (yyvsp[(3) - (3)].asExpr), HB_COMP_PARAM ); ;}
|
||
break;
|
||
|
||
case 164:
|
||
#line 580 "macro.y"
|
||
{ (yyval.asExpr) = hb_compExprAssign( (yyvsp[(1) - (3)].asExpr), (yyvsp[(3) - (3)].asExpr), HB_COMP_PARAM ); ;}
|
||
break;
|
||
|
||
case 165:
|
||
#line 581 "macro.y"
|
||
{ (yyval.asExpr) = hb_compExprAssign( (yyvsp[(1) - (3)].asExpr), (yyvsp[(3) - (3)].asExpr), HB_COMP_PARAM ); ;}
|
||
break;
|
||
|
||
case 166:
|
||
#line 582 "macro.y"
|
||
{ (yyval.asExpr) = hb_compExprAssign( (yyvsp[(1) - (3)].asExpr), (yyvsp[(3) - (3)].asExpr), HB_COMP_PARAM ); ;}
|
||
break;
|
||
|
||
case 167:
|
||
#line 583 "macro.y"
|
||
{ (yyval.asExpr) = hb_compExprAssign( (yyvsp[(1) - (3)].asExpr), (yyvsp[(3) - (3)].asExpr), HB_COMP_PARAM ); ;}
|
||
break;
|
||
|
||
case 168:
|
||
#line 584 "macro.y"
|
||
{ HB_MACRO_IFENABLED( (yyval.asExpr), hb_compExprAssign( (yyvsp[(1) - (3)].asExpr), (yyvsp[(3) - (3)].asExpr), HB_COMP_PARAM ), HB_SM_HARBOUR ); ;}
|
||
break;
|
||
|
||
case 169:
|
||
#line 585 "macro.y"
|
||
{ (yyval.asExpr) = hb_compExprAssign( (yyvsp[(1) - (3)].asExpr), (yyvsp[(3) - (3)].asExpr), HB_COMP_PARAM ); ;}
|
||
break;
|
||
|
||
case 170:
|
||
#line 588 "macro.y"
|
||
{ (yyval.asExpr) = hb_compExprSetOperand( hb_compExprNewPlusEq( (yyvsp[(1) - (3)].asExpr), HB_COMP_PARAM ), (yyvsp[(3) - (3)].asExpr), HB_COMP_PARAM ); ;}
|
||
break;
|
||
|
||
case 171:
|
||
#line 589 "macro.y"
|
||
{ (yyval.asExpr) = hb_compExprSetOperand( hb_compExprNewPlusEq( (yyvsp[(1) - (3)].asExpr), HB_COMP_PARAM ), (yyvsp[(3) - (3)].asExpr), HB_COMP_PARAM ); ;}
|
||
break;
|
||
|
||
case 172:
|
||
#line 590 "macro.y"
|
||
{ (yyval.asExpr) = hb_compExprSetOperand( hb_compExprNewPlusEq( (yyvsp[(1) - (3)].asExpr), HB_COMP_PARAM ), (yyvsp[(3) - (3)].asExpr), HB_COMP_PARAM ); ;}
|
||
break;
|
||
|
||
case 173:
|
||
#line 591 "macro.y"
|
||
{ (yyval.asExpr) = hb_compExprSetOperand( hb_compExprNewPlusEq( (yyvsp[(1) - (3)].asExpr), HB_COMP_PARAM ), (yyvsp[(3) - (3)].asExpr), HB_COMP_PARAM ); ;}
|
||
break;
|
||
|
||
case 174:
|
||
#line 592 "macro.y"
|
||
{ (yyval.asExpr) = hb_compExprSetOperand( hb_compExprNewPlusEq( (yyvsp[(1) - (3)].asExpr), HB_COMP_PARAM ), (yyvsp[(3) - (3)].asExpr), HB_COMP_PARAM ); ;}
|
||
break;
|
||
|
||
case 175:
|
||
#line 593 "macro.y"
|
||
{ (yyval.asExpr) = hb_compExprSetOperand( hb_compExprNewPlusEq( (yyvsp[(1) - (3)].asExpr), HB_COMP_PARAM ), (yyvsp[(3) - (3)].asExpr), HB_COMP_PARAM ); ;}
|
||
break;
|
||
|
||
case 176:
|
||
#line 594 "macro.y"
|
||
{ (yyval.asExpr) = hb_compExprSetOperand( hb_compExprNewPlusEq( (yyvsp[(1) - (3)].asExpr), HB_COMP_PARAM ), (yyvsp[(3) - (3)].asExpr), HB_COMP_PARAM ); ;}
|
||
break;
|
||
|
||
case 177:
|
||
#line 595 "macro.y"
|
||
{ (yyval.asExpr) = hb_compExprSetOperand( hb_compExprNewPlusEq( (yyvsp[(1) - (3)].asExpr), HB_COMP_PARAM ), (yyvsp[(3) - (3)].asExpr), HB_COMP_PARAM ); ;}
|
||
break;
|
||
|
||
case 178:
|
||
#line 596 "macro.y"
|
||
{ (yyval.asExpr) = hb_compExprSetOperand( hb_compExprNewPlusEq( (yyvsp[(1) - (3)].asExpr), HB_COMP_PARAM ), (yyvsp[(3) - (3)].asExpr), HB_COMP_PARAM ); ;}
|
||
break;
|
||
|
||
case 179:
|
||
#line 597 "macro.y"
|
||
{ (yyval.asExpr) = hb_compExprSetOperand( hb_compExprNewPlusEq( (yyvsp[(1) - (3)].asExpr), HB_COMP_PARAM ), (yyvsp[(3) - (3)].asExpr), HB_COMP_PARAM ); ;}
|
||
break;
|
||
|
||
case 180:
|
||
#line 598 "macro.y"
|
||
{ (yyval.asExpr) = hb_compExprSetOperand( hb_compExprNewPlusEq( (yyvsp[(1) - (3)].asExpr), HB_COMP_PARAM ), (yyvsp[(3) - (3)].asExpr), HB_COMP_PARAM ); ;}
|
||
break;
|
||
|
||
case 181:
|
||
#line 599 "macro.y"
|
||
{ (yyval.asExpr) = hb_compExprSetOperand( hb_compExprNewPlusEq( (yyvsp[(1) - (3)].asExpr), HB_COMP_PARAM ), (yyvsp[(3) - (3)].asExpr), HB_COMP_PARAM ); ;}
|
||
break;
|
||
|
||
case 182:
|
||
#line 600 "macro.y"
|
||
{ (yyval.asExpr) = hb_compExprSetOperand( hb_compExprNewPlusEq( (yyvsp[(1) - (3)].asExpr), HB_COMP_PARAM ), (yyvsp[(3) - (3)].asExpr), HB_COMP_PARAM ); ;}
|
||
break;
|
||
|
||
case 183:
|
||
#line 601 "macro.y"
|
||
{ (yyval.asExpr) = hb_compExprSetOperand( hb_compExprNewPlusEq( (yyvsp[(1) - (3)].asExpr), HB_COMP_PARAM ), (yyvsp[(3) - (3)].asExpr), HB_COMP_PARAM ); ;}
|
||
break;
|
||
|
||
case 184:
|
||
#line 602 "macro.y"
|
||
{ (yyval.asExpr) = hb_compExprSetOperand( hb_compExprNewPlusEq( (yyvsp[(1) - (3)].asExpr), HB_COMP_PARAM ), (yyvsp[(3) - (3)].asExpr), HB_COMP_PARAM ); ;}
|
||
break;
|
||
|
||
case 185:
|
||
#line 603 "macro.y"
|
||
{ (yyval.asExpr) = hb_compExprSetOperand( hb_compExprNewPlusEq( (yyvsp[(1) - (3)].asExpr), HB_COMP_PARAM ), (yyvsp[(3) - (3)].asExpr), HB_COMP_PARAM ); ;}
|
||
break;
|
||
|
||
case 186:
|
||
#line 604 "macro.y"
|
||
{ (yyval.asExpr) = hb_compExprSetOperand( hb_compExprNewPlusEq( (yyvsp[(1) - (3)].asExpr), HB_COMP_PARAM ), (yyvsp[(3) - (3)].asExpr), HB_COMP_PARAM ); ;}
|
||
break;
|
||
|
||
case 187:
|
||
#line 605 "macro.y"
|
||
{ (yyval.asExpr) = hb_compExprSetOperand( hb_compExprNewPlusEq( (yyvsp[(1) - (3)].asExpr), HB_COMP_PARAM ), (yyvsp[(3) - (3)].asExpr), HB_COMP_PARAM ); ;}
|
||
break;
|
||
|
||
case 188:
|
||
#line 606 "macro.y"
|
||
{ (yyval.asExpr) = hb_compExprSetOperand( hb_compExprNewPlusEq( (yyvsp[(1) - (3)].asExpr), HB_COMP_PARAM ), (yyvsp[(3) - (3)].asExpr), HB_COMP_PARAM ); ;}
|
||
break;
|
||
|
||
case 189:
|
||
#line 609 "macro.y"
|
||
{ (yyval.asExpr) = hb_compExprSetOperand( hb_compExprNewMinusEq( (yyvsp[(1) - (3)].asExpr), HB_COMP_PARAM ), (yyvsp[(3) - (3)].asExpr), HB_COMP_PARAM ); ;}
|
||
break;
|
||
|
||
case 190:
|
||
#line 610 "macro.y"
|
||
{ (yyval.asExpr) = hb_compExprSetOperand( hb_compExprNewMinusEq( (yyvsp[(1) - (3)].asExpr), HB_COMP_PARAM ), (yyvsp[(3) - (3)].asExpr), HB_COMP_PARAM ); ;}
|
||
break;
|
||
|
||
case 191:
|
||
#line 611 "macro.y"
|
||
{ (yyval.asExpr) = hb_compExprSetOperand( hb_compExprNewMinusEq( (yyvsp[(1) - (3)].asExpr), HB_COMP_PARAM ), (yyvsp[(3) - (3)].asExpr), HB_COMP_PARAM ); ;}
|
||
break;
|
||
|
||
case 192:
|
||
#line 612 "macro.y"
|
||
{ (yyval.asExpr) = hb_compExprSetOperand( hb_compExprNewMinusEq( (yyvsp[(1) - (3)].asExpr), HB_COMP_PARAM ), (yyvsp[(3) - (3)].asExpr), HB_COMP_PARAM ); ;}
|
||
break;
|
||
|
||
case 193:
|
||
#line 613 "macro.y"
|
||
{ (yyval.asExpr) = hb_compExprSetOperand( hb_compExprNewMinusEq( (yyvsp[(1) - (3)].asExpr), HB_COMP_PARAM ), (yyvsp[(3) - (3)].asExpr), HB_COMP_PARAM ); ;}
|
||
break;
|
||
|
||
case 194:
|
||
#line 614 "macro.y"
|
||
{ (yyval.asExpr) = hb_compExprSetOperand( hb_compExprNewMinusEq( (yyvsp[(1) - (3)].asExpr), HB_COMP_PARAM ), (yyvsp[(3) - (3)].asExpr), HB_COMP_PARAM ); ;}
|
||
break;
|
||
|
||
case 195:
|
||
#line 615 "macro.y"
|
||
{ (yyval.asExpr) = hb_compExprSetOperand( hb_compExprNewMinusEq( (yyvsp[(1) - (3)].asExpr), HB_COMP_PARAM ), (yyvsp[(3) - (3)].asExpr), HB_COMP_PARAM ); ;}
|
||
break;
|
||
|
||
case 196:
|
||
#line 616 "macro.y"
|
||
{ (yyval.asExpr) = hb_compExprSetOperand( hb_compExprNewMinusEq( (yyvsp[(1) - (3)].asExpr), HB_COMP_PARAM ), (yyvsp[(3) - (3)].asExpr), HB_COMP_PARAM ); ;}
|
||
break;
|
||
|
||
case 197:
|
||
#line 617 "macro.y"
|
||
{ (yyval.asExpr) = hb_compExprSetOperand( hb_compExprNewMinusEq( (yyvsp[(1) - (3)].asExpr), HB_COMP_PARAM ), (yyvsp[(3) - (3)].asExpr), HB_COMP_PARAM ); ;}
|
||
break;
|
||
|
||
case 198:
|
||
#line 618 "macro.y"
|
||
{ (yyval.asExpr) = hb_compExprSetOperand( hb_compExprNewMinusEq( (yyvsp[(1) - (3)].asExpr), HB_COMP_PARAM ), (yyvsp[(3) - (3)].asExpr), HB_COMP_PARAM ); ;}
|
||
break;
|
||
|
||
case 199:
|
||
#line 619 "macro.y"
|
||
{ (yyval.asExpr) = hb_compExprSetOperand( hb_compExprNewMinusEq( (yyvsp[(1) - (3)].asExpr), HB_COMP_PARAM ), (yyvsp[(3) - (3)].asExpr), HB_COMP_PARAM ); ;}
|
||
break;
|
||
|
||
case 200:
|
||
#line 620 "macro.y"
|
||
{ (yyval.asExpr) = hb_compExprSetOperand( hb_compExprNewMinusEq( (yyvsp[(1) - (3)].asExpr), HB_COMP_PARAM ), (yyvsp[(3) - (3)].asExpr), HB_COMP_PARAM ); ;}
|
||
break;
|
||
|
||
case 201:
|
||
#line 621 "macro.y"
|
||
{ (yyval.asExpr) = hb_compExprSetOperand( hb_compExprNewMinusEq( (yyvsp[(1) - (3)].asExpr), HB_COMP_PARAM ), (yyvsp[(3) - (3)].asExpr), HB_COMP_PARAM ); ;}
|
||
break;
|
||
|
||
case 202:
|
||
#line 622 "macro.y"
|
||
{ (yyval.asExpr) = hb_compExprSetOperand( hb_compExprNewMinusEq( (yyvsp[(1) - (3)].asExpr), HB_COMP_PARAM ), (yyvsp[(3) - (3)].asExpr), HB_COMP_PARAM ); ;}
|
||
break;
|
||
|
||
case 203:
|
||
#line 623 "macro.y"
|
||
{ (yyval.asExpr) = hb_compExprSetOperand( hb_compExprNewMinusEq( (yyvsp[(1) - (3)].asExpr), HB_COMP_PARAM ), (yyvsp[(3) - (3)].asExpr), HB_COMP_PARAM ); ;}
|
||
break;
|
||
|
||
case 204:
|
||
#line 624 "macro.y"
|
||
{ (yyval.asExpr) = hb_compExprSetOperand( hb_compExprNewMinusEq( (yyvsp[(1) - (3)].asExpr), HB_COMP_PARAM ), (yyvsp[(3) - (3)].asExpr), HB_COMP_PARAM ); ;}
|
||
break;
|
||
|
||
case 205:
|
||
#line 625 "macro.y"
|
||
{ (yyval.asExpr) = hb_compExprSetOperand( hb_compExprNewMinusEq( (yyvsp[(1) - (3)].asExpr), HB_COMP_PARAM ), (yyvsp[(3) - (3)].asExpr), HB_COMP_PARAM ); ;}
|
||
break;
|
||
|
||
case 206:
|
||
#line 626 "macro.y"
|
||
{ (yyval.asExpr) = hb_compExprSetOperand( hb_compExprNewMinusEq( (yyvsp[(1) - (3)].asExpr), HB_COMP_PARAM ), (yyvsp[(3) - (3)].asExpr), HB_COMP_PARAM ); ;}
|
||
break;
|
||
|
||
case 207:
|
||
#line 627 "macro.y"
|
||
{ (yyval.asExpr) = hb_compExprSetOperand( hb_compExprNewMinusEq( (yyvsp[(1) - (3)].asExpr), HB_COMP_PARAM ), (yyvsp[(3) - (3)].asExpr), HB_COMP_PARAM ); ;}
|
||
break;
|
||
|
||
case 208:
|
||
#line 630 "macro.y"
|
||
{ (yyval.asExpr) = hb_compExprSetOperand( hb_compExprNewMultEq( (yyvsp[(1) - (3)].asExpr), HB_COMP_PARAM ), (yyvsp[(3) - (3)].asExpr), HB_COMP_PARAM ); ;}
|
||
break;
|
||
|
||
case 209:
|
||
#line 631 "macro.y"
|
||
{ (yyval.asExpr) = hb_compExprSetOperand( hb_compExprNewMultEq( (yyvsp[(1) - (3)].asExpr), HB_COMP_PARAM ), (yyvsp[(3) - (3)].asExpr), HB_COMP_PARAM ); ;}
|
||
break;
|
||
|
||
case 210:
|
||
#line 632 "macro.y"
|
||
{ (yyval.asExpr) = hb_compExprSetOperand( hb_compExprNewMultEq( (yyvsp[(1) - (3)].asExpr), HB_COMP_PARAM ), (yyvsp[(3) - (3)].asExpr), HB_COMP_PARAM ); ;}
|
||
break;
|
||
|
||
case 211:
|
||
#line 633 "macro.y"
|
||
{ (yyval.asExpr) = hb_compExprSetOperand( hb_compExprNewMultEq( (yyvsp[(1) - (3)].asExpr), HB_COMP_PARAM ), (yyvsp[(3) - (3)].asExpr), HB_COMP_PARAM ); ;}
|
||
break;
|
||
|
||
case 212:
|
||
#line 634 "macro.y"
|
||
{ (yyval.asExpr) = hb_compExprSetOperand( hb_compExprNewMultEq( (yyvsp[(1) - (3)].asExpr), HB_COMP_PARAM ), (yyvsp[(3) - (3)].asExpr), HB_COMP_PARAM ); ;}
|
||
break;
|
||
|
||
case 213:
|
||
#line 635 "macro.y"
|
||
{ (yyval.asExpr) = hb_compExprSetOperand( hb_compExprNewMultEq( (yyvsp[(1) - (3)].asExpr), HB_COMP_PARAM ), (yyvsp[(3) - (3)].asExpr), HB_COMP_PARAM ); ;}
|
||
break;
|
||
|
||
case 214:
|
||
#line 636 "macro.y"
|
||
{ (yyval.asExpr) = hb_compExprSetOperand( hb_compExprNewMultEq( (yyvsp[(1) - (3)].asExpr), HB_COMP_PARAM ), (yyvsp[(3) - (3)].asExpr), HB_COMP_PARAM ); ;}
|
||
break;
|
||
|
||
case 215:
|
||
#line 637 "macro.y"
|
||
{ (yyval.asExpr) = hb_compExprSetOperand( hb_compExprNewMultEq( (yyvsp[(1) - (3)].asExpr), HB_COMP_PARAM ), (yyvsp[(3) - (3)].asExpr), HB_COMP_PARAM ); ;}
|
||
break;
|
||
|
||
case 216:
|
||
#line 638 "macro.y"
|
||
{ (yyval.asExpr) = hb_compExprSetOperand( hb_compExprNewMultEq( (yyvsp[(1) - (3)].asExpr), HB_COMP_PARAM ), (yyvsp[(3) - (3)].asExpr), HB_COMP_PARAM ); ;}
|
||
break;
|
||
|
||
case 217:
|
||
#line 639 "macro.y"
|
||
{ (yyval.asExpr) = hb_compExprSetOperand( hb_compExprNewMultEq( (yyvsp[(1) - (3)].asExpr), HB_COMP_PARAM ), (yyvsp[(3) - (3)].asExpr), HB_COMP_PARAM ); ;}
|
||
break;
|
||
|
||
case 218:
|
||
#line 640 "macro.y"
|
||
{ (yyval.asExpr) = hb_compExprSetOperand( hb_compExprNewMultEq( (yyvsp[(1) - (3)].asExpr), HB_COMP_PARAM ), (yyvsp[(3) - (3)].asExpr), HB_COMP_PARAM ); ;}
|
||
break;
|
||
|
||
case 219:
|
||
#line 641 "macro.y"
|
||
{ (yyval.asExpr) = hb_compExprSetOperand( hb_compExprNewMultEq( (yyvsp[(1) - (3)].asExpr), HB_COMP_PARAM ), (yyvsp[(3) - (3)].asExpr), HB_COMP_PARAM ); ;}
|
||
break;
|
||
|
||
case 220:
|
||
#line 642 "macro.y"
|
||
{ (yyval.asExpr) = hb_compExprSetOperand( hb_compExprNewMultEq( (yyvsp[(1) - (3)].asExpr), HB_COMP_PARAM ), (yyvsp[(3) - (3)].asExpr), HB_COMP_PARAM ); ;}
|
||
break;
|
||
|
||
case 221:
|
||
#line 643 "macro.y"
|
||
{ (yyval.asExpr) = hb_compExprSetOperand( hb_compExprNewMultEq( (yyvsp[(1) - (3)].asExpr), HB_COMP_PARAM ), (yyvsp[(3) - (3)].asExpr), HB_COMP_PARAM ); ;}
|
||
break;
|
||
|
||
case 222:
|
||
#line 644 "macro.y"
|
||
{ (yyval.asExpr) = hb_compExprSetOperand( hb_compExprNewMultEq( (yyvsp[(1) - (3)].asExpr), HB_COMP_PARAM ), (yyvsp[(3) - (3)].asExpr), HB_COMP_PARAM ); ;}
|
||
break;
|
||
|
||
case 223:
|
||
#line 645 "macro.y"
|
||
{ (yyval.asExpr) = hb_compExprSetOperand( hb_compExprNewMultEq( (yyvsp[(1) - (3)].asExpr), HB_COMP_PARAM ), (yyvsp[(3) - (3)].asExpr), HB_COMP_PARAM ); ;}
|
||
break;
|
||
|
||
case 224:
|
||
#line 646 "macro.y"
|
||
{ (yyval.asExpr) = hb_compExprSetOperand( hb_compExprNewMultEq( (yyvsp[(1) - (3)].asExpr), HB_COMP_PARAM ), (yyvsp[(3) - (3)].asExpr), HB_COMP_PARAM ); ;}
|
||
break;
|
||
|
||
case 225:
|
||
#line 647 "macro.y"
|
||
{ (yyval.asExpr) = hb_compExprSetOperand( hb_compExprNewMultEq( (yyvsp[(1) - (3)].asExpr), HB_COMP_PARAM ), (yyvsp[(3) - (3)].asExpr), HB_COMP_PARAM ); ;}
|
||
break;
|
||
|
||
case 226:
|
||
#line 648 "macro.y"
|
||
{ (yyval.asExpr) = hb_compExprSetOperand( hb_compExprNewMultEq( (yyvsp[(1) - (3)].asExpr), HB_COMP_PARAM ), (yyvsp[(3) - (3)].asExpr), HB_COMP_PARAM ); ;}
|
||
break;
|
||
|
||
case 227:
|
||
#line 651 "macro.y"
|
||
{ (yyval.asExpr) = hb_compExprSetOperand( hb_compExprNewDivEq( (yyvsp[(1) - (3)].asExpr), HB_COMP_PARAM ), (yyvsp[(3) - (3)].asExpr), HB_COMP_PARAM ); ;}
|
||
break;
|
||
|
||
case 228:
|
||
#line 652 "macro.y"
|
||
{ (yyval.asExpr) = hb_compExprSetOperand( hb_compExprNewDivEq( (yyvsp[(1) - (3)].asExpr), HB_COMP_PARAM ), (yyvsp[(3) - (3)].asExpr), HB_COMP_PARAM ); ;}
|
||
break;
|
||
|
||
case 229:
|
||
#line 653 "macro.y"
|
||
{ (yyval.asExpr) = hb_compExprSetOperand( hb_compExprNewDivEq( (yyvsp[(1) - (3)].asExpr), HB_COMP_PARAM ), (yyvsp[(3) - (3)].asExpr), HB_COMP_PARAM ); ;}
|
||
break;
|
||
|
||
case 230:
|
||
#line 654 "macro.y"
|
||
{ (yyval.asExpr) = hb_compExprSetOperand( hb_compExprNewDivEq( (yyvsp[(1) - (3)].asExpr), HB_COMP_PARAM ), (yyvsp[(3) - (3)].asExpr), HB_COMP_PARAM ); ;}
|
||
break;
|
||
|
||
case 231:
|
||
#line 655 "macro.y"
|
||
{ (yyval.asExpr) = hb_compExprSetOperand( hb_compExprNewDivEq( (yyvsp[(1) - (3)].asExpr), HB_COMP_PARAM ), (yyvsp[(3) - (3)].asExpr), HB_COMP_PARAM ); ;}
|
||
break;
|
||
|
||
case 232:
|
||
#line 656 "macro.y"
|
||
{ (yyval.asExpr) = hb_compExprSetOperand( hb_compExprNewDivEq( (yyvsp[(1) - (3)].asExpr), HB_COMP_PARAM ), (yyvsp[(3) - (3)].asExpr), HB_COMP_PARAM ); ;}
|
||
break;
|
||
|
||
case 233:
|
||
#line 657 "macro.y"
|
||
{ (yyval.asExpr) = hb_compExprSetOperand( hb_compExprNewDivEq( (yyvsp[(1) - (3)].asExpr), HB_COMP_PARAM ), (yyvsp[(3) - (3)].asExpr), HB_COMP_PARAM ); ;}
|
||
break;
|
||
|
||
case 234:
|
||
#line 658 "macro.y"
|
||
{ (yyval.asExpr) = hb_compExprSetOperand( hb_compExprNewDivEq( (yyvsp[(1) - (3)].asExpr), HB_COMP_PARAM ), (yyvsp[(3) - (3)].asExpr), HB_COMP_PARAM ); ;}
|
||
break;
|
||
|
||
case 235:
|
||
#line 659 "macro.y"
|
||
{ (yyval.asExpr) = hb_compExprSetOperand( hb_compExprNewDivEq( (yyvsp[(1) - (3)].asExpr), HB_COMP_PARAM ), (yyvsp[(3) - (3)].asExpr), HB_COMP_PARAM ); ;}
|
||
break;
|
||
|
||
case 236:
|
||
#line 660 "macro.y"
|
||
{ (yyval.asExpr) = hb_compExprSetOperand( hb_compExprNewDivEq( (yyvsp[(1) - (3)].asExpr), HB_COMP_PARAM ), (yyvsp[(3) - (3)].asExpr), HB_COMP_PARAM ); ;}
|
||
break;
|
||
|
||
case 237:
|
||
#line 661 "macro.y"
|
||
{ (yyval.asExpr) = hb_compExprSetOperand( hb_compExprNewDivEq( (yyvsp[(1) - (3)].asExpr), HB_COMP_PARAM ), (yyvsp[(3) - (3)].asExpr), HB_COMP_PARAM ); ;}
|
||
break;
|
||
|
||
case 238:
|
||
#line 662 "macro.y"
|
||
{ (yyval.asExpr) = hb_compExprSetOperand( hb_compExprNewDivEq( (yyvsp[(1) - (3)].asExpr), HB_COMP_PARAM ), (yyvsp[(3) - (3)].asExpr), HB_COMP_PARAM ); ;}
|
||
break;
|
||
|
||
case 239:
|
||
#line 663 "macro.y"
|
||
{ (yyval.asExpr) = hb_compExprSetOperand( hb_compExprNewDivEq( (yyvsp[(1) - (3)].asExpr), HB_COMP_PARAM ), (yyvsp[(3) - (3)].asExpr), HB_COMP_PARAM ); ;}
|
||
break;
|
||
|
||
case 240:
|
||
#line 664 "macro.y"
|
||
{ (yyval.asExpr) = hb_compExprSetOperand( hb_compExprNewDivEq( (yyvsp[(1) - (3)].asExpr), HB_COMP_PARAM ), (yyvsp[(3) - (3)].asExpr), HB_COMP_PARAM ); ;}
|
||
break;
|
||
|
||
case 241:
|
||
#line 665 "macro.y"
|
||
{ (yyval.asExpr) = hb_compExprSetOperand( hb_compExprNewDivEq( (yyvsp[(1) - (3)].asExpr), HB_COMP_PARAM ), (yyvsp[(3) - (3)].asExpr), HB_COMP_PARAM ); ;}
|
||
break;
|
||
|
||
case 242:
|
||
#line 666 "macro.y"
|
||
{ (yyval.asExpr) = hb_compExprSetOperand( hb_compExprNewDivEq( (yyvsp[(1) - (3)].asExpr), HB_COMP_PARAM ), (yyvsp[(3) - (3)].asExpr), HB_COMP_PARAM ); ;}
|
||
break;
|
||
|
||
case 243:
|
||
#line 667 "macro.y"
|
||
{ (yyval.asExpr) = hb_compExprSetOperand( hb_compExprNewDivEq( (yyvsp[(1) - (3)].asExpr), HB_COMP_PARAM ), (yyvsp[(3) - (3)].asExpr), HB_COMP_PARAM ); ;}
|
||
break;
|
||
|
||
case 244:
|
||
#line 668 "macro.y"
|
||
{ (yyval.asExpr) = hb_compExprSetOperand( hb_compExprNewDivEq( (yyvsp[(1) - (3)].asExpr), HB_COMP_PARAM ), (yyvsp[(3) - (3)].asExpr), HB_COMP_PARAM ); ;}
|
||
break;
|
||
|
||
case 245:
|
||
#line 669 "macro.y"
|
||
{ (yyval.asExpr) = hb_compExprSetOperand( hb_compExprNewDivEq( (yyvsp[(1) - (3)].asExpr), HB_COMP_PARAM ), (yyvsp[(3) - (3)].asExpr), HB_COMP_PARAM ); ;}
|
||
break;
|
||
|
||
case 246:
|
||
#line 672 "macro.y"
|
||
{ (yyval.asExpr) = hb_compExprSetOperand( hb_compExprNewModEq( (yyvsp[(1) - (3)].asExpr), HB_COMP_PARAM ), (yyvsp[(3) - (3)].asExpr), HB_COMP_PARAM ); ;}
|
||
break;
|
||
|
||
case 247:
|
||
#line 673 "macro.y"
|
||
{ (yyval.asExpr) = hb_compExprSetOperand( hb_compExprNewModEq( (yyvsp[(1) - (3)].asExpr), HB_COMP_PARAM ), (yyvsp[(3) - (3)].asExpr), HB_COMP_PARAM ); ;}
|
||
break;
|
||
|
||
case 248:
|
||
#line 674 "macro.y"
|
||
{ (yyval.asExpr) = hb_compExprSetOperand( hb_compExprNewModEq( (yyvsp[(1) - (3)].asExpr), HB_COMP_PARAM ), (yyvsp[(3) - (3)].asExpr), HB_COMP_PARAM ); ;}
|
||
break;
|
||
|
||
case 249:
|
||
#line 675 "macro.y"
|
||
{ (yyval.asExpr) = hb_compExprSetOperand( hb_compExprNewModEq( (yyvsp[(1) - (3)].asExpr), HB_COMP_PARAM ), (yyvsp[(3) - (3)].asExpr), HB_COMP_PARAM ); ;}
|
||
break;
|
||
|
||
case 250:
|
||
#line 676 "macro.y"
|
||
{ (yyval.asExpr) = hb_compExprSetOperand( hb_compExprNewModEq( (yyvsp[(1) - (3)].asExpr), HB_COMP_PARAM ), (yyvsp[(3) - (3)].asExpr), HB_COMP_PARAM ); ;}
|
||
break;
|
||
|
||
case 251:
|
||
#line 677 "macro.y"
|
||
{ (yyval.asExpr) = hb_compExprSetOperand( hb_compExprNewModEq( (yyvsp[(1) - (3)].asExpr), HB_COMP_PARAM ), (yyvsp[(3) - (3)].asExpr), HB_COMP_PARAM ); ;}
|
||
break;
|
||
|
||
case 252:
|
||
#line 678 "macro.y"
|
||
{ (yyval.asExpr) = hb_compExprSetOperand( hb_compExprNewModEq( (yyvsp[(1) - (3)].asExpr), HB_COMP_PARAM ), (yyvsp[(3) - (3)].asExpr), HB_COMP_PARAM ); ;}
|
||
break;
|
||
|
||
case 253:
|
||
#line 679 "macro.y"
|
||
{ (yyval.asExpr) = hb_compExprSetOperand( hb_compExprNewModEq( (yyvsp[(1) - (3)].asExpr), HB_COMP_PARAM ), (yyvsp[(3) - (3)].asExpr), HB_COMP_PARAM ); ;}
|
||
break;
|
||
|
||
case 254:
|
||
#line 680 "macro.y"
|
||
{ (yyval.asExpr) = hb_compExprSetOperand( hb_compExprNewModEq( (yyvsp[(1) - (3)].asExpr), HB_COMP_PARAM ), (yyvsp[(3) - (3)].asExpr), HB_COMP_PARAM ); ;}
|
||
break;
|
||
|
||
case 255:
|
||
#line 681 "macro.y"
|
||
{ (yyval.asExpr) = hb_compExprSetOperand( hb_compExprNewModEq( (yyvsp[(1) - (3)].asExpr), HB_COMP_PARAM ), (yyvsp[(3) - (3)].asExpr), HB_COMP_PARAM ); ;}
|
||
break;
|
||
|
||
case 256:
|
||
#line 682 "macro.y"
|
||
{ (yyval.asExpr) = hb_compExprSetOperand( hb_compExprNewModEq( (yyvsp[(1) - (3)].asExpr), HB_COMP_PARAM ), (yyvsp[(3) - (3)].asExpr), HB_COMP_PARAM ); ;}
|
||
break;
|
||
|
||
case 257:
|
||
#line 683 "macro.y"
|
||
{ (yyval.asExpr) = hb_compExprSetOperand( hb_compExprNewModEq( (yyvsp[(1) - (3)].asExpr), HB_COMP_PARAM ), (yyvsp[(3) - (3)].asExpr), HB_COMP_PARAM ); ;}
|
||
break;
|
||
|
||
case 258:
|
||
#line 684 "macro.y"
|
||
{ (yyval.asExpr) = hb_compExprSetOperand( hb_compExprNewModEq( (yyvsp[(1) - (3)].asExpr), HB_COMP_PARAM ), (yyvsp[(3) - (3)].asExpr), HB_COMP_PARAM ); ;}
|
||
break;
|
||
|
||
case 259:
|
||
#line 685 "macro.y"
|
||
{ (yyval.asExpr) = hb_compExprSetOperand( hb_compExprNewModEq( (yyvsp[(1) - (3)].asExpr), HB_COMP_PARAM ), (yyvsp[(3) - (3)].asExpr), HB_COMP_PARAM ); ;}
|
||
break;
|
||
|
||
case 260:
|
||
#line 686 "macro.y"
|
||
{ (yyval.asExpr) = hb_compExprSetOperand( hb_compExprNewModEq( (yyvsp[(1) - (3)].asExpr), HB_COMP_PARAM ), (yyvsp[(3) - (3)].asExpr), HB_COMP_PARAM ); ;}
|
||
break;
|
||
|
||
case 261:
|
||
#line 687 "macro.y"
|
||
{ (yyval.asExpr) = hb_compExprSetOperand( hb_compExprNewModEq( (yyvsp[(1) - (3)].asExpr), HB_COMP_PARAM ), (yyvsp[(3) - (3)].asExpr), HB_COMP_PARAM ); ;}
|
||
break;
|
||
|
||
case 262:
|
||
#line 688 "macro.y"
|
||
{ (yyval.asExpr) = hb_compExprSetOperand( hb_compExprNewModEq( (yyvsp[(1) - (3)].asExpr), HB_COMP_PARAM ), (yyvsp[(3) - (3)].asExpr), HB_COMP_PARAM ); ;}
|
||
break;
|
||
|
||
case 263:
|
||
#line 689 "macro.y"
|
||
{ (yyval.asExpr) = hb_compExprSetOperand( hb_compExprNewModEq( (yyvsp[(1) - (3)].asExpr), HB_COMP_PARAM ), (yyvsp[(3) - (3)].asExpr), HB_COMP_PARAM ); ;}
|
||
break;
|
||
|
||
case 264:
|
||
#line 690 "macro.y"
|
||
{ (yyval.asExpr) = hb_compExprSetOperand( hb_compExprNewModEq( (yyvsp[(1) - (3)].asExpr), HB_COMP_PARAM ), (yyvsp[(3) - (3)].asExpr), HB_COMP_PARAM ); ;}
|
||
break;
|
||
|
||
case 265:
|
||
#line 693 "macro.y"
|
||
{ (yyval.asExpr) = hb_compExprSetOperand( hb_compExprNewExpEq( (yyvsp[(1) - (3)].asExpr), HB_COMP_PARAM ), (yyvsp[(3) - (3)].asExpr), HB_COMP_PARAM ); ;}
|
||
break;
|
||
|
||
case 266:
|
||
#line 694 "macro.y"
|
||
{ (yyval.asExpr) = hb_compExprSetOperand( hb_compExprNewExpEq( (yyvsp[(1) - (3)].asExpr), HB_COMP_PARAM ), (yyvsp[(3) - (3)].asExpr), HB_COMP_PARAM ); ;}
|
||
break;
|
||
|
||
case 267:
|
||
#line 695 "macro.y"
|
||
{ (yyval.asExpr) = hb_compExprSetOperand( hb_compExprNewExpEq( (yyvsp[(1) - (3)].asExpr), HB_COMP_PARAM ), (yyvsp[(3) - (3)].asExpr), HB_COMP_PARAM ); ;}
|
||
break;
|
||
|
||
case 268:
|
||
#line 696 "macro.y"
|
||
{ (yyval.asExpr) = hb_compExprSetOperand( hb_compExprNewExpEq( (yyvsp[(1) - (3)].asExpr), HB_COMP_PARAM ), (yyvsp[(3) - (3)].asExpr), HB_COMP_PARAM ); ;}
|
||
break;
|
||
|
||
case 269:
|
||
#line 697 "macro.y"
|
||
{ (yyval.asExpr) = hb_compExprSetOperand( hb_compExprNewExpEq( (yyvsp[(1) - (3)].asExpr), HB_COMP_PARAM ), (yyvsp[(3) - (3)].asExpr), HB_COMP_PARAM ); ;}
|
||
break;
|
||
|
||
case 270:
|
||
#line 698 "macro.y"
|
||
{ (yyval.asExpr) = hb_compExprSetOperand( hb_compExprNewExpEq( (yyvsp[(1) - (3)].asExpr), HB_COMP_PARAM ), (yyvsp[(3) - (3)].asExpr), HB_COMP_PARAM ); ;}
|
||
break;
|
||
|
||
case 271:
|
||
#line 699 "macro.y"
|
||
{ (yyval.asExpr) = hb_compExprSetOperand( hb_compExprNewExpEq( (yyvsp[(1) - (3)].asExpr), HB_COMP_PARAM ), (yyvsp[(3) - (3)].asExpr), HB_COMP_PARAM ); ;}
|
||
break;
|
||
|
||
case 272:
|
||
#line 700 "macro.y"
|
||
{ (yyval.asExpr) = hb_compExprSetOperand( hb_compExprNewExpEq( (yyvsp[(1) - (3)].asExpr), HB_COMP_PARAM ), (yyvsp[(3) - (3)].asExpr), HB_COMP_PARAM ); ;}
|
||
break;
|
||
|
||
case 273:
|
||
#line 701 "macro.y"
|
||
{ (yyval.asExpr) = hb_compExprSetOperand( hb_compExprNewExpEq( (yyvsp[(1) - (3)].asExpr), HB_COMP_PARAM ), (yyvsp[(3) - (3)].asExpr), HB_COMP_PARAM ); ;}
|
||
break;
|
||
|
||
case 274:
|
||
#line 702 "macro.y"
|
||
{ (yyval.asExpr) = hb_compExprSetOperand( hb_compExprNewExpEq( (yyvsp[(1) - (3)].asExpr), HB_COMP_PARAM ), (yyvsp[(3) - (3)].asExpr), HB_COMP_PARAM ); ;}
|
||
break;
|
||
|
||
case 275:
|
||
#line 703 "macro.y"
|
||
{ (yyval.asExpr) = hb_compExprSetOperand( hb_compExprNewExpEq( (yyvsp[(1) - (3)].asExpr), HB_COMP_PARAM ), (yyvsp[(3) - (3)].asExpr), HB_COMP_PARAM ); ;}
|
||
break;
|
||
|
||
case 276:
|
||
#line 704 "macro.y"
|
||
{ (yyval.asExpr) = hb_compExprSetOperand( hb_compExprNewExpEq( (yyvsp[(1) - (3)].asExpr), HB_COMP_PARAM ), (yyvsp[(3) - (3)].asExpr), HB_COMP_PARAM ); ;}
|
||
break;
|
||
|
||
case 277:
|
||
#line 705 "macro.y"
|
||
{ (yyval.asExpr) = hb_compExprSetOperand( hb_compExprNewExpEq( (yyvsp[(1) - (3)].asExpr), HB_COMP_PARAM ), (yyvsp[(3) - (3)].asExpr), HB_COMP_PARAM ); ;}
|
||
break;
|
||
|
||
case 278:
|
||
#line 706 "macro.y"
|
||
{ (yyval.asExpr) = hb_compExprSetOperand( hb_compExprNewExpEq( (yyvsp[(1) - (3)].asExpr), HB_COMP_PARAM ), (yyvsp[(3) - (3)].asExpr), HB_COMP_PARAM ); ;}
|
||
break;
|
||
|
||
case 279:
|
||
#line 707 "macro.y"
|
||
{ (yyval.asExpr) = hb_compExprSetOperand( hb_compExprNewExpEq( (yyvsp[(1) - (3)].asExpr), HB_COMP_PARAM ), (yyvsp[(3) - (3)].asExpr), HB_COMP_PARAM ); ;}
|
||
break;
|
||
|
||
case 280:
|
||
#line 708 "macro.y"
|
||
{ (yyval.asExpr) = hb_compExprSetOperand( hb_compExprNewExpEq( (yyvsp[(1) - (3)].asExpr), HB_COMP_PARAM ), (yyvsp[(3) - (3)].asExpr), HB_COMP_PARAM ); ;}
|
||
break;
|
||
|
||
case 281:
|
||
#line 709 "macro.y"
|
||
{ (yyval.asExpr) = hb_compExprSetOperand( hb_compExprNewExpEq( (yyvsp[(1) - (3)].asExpr), HB_COMP_PARAM ), (yyvsp[(3) - (3)].asExpr), HB_COMP_PARAM ); ;}
|
||
break;
|
||
|
||
case 282:
|
||
#line 710 "macro.y"
|
||
{ (yyval.asExpr) = hb_compExprSetOperand( hb_compExprNewExpEq( (yyvsp[(1) - (3)].asExpr), HB_COMP_PARAM ), (yyvsp[(3) - (3)].asExpr), HB_COMP_PARAM ); ;}
|
||
break;
|
||
|
||
case 283:
|
||
#line 711 "macro.y"
|
||
{ (yyval.asExpr) = hb_compExprSetOperand( hb_compExprNewExpEq( (yyvsp[(1) - (3)].asExpr), HB_COMP_PARAM ), (yyvsp[(3) - (3)].asExpr), HB_COMP_PARAM ); ;}
|
||
break;
|
||
|
||
case 284:
|
||
#line 714 "macro.y"
|
||
{ (yyval.asExpr) = (yyvsp[(1) - (1)].asExpr); ;}
|
||
break;
|
||
|
||
case 285:
|
||
#line 715 "macro.y"
|
||
{ (yyval.asExpr) = (yyvsp[(1) - (1)].asExpr); ;}
|
||
break;
|
||
|
||
case 286:
|
||
#line 716 "macro.y"
|
||
{ (yyval.asExpr) = (yyvsp[(1) - (1)].asExpr); ;}
|
||
break;
|
||
|
||
case 287:
|
||
#line 717 "macro.y"
|
||
{ (yyval.asExpr) = (yyvsp[(1) - (1)].asExpr); ;}
|
||
break;
|
||
|
||
case 288:
|
||
#line 718 "macro.y"
|
||
{ (yyval.asExpr) = (yyvsp[(1) - (1)].asExpr); ;}
|
||
break;
|
||
|
||
case 289:
|
||
#line 719 "macro.y"
|
||
{ (yyval.asExpr) = (yyvsp[(1) - (1)].asExpr); ;}
|
||
break;
|
||
|
||
case 290:
|
||
#line 722 "macro.y"
|
||
{ (yyval.asExpr) = hb_compExprSetOperand( hb_compExprNewPlus( (yyvsp[(1) - (3)].asExpr), HB_COMP_PARAM ), (yyvsp[(3) - (3)].asExpr), HB_COMP_PARAM ); ;}
|
||
break;
|
||
|
||
case 291:
|
||
#line 723 "macro.y"
|
||
{ (yyval.asExpr) = hb_compExprSetOperand( hb_compExprNewMinus( (yyvsp[(1) - (3)].asExpr), HB_COMP_PARAM ), (yyvsp[(3) - (3)].asExpr), HB_COMP_PARAM ); ;}
|
||
break;
|
||
|
||
case 292:
|
||
#line 724 "macro.y"
|
||
{ (yyval.asExpr) = hb_compExprSetOperand( hb_compExprNewMult( (yyvsp[(1) - (3)].asExpr), HB_COMP_PARAM ), (yyvsp[(3) - (3)].asExpr), HB_COMP_PARAM ); ;}
|
||
break;
|
||
|
||
case 293:
|
||
#line 725 "macro.y"
|
||
{ (yyval.asExpr) = hb_compExprSetOperand( hb_compExprNewDiv( (yyvsp[(1) - (3)].asExpr), HB_COMP_PARAM ), (yyvsp[(3) - (3)].asExpr), HB_COMP_PARAM ); ;}
|
||
break;
|
||
|
||
case 294:
|
||
#line 726 "macro.y"
|
||
{ (yyval.asExpr) = hb_compExprSetOperand( hb_compExprNewMod( (yyvsp[(1) - (3)].asExpr), HB_COMP_PARAM ), (yyvsp[(3) - (3)].asExpr), HB_COMP_PARAM ); ;}
|
||
break;
|
||
|
||
case 295:
|
||
#line 727 "macro.y"
|
||
{ (yyval.asExpr) = hb_compExprSetOperand( hb_compExprNewPower( (yyvsp[(1) - (3)].asExpr), HB_COMP_PARAM ), (yyvsp[(3) - (3)].asExpr), HB_COMP_PARAM ); ;}
|
||
break;
|
||
|
||
case 296:
|
||
#line 730 "macro.y"
|
||
{ (yyval.asExpr) = hb_compExprSetOperand( hb_compExprNewAnd( (yyvsp[(1) - (3)].asExpr), HB_COMP_PARAM ), (yyvsp[(3) - (3)].asExpr), HB_COMP_PARAM ); ;}
|
||
break;
|
||
|
||
case 297:
|
||
#line 731 "macro.y"
|
||
{ (yyval.asExpr) = hb_compExprSetOperand( hb_compExprNewOr( (yyvsp[(1) - (3)].asExpr), HB_COMP_PARAM ), (yyvsp[(3) - (3)].asExpr), HB_COMP_PARAM ); ;}
|
||
break;
|
||
|
||
case 298:
|
||
#line 734 "macro.y"
|
||
{ (yyval.asExpr) = hb_compExprSetOperand( hb_compExprNewEQ( (yyvsp[(1) - (3)].asExpr), HB_COMP_PARAM ), (yyvsp[(3) - (3)].asExpr), HB_COMP_PARAM ); ;}
|
||
break;
|
||
|
||
case 299:
|
||
#line 735 "macro.y"
|
||
{ (yyval.asExpr) = hb_compExprSetOperand( hb_compExprNewLT( (yyvsp[(1) - (3)].asExpr), HB_COMP_PARAM ), (yyvsp[(3) - (3)].asExpr), HB_COMP_PARAM ); ;}
|
||
break;
|
||
|
||
case 300:
|
||
#line 736 "macro.y"
|
||
{ (yyval.asExpr) = hb_compExprSetOperand( hb_compExprNewGT( (yyvsp[(1) - (3)].asExpr), HB_COMP_PARAM ), (yyvsp[(3) - (3)].asExpr), HB_COMP_PARAM ); ;}
|
||
break;
|
||
|
||
case 301:
|
||
#line 737 "macro.y"
|
||
{ (yyval.asExpr) = hb_compExprSetOperand( hb_compExprNewLE( (yyvsp[(1) - (3)].asExpr), HB_COMP_PARAM ), (yyvsp[(3) - (3)].asExpr), HB_COMP_PARAM ); ;}
|
||
break;
|
||
|
||
case 302:
|
||
#line 738 "macro.y"
|
||
{ (yyval.asExpr) = hb_compExprSetOperand( hb_compExprNewGE( (yyvsp[(1) - (3)].asExpr), HB_COMP_PARAM ), (yyvsp[(3) - (3)].asExpr), HB_COMP_PARAM ); ;}
|
||
break;
|
||
|
||
case 303:
|
||
#line 739 "macro.y"
|
||
{ (yyval.asExpr) = hb_compExprSetOperand( hb_compExprNewNE( (yyvsp[(1) - (3)].asExpr), HB_COMP_PARAM ), (yyvsp[(3) - (3)].asExpr), HB_COMP_PARAM ); ;}
|
||
break;
|
||
|
||
case 304:
|
||
#line 740 "macro.y"
|
||
{ (yyval.asExpr) = hb_compExprSetOperand( hb_compExprNewNE( (yyvsp[(1) - (3)].asExpr), HB_COMP_PARAM ), (yyvsp[(3) - (3)].asExpr), HB_COMP_PARAM ); ;}
|
||
break;
|
||
|
||
case 305:
|
||
#line 741 "macro.y"
|
||
{ (yyval.asExpr) = hb_compExprSetOperand( hb_compExprNewIN( (yyvsp[(1) - (3)].asExpr), HB_COMP_PARAM ), (yyvsp[(3) - (3)].asExpr), HB_COMP_PARAM ); ;}
|
||
break;
|
||
|
||
case 306:
|
||
#line 742 "macro.y"
|
||
{ (yyval.asExpr) = hb_compExprSetOperand( hb_compExprNewEqual( (yyvsp[(1) - (3)].asExpr), HB_COMP_PARAM ), (yyvsp[(3) - (3)].asExpr), HB_COMP_PARAM ); ;}
|
||
break;
|
||
|
||
case 307:
|
||
#line 745 "macro.y"
|
||
{ (yyval.asExpr) = (yyvsp[(1) - (2)].asExpr); ;}
|
||
break;
|
||
|
||
case 308:
|
||
#line 751 "macro.y"
|
||
{ (yyval.asExpr) = hb_compExprNewArrayAt( (yyvsp[(0) - (2)].asExpr), (yyvsp[(2) - (2)].asExpr), HB_COMP_PARAM ); ;}
|
||
break;
|
||
|
||
case 309:
|
||
#line 752 "macro.y"
|
||
{ (yyval.asExpr) = hb_compExprNewArrayAt( (yyvsp[(1) - (3)].asExpr), (yyvsp[(3) - (3)].asExpr), HB_COMP_PARAM ); ;}
|
||
break;
|
||
|
||
case 310:
|
||
#line 753 "macro.y"
|
||
{ (yyval.asExpr) = hb_compExprNewArrayAt( (yyvsp[(1) - (4)].asExpr), (yyvsp[(4) - (4)].asExpr), HB_COMP_PARAM ); ;}
|
||
break;
|
||
|
||
case 311:
|
||
#line 756 "macro.y"
|
||
{ (yyval.asExpr) = hb_compExprNewList( (yyvsp[(1) - (1)].asExpr), HB_COMP_PARAM ); ;}
|
||
break;
|
||
|
||
case 312:
|
||
#line 757 "macro.y"
|
||
{ (yyval.asExpr) = hb_compExprAddListExpr( (yyvsp[(1) - (3)].asExpr), (yyvsp[(3) - (3)].asExpr) ); ;}
|
||
break;
|
||
|
||
case 313:
|
||
#line 761 "macro.y"
|
||
{ (yyval.asExpr) = hb_compExprNewCodeBlock( NULL, 0, 0, HB_COMP_PARAM ); ;}
|
||
break;
|
||
|
||
case 314:
|
||
#line 763 "macro.y"
|
||
{ (yyval.asExpr) = (yyvsp[(3) - (7)].asExpr); ;}
|
||
break;
|
||
|
||
case 315:
|
||
#line 765 "macro.y"
|
||
{ (yyval.asExpr) = hb_compExprNewCodeBlock( NULL, 0, 0, HB_COMP_PARAM ); ;}
|
||
break;
|
||
|
||
case 316:
|
||
#line 768 "macro.y"
|
||
{ (yyval.asExpr) = (yyvsp[(3) - (7)].asExpr); ;}
|
||
break;
|
||
|
||
case 317:
|
||
#line 773 "macro.y"
|
||
{ (yyval.asExpr) = hb_compExprAddCodeblockExpr( (yyvsp[(-2) - (1)].asExpr), (yyvsp[(1) - (1)].asExpr) ); ;}
|
||
break;
|
||
|
||
case 318:
|
||
#line 774 "macro.y"
|
||
{ (yyval.asExpr) = hb_compExprAddCodeblockExpr( (yyvsp[(-2) - (3)].asExpr), (yyvsp[(3) - (3)].asExpr) ); ;}
|
||
break;
|
||
|
||
case 319:
|
||
#line 780 "macro.y"
|
||
{ (yyval.asExpr) = NULL; ;}
|
||
break;
|
||
|
||
case 320:
|
||
#line 783 "macro.y"
|
||
{ (yyval.asExpr) = hb_compExprCBVarAdd( (yyvsp[(0) - (1)].asExpr), (yyvsp[(1) - (1)].string), ' ', HB_COMP_PARAM ); ;}
|
||
break;
|
||
|
||
case 321:
|
||
#line 784 "macro.y"
|
||
{ (yyval.asExpr) = hb_compExprCBVarAdd( (yyvsp[(0) - (3)].asExpr), (yyvsp[(3) - (3)].string), ' ', HB_COMP_PARAM ); HB_MACRO_CHECK( (yyval.asExpr) ); ;}
|
||
break;
|
||
|
||
case 322:
|
||
#line 787 "macro.y"
|
||
{ (yyval.asExpr) = hb_compExprNewList( (yyvsp[(2) - (2)].asExpr), HB_COMP_PARAM ); ;}
|
||
break;
|
||
|
||
case 323:
|
||
#line 788 "macro.y"
|
||
{ (yyval.asExpr) = hb_compExprAddListExpr( (yyvsp[(1) - (3)].asExpr), (yyvsp[(3) - (3)].asExpr) ); ;}
|
||
break;
|
||
|
||
case 324:
|
||
#line 791 "macro.y"
|
||
{ (yyval.asExpr) = (yyvsp[(1) - (2)].asExpr); ;}
|
||
break;
|
||
|
||
case 325:
|
||
#line 794 "macro.y"
|
||
{ (yyval.asExpr) = (yyvsp[(1) - (2)].asExpr); ;}
|
||
break;
|
||
|
||
case 326:
|
||
#line 798 "macro.y"
|
||
{ (yyval.asExpr) = hb_compExprAddListExpr( hb_compExprNewList( (yyvsp[(3) - (6)].asExpr), HB_COMP_PARAM ), (yyvsp[(5) - (6)].asExpr) ); ;}
|
||
break;
|
||
|
||
case 327:
|
||
#line 800 "macro.y"
|
||
{ (yyval.asExpr) = hb_compExprNewIIF( hb_compExprAddListExpr( (yyvsp[(7) - (9)].asExpr), (yyvsp[(8) - (9)].asExpr) ), HB_COMP_PARAM ); ;}
|
||
break;
|
||
|
||
case 328:
|
||
#line 803 "macro.y"
|
||
{ (yyval.asExpr) = hb_compExprAddListExpr( hb_compExprNewList( (yyvsp[(3) - (6)].asExpr), HB_COMP_PARAM ), (yyvsp[(5) - (6)].asExpr) ); ;}
|
||
break;
|
||
|
||
case 329:
|
||
#line 805 "macro.y"
|
||
{ (yyval.asExpr) = hb_compExprNewIIF( hb_compExprAddListExpr( (yyvsp[(7) - (9)].asExpr), (yyvsp[(8) - (9)].asExpr) ), HB_COMP_PARAM ); ;}
|
||
break;
|
||
|
||
|
||
/* Line 1267 of yacc.c. */
|
||
#line 3907 "macroy.c"
|
||
default: break;
|
||
}
|
||
YY_SYMBOL_PRINT ("-> $$ =", yyr1[yyn], &yyval, &yyloc);
|
||
|
||
YYPOPSTACK (yylen);
|
||
yylen = 0;
|
||
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
|
||
yyerror (pMacro, YY_("syntax error"));
|
||
#else
|
||
{
|
||
YYSIZE_T yysize = yysyntax_error (0, yystate, yychar);
|
||
if (yymsg_alloc < yysize && yymsg_alloc < YYSTACK_ALLOC_MAXIMUM)
|
||
{
|
||
YYSIZE_T yyalloc = 2 * yysize;
|
||
if (! (yysize <= yyalloc && yyalloc <= YYSTACK_ALLOC_MAXIMUM))
|
||
yyalloc = YYSTACK_ALLOC_MAXIMUM;
|
||
if (yymsg != yymsgbuf)
|
||
YYSTACK_FREE (yymsg);
|
||
yymsg = (char *) YYSTACK_ALLOC (yyalloc);
|
||
if (yymsg)
|
||
yymsg_alloc = yyalloc;
|
||
else
|
||
{
|
||
yymsg = yymsgbuf;
|
||
yymsg_alloc = sizeof yymsgbuf;
|
||
}
|
||
}
|
||
|
||
if (0 < yysize && yysize <= yymsg_alloc)
|
||
{
|
||
(void) yysyntax_error (yymsg, yystate, yychar);
|
||
yyerror (pMacro, yymsg);
|
||
}
|
||
else
|
||
{
|
||
yyerror (pMacro, YY_("syntax error"));
|
||
if (yysize != 0)
|
||
goto yyexhaustedlab;
|
||
}
|
||
}
|
||
#endif
|
||
}
|
||
|
||
|
||
|
||
if (yyerrstatus == 3)
|
||
{
|
||
/* If just tried and failed to reuse look-ahead token after an
|
||
error, discard it. */
|
||
|
||
if (yychar <= YYEOF)
|
||
{
|
||
/* Return failure if at end of input. */
|
||
if (yychar == YYEOF)
|
||
YYABORT;
|
||
}
|
||
else
|
||
{
|
||
yydestruct ("Error: discarding",
|
||
yytoken, &yylval, pMacro);
|
||
yychar = YYEMPTY;
|
||
}
|
||
}
|
||
|
||
/* Else will try to reuse look-ahead token after shifting the error
|
||
token. */
|
||
goto yyerrlab1;
|
||
|
||
|
||
/*---------------------------------------------------.
|
||
| yyerrorlab -- error raised explicitly by YYERROR. |
|
||
`---------------------------------------------------*/
|
||
yyerrorlab:
|
||
|
||
/* Pacify compilers like GCC when the user code never invokes
|
||
YYERROR and the label yyerrorlab therefore never appears in user
|
||
code. */
|
||
if (/*CONSTCOND*/ 0)
|
||
goto yyerrorlab;
|
||
|
||
/* Do not reclaim the symbols of the rule which action triggered
|
||
this YYERROR. */
|
||
YYPOPSTACK (yylen);
|
||
yylen = 0;
|
||
YY_STACK_PRINT (yyss, yyssp);
|
||
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, pMacro);
|
||
YYPOPSTACK (1);
|
||
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:
|
||
yyresult = 1;
|
||
goto yyreturn;
|
||
|
||
#ifndef yyoverflow
|
||
/*-------------------------------------------------.
|
||
| yyexhaustedlab -- memory exhaustion comes here. |
|
||
`-------------------------------------------------*/
|
||
yyexhaustedlab:
|
||
yyerror (pMacro, YY_("memory exhausted"));
|
||
yyresult = 2;
|
||
/* Fall through. */
|
||
#endif
|
||
|
||
yyreturn:
|
||
if (yychar != YYEOF && yychar != YYEMPTY)
|
||
yydestruct ("Cleanup: discarding lookahead",
|
||
yytoken, &yylval, pMacro);
|
||
/* Do not reclaim the symbols of the rule which action triggered
|
||
this YYABORT or YYACCEPT. */
|
||
YYPOPSTACK (yylen);
|
||
YY_STACK_PRINT (yyss, yyssp);
|
||
while (yyssp != yyss)
|
||
{
|
||
yydestruct ("Cleanup: popping",
|
||
yystos[*yyssp], yyvsp, pMacro);
|
||
YYPOPSTACK (1);
|
||
}
|
||
#ifndef yyoverflow
|
||
if (yyss != yyssa)
|
||
YYSTACK_FREE (yyss);
|
||
#endif
|
||
#if YYERROR_VERBOSE
|
||
if (yymsg != yymsgbuf)
|
||
YYSTACK_FREE (yymsg);
|
||
#endif
|
||
/* Make sure YYID is used. */
|
||
return YYID (yyresult);
|
||
}
|
||
|
||
|
||
#line 808 "macro.y"
|
||
|
||
|
||
#ifdef __WATCOMC__
|
||
/* enable warnings for unreachable code */
|
||
#pragma warning 13 1
|
||
#endif
|
||
|
||
|
||
/*
|
||
** ------------------------------------------------------------------------ **
|
||
*/
|
||
|
||
void yyerror( HB_MACRO_PTR pMacro, char * s )
|
||
{
|
||
HB_SYMBOL_UNUSED( pMacro );
|
||
HB_SYMBOL_UNUSED( s );
|
||
}
|
||
|
||
/* ************************************************************************* */
|
||
|
||
typedef struct HB_MEXPR_
|
||
{
|
||
HB_EXPR Expression;
|
||
struct HB_MEXPR_ *pPrev;
|
||
}
|
||
HB_MEXPR, * HB_MEXPR_PTR;
|
||
|
||
typedef struct HB_MIDENT_
|
||
{
|
||
char * Identifier;
|
||
struct HB_MIDENT_ *pPrev;
|
||
}
|
||
HB_MIDENT, * HB_MIDENT_PTR;
|
||
|
||
/* Allocates memory for Expression holder structure and stores it
|
||
* on the linked list
|
||
*/
|
||
HB_EXPR_PTR hb_macroExprNew( HB_COMP_DECL )
|
||
{
|
||
HB_MEXPR_PTR pMExpr = ( HB_MEXPR_PTR ) hb_xgrab( sizeof( HB_MEXPR ) );
|
||
pMExpr->pPrev = ( HB_MEXPR_PTR ) HB_MACRO_DATA->pExprLst;
|
||
HB_MACRO_DATA->pExprLst = ( void * ) pMExpr;
|
||
return &pMExpr->Expression;
|
||
}
|
||
|
||
static void hb_macroIdentNew( HB_COMP_DECL, char * szIdent )
|
||
{
|
||
HB_MIDENT_PTR pMIdent = ( HB_MIDENT_PTR ) hb_xgrab( sizeof( HB_MIDENT ) );
|
||
pMIdent->Identifier = szIdent;
|
||
pMIdent->pPrev = ( HB_MIDENT_PTR ) HB_MACRO_DATA->pIdentLst;
|
||
HB_MACRO_DATA->pIdentLst = ( void * ) pMIdent;
|
||
}
|
||
|
||
/* Deallocate all memory used by expression optimizer */
|
||
static void hb_macroLstFree( HB_MACRO_PTR pMacro )
|
||
{
|
||
if( pMacro->pExprLst )
|
||
{
|
||
HB_MEXPR_PTR pMExpr = ( HB_MEXPR_PTR ) pMacro->pExprLst;
|
||
do
|
||
{
|
||
hb_compExprDelete( &pMExpr->Expression, pMacro );
|
||
pMExpr = pMExpr->pPrev;
|
||
}
|
||
while( pMExpr );
|
||
do
|
||
{
|
||
pMExpr = ( HB_MEXPR_PTR ) pMacro->pExprLst;
|
||
pMacro->pExprLst = ( void * ) pMExpr->pPrev;
|
||
hb_xfree( pMExpr );
|
||
}
|
||
while( pMacro->pExprLst );
|
||
}
|
||
|
||
while( pMacro->pIdentLst )
|
||
{
|
||
HB_MIDENT_PTR pMIdent = ( HB_MIDENT_PTR ) HB_MACRO_DATA->pIdentLst;;
|
||
HB_MACRO_DATA->pIdentLst = ( void * ) pMIdent->pPrev;
|
||
hb_xfree( pMIdent->Identifier );
|
||
hb_xfree( pMIdent );
|
||
}
|
||
}
|
||
|
||
int hb_macroYYParse( HB_MACRO_PTR pMacro )
|
||
{
|
||
int iResult;
|
||
|
||
if( hb_macroLexNew( pMacro ) )
|
||
{
|
||
pMacro->status = HB_MACRO_CONT;
|
||
pMacro->pExprLst = NULL;
|
||
pMacro->pIdentLst = NULL;
|
||
|
||
iResult = yyparse( pMacro );
|
||
|
||
hb_macroLstFree( pMacro );
|
||
hb_macroLexDelete( pMacro );
|
||
}
|
||
else
|
||
iResult = HB_MACRO_FAILURE;
|
||
|
||
return iResult;
|
||
}
|
||
|
||
|
||
#if defined( HB_MACRO_PPLEX )
|
||
|
||
/* it's an example of PP token translator which change tokens generated by
|
||
PP into terminal symbols used by our grammar parser generated by Bison */
|
||
BOOL hb_macroLexNew( HB_MACRO_PTR pMacro )
|
||
{
|
||
pMacro->pLex = ( void * ) hb_pp_lexNew( pMacro->string, pMacro->length );
|
||
return pMacro->pLex != NULL;
|
||
}
|
||
|
||
void hb_macroLexDelete( HB_MACRO_PTR pMacro )
|
||
{
|
||
if( pMacro->pLex )
|
||
{
|
||
hb_pp_free( ( PHB_PP_STATE ) pMacro->pLex );
|
||
pMacro->pLex = NULL;
|
||
}
|
||
}
|
||
|
||
int hb_macrolex( YYSTYPE *yylval_ptr, HB_MACRO_PTR pMacro )
|
||
{
|
||
PHB_PP_TOKEN pToken = hb_pp_lexGet( ( PHB_PP_STATE ) pMacro->pLex );
|
||
|
||
if( !pToken )
|
||
return 0;
|
||
|
||
switch( HB_PP_TOKEN_TYPE( pToken->type ) )
|
||
{
|
||
case HB_PP_TOKEN_KEYWORD:
|
||
if( pToken->len >= 4 && pToken->len <= 6 &&
|
||
( hb_strnicmp( "_FILED", pToken->value, pToken->len ) == 0 ||
|
||
hb_strnicmp( "FILED", pToken->value, pToken->len ) == 0 ) )
|
||
return FIELD;
|
||
else if( pToken->len == 3 && hb_stricmp( "IIF", pToken->value ) == 0 )
|
||
return IIF;
|
||
else if( pToken->len == 2 && hb_stricmp( "IF", pToken->value ) == 0 )
|
||
return IF;
|
||
else if( pToken->len == 3 && hb_stricmp( "NIL", pToken->value ) == 0 )
|
||
return NIL;
|
||
|
||
hb_pp_tokenUpper( pToken );
|
||
yylval_ptr->string = pToken->value;
|
||
return IDENTIFIER;
|
||
|
||
case HB_PP_TOKEN_MACROVAR:
|
||
hb_pp_tokenUpper( pToken );
|
||
yylval_ptr->string = pToken->value;
|
||
return MACROVAR;
|
||
|
||
case HB_PP_TOKEN_MACROTEXT:
|
||
hb_pp_tokenUpper( pToken );
|
||
yylval_ptr->string = pToken->value;
|
||
return MACROTEXT;
|
||
|
||
case HB_PP_TOKEN_NUMBER:
|
||
{
|
||
HB_LONG lNumber;
|
||
double dNumber;
|
||
int iDec, iWidth;
|
||
|
||
if( hb_compStrToNum( pToken->value, pToken->len, &lNumber, &dNumber, &iDec, &iWidth ) )
|
||
{
|
||
yylval_ptr->valDouble.dNumber = dNumber;
|
||
yylval_ptr->valDouble.bDec = ( UCHAR ) iDec;
|
||
yylval_ptr->valDouble.bWidth = ( UCHAR ) iWidth;
|
||
return NUM_DOUBLE;
|
||
}
|
||
else
|
||
{
|
||
yylval_ptr->valLong.lNumber = lNumber;
|
||
yylval_ptr->valLong.bWidth = ( UCHAR ) iWidth;
|
||
return NUM_LONG;
|
||
}
|
||
}
|
||
case HB_PP_TOKEN_DATE:
|
||
if( pToken->len == 10 )
|
||
{
|
||
int year, month, day;
|
||
hb_dateStrGet( pToken->value + 2, &year, &month, &day );
|
||
yylval_ptr->valLong.lNumber = hb_dateEncode( year, month, day );
|
||
}
|
||
else
|
||
yylval_ptr->valLong.lNumber = 0;
|
||
return NUM_DATE;
|
||
|
||
case HB_PP_TOKEN_STRING:
|
||
yylval_ptr->valChar.string = pToken->value;
|
||
yylval_ptr->valChar.length = pToken->len;
|
||
return LITERAL;
|
||
|
||
case HB_PP_TOKEN_LOGICAL:
|
||
return pToken->value[ 1 ] == 'T' ? TRUEVALUE : FALSEVALUE;
|
||
|
||
case HB_PP_TOKEN_HASH:
|
||
case HB_PP_TOKEN_DIRECTIVE:
|
||
return NE1;
|
||
|
||
case HB_PP_TOKEN_NE:
|
||
return NE2;
|
||
|
||
case HB_PP_TOKEN_ASSIGN:
|
||
return INASSIGN;
|
||
|
||
case HB_PP_TOKEN_EQUAL:
|
||
return EQ;
|
||
|
||
case HB_PP_TOKEN_INC:
|
||
return INC;
|
||
|
||
case HB_PP_TOKEN_DEC:
|
||
return DEC;
|
||
|
||
case HB_PP_TOKEN_ALIAS:
|
||
return ALIASOP;
|
||
|
||
case HB_PP_TOKEN_LE:
|
||
return LE;
|
||
|
||
case HB_PP_TOKEN_GE:
|
||
return GE;
|
||
|
||
case HB_PP_TOKEN_PLUSEQ:
|
||
return PLUSEQ;
|
||
|
||
case HB_PP_TOKEN_MINUSEQ:
|
||
return MINUSEQ;
|
||
|
||
case HB_PP_TOKEN_MULTEQ:
|
||
return MULTEQ;
|
||
|
||
case HB_PP_TOKEN_DIVEQ:
|
||
return DIVEQ;
|
||
|
||
case HB_PP_TOKEN_MODEQ:
|
||
return MODEQ;
|
||
|
||
case HB_PP_TOKEN_EXPEQ:
|
||
return EXPEQ;
|
||
|
||
case HB_PP_TOKEN_POWER:
|
||
return POWER;
|
||
|
||
case HB_PP_TOKEN_AND:
|
||
return AND;
|
||
|
||
case HB_PP_TOKEN_OR:
|
||
return OR;
|
||
|
||
case HB_PP_TOKEN_NOT:
|
||
return NOT;
|
||
|
||
default:
|
||
return pToken->value[ 0 ];
|
||
}
|
||
}
|
||
|
||
#endif /* HB_MACRO_PPLEX */
|
||
|