=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/lex/flex.1,v retrieving revision 1.4 retrieving revision 1.5 diff -c -r1.4 -r1.5 *** src/usr.bin/lex/flex.1 1998/06/11 04:15:31 1.4 --- src/usr.bin/lex/flex.1 1998/08/17 03:20:23 1.5 *************** *** 1,4 **** ! .\" $OpenBSD: flex.1,v 1.4 1998/06/11 04:15:31 deraadt Exp $ .\" .TH FLEX 1 "April 1995" "Version 2.5" .SH NAME --- 1,4 ---- ! .\" $OpenBSD: flex.1,v 1.5 1998/08/17 03:20:23 deraadt Exp $ .\" .TH FLEX 1 "April 1995" "Version 2.5" .SH NAME *************** *** 3196,3202 **** instead of .B lex.yy.c. The generated scanner includes the header file ! .I FlexLexer.h, which defines the interface to two C++ classes. .PP The first class, --- 3196,3202 ---- instead of .B lex.yy.c. The generated scanner includes the header file ! .I g++/FlexLexer.h, which defines the interface to two C++ classes. .PP The first class, *************** *** 3249,3255 **** object pointer). .PP The second class defined in ! .I FlexLexer.h is .B yyFlexLexer, which is derived from --- 3249,3255 ---- object pointer). .PP The second class defined in ! .I g++/FlexLexer.h is .B yyFlexLexer, which is derived from *************** *** 3448,3454 **** to some other .B xxFlexLexer. You then can include ! .B in your other sources once per lexer class, first renaming .B yyFlexLexer as follows: --- 3448,3454 ---- to some other .B xxFlexLexer. You then can include ! .B in your other sources once per lexer class, first renaming .B yyFlexLexer as follows: *************** *** 3456,3466 **** #undef yyFlexLexer #define yyFlexLexer xxFlexLexer ! #include #undef yyFlexLexer #define yyFlexLexer zzFlexLexer ! #include .fi if, for example, you used --- 3456,3466 ---- #undef yyFlexLexer #define yyFlexLexer xxFlexLexer ! #include #undef yyFlexLexer #define yyFlexLexer zzFlexLexer ! #include .fi if, for example, you used *************** *** 3891,3897 **** generated C++ scanner class, when using .B -+. .TP ! .I header file defining the C++ scanner base class, .B FlexLexer, and its derived class, --- 3891,3897 ---- generated C++ scanner class, when using .B -+. .TP ! .I header file defining the C++ scanner base class, .B FlexLexer, and its derived class,