diff options
Diffstat (limited to 'source4/heimdal/lib/hx509')
-rw-r--r-- | source4/heimdal/lib/hx509/lex.yy.c | 26 | ||||
-rw-r--r-- | source4/heimdal/lib/hx509/sel-gram.c | 29 | ||||
-rw-r--r-- | source4/heimdal/lib/hx509/sel-lex.c | 27 |
3 files changed, 0 insertions, 82 deletions
diff --git a/source4/heimdal/lib/hx509/lex.yy.c b/source4/heimdal/lib/hx509/lex.yy.c index b967a4f943..5c0a9c4635 100644 --- a/source4/heimdal/lib/hx509/lex.yy.c +++ b/source4/heimdal/lib/hx509/lex.yy.c @@ -467,8 +467,6 @@ int yy_flex_debug = 0; #define YY_MORE_ADJ 0 #define YY_RESTORE_YY_MORE_OFFSET char *yytext; -#line 1 "sel-lex.l" -#line 2 "sel-lex.l" /* * Copyright (c) 2004, 2008 Kungliga Tekniska Högskolan * (Royal Institute of Technology, Stockholm, Sweden). @@ -534,8 +532,6 @@ struct hx_expr_input _hx509_expr_input; #undef ECHO -#line 538 "lex.yy.c" - #define INITIAL 0 #ifndef YY_NO_UNISTD_H @@ -716,11 +712,6 @@ YY_DECL register char *yy_cp, *yy_bp; register int yy_act; -#line 68 "sel-lex.l" - - -#line 723 "lex.yy.c" - if ( !(yy_init) ) { (yy_init) = 1; @@ -804,37 +795,30 @@ do_action: /* This label is used only to access EOF actions. */ case 1: YY_RULE_SETUP -#line 70 "sel-lex.l" { return kw_TRUE; } YY_BREAK case 2: YY_RULE_SETUP -#line 71 "sel-lex.l" { return kw_FALSE; } YY_BREAK case 3: YY_RULE_SETUP -#line 72 "sel-lex.l" { return kw_AND; } YY_BREAK case 4: YY_RULE_SETUP -#line 73 "sel-lex.l" { return kw_OR; } YY_BREAK case 5: YY_RULE_SETUP -#line 74 "sel-lex.l" { return kw_IN; } YY_BREAK case 6: YY_RULE_SETUP -#line 75 "sel-lex.l" { return kw_TAILMATCH; } YY_BREAK case 7: YY_RULE_SETUP -#line 77 "sel-lex.l" { yylval.string = strdup ((const char *)yytext); return IDENTIFIER; @@ -842,31 +826,25 @@ YY_RULE_SETUP YY_BREAK case 8: YY_RULE_SETUP -#line 81 "sel-lex.l" { yylval.string = handle_string(); return STRING; } YY_BREAK case 9: /* rule 9 can match eol */ YY_RULE_SETUP -#line 82 "sel-lex.l" { ++lineno; } YY_BREAK case 10: YY_RULE_SETUP -#line 83 "sel-lex.l" { return *yytext; } YY_BREAK case 11: YY_RULE_SETUP -#line 84 "sel-lex.l" ; YY_BREAK case 12: YY_RULE_SETUP -#line 85 "sel-lex.l" ECHO; YY_BREAK -#line 870 "lex.yy.c" case YY_STATE_EOF(INITIAL): yyterminate(); @@ -1864,10 +1842,6 @@ void yyfree (void * ptr ) #define YYTABLES_NAME "yytables" -#line 85 "sel-lex.l" - - - static char * handle_string(void) { diff --git a/source4/heimdal/lib/hx509/sel-gram.c b/source4/heimdal/lib/hx509/sel-gram.c index 187b683044..73859af147 100644 --- a/source4/heimdal/lib/hx509/sel-gram.c +++ b/source4/heimdal/lib/hx509/sel-gram.c @@ -16,7 +16,6 @@ static const char yysccsid[] = "@(#)yaccpar 1.9 (Berkeley) 02/21/93"; #define YYPURE 0 -#line 35 "sel-gram.c" #ifdef HAVE_CONFIG_H #include <config.h> #endif @@ -25,7 +24,6 @@ static const char yysccsid[] = "@(#)yaccpar 1.9 (Berkeley) 02/21/93"; #include <hx_locl.h> -#line 45 "sel-gram.c" #ifdef YYSTYPE #undef YYSTYPE_IS_DECLARED #define YYSTYPE_IS_DECLARED 1 @@ -37,7 +35,6 @@ typedef union { struct hx_expr *expr; } YYSTYPE; #endif /* !YYSTYPE_IS_DECLARED */ -#line 40 "sel-gram.c" /* compatibility with bison */ #ifdef YYPARSE_PARAM /* compatibility with FreeBSD */ @@ -452,109 +449,83 @@ yyreduce: switch (yyn) { case 1: -#line 73 "sel-gram.c" { _hx509_expr_input.expr = yystack.l_mark[0].expr; } break; case 2: -#line 75 "sel-gram.c" { yyval.expr = _hx509_make_expr(op_TRUE, NULL, NULL); } break; case 3: -#line 76 "sel-gram.c" { yyval.expr = _hx509_make_expr(op_FALSE, NULL, NULL); } break; case 4: -#line 77 "sel-gram.c" { yyval.expr = _hx509_make_expr(op_NOT, yystack.l_mark[0].expr, NULL); } break; case 5: -#line 78 "sel-gram.c" { yyval.expr = _hx509_make_expr(op_AND, yystack.l_mark[-2].expr, yystack.l_mark[0].expr); } break; case 6: -#line 79 "sel-gram.c" { yyval.expr = _hx509_make_expr(op_OR, yystack.l_mark[-2].expr, yystack.l_mark[0].expr); } break; case 7: -#line 80 "sel-gram.c" { yyval.expr = yystack.l_mark[-1].expr; } break; case 8: -#line 81 "sel-gram.c" { yyval.expr = _hx509_make_expr(op_COMP, yystack.l_mark[0].expr, NULL); } break; case 9: -#line 84 "sel-gram.c" { yyval.expr = _hx509_make_expr(expr_WORDS, yystack.l_mark[0].expr, NULL); } break; case 10: -#line 85 "sel-gram.c" { yyval.expr = _hx509_make_expr(expr_WORDS, yystack.l_mark[-2].expr, yystack.l_mark[0].expr); } break; case 11: -#line 88 "sel-gram.c" { yyval.expr = _hx509_make_expr(comp_EQ, yystack.l_mark[-3].expr, yystack.l_mark[0].expr); } break; case 12: -#line 89 "sel-gram.c" { yyval.expr = _hx509_make_expr(comp_NE, yystack.l_mark[-3].expr, yystack.l_mark[0].expr); } break; case 13: -#line 90 "sel-gram.c" { yyval.expr = _hx509_make_expr(comp_TAILEQ, yystack.l_mark[-2].expr, yystack.l_mark[0].expr); } break; case 14: -#line 91 "sel-gram.c" { yyval.expr = _hx509_make_expr(comp_IN, yystack.l_mark[-4].expr, yystack.l_mark[-1].expr); } break; case 15: -#line 92 "sel-gram.c" { yyval.expr = _hx509_make_expr(comp_IN, yystack.l_mark[-2].expr, yystack.l_mark[0].expr); } break; case 16: -#line 95 "sel-gram.c" { yyval.expr = yystack.l_mark[0].expr; } break; case 17: -#line 96 "sel-gram.c" { yyval.expr = yystack.l_mark[0].expr; } break; case 18: -#line 97 "sel-gram.c" { yyval.expr = yystack.l_mark[0].expr; } break; case 19: -#line 98 "sel-gram.c" { yyval.expr = yystack.l_mark[0].expr; } break; case 20: -#line 101 "sel-gram.c" { yyval.expr = _hx509_make_expr(expr_NUMBER, yystack.l_mark[0].string, NULL); } break; case 21: -#line 102 "sel-gram.c" { yyval.expr = _hx509_make_expr(expr_STRING, yystack.l_mark[0].string, NULL); } break; case 22: -#line 104 "sel-gram.c" { yyval.expr = _hx509_make_expr(expr_FUNCTION, yystack.l_mark[-3].string, yystack.l_mark[-1].expr); } break; case 23: -#line 107 "sel-gram.c" { yyval.expr = yystack.l_mark[-1].expr; } break; case 24: -#line 110 "sel-gram.c" { yyval.expr = _hx509_make_expr(expr_VAR, yystack.l_mark[-2].string, yystack.l_mark[0].expr); } break; case 25: -#line 112 "sel-gram.c" { yyval.expr = _hx509_make_expr(expr_VAR, yystack.l_mark[0].string, NULL); } break; -#line 557 "sel-gram.c" } yystack.s_mark -= yym; yystate = *yystack.s_mark; diff --git a/source4/heimdal/lib/hx509/sel-lex.c b/source4/heimdal/lib/hx509/sel-lex.c index eacb68b43d..1cf90f04f2 100644 --- a/source4/heimdal/lib/hx509/sel-lex.c +++ b/source4/heimdal/lib/hx509/sel-lex.c @@ -1,6 +1,5 @@ #include "config.h" -#line 3 "sel-lex.c" #define YY_INT_ALIGNED short int @@ -468,8 +467,6 @@ int yy_flex_debug = 0; #define YY_MORE_ADJ 0 #define YY_RESTORE_YY_MORE_OFFSET char *yytext; -#line 1 "sel-lex.l" -#line 2 "sel-lex.l" /* * Copyright (c) 2004, 2008 Kungliga Tekniska Högskolan * (Royal Institute of Technology, Stockholm, Sweden). @@ -535,8 +532,6 @@ struct hx_expr_input _hx509_expr_input; #undef ECHO -#line 538 "sel-lex.c" - #define INITIAL 0 #ifndef YY_NO_UNISTD_H @@ -717,11 +712,6 @@ YY_DECL register char *yy_cp, *yy_bp; register int yy_act; -#line 68 "sel-lex.l" - - -#line 723 "sel-lex.c" - if ( !(yy_init) ) { (yy_init) = 1; @@ -805,37 +795,30 @@ do_action: /* This label is used only to access EOF actions. */ case 1: YY_RULE_SETUP -#line 70 "sel-lex.l" { return kw_TRUE; } YY_BREAK case 2: YY_RULE_SETUP -#line 71 "sel-lex.l" { return kw_FALSE; } YY_BREAK case 3: YY_RULE_SETUP -#line 72 "sel-lex.l" { return kw_AND; } YY_BREAK case 4: YY_RULE_SETUP -#line 73 "sel-lex.l" { return kw_OR; } YY_BREAK case 5: YY_RULE_SETUP -#line 74 "sel-lex.l" { return kw_IN; } YY_BREAK case 6: YY_RULE_SETUP -#line 75 "sel-lex.l" { return kw_TAILMATCH; } YY_BREAK case 7: YY_RULE_SETUP -#line 77 "sel-lex.l" { yylval.string = strdup ((const char *)yytext); return IDENTIFIER; @@ -843,31 +826,25 @@ YY_RULE_SETUP YY_BREAK case 8: YY_RULE_SETUP -#line 81 "sel-lex.l" { yylval.string = handle_string(); return STRING; } YY_BREAK case 9: /* rule 9 can match eol */ YY_RULE_SETUP -#line 82 "sel-lex.l" { ++lineno; } YY_BREAK case 10: YY_RULE_SETUP -#line 83 "sel-lex.l" { return *yytext; } YY_BREAK case 11: YY_RULE_SETUP -#line 84 "sel-lex.l" ; YY_BREAK case 12: YY_RULE_SETUP -#line 85 "sel-lex.l" ECHO; YY_BREAK -#line 870 "sel-lex.c" case YY_STATE_EOF(INITIAL): yyterminate(); @@ -1865,10 +1842,6 @@ void yyfree (void * ptr ) #define YYTABLES_NAME "yytables" -#line 85 "sel-lex.l" - - - static char * handle_string(void) { |