Skip to content

Commit

Permalink
Regenerate lexers/parsers
Browse files Browse the repository at this point in the history
Regenerate lexers/parsers after PR #112, which has changed the *.y and
*.l files.

The regeneration is done on CentOS 9 Stream, with bison 3.7.4-5 and
flex 2.6.4-9.

Resolves issue #118
  • Loading branch information
giacomini committed Jul 3, 2023
1 parent 9a99f20 commit 6a6c672
Show file tree
Hide file tree
Showing 9 changed files with 4,285 additions and 3,704 deletions.
919 changes: 577 additions & 342 deletions src/sslutils/lex.namespaces.c

Large diffs are not rendered by default.

922 changes: 579 additions & 343 deletions src/sslutils/lex.signing.c

Large diffs are not rendered by default.

1,763 changes: 889 additions & 874 deletions src/sslutils/namespaces.c

Large diffs are not rendered by default.

91 changes: 58 additions & 33 deletions src/sslutils/namespaces.h
Original file line number Diff line number Diff line change
@@ -1,21 +1,20 @@
/* A Bison parser, made by GNU Bison 3.7.4. */

/* A Bison parser, made by GNU Bison 2.4. */
/* Bison interface for Yacc-like parsers in C
Copyright (C) 1984, 1989-1990, 2000-2015, 2018-2020 Free Software Foundation,
Inc.
/* Skeleton interface 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 3 of the License, 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, see <http://www.gnu.org/licenses/>. */

Expand All @@ -28,51 +27,77 @@
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. */

/* 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_NAMESPACES_NAMESPACES_H_INCLUDED
# define YY_NAMESPACES_NAMESPACES_H_INCLUDED
/* Debug traces. */
#ifndef YYDEBUG
# define YYDEBUG 1
#endif
#if YYDEBUG
extern int namespacesdebug;
#endif

/* Tokens. */
/* Token kinds. */
#ifndef YYTOKENTYPE
# define YYTOKENTYPE
/* Put the tokens into the symbol table, so that GDB and other debuggers
know about them. */
enum yytokentype {
SUBJECT = 258,
TO = 259,
SELF = 260,
PERMIT = 261,
DENY = 262,
SUBJECT_WORD = 263,
ISSUER = 264
};
enum yytokentype
{
YYEMPTY = -2,
YYEOF = 0, /* "end of file" */
YYerror = 256, /* error */
YYUNDEF = 257, /* "invalid token" */
SUBJECT = 258, /* SUBJECT */
TO = 259, /* TO */
SELF = 260, /* SELF */
PERMIT = 261, /* PERMIT */
DENY = 262, /* DENY */
SUBJECT_WORD = 263, /* SUBJECT_WORD */
ISSUER = 264 /* ISSUER */
};
typedef enum yytokentype yytoken_kind_t;
#endif



/* Token kinds. */
#define YYEMPTY -2
#define YYEOF 0
#define YYerror 256
#define YYUNDEF 257
#define SUBJECT 258
#define TO 259
#define SELF 260
#define PERMIT 261
#define DENY 262
#define SUBJECT_WORD 263
#define ISSUER 264

/* Value type. */
#if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED
typedef union YYSTYPE
union YYSTYPE
{

/* Line 1676 of yacc.c */
#line 45 "namespaces.y"
#line 46 "namespaces.y"

char *string;
struct condition *cond;
struct policy *policy;
int integer;

#line 92 "namespaces.h"


/* Line 1676 of yacc.c */
#line 70 "namespaces.h"
} YYSTYPE;
};
typedef union YYSTYPE YYSTYPE;
# define YYSTYPE_IS_TRIVIAL 1
# define yystype YYSTYPE /* obsolescent; will be withdrawn */
# define YYSTYPE_IS_DECLARED 1
#endif



int namespacesparse (struct policy ***policies, void *scanner);

#endif /* !YY_NAMESPACES_NAMESPACES_H_INCLUDED */
Loading

0 comments on commit 6a6c672

Please # to comment.