summaryrefslogtreecommitdiff
path: root/source4/heimdal/lib/com_err/lex.c
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2011-02-25 20:34:07 +1100
committerAndrew Bartlett <abartlet@samba.org>2011-02-25 11:46:56 +0100
commit80e23c68d83a7c9989f87d5a88a78bb76d222afc (patch)
tree534af1ca02724866bcf651b8f651c0bbde300220 /source4/heimdal/lib/com_err/lex.c
parent22c407d8bd01d98498c1960b58b5d49d8dda8899 (diff)
downloadsamba-80e23c68d83a7c9989f87d5a88a78bb76d222afc.tar.gz
samba-80e23c68d83a7c9989f87d5a88a78bb76d222afc.tar.bz2
samba-80e23c68d83a7c9989f87d5a88a78bb76d222afc.zip
heimdal_build omit #line statments to allow valgrind to work again
The lex/yacc files were generated on Fedora 14, and have empty filenames in #line declarations. I don't know why this is, but it seems best just to omit the #line statements. This is what was causing Valgrind on Fedora not to run on Samba binaries and programs linked to Samba libraries. Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Fri Feb 25 11:46:56 CET 2011 on sn-devel-104
Diffstat (limited to 'source4/heimdal/lib/com_err/lex.c')
-rw-r--r--source4/heimdal/lib/com_err/lex.c29
1 files changed, 0 insertions, 29 deletions
diff --git a/source4/heimdal/lib/com_err/lex.c b/source4/heimdal/lib/com_err/lex.c
index 9a61f5902b..6b2730d900 100644
--- a/source4/heimdal/lib/com_err/lex.c
+++ b/source4/heimdal/lib/com_err/lex.c
@@ -473,8 +473,6 @@ int yy_flex_debug = 0;
#define YY_MORE_ADJ 0
#define YY_RESTORE_YY_MORE_OFFSET
char *yytext;
-#line 1 "lex.l"
-#line 2 "lex.l"
/*
* Copyright (c) 1998 - 2000 Kungliga Tekniska Högskolan
* (Royal Institute of Technology, Stockholm, Sweden).
@@ -527,8 +525,6 @@ static int getstring(void);
#undef ECHO
-#line 530 ""
-
#define INITIAL 0
#ifndef YY_NO_UNISTD_H
@@ -707,10 +703,6 @@ YY_DECL
register char *yy_cp, *yy_bp;
register int yy_act;
-#line 58 "lex.l"
-
-#line 712 ""
-
if ( !(yy_init) )
{
(yy_init) = 1;
@@ -794,86 +786,69 @@ do_action: /* This label is used only to access EOF actions. */
case 1:
YY_RULE_SETUP
-#line 59 "lex.l"
{ return ET; }
YY_BREAK
case 2:
YY_RULE_SETUP
-#line 60 "lex.l"
{ return ET; }
YY_BREAK
case 3:
YY_RULE_SETUP
-#line 61 "lex.l"
{ return EC; }
YY_BREAK
case 4:
YY_RULE_SETUP
-#line 62 "lex.l"
{ return EC; }
YY_BREAK
case 5:
YY_RULE_SETUP
-#line 63 "lex.l"
{ return PREFIX; }
YY_BREAK
case 6:
YY_RULE_SETUP
-#line 64 "lex.l"
{ return INDEX; }
YY_BREAK
case 7:
YY_RULE_SETUP
-#line 65 "lex.l"
{ return ID; }
YY_BREAK
case 8:
YY_RULE_SETUP
-#line 66 "lex.l"
{ return END; }
YY_BREAK
case 9:
YY_RULE_SETUP
-#line 67 "lex.l"
{ yylval.number = atoi(yytext); return NUMBER; }
YY_BREAK
case 10:
YY_RULE_SETUP
-#line 68 "lex.l"
;
YY_BREAK
case 11:
YY_RULE_SETUP
-#line 69 "lex.l"
;
YY_BREAK
case 12:
/* rule 12 can match eol */
YY_RULE_SETUP
-#line 70 "lex.l"
{ lineno++; }
YY_BREAK
case 13:
YY_RULE_SETUP
-#line 71 "lex.l"
{ return getstring(); }
YY_BREAK
case 14:
YY_RULE_SETUP
-#line 72 "lex.l"
{ yylval.string = strdup(yytext); return STRING; }
YY_BREAK
case 15:
YY_RULE_SETUP
-#line 73 "lex.l"
{ return *yytext; }
YY_BREAK
case 16:
YY_RULE_SETUP
-#line 74 "lex.l"
ECHO;
YY_BREAK
-#line 876 ""
case YY_STATE_EOF(INITIAL):
yyterminate();
@@ -1834,10 +1809,6 @@ void yyfree (void * ptr )
#define YYTABLES_NAME "yytables"
-#line 74 "lex.l"
-
-
-
#ifndef yywrap /* XXX */
int
yywrap ()