summaryrefslogtreecommitdiff
path: root/source4/heimdal/lib/hx509/sel-lex.c
diff options
context:
space:
mode:
authorMatthias Dieter Wallnöfer <mdw@samba.org>2011-02-25 11:54:02 +0100
committerMatthias Dieter Wallnöfer <mdw@samba.org>2011-02-25 11:54:02 +0100
commit68c61a829b8487104483b23052b54c532fecb6ce (patch)
treeb9aaab8437d523b0d6672744b46189bc8e7885c7 /source4/heimdal/lib/hx509/sel-lex.c
parent80e23c68d83a7c9989f87d5a88a78bb76d222afc (diff)
downloadsamba-68c61a829b8487104483b23052b54c532fecb6ce.tar.gz
samba-68c61a829b8487104483b23052b54c532fecb6ce.tar.bz2
samba-68c61a829b8487104483b23052b54c532fecb6ce.zip
Revert "heimdal_build omit #line statments to allow valgrind to work again"
This reverts commit 80e23c68d83a7c9989f87d5a88a78bb76d222afc. A better patch has been provided by Milan Crha in the following commit.
Diffstat (limited to 'source4/heimdal/lib/hx509/sel-lex.c')
-rw-r--r--source4/heimdal/lib/hx509/sel-lex.c26
1 files changed, 26 insertions, 0 deletions
diff --git a/source4/heimdal/lib/hx509/sel-lex.c b/source4/heimdal/lib/hx509/sel-lex.c
index e0efbf4e58..703747217f 100644
--- a/source4/heimdal/lib/hx509/sel-lex.c
+++ b/source4/heimdal/lib/hx509/sel-lex.c
@@ -468,6 +468,8 @@ 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).
@@ -533,6 +535,8 @@ struct hx_expr_input _hx509_expr_input;
#undef ECHO
+#line 538 ""
+
#define INITIAL 0
#ifndef YY_NO_UNISTD_H
@@ -713,6 +717,11 @@ YY_DECL
register char *yy_cp, *yy_bp;
register int yy_act;
+#line 68 "sel-lex.l"
+
+
+#line 723 ""
+
if ( !(yy_init) )
{
(yy_init) = 1;
@@ -796,30 +805,37 @@ 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;
@@ -827,25 +843,31 @@ 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 ""
case YY_STATE_EOF(INITIAL):
yyterminate();
@@ -1843,6 +1865,10 @@ void yyfree (void * ptr )
#define YYTABLES_NAME "yytables"
+#line 85 "sel-lex.l"
+
+
+
static char *
handle_string(void)
{