=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/lex/main.c,v retrieving revision 1.25 retrieving revision 1.26 diff -c -r1.25 -r1.26 *** src/usr.bin/lex/main.c 2015/12/11 00:08:43 1.25 --- src/usr.bin/lex/main.c 2016/12/25 16:40:06 1.26 *************** *** 1,4 **** ! /* $OpenBSD: main.c,v 1.25 2015/12/11 00:08:43 mmcc Exp $ */ /* flex - tool to generate fast lexical analyzers */ --- 1,4 ---- ! /* $OpenBSD: main.c,v 1.26 2016/12/25 16:40:06 krw Exp $ */ /* flex - tool to generate fast lexical analyzers */ *************** *** 1550,1560 **** //outn("\n#define YY_USES_REJECT"); } if (!do_yywrap) { ! if (!C_plus_plus) if (reentrant) outn("\n#define yywrap(yyscanner) 1"); else outn("\n#define yywrap() 1"); outn("#define YY_SKIP_YYWRAP"); } if (ddebug) --- 1550,1561 ---- //outn("\n#define YY_USES_REJECT"); } if (!do_yywrap) { ! if (!C_plus_plus) { if (reentrant) outn("\n#define yywrap(yyscanner) 1"); else outn("\n#define yywrap() 1"); + } outn("#define YY_SKIP_YYWRAP"); } if (ddebug)