Commit 2af14913 authored by Uwe Schulzweida's avatar Uwe Schulzweida
Browse files

expr update

parent e93068c4
......@@ -1020,8 +1020,7 @@ nodeType *expr_run(nodeType *p, parse_parm_t *parse_arg)
{
expr_run(p->u.fun.op, parse_arg);
if ( parse_arg->debug ) printf("\tcall \t%s\n", p->u.fun.name);
if ( parse_arg->debug ) printf("\tcall \t%s\n", p->u.fun.name);
}
else
{
......
......@@ -8,8 +8,8 @@
#define FLEX_SCANNER
#define YY_FLEX_MAJOR_VERSION 2
#define YY_FLEX_MINOR_VERSION 5
#define YY_FLEX_SUBMINOR_VERSION 37
#define YY_FLEX_MINOR_VERSION 6
#define YY_FLEX_SUBMINOR_VERSION 0
#if YY_FLEX_SUBMINOR_VERSION > 0
#define FLEX_BETA
#endif
......@@ -159,7 +159,15 @@ typedef void* yyscan_t;
/* Size of default input buffer. */
#ifndef YY_BUF_SIZE
#ifdef __ia64__
/* On IA-64, the buffer size is 16k, not 8k.
* Moreover, YY_BUF_SIZE is 2*YY_READ_BUF_SIZE in the general case.
* Ditto for the __ia64__ case accordingly.
*/
#define YY_BUF_SIZE 32768
#else
#define YY_BUF_SIZE 16384
#endif /* __ia64__ */
#endif
/* The state buf must be large enough to hold one state per character in the main buffer.
......@@ -181,6 +189,7 @@ typedef size_t yy_size_t;
#define EOB_ACT_LAST_MATCH 2
#define YY_LESS_LINENO(n)
#define YY_LINENO_REWIND_TO(ptr)
/* Return all but the first "n" matched characters back to the input stream. */
#define yyless(n) \
......@@ -326,7 +335,7 @@ void yyfree (void * ,yyscan_t yyscanner );
/* Begin user sect3 */
#define yywrap(yyscanner) 1
#define yywrap(yyscanner) (/*CONSTCOND*/1)
#define YY_SKIP_YYWRAP
typedef unsigned char YY_CHAR;
......@@ -338,6 +347,9 @@ typedef int yy_state_type;
static yy_state_type yy_get_previous_state (yyscan_t yyscanner );
static yy_state_type yy_try_NUL_trans (yy_state_type current_state ,yyscan_t yyscanner);
static int yy_get_next_buffer (yyscan_t yyscanner );
#if defined(__GNUC__) && __GNUC__ >= 3
__attribute__((__noreturn__))
#endif
static void yy_fatal_error (yyconst char msg[] ,yyscan_t yyscanner );
/* Done after the current pattern has been matched and before the
......@@ -350,8 +362,8 @@ static void yy_fatal_error (yyconst char msg[] ,yyscan_t yyscanner );
*yy_cp = '\0'; \
yyg->yy_c_buf_p = yy_cp;
#define YY_NUM_RULES 17
#define YY_END_OF_BUFFER 18
#define YY_NUM_RULES 19
#define YY_END_OF_BUFFER 20
/* This struct is not used in this scanner,
but its presence is necessary. */
struct yy_trans_info
......@@ -361,14 +373,14 @@ struct yy_trans_info
};
static yyconst flex_int16_t yy_acclist[91] =
{ 0,
4, 4, 18, 16, 17, 15, 16, 17, 15, 17,
16, 17, 1, 16, 17, 16, 17, 7, 16, 17,
4, 7, 16, 17, 4, 16, 17, 7, 16, 17,
7, 16, 17, 7, 16, 17, 6, 16, 17,16389,
4, 6, 16, 17,16389, 6, 16, 17,16389, 6,
16, 17,16389, 16, 17, 15, 12, 1, 13, 4,
4, 4, 4, 10, 11, 9, 8197, 6,16389, 4,
6,16389, 6,16389, 14, 4, 4, 8, 4, 6,
4, 4, 20, 18, 19, 17, 18, 19, 17, 19,
18, 19, 1, 18, 19, 18, 19, 7, 18, 19,
4, 7, 18, 19, 4, 18, 19, 12, 18, 19,
7, 18, 19, 11, 18, 19, 6, 18, 19,16389,
4, 6, 18, 19,16389, 6, 18, 19,16389, 6,
18, 19,16389, 18, 19, 17, 14, 1, 15, 4,
4, 4, 4, 10, 13, 9, 8197, 6,16389, 4,
6,16389, 6,16389, 16, 4, 4, 8, 4, 6,
16389, 3, 6,16389, 6,16389, 4, 2, 6,16389
} ;
......@@ -382,10 +394,10 @@ static yyconst flex_int16_t yy_accept[52] =
91
} ;
static yyconst flex_int32_t yy_ec[256] =
static yyconst YY_CHAR yy_ec[256] =
{ 0,
1, 1, 1, 1, 1, 1, 1, 1, 2, 3,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 2, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 4, 5, 1, 6, 1, 1, 7, 1, 8,
9, 9, 10, 1, 10, 11, 9, 12, 12, 12,
......@@ -414,14 +426,14 @@ static yyconst flex_int32_t yy_ec[256] =
1, 1, 1, 1, 1
} ;
static yyconst flex_int32_t yy_meta[25] =
static yyconst YY_CHAR yy_meta[25] =
{ 0,
1, 1, 2, 3, 1, 1, 1, 3, 1, 1,
1, 3, 1, 1, 1, 3, 3, 3, 3, 3,
3, 3, 3, 1
} ;
static yyconst flex_int16_t yy_base[53] =
static yyconst flex_uint16_t yy_base[53] =
{ 0,
0, 0, 87, 88, 23, 26, 72, 0, 78, 88,
19, 32, 70, 69, 68, 30, 31, 52, 37, 57,
......@@ -441,7 +453,7 @@ static yyconst flex_int16_t yy_def[53] =
50, 50
} ;
static yyconst flex_int16_t yy_nxt[113] =
static yyconst flex_uint16_t yy_nxt[113] =
{ 0,
4, 5, 6, 5, 7, 8, 9, 10, 10, 10,
11, 12, 13, 14, 15, 16, 17, 18, 16, 19,
......@@ -516,7 +528,7 @@ goto find_rule; \
LPH [A-Za-z_] Alphabetic character
LPHDGT [A-Za-z0-9_] Alphanumeric character
XPN [eE][+-]?[0-9]+ Real number Exponent */
#line 520 "expr_lex.c"
#line 532 "expr_lex.c"
#define INITIAL 0
......@@ -604,11 +616,11 @@ void yyset_extra (YY_EXTRA_TYPE user_defined ,yyscan_t yyscanner );
FILE *yyget_in (yyscan_t yyscanner );
void yyset_in (FILE * in_str ,yyscan_t yyscanner );
void yyset_in (FILE * _in_str ,yyscan_t yyscanner );
FILE *yyget_out (yyscan_t yyscanner );
void yyset_out (FILE * out_str ,yyscan_t yyscanner );
void yyset_out (FILE * _out_str ,yyscan_t yyscanner );
yy_size_t yyget_leng (yyscan_t yyscanner );
......@@ -616,11 +628,11 @@ char *yyget_text (yyscan_t yyscanner );
int yyget_lineno (yyscan_t yyscanner );
void yyset_lineno (int line_number ,yyscan_t yyscanner );
void yyset_lineno (int _line_number ,yyscan_t yyscanner );
int yyget_column (yyscan_t yyscanner );
void yyset_column (int column_no ,yyscan_t yyscanner );
void yyset_column (int _column_no ,yyscan_t yyscanner );
YYSTYPE * yyget_lval (yyscan_t yyscanner );
......@@ -638,6 +650,10 @@ extern int yywrap (yyscan_t yyscanner );
#endif
#endif
#ifndef YY_NO_UNPUT
#endif
#ifndef yytext_ptr
static void yy_flex_strncpy (char *,yyconst char *,int ,yyscan_t yyscanner);
#endif
......@@ -658,7 +674,12 @@ static int input (yyscan_t yyscanner );
/* Amount of stuff to slurp up with each read. */
#ifndef YY_READ_BUF_SIZE
#ifdef __ia64__
/* On IA-64, the buffer size is 16k, not 8k */
#define YY_READ_BUF_SIZE 16384
#else
#define YY_READ_BUF_SIZE 8192
#endif /* __ia64__ */
#endif
/* Copy whatever the last rule matched to the standard output. */
......@@ -747,7 +768,7 @@ extern int yylex \
/* Code executed at the end of each rule. */
#ifndef YY_BREAK
#define YY_BREAK break;
#define YY_BREAK /*LINTED*/break;
#endif
#define YY_RULE_SETUP \
......@@ -757,16 +778,11 @@ extern int yylex \
*/
YY_DECL
{
register yy_state_type yy_current_state;
register char *yy_cp, *yy_bp;
register int yy_act;
yy_state_type yy_current_state;
char *yy_cp, *yy_bp;
int yy_act;
struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
#line 36 "expr_lex.l"
#line 769 "expr_lex.c"
yylval = yylval_param;
if ( !yyg->yy_init )
......@@ -801,7 +817,13 @@ YY_DECL
yy_load_buffer_state(yyscanner );
}
while ( 1 ) /* loops until end-of-file is reached */
{
#line 36 "expr_lex.l"
#line 825 "expr_lex.c"
while ( /*CONSTCOND*/1 ) /* loops until end-of-file is reached */
{
yy_cp = yyg->yy_c_buf_p;
......@@ -821,7 +843,7 @@ YY_DECL
yy_match:
do
{
register YY_CHAR yy_c = yy_ec[YY_SC_TO_UI(*yy_cp)];
YY_CHAR yy_c = yy_ec[YY_SC_TO_UI(*yy_cp)] ;
while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state )
{
yy_current_state = (int) yy_def[yy_current_state];
......@@ -953,40 +975,50 @@ return LE;
case 11:
YY_RULE_SETUP
#line 79 "expr_lex.l"
return EQ;
return GT;
YY_BREAK
case 12:
YY_RULE_SETUP
#line 80 "expr_lex.l"
return NE;
return LT;
YY_BREAK
case 13:
YY_RULE_SETUP
#line 81 "expr_lex.l"
return AND;
return EQ;
YY_BREAK
case 14:
YY_RULE_SETUP
#line 82 "expr_lex.l"
return OR;
return NE;
YY_BREAK
case 15:
/* rule 15 can match eol */
YY_RULE_SETUP
#line 84 "expr_lex.l"
; /* ignore whitespace */
#line 83 "expr_lex.l"
return AND;
YY_BREAK
case 16:
YY_RULE_SETUP
#line 84 "expr_lex.l"
return OR;
YY_BREAK
case 17:
/* rule 17 can match eol */
YY_RULE_SETUP
#line 86 "expr_lex.l"
; /* ignore whitespace */
YY_BREAK
case 18:
YY_RULE_SETUP
#line 88 "expr_lex.l"
yyerror(NULL, NULL, "Unknown character");
YY_BREAK
case 17:
case 19:
YY_RULE_SETUP
#line 87 "expr_lex.l"
#line 89 "expr_lex.l"
ECHO;
YY_BREAK
#line 990 "expr_lex.c"
#line 1022 "expr_lex.c"
case YY_STATE_EOF(INITIAL):
yyterminate();
......@@ -1117,6 +1149,7 @@ ECHO;
"fatal flex scanner internal error--no action found" );
} /* end of action switch */
} /* end of scanning one token */
} /* end of user's declarations */
} /* end of yylex */
/* yy_get_next_buffer - try to read in a new buffer
......@@ -1129,9 +1162,9 @@ ECHO;
static int yy_get_next_buffer (yyscan_t yyscanner)
{
struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
register char *dest = YY_CURRENT_BUFFER_LVALUE->yy_ch_buf;
register char *source = yyg->yytext_ptr;
register int number_to_move, i;
char *dest = YY_CURRENT_BUFFER_LVALUE->yy_ch_buf;
char *source = yyg->yytext_ptr;
yy_size_t number_to_move, i;
int ret_val;
if ( yyg->yy_c_buf_p > &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[yyg->yy_n_chars + 1] )
......@@ -1160,7 +1193,7 @@ static int yy_get_next_buffer (yyscan_t yyscanner)
/* Try to read more data. */
/* First move last chars to start of buffer. */
number_to_move = (int) (yyg->yy_c_buf_p - yyg->yytext_ptr) - 1;
number_to_move = (yy_size_t) (yyg->yy_c_buf_p - yyg->yytext_ptr) - 1;
for ( i = 0; i < number_to_move; ++i )
*(dest++) = *(source++);
......@@ -1234,8 +1267,8 @@ static int yy_get_next_buffer (yyscan_t yyscanner)
static yy_state_type yy_get_previous_state (yyscan_t yyscanner)
{
register yy_state_type yy_current_state;
register char *yy_cp;
yy_state_type yy_current_state;
char *yy_cp;
struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
yy_current_state = yyg->yy_start;
......@@ -1245,7 +1278,7 @@ static int yy_get_next_buffer (yyscan_t yyscanner)
for ( yy_cp = yyg->yytext_ptr + YY_MORE_ADJ; yy_cp < yyg->yy_c_buf_p; ++yy_cp )
{
register YY_CHAR yy_c = (*yy_cp ? yy_ec[YY_SC_TO_UI(*yy_cp)] : 1);
YY_CHAR yy_c = (*yy_cp ? yy_ec[YY_SC_TO_UI(*yy_cp)] : 1);
while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state )
{
yy_current_state = (int) yy_def[yy_current_state];
......@@ -1266,10 +1299,10 @@ static int yy_get_next_buffer (yyscan_t yyscanner)
*/
static yy_state_type yy_try_NUL_trans (yy_state_type yy_current_state , yyscan_t yyscanner)
{
register int yy_is_jam;
int yy_is_jam;
struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; /* This var may be unused depending upon options. */
register YY_CHAR yy_c = 1;
YY_CHAR yy_c = 1;
while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state )
{
yy_current_state = (int) yy_def[yy_current_state];
......@@ -1285,6 +1318,10 @@ static int yy_get_next_buffer (yyscan_t yyscanner)
return yy_is_jam ? 0 : yy_current_state;
}
#ifndef YY_NO_UNPUT
#endif
#ifndef YY_NO_INPUT
#ifdef __cplusplus
static int yyinput (yyscan_t yyscanner)
......@@ -1438,7 +1475,7 @@ static void yy_load_buffer_state (yyscan_t yyscanner)
if ( ! b )
YY_FATAL_ERROR( "out of dynamic memory in yy_create_buffer()" );
b->yy_buf_size = size;
b->yy_buf_size = (yy_size_t)size;
/* yy_ch_buf has to be 2 characters longer than the size given because
* we need to put in 2 end-of-buffer characters.
......@@ -1599,7 +1636,7 @@ static void yyensure_buffer_stack (yyscan_t yyscanner)
* scanner will even need a stack. We use 2 instead of 1 to avoid an
* immediate realloc on the next call.
*/
num_to_alloc = 1;
num_to_alloc = 1; // After all that talk, this was set to 1 anyways...
yyg->yy_buffer_stack = (struct yy_buffer_state**)yyalloc
(num_to_alloc * sizeof(struct yy_buffer_state*)
, yyscanner);
......@@ -1616,7 +1653,7 @@ static void yyensure_buffer_stack (yyscan_t yyscanner)
if (yyg->yy_buffer_stack_top >= (yyg->yy_buffer_stack_max) - 1){
/* Increase the buffer to prepare for a possible push. */
int grow_size = 8 /* arbitrary grow size */;
yy_size_t grow_size = 8 /* arbitrary grow size */;
num_to_alloc = yyg->yy_buffer_stack_max + grow_size;
yyg->yy_buffer_stack = (struct yy_buffer_state**)yyrealloc
......@@ -1693,7 +1730,7 @@ YY_BUFFER_STATE yy_scan_bytes (yyconst char * yybytes, yy_size_t _yybytes_len
YY_BUFFER_STATE b;
char *buf;
yy_size_t n;
int i;
yy_size_t i;
/* Get memory for full buffer, including space for trailing EOB's. */
n = _yybytes_len + 2;
......@@ -1724,7 +1761,9 @@ YY_BUFFER_STATE yy_scan_bytes (yyconst char * yybytes, yy_size_t _yybytes_len
static void yy_fatal_error (yyconst char* msg , yyscan_t yyscanner)
{
(void) fprintf( stderr, "%s\n", msg );
struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
(void)yyg;
(void) fprintf( stderr, "%s\n", msg );
exit( YY_EXIT_FAILURE );
}
......@@ -1830,10 +1869,10 @@ void yyset_extra (YY_EXTRA_TYPE user_defined , yyscan_t yyscanner)
}
/** Set the current line number.
* @param line_number
* @param _line_number line number
* @param yyscanner The scanner object.
*/
void yyset_lineno (int line_number , yyscan_t yyscanner)
void yyset_lineno (int _line_number , yyscan_t yyscanner)
{
struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
......@@ -1841,14 +1880,14 @@ void yyset_lineno (int line_number , yyscan_t yyscanner)
if (! YY_CURRENT_BUFFER )
YY_FATAL_ERROR( "yyset_lineno called with no buffer" );
yylineno = line_number;
yylineno = _line_number;
}
/** Set the current column.
* @param line_number
* @param _column_no column number
* @param yyscanner The scanner object.
*/
void yyset_column (int column_no , yyscan_t yyscanner)
void yyset_column (int _column_no , yyscan_t yyscanner)
{
struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
......@@ -1856,25 +1895,25 @@ void yyset_column (int column_no , yyscan_t yyscanner)
if (! YY_CURRENT_BUFFER )
YY_FATAL_ERROR( "yyset_column called with no buffer" );
yycolumn = column_no;
yycolumn = _column_no;
}
/** Set the input stream. This does not discard the current
* input buffer.
* @param in_str A readable stream.
* @param _in_str A readable stream.
* @param yyscanner The scanner object.
* @see yy_switch_to_buffer
*/
void yyset_in (FILE * in_str , yyscan_t yyscanner)
void yyset_in (FILE * _in_str , yyscan_t yyscanner)
{
struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
yyin = in_str ;
yyin = _in_str ;
}
void yyset_out (FILE * out_str , yyscan_t yyscanner)
void yyset_out (FILE * _out_str , yyscan_t yyscanner)
{
struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
yyout = out_str ;
yyout = _out_str ;
}
int yyget_debug (yyscan_t yyscanner)
......@@ -1883,10 +1922,10 @@ int yyget_debug (yyscan_t yyscanner)
return yy_flex_debug;
}
void yyset_debug (int bdebug , yyscan_t yyscanner)
void yyset_debug (int _bdebug , yyscan_t yyscanner)
{
struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
yy_flex_debug = bdebug ;
yy_flex_debug = _bdebug ;
}
/* Accessor methods for yylval and yylloc */
......@@ -2045,7 +2084,10 @@ int yylex_destroy (yyscan_t yyscanner)
#ifndef yytext_ptr
static void yy_flex_strncpy (char* s1, yyconst char * s2, int n , yyscan_t yyscanner)
{
register int i;
struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
(void)yyg;
int i;
for ( i = 0; i < n; ++i )
s1[i] = s2[i];
}
......@@ -2054,7 +2096,7 @@ static void yy_flex_strncpy (char* s1, yyconst char * s2, int n , yyscan_t yysca
#ifdef YY_NEED_STRLEN
static int yy_flex_strlen (yyconst char * s , yyscan_t yyscanner)
{
register int n;
int n;
for ( n = 0; s[n]; ++n )
;
......@@ -2064,11 +2106,16 @@ static int yy_flex_strlen (yyconst char * s , yyscan_t yyscanner)
void *yyalloc (yy_size_t size , yyscan_t yyscanner)
{
struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
(void)yyg;
return (void *) malloc( size );
}
void *yyrealloc (void * ptr, yy_size_t size , yyscan_t yyscanner)
{
struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
(void)yyg;
/* The cast to (char *) in the following accommodates both
* implementations that use char* generic pointers, and those
* that use void* generic pointers. It works with the latter
......@@ -2081,12 +2128,14 @@ void *yyrealloc (void * ptr, yy_size_t size , yyscan_t yyscanner)
void yyfree (void * ptr , yyscan_t yyscanner)
{
struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
(void)yyg;
free( (char *) ptr ); /* see yyrealloc() for (char *) cast */
}
#define YYTABLES_NAME "yytables"
#line 87 "expr_lex.l"
#line 89 "expr_lex.l"
......@@ -69,19 +69,21 @@ M_E {
}
[-()<>=+*/;{}^.?:] {
[-()=+*/;{}^.?:] {
return *yytext;
}
"<=>" return LEG;
">=" return GE;
"<=" return LE;
">" return GT;
"<" return LT;
"==" return EQ;
"!=" return NE;
"&&" return AND;
"||" return OR;
[ \t\n]+ ; /* ignore whitespace */
[ \t\n\r]+ ; /* ignore whitespace */
. yyerror(NULL, NULL, "Unknown character");
%%
......@@ -133,7 +133,9 @@ extern int yydebug;
LE = 265,
EQ = 266,
NE = 267,
UMINUS = 268
GT = 268,
LT = 269,
UMINUS = 270
};
#endif
/* Tokens. */
......@@ -147,7 +149,9 @@ extern int yydebug;
#define LE 265
#define EQ 266
#define NE 267
#define UMINUS 268
#define GT 268
#define LT 269
#define UMINUS 270
/* Value type. */
......@@ -159,7 +163,7 @@ int yyparse (parse_parm_t *parse_arg, void *scanner);
/* Copy the second part of user declarations. */
#line 163 "expr_yacc.c" /* yacc.c:358 */
#line 167 "expr_yacc.c" /* yacc.c:358 */
#ifdef short
# undef short
......@@ -415,7 +419,7 @@ union yyalloc
/* YYTRANSLATE[YYX] -- Symbol number corresponding to YYX as returned
by yylex, with out-of-bounds checking. */
#define YYUNDEFTOK 2
#define YYMAXUTOK 268
#define YYMAXUTOK 270
#define YYTRANSLATE(YYX) \
((unsigned int) (YYX) <= YYMAXUTOK ? yytranslate[YYX] : YYUNDEFTOK)
......@@ -430,7 +434,7 @@ static const yytype_uint8 yytranslate[] =
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
27, 28, 17, 15, 2, 16, 2, 18, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 21, 23,
14, 24, 13, 20, 2, 2, 2, 2, 2, 2,
2, 24, 2, 20, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 22, 2, 2, 2, 2, 2,
......@@ -450,7 +454,8 @@ static const yytype_uint8 yytranslate[] =
2, 2, 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, 19
5, 6, 7, 8, 9, 10, 11, 12, 13, 14,
19
};
#if YYDEBUG
......@@ -470,7 +475,7 @@ static const yytype_uint8 yyrline[] =
static const char *const yytname[] =
{
"$end", "error", "$undefined", "CONSTANT", "VARIABLE", "FUNCTION",
"AND", "OR", "LEG", "GE", "LE", "EQ", "NE", "'>'", "'<'", "'+'", "'-'",
"AND", "OR", "LEG", "GE", "LE", "EQ", "NE", "GT", "LT", "'+'", "'-'",
"'*'", "'/'", "UMINUS", "'?'", "':'", "'^'", "';'", "'='", "'{'", "'}'",
"'('", "')'", "$accept", "program", "function", "stmt", "stmt_list",
"expr", YY_NULLPTR
......@@ -483,7 +488,7 @@ static const char *const yytname[] =
static const yytype_uint16 yytoknum[] =
{
0, 256, 257, 258, 259, 260, 261, 262, 263, 264,
265, 266, 267, 62, 60, 43, 45, 42, 47, 268,
265, 266, 267, 268, 269, 43, 45,