generic: regenerate parsers

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
Ivailo Monev 2020-08-19 23:27:37 +03:00
parent 9771b8b226
commit 0dbc3742e9
6 changed files with 976 additions and 1173 deletions

View file

@ -1,6 +1,6 @@
#line 2 "lex.c"
#line 1 "lex.c"
#line 4 "lex.c"
#line 3 "lex.c"
#define YY_INT_ALIGNED short int
@ -725,9 +725,9 @@ int yywrap();
int kiotraderlex(YYSTYPE * yylval, yyscan_t scanner);
void KTraderParse_initFlex( const char *_code, yyscan_t _scanner );
#line 729 "lex.c"
#line 728 "lex.c"
#define YY_NO_INPUT 1
#line 731 "lex.c"
#line 730 "lex.c"
#define INITIAL 0
@ -1002,7 +1002,7 @@ YY_DECL
#line 29 "lex.l"
#line 1006 "lex.c"
#line 1005 "lex.c"
while ( /*CONSTCOND*/1 ) /* loops until end-of-file is reached */
{
@ -1212,7 +1212,7 @@ YY_RULE_SETUP
#line 71 "lex.l"
ECHO;
YY_BREAK
#line 1216 "lex.c"
#line 1215 "lex.c"
case YY_STATE_EOF(INITIAL):
yyterminate();

File diff suppressed because it is too large Load diff

View file

@ -1,8 +1,8 @@
/* A Bison parser, made by GNU Bison 3.3.2. */
/* A Bison parser, made by GNU Bison 3.6.4. */
/* Bison interface for Yacc-like parsers in C
Copyright (C) 1984, 1989-1990, 2000-2015, 2018-2019 Free Software Foundation,
Copyright (C) 1984, 1989-1990, 2000-2015, 2018-2020 Free Software Foundation,
Inc.
This program is free software: you can redistribute it and/or modify
@ -31,8 +31,9 @@
This special exception was added by the Free Software Foundation in
version 2.2 of Bison. */
/* Undocumented macros, especially those whose name start with YY_,
are private implementation details. Do not rely on them. */
/* DO NOT RELY ON FEATURES THAT ARE NOT DOCUMENTED in the manual,
especially those whose name start with YY_ or yy_. They are
private implementation details that can be changed or removed. */
#ifndef YY_KIOTRADER_YACC_H_INCLUDED
# define YY_KIOTRADER_YACC_H_INCLUDED
@ -44,44 +45,48 @@
extern int kiotraderdebug;
#endif
/* Token type. */
/* Token kinds. */
#ifndef YYTOKENTYPE
# define YYTOKENTYPE
enum yytokentype
{
NOT = 258,
EQ = 259,
EQI = 260,
NEQ = 261,
NEQI = 262,
LEQ = 263,
GEQ = 264,
LE = 265,
GR = 266,
OR = 267,
AND = 268,
TOKEN_IN = 269,
TOKEN_IN_SUBSTRING = 270,
MATCH_INSENSITIVE = 271,
TOKEN_IN_INSENSITIVE = 272,
TOKEN_IN_SUBSTRING_INSENSITIVE = 273,
EXIST = 274,
MAX = 275,
MIN = 276,
VAL_BOOL = 277,
VAL_STRING = 278,
VAL_ID = 279,
VAL_NUM = 280,
VAL_FLOAT = 281
YYEMPTY = -2,
YYEOF = 0, /* "end of file" */
YYerror = 256, /* error */
YYUNDEF = 257, /* "invalid token" */
NOT = 258, /* NOT */
EQ = 259, /* EQ */
EQI = 260, /* EQI */
NEQ = 261, /* NEQ */
NEQI = 262, /* NEQI */
LEQ = 263, /* LEQ */
GEQ = 264, /* GEQ */
LE = 265, /* LE */
GR = 266, /* GR */
OR = 267, /* OR */
AND = 268, /* AND */
TOKEN_IN = 269, /* TOKEN_IN */
TOKEN_IN_SUBSTRING = 270, /* TOKEN_IN_SUBSTRING */
MATCH_INSENSITIVE = 271, /* MATCH_INSENSITIVE */
TOKEN_IN_INSENSITIVE = 272, /* TOKEN_IN_INSENSITIVE */
TOKEN_IN_SUBSTRING_INSENSITIVE = 273, /* TOKEN_IN_SUBSTRING_INSENSITIVE */
EXIST = 274, /* EXIST */
MAX = 275, /* MAX */
MIN = 276, /* MIN */
VAL_BOOL = 277, /* VAL_BOOL */
VAL_STRING = 278, /* VAL_STRING */
VAL_ID = 279, /* VAL_ID */
VAL_NUM = 280, /* VAL_NUM */
VAL_FLOAT = 281 /* VAL_FLOAT */
};
typedef enum yytokentype yytoken_kind_t;
#endif
/* Value type. */
#if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED
union YYSTYPE
{
#line 20 "yacc.y" /* yacc.c:1921 */
#line 20 "yacc.y"
char valb;
int vali;
@ -89,9 +94,9 @@ union YYSTYPE
char *name;
void *ptr;
#line 93 "yacc.h" /* yacc.c:1921 */
};
#line 98 "yacc.h"
};
typedef union YYSTYPE YYSTYPE;
# define YYSTYPE_IS_TRIVIAL 1
# define YYSTYPE_IS_DECLARED 1

View file

@ -1,6 +1,6 @@
#line 2 "predicate_lexer.c"
#line 1 "predicate_lexer.c"
#line 4 "predicate_lexer.c"
#line 3 "predicate_lexer.c"
#define YY_INT_ALIGNED short int
@ -679,9 +679,9 @@ char *PredicateParse_putSymbol( char *_name );
char *PredicateParse_putString( char *_str );
void PredicateParse_initFlex( const char *_code, yyscan_t _scanner );
#line 683 "predicate_lexer.c"
#line 682 "predicate_lexer.c"
#define YY_NO_INPUT 1
#line 685 "predicate_lexer.c"
#line 684 "predicate_lexer.c"
#define INITIAL 0
@ -956,7 +956,7 @@ YY_DECL
#line 27 "predicate_lexer.l"
#line 960 "predicate_lexer.c"
#line 959 "predicate_lexer.c"
while ( /*CONSTCOND*/1 ) /* loops until end-of-file is reached */
{
@ -1091,7 +1091,7 @@ YY_RULE_SETUP
#line 54 "predicate_lexer.l"
ECHO;
YY_BREAK
#line 1095 "predicate_lexer.c"
#line 1094 "predicate_lexer.c"
case YY_STATE_EOF(INITIAL):
yyterminate();

File diff suppressed because it is too large Load diff

View file

@ -1,8 +1,8 @@
/* A Bison parser, made by GNU Bison 3.3.2. */
/* A Bison parser, made by GNU Bison 3.6.4. */
/* Bison interface for Yacc-like parsers in C
Copyright (C) 1984, 1989-1990, 2000-2015, 2018-2019 Free Software Foundation,
Copyright (C) 1984, 1989-1990, 2000-2015, 2018-2020 Free Software Foundation,
Inc.
This program is free software: you can redistribute it and/or modify
@ -31,8 +31,9 @@
This special exception was added by the Free Software Foundation in
version 2.2 of Bison. */
/* Undocumented macros, especially those whose name start with YY_,
are private implementation details. Do not rely on them. */
/* DO NOT RELY ON FEATURES THAT ARE NOT DOCUMENTED in the manual,
especially those whose name start with YY_ or yy_. They are
private implementation details that can be changed or removed. */
#ifndef YY_SOLID_PREDICATE_PARSER_H_INCLUDED
# define YY_SOLID_PREDICATE_PARSER_H_INCLUDED
@ -44,30 +45,34 @@
extern int Soliddebug;
#endif
/* Token type. */
/* Token kinds. */
#ifndef YYTOKENTYPE
# define YYTOKENTYPE
enum yytokentype
{
EQ = 258,
MASK = 259,
AND = 260,
OR = 261,
IS = 262,
VAL_BOOL = 263,
VAL_STRING = 264,
VAL_ID = 265,
VAL_NUM = 266,
VAL_FLOAT = 267
YYEMPTY = -2,
YYEOF = 0, /* "end of file" */
YYerror = 256, /* error */
YYUNDEF = 257, /* "invalid token" */
EQ = 258, /* EQ */
MASK = 259, /* MASK */
AND = 260, /* AND */
OR = 261, /* OR */
IS = 262, /* IS */
VAL_BOOL = 263, /* VAL_BOOL */
VAL_STRING = 264, /* VAL_STRING */
VAL_ID = 265, /* VAL_ID */
VAL_NUM = 266, /* VAL_NUM */
VAL_FLOAT = 267 /* VAL_FLOAT */
};
typedef enum yytokentype yytoken_kind_t;
#endif
/* Value type. */
#if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED
union YYSTYPE
{
#line 22 "predicate_parser.y" /* yacc.c:1921 */
#line 22 "predicate_parser.y"
char valb;
int vali;
@ -75,9 +80,9 @@ union YYSTYPE
char *name;
void *ptr;
#line 79 "predicate_parser.h" /* yacc.c:1921 */
};
#line 84 "predicate_parser.h"
};
typedef union YYSTYPE YYSTYPE;
# define YYSTYPE_IS_TRIVIAL 1
# define YYSTYPE_IS_DECLARED 1