Author: metze
Date: 2007-09-22 09:44:29 +0000 (Sat, 22 Sep 2007)
New Revision: 25298

WebSVN: 
http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=25298

Log:
regenerate lex.c files with config.h as first include
this should help on aix 5.3.

metze
Modified:
   branches/SAMBA_4_0/source/heimdal/lib/asn1/lex.c
   branches/SAMBA_4_0/source/heimdal/lib/com_err/lex.c


Changeset:
Modified: branches/SAMBA_4_0/source/heimdal/lib/asn1/lex.c
===================================================================
--- branches/SAMBA_4_0/source/heimdal/lib/asn1/lex.c    2007-09-22 09:42:38 UTC 
(rev 25297)
+++ branches/SAMBA_4_0/source/heimdal/lib/asn1/lex.c    2007-09-22 09:44:29 UTC 
(rev 25298)
@@ -1,5 +1,6 @@
+#include "config.h"
 
-#line 3 "lex.c"
+#line 3 "heimdal/lib/asn1/lex.c"
 
 #define  YY_INT_ALIGNED short int
 
@@ -342,9 +343,6 @@
 typedef int yy_state_type;
 
 extern int yylineno;
-
-int yylineno = 1;
-
 extern char *yytext;
 #define yytext_ptr yytext
 
@@ -826,7 +824,7 @@
  * SUCH DAMAGE. 
  */
 
-/* $Id: lex.l 18738 2006-10-21 11:57:22Z lha $ */
+/* $Id: lex.l,v 1.31 2006/10/21 11:57:22 lha Exp $ */
 
 #ifdef HAVE_CONFIG_H
 #include <config.h>
@@ -851,7 +849,7 @@
 static void unterminated(const char *, unsigned);
 
 /* This is for broken old lexes (solaris 10 and hpux) */
-#line 855 "lex.c"
+#line 852 "heimdal/lib/asn1/lex.c"
 
 #define INITIAL 0
 
@@ -1006,7 +1004,7 @@
     
 #line 68 "lex.l"
 
-#line 1010 "lex.c"
+#line 1007 "heimdal/lib/asn1/lex.c"
 
        if ( !(yy_init) )
                {
@@ -1675,7 +1673,7 @@
 #line 274 "lex.l"
 ECHO;
        YY_BREAK
-#line 1679 "lex.c"
+#line 1676 "heimdal/lib/asn1/lex.c"
 case YY_STATE_EOF(INITIAL):
        yyterminate();
 
@@ -2485,15 +2483,6 @@
 
 /* Accessor  methods (get/set functions) to struct members. */
 
-/** Get the current line number.
- * 
- */
-int yyget_lineno  (void)
-{
-        
-    return yylineno;
-}
-
 /** Get the input stream.
  * 
  */
@@ -2527,16 +2516,6 @@
         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.

Modified: branches/SAMBA_4_0/source/heimdal/lib/com_err/lex.c
===================================================================
--- branches/SAMBA_4_0/source/heimdal/lib/com_err/lex.c 2007-09-22 09:42:38 UTC 
(rev 25297)
+++ branches/SAMBA_4_0/source/heimdal/lib/com_err/lex.c 2007-09-22 09:44:29 UTC 
(rev 25298)
@@ -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 @@
 typedef int yy_state_type;
 
 extern int yylineno;
-
-int yylineno = 1;
-
 extern char *yytext;
 #define yytext_ptr yytext
 
@@ -523,7 +521,7 @@
 #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 @@
 
 #undef ECHO
 
-#line 536 "lex.c"
+#line 533 "heimdal/lib/com_err/lex.c"
 
 #define INITIAL 0
 
@@ -687,7 +685,7 @@
     
 #line 59 "lex.l"
 
-#line 691 "lex.c"
+#line 688 "heimdal/lib/com_err/lex.c"
 
        if ( !(yy_init) )
                {
@@ -851,7 +849,7 @@
 #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 @@
 
 /* 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 @@
         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.

Reply via email to