summaryrefslogtreecommitdiff
path: root/source4/heimdal/lib/com_err
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2007-09-22 09:44:29 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 15:07:08 -0500
commit733591c079eb646344333bcad091839cd15992e7 (patch)
tree13a89ac5baf74d756d2ebce78750a740394203a8 /source4/heimdal/lib/com_err
parentb15e7316a47b7c3e4ff6f477e270023f1a851a86 (diff)
downloadsamba-733591c079eb646344333bcad091839cd15992e7.tar.gz
samba-733591c079eb646344333bcad091839cd15992e7.tar.bz2
samba-733591c079eb646344333bcad091839cd15992e7.zip
r25298: regenerate lex.c files with config.h as first include
this should help on aix 5.3. metze (This used to be commit bfd8c275bb90b2709753ef3177c8ab24f91c75c0)
Diffstat (limited to 'source4/heimdal/lib/com_err')
-rw-r--r--source4/heimdal/lib/com_err/lex.c33
1 files changed, 6 insertions, 27 deletions
diff --git a/source4/heimdal/lib/com_err/lex.c b/source4/heimdal/lib/com_err/lex.c
index c5af2ead5c..77e79d4eae 100644
--- a/source4/heimdal/lib/com_err/lex.c
+++ b/source4/heimdal/lib/com_err/lex.c
@@ -1,5 +1,6 @@
+#include "config.h"
-#line 3 "lex.c"
+#line 3 "heimdal/lib/com_err/lex.c"
#define YY_INT_ALIGNED short int
@@ -342,9 +343,6 @@ FILE *yyin = (FILE *) 0, *yyout = (FILE *) 0;
typedef int yy_state_type;
extern int yylineno;
-
-int yylineno = 1;
-
extern char *yytext;
#define yytext_ptr yytext
@@ -523,7 +521,7 @@ char *yytext;
#include "parse.h"
#include "lex.h"
-RCSID("$Id: lex.l 15143 2005-05-16 08:52:54Z lha $");
+RCSID("$Id: lex.l,v 1.8 2005/05/16 08:52:54 lha Exp $");
static unsigned lineno = 1;
static int getstring(void);
@@ -532,7 +530,7 @@ static int getstring(void);
#undef ECHO
-#line 536 "lex.c"
+#line 533 "heimdal/lib/com_err/lex.c"
#define INITIAL 0
@@ -687,7 +685,7 @@ YY_DECL
#line 59 "lex.l"
-#line 691 "lex.c"
+#line 688 "heimdal/lib/com_err/lex.c"
if ( !(yy_init) )
{
@@ -851,7 +849,7 @@ YY_RULE_SETUP
#line 75 "lex.l"
ECHO;
YY_BREAK
-#line 855 "lex.c"
+#line 852 "heimdal/lib/com_err/lex.c"
case YY_STATE_EOF(INITIAL):
yyterminate();
@@ -1661,15 +1659,6 @@ static void yy_fatal_error (yyconst char* msg )
/* Accessor methods (get/set functions) to struct members. */
-/** Get the current line number.
- *
- */
-int yyget_lineno (void)
-{
-
- return yylineno;
-}
-
/** Get the input stream.
*
*/
@@ -1703,16 +1692,6 @@ char *yyget_text (void)
return yytext;
}
-/** Set the current line number.
- * @param line_number
- *
- */
-void yyset_lineno (int line_number )
-{
-
- yylineno = line_number;
-}
-
/** Set the input stream. This does not discard the current
* input buffer.
* @param in_str A readable stream.