mirror of
https://github.com/Unidata/netcdf-c.git
synced 2025-04-24 18:30:51 +08:00
Regenerate ncgen3
Use flex 2.6.4 and bison 3.8.2 Lots of changes but does squash a bunch of warnings
This commit is contained in:
parent
6176eaa785
commit
e0622c8a3a
927
ncgen3/ncgenl.c
927
ncgen3/ncgenl.c
File diff suppressed because it is too large
Load Diff
1465
ncgen3/ncgeny.c
1465
ncgen3/ncgeny.c
File diff suppressed because it is too large
Load Diff
@ -1,8 +1,9 @@
|
|||||||
/* A Bison parser, made by GNU Bison 3.0.4. */
|
/* A Bison parser, made by GNU Bison 3.8.2. */
|
||||||
|
|
||||||
/* Bison interface for Yacc-like parsers in C
|
/* Bison interface for Yacc-like parsers in C
|
||||||
|
|
||||||
Copyright (C) 1984, 1989-1990, 2000-2015 Free Software Foundation, Inc.
|
Copyright (C) 1984, 1989-1990, 2000-2015, 2018-2021 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
|
||||||
@ -15,7 +16,7 @@
|
|||||||
GNU General Public License for more details.
|
GNU General Public License for more details.
|
||||||
|
|
||||||
You should have received a copy of the GNU General Public License
|
You should have received a copy of the GNU General Public License
|
||||||
along with this program. If not, see <http://www.gnu.org/licenses/>. */
|
along with this program. If not, see <https://www.gnu.org/licenses/>. */
|
||||||
|
|
||||||
/* As a special exception, you may create a larger work that contains
|
/* As a special exception, you may create a larger work that contains
|
||||||
part or all of the Bison parser skeleton and distribute that work
|
part or all of the Bison parser skeleton and distribute that work
|
||||||
@ -30,6 +31,10 @@
|
|||||||
This special exception was added by the Free Software Foundation in
|
This special exception was added by the Free Software Foundation in
|
||||||
version 2.2 of Bison. */
|
version 2.2 of Bison. */
|
||||||
|
|
||||||
|
/* 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_NCG_NCGEN_TAB_H_INCLUDED
|
#ifndef YY_NCG_NCGEN_TAB_H_INCLUDED
|
||||||
# define YY_NCG_NCGEN_TAB_H_INCLUDED
|
# define YY_NCG_NCGEN_TAB_H_INCLUDED
|
||||||
/* Debug traces. */
|
/* Debug traces. */
|
||||||
@ -40,32 +45,37 @@
|
|||||||
extern int ncgdebug;
|
extern int ncgdebug;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* Token type. */
|
/* Token kinds. */
|
||||||
#ifndef YYTOKENTYPE
|
#ifndef YYTOKENTYPE
|
||||||
# define YYTOKENTYPE
|
# define YYTOKENTYPE
|
||||||
enum yytokentype
|
enum yytokentype
|
||||||
{
|
{
|
||||||
NC_UNLIMITED_K = 258,
|
YYEMPTY = -2,
|
||||||
BYTE_K = 259,
|
YYEOF = 0, /* "end of file" */
|
||||||
CHAR_K = 260,
|
YYerror = 256, /* error */
|
||||||
SHORT_K = 261,
|
YYUNDEF = 257, /* "invalid token" */
|
||||||
INT_K = 262,
|
NC_UNLIMITED_K = 258, /* NC_UNLIMITED_K */
|
||||||
FLOAT_K = 263,
|
BYTE_K = 259, /* BYTE_K */
|
||||||
DOUBLE_K = 264,
|
CHAR_K = 260, /* CHAR_K */
|
||||||
IDENT = 265,
|
SHORT_K = 261, /* SHORT_K */
|
||||||
TERMSTRING = 266,
|
INT_K = 262, /* INT_K */
|
||||||
BYTE_CONST = 267,
|
FLOAT_K = 263, /* FLOAT_K */
|
||||||
CHAR_CONST = 268,
|
DOUBLE_K = 264, /* DOUBLE_K */
|
||||||
SHORT_CONST = 269,
|
IDENT = 265, /* IDENT */
|
||||||
INT_CONST = 270,
|
TERMSTRING = 266, /* TERMSTRING */
|
||||||
FLOAT_CONST = 271,
|
BYTE_CONST = 267, /* BYTE_CONST */
|
||||||
DOUBLE_CONST = 272,
|
CHAR_CONST = 268, /* CHAR_CONST */
|
||||||
DIMENSIONS = 273,
|
SHORT_CONST = 269, /* SHORT_CONST */
|
||||||
VARIABLES = 274,
|
INT_CONST = 270, /* INT_CONST */
|
||||||
NETCDF = 275,
|
FLOAT_CONST = 271, /* FLOAT_CONST */
|
||||||
DATA = 276,
|
DOUBLE_CONST = 272, /* DOUBLE_CONST */
|
||||||
FILLVALUE = 277
|
DIMENSIONS = 273, /* DIMENSIONS */
|
||||||
|
VARIABLES = 274, /* VARIABLES */
|
||||||
|
NETCDF = 275, /* NETCDF */
|
||||||
|
DATA = 276, /* DATA */
|
||||||
|
FILLVALUE = 277 /* FILLVALUE */
|
||||||
};
|
};
|
||||||
|
typedef enum yytokentype yytoken_kind_t;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* Value type. */
|
/* Value type. */
|
||||||
@ -78,6 +88,8 @@ typedef int YYSTYPE;
|
|||||||
|
|
||||||
extern YYSTYPE ncglval;
|
extern YYSTYPE ncglval;
|
||||||
|
|
||||||
|
|
||||||
int ncgparse (void);
|
int ncgparse (void);
|
||||||
|
|
||||||
|
|
||||||
#endif /* !YY_NCG_NCGEN_TAB_H_INCLUDED */
|
#endif /* !YY_NCG_NCGEN_TAB_H_INCLUDED */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user