summaryrefslogtreecommitdiff
path: root/development/latrace/fix-scanner-config-for-flex-2.6.x.patch
blob: 301f4c5a96ea837b058a00416ec2b7fc7f48aa11 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
--- src/config-flex.l.orig	2011-07-25 07:18:18.000000000 -0400
+++ src/config-flex.l	2017-07-02 13:52:20.048382500 -0400
@@ -106,19 +106,17 @@ OPTIONS				{ BEGIN(options); return OPTI
 <options>"\n"		{ NEW_LINE(); }
 <options>.		{ ; }
 
 %%
 
-#ifndef yywrap
-int yywrap()
+int lt_config_wrap()
 {
 	return 1;
 	/* XXX not to get the compiler 'not used' warning */
 	yyunput(0, NULL);
 	input();
 }
-#endif
 
 void lt_config_error(const char *m)
 {
 	printf("conf file [%s] line %d: %s\n",
 		lt_inc_stack(lt_config_sinc)->file,