From: Vern Paxson Date: Mon, 23 Jun 1997 19:48:11 +0000 (+0000) Subject: wrapped with extern "C++" X-Git-Tag: flex-2-5-5b~20 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=1347dbdd395dc7d8e0513dd9080cd5b78f97ea6b;p=flex wrapped with extern "C++" --- diff --git a/FlexLexer.h b/FlexLexer.h index 4577fb3..7a5bb43 100644 --- a/FlexLexer.h +++ b/FlexLexer.h @@ -99,6 +99,8 @@ protected: // yyFlexLexer, as discussed in the flex man page. #define yyFlexLexerOnce +extern "C++" { + class yyFlexLexer : public FlexLexer { public: // arg_yyin and arg_yyout default to the cin and cout, but we @@ -182,4 +184,6 @@ protected: int yy_prev_more_offset; }; +} + #endif