Skip to content

Commit b2d5968

Browse files
committed
fixed link error for c++ flex scaner
1 parent 52333db commit b2d5968

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

flex/src/main.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1770,7 +1770,7 @@ void readin (void)
17701770
outn ("\n#include <FlexLexer.h>");
17711771

17721772
if (!do_yywrap) {
1773-
outn("\nint yyFlexLexer::yywrap() { return 1; }");
1773+
outn("\ninline int yyFlexLexer::yywrap() { return 1; }");
17741774
}
17751775

17761776
if (yyclass) {

0 commit comments

Comments
 (0)