summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gobject-introspection/scannerlexer.l9
1 files changed, 2 insertions, 7 deletions
diff --git a/gobject-introspection/scannerlexer.l b/gobject-introspection/scannerlexer.l
index 3cfd40633..f748e8c1c 100644
--- a/gobject-introspection/scannerlexer.l
+++ b/gobject-introspection/scannerlexer.l
@@ -44,7 +44,8 @@ char linebuf[2000];
extern int yylex (GIGenerator *igenerator);
#define YY_DECL int yylex (GIGenerator *igenerator)
-static int yywrap (void);
+#define yywrap() (1)
+#define YY_SKIP_YYWRAP
static void parse_comment (GIGenerator *igenerator);
static void process_linemarks (GIGenerator *igenerator, gboolean has_line);
static int check_identifier (GIGenerator *igenerator, const char *);
@@ -225,12 +226,6 @@ stringtext ([^\\\"])|(\\.)
%%
-static int
-yywrap (void)
-{
- return 1;
-}
-
static void parse_gtkdoc (GIGenerator *igenerator, int *c1, int *c2)
{
gboolean isline = FALSE;