Add flex/bison outputs
This commit is contained in:
1 parent
2421dfb843
commit
38bfec1594
4 files changed
+1383
-1281
No files matched your search
+307
-282
File diff suppressed because it is too large.
Load diff
+16
-12
@@ -2,9 +2,9 @@
|
|||||||
#define jq_yyHEADER_H 1
|
#define jq_yyHEADER_H 1
|
||||||
#define jq_yyIN_HEADER 1
|
#define jq_yyIN_HEADER 1
|
||||||
|
|
||||||
#line 6 "lexer.h"
|
#line 6 "src/lexer.h"
|
||||||
|
|
||||||
#line 8 "lexer.h"
|
#line 8 "src/lexer.h"
|
||||||
|
|
||||||
#define YY_INT_ALIGNED short int
|
#define YY_INT_ALIGNED short int
|
||||||
|
|
||||||
@@ -12,8 +12,8 @@
|
|||||||
|
|
||||||
#define FLEX_SCANNER
|
#define FLEX_SCANNER
|
||||||
#define YY_FLEX_MAJOR_VERSION 2
|
#define YY_FLEX_MAJOR_VERSION 2
|
||||||
#define YY_FLEX_MINOR_VERSION 5
|
#define YY_FLEX_MINOR_VERSION 6
|
||||||
#define YY_FLEX_SUBMINOR_VERSION 35
|
#define YY_FLEX_SUBMINOR_VERSION 0
|
||||||
#if YY_FLEX_SUBMINOR_VERSION > 0
|
#if YY_FLEX_SUBMINOR_VERSION > 0
|
||||||
#define FLEX_BETA
|
#define FLEX_BETA
|
||||||
#endif
|
#endif
|
||||||
@@ -214,7 +214,7 @@ void jq_yypop_buffer_state (yyscan_t yyscanner );
|
|||||||
|
|
||||||
YY_BUFFER_STATE jq_yy_scan_buffer (char *base,yy_size_t size ,yyscan_t yyscanner );
|
YY_BUFFER_STATE jq_yy_scan_buffer (char *base,yy_size_t size ,yyscan_t yyscanner );
|
||||||
YY_BUFFER_STATE jq_yy_scan_string (yyconst char *yy_str ,yyscan_t yyscanner );
|
YY_BUFFER_STATE jq_yy_scan_string (yyconst char *yy_str ,yyscan_t yyscanner );
|
||||||
YY_BUFFER_STATE jq_yy_scan_bytes (yyconst char *bytes,int len ,yyscan_t yyscanner );
|
YY_BUFFER_STATE jq_yy_scan_bytes (yyconst char *bytes,yy_size_t len ,yyscan_t yyscanner );
|
||||||
|
|
||||||
void *jq_yyalloc (yy_size_t ,yyscan_t yyscanner );
|
void *jq_yyalloc (yy_size_t ,yyscan_t yyscanner );
|
||||||
void *jq_yyrealloc (void *,yy_size_t ,yyscan_t yyscanner );
|
void *jq_yyrealloc (void *,yy_size_t ,yyscan_t yyscanner );
|
||||||
@@ -222,7 +222,7 @@ void jq_yyfree (void * ,yyscan_t yyscanner );
|
|||||||
|
|
||||||
/* Begin user sect3 */
|
/* Begin user sect3 */
|
||||||
|
|
||||||
#define jq_yywrap(n) 1
|
#define jq_yywrap(yyscanner) (/*CONSTCOND*/1)
|
||||||
#define YY_SKIP_YYWRAP
|
#define YY_SKIP_YYWRAP
|
||||||
|
|
||||||
#define yytext_ptr yytext_r
|
#define yytext_ptr yytext_r
|
||||||
@@ -266,19 +266,23 @@ void jq_yyset_extra (YY_EXTRA_TYPE user_defined ,yyscan_t yyscanner );
|
|||||||
|
|
||||||
FILE *jq_yyget_in (yyscan_t yyscanner );
|
FILE *jq_yyget_in (yyscan_t yyscanner );
|
||||||
|
|
||||||
void jq_yyset_in (FILE * in_str ,yyscan_t yyscanner );
|
void jq_yyset_in (FILE * _in_str ,yyscan_t yyscanner );
|
||||||
|
|
||||||
FILE *jq_yyget_out (yyscan_t yyscanner );
|
FILE *jq_yyget_out (yyscan_t yyscanner );
|
||||||
|
|
||||||
void jq_yyset_out (FILE * out_str ,yyscan_t yyscanner );
|
void jq_yyset_out (FILE * _out_str ,yyscan_t yyscanner );
|
||||||
|
|
||||||
int jq_yyget_leng (yyscan_t yyscanner );
|
yy_size_t jq_yyget_leng (yyscan_t yyscanner );
|
||||||
|
|
||||||
char *jq_yyget_text (yyscan_t yyscanner );
|
char *jq_yyget_text (yyscan_t yyscanner );
|
||||||
|
|
||||||
int jq_yyget_lineno (yyscan_t yyscanner );
|
int jq_yyget_lineno (yyscan_t yyscanner );
|
||||||
|
|
||||||
void jq_yyset_lineno (int line_number ,yyscan_t yyscanner );
|
void jq_yyset_lineno (int _line_number ,yyscan_t yyscanner );
|
||||||
|
|
||||||
|
int jq_yyget_column (yyscan_t yyscanner );
|
||||||
|
|
||||||
|
void jq_yyset_column (int _column_no ,yyscan_t yyscanner );
|
||||||
|
|
||||||
YYSTYPE * jq_yyget_lval (yyscan_t yyscanner );
|
YYSTYPE * jq_yyget_lval (yyscan_t yyscanner );
|
||||||
|
|
||||||
@@ -354,9 +358,9 @@ extern int jq_yylex \
|
|||||||
#undef YY_DECL
|
#undef YY_DECL
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#line 129 "lexer.l"
|
#line 130 "src/lexer.l"
|
||||||
|
|
||||||
|
|
||||||
#line 361 "lexer.h"
|
#line 365 "src/lexer.h"
|
||||||
#undef jq_yyIN_HEADER
|
#undef jq_yyIN_HEADER
|
||||||
#endif /* jq_yyHEADER_H */
|
#endif /* jq_yyHEADER_H */
|
||||||
+1038
-969
File diff suppressed because it is too large.
Load diff
+22
-18
@@ -1,8 +1,8 @@
|
|||||||
/* A Bison parser, made by GNU Bison 3.0.2. */
|
/* A Bison parser, made by GNU Bison 3.0.4. */
|
||||||
|
|
||||||
/* Bison interface for Yacc-like parsers in C
|
/* Bison interface for Yacc-like parsers in C
|
||||||
|
|
||||||
Copyright (C) 1984, 1989-1990, 2000-2013 Free Software Foundation, Inc.
|
Copyright (C) 1984, 1989-1990, 2000-2015 Free Software Foundation, Inc.
|
||||||
|
|
||||||
This program is free software: you can redistribute it and/or modify
|
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
|
it under the terms of the GNU General Public License as published by
|
||||||
@@ -101,13 +101,14 @@ struct lexer_param;
|
|||||||
SETDEFINEDOR = 292,
|
SETDEFINEDOR = 292,
|
||||||
LESSEQ = 293,
|
LESSEQ = 293,
|
||||||
GREATEREQ = 294,
|
GREATEREQ = 294,
|
||||||
QQSTRING_START = 295,
|
ALTERNATION = 295,
|
||||||
QQSTRING_TEXT = 296,
|
QQSTRING_START = 296,
|
||||||
QQSTRING_INTERP_START = 297,
|
QQSTRING_TEXT = 297,
|
||||||
QQSTRING_INTERP_END = 298,
|
QQSTRING_INTERP_START = 298,
|
||||||
QQSTRING_END = 299,
|
QQSTRING_INTERP_END = 299,
|
||||||
FUNCDEF = 300,
|
QQSTRING_END = 300,
|
||||||
NONOPT = 301
|
FUNCDEF = 301,
|
||||||
|
NONOPT = 302
|
||||||
};
|
};
|
||||||
#endif
|
#endif
|
||||||
/* Tokens. */
|
/* Tokens. */
|
||||||
@@ -148,17 +149,18 @@ struct lexer_param;
|
|||||||
#define SETDEFINEDOR 292
|
#define SETDEFINEDOR 292
|
||||||
#define LESSEQ 293
|
#define LESSEQ 293
|
||||||
#define GREATEREQ 294
|
#define GREATEREQ 294
|
||||||
#define QQSTRING_START 295
|
#define ALTERNATION 295
|
||||||
#define QQSTRING_TEXT 296
|
#define QQSTRING_START 296
|
||||||
#define QQSTRING_INTERP_START 297
|
#define QQSTRING_TEXT 297
|
||||||
#define QQSTRING_INTERP_END 298
|
#define QQSTRING_INTERP_START 298
|
||||||
#define QQSTRING_END 299
|
#define QQSTRING_INTERP_END 299
|
||||||
#define FUNCDEF 300
|
#define QQSTRING_END 300
|
||||||
#define NONOPT 301
|
#define FUNCDEF 301
|
||||||
|
#define NONOPT 302
|
||||||
|
|
||||||
/* Value type. */
|
/* Value type. */
|
||||||
#if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED
|
#if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED
|
||||||
typedef union YYSTYPE YYSTYPE;
|
|
||||||
union YYSTYPE
|
union YYSTYPE
|
||||||
{
|
{
|
||||||
#line 31 "src/parser.y" /* yacc.c:1909 */
|
#line 31 "src/parser.y" /* yacc.c:1909 */
|
||||||
@@ -166,8 +168,10 @@ union YYSTYPE
|
|||||||
jv literal;
|
jv literal;
|
||||||
block blk;
|
block blk;
|
||||||
|
|
||||||
#line 170 "src/parser.h" /* yacc.c:1909 */
|
#line 172 "src/parser.h" /* yacc.c:1909 */
|
||||||
};
|
};
|
||||||
|
|
||||||
|
typedef union YYSTYPE YYSTYPE;
|
||||||
# define YYSTYPE_IS_TRIVIAL 1
|
# define YYSTYPE_IS_TRIVIAL 1
|
||||||
# define YYSTYPE_IS_DECLARED 1
|
# define YYSTYPE_IS_DECLARED 1
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
Reference in new issue
Block a user