=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/lex/flex.1,v retrieving revision 1.4 retrieving revision 1.5 diff -u -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 +1,4 @@ -.\" $OpenBSD: flex.1,v 1.4 1998/06/11 04:15:31 deraadt Exp $ +.\" $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,7 +3196,7 @@ instead of .B lex.yy.c. The generated scanner includes the header file -.I FlexLexer.h, +.I g++/FlexLexer.h, which defines the interface to two C++ classes. .PP The first class, @@ -3249,7 +3249,7 @@ object pointer). .PP The second class defined in -.I FlexLexer.h +.I g++/FlexLexer.h is .B yyFlexLexer, which is derived from @@ -3448,7 +3448,7 @@ to some other .B xxFlexLexer. You then can include -.B +.B in your other sources once per lexer class, first renaming .B yyFlexLexer as follows: @@ -3456,11 +3456,11 @@ #undef yyFlexLexer #define yyFlexLexer xxFlexLexer - #include + #include #undef yyFlexLexer #define yyFlexLexer zzFlexLexer - #include + #include .fi if, for example, you used @@ -3891,7 +3891,7 @@ generated C++ scanner class, when using .B -+. .TP -.I +.I header file defining the C++ scanner base class, .B FlexLexer, and its derived class,