]> granicus.if.org Git - flex/commitdiff
wrapped with extern "C++"
authorVern Paxson <vern@ee.lbl.gov>
Mon, 23 Jun 1997 19:48:11 +0000 (19:48 +0000)
committerVern Paxson <vern@ee.lbl.gov>
Mon, 23 Jun 1997 19:48:11 +0000 (19:48 +0000)
FlexLexer.h

index 4577fb344f7e09aaa6ff8ed4b20cfad187f58315..7a5bb43147ddba64f1705c6f6b25f9c815628dd3 100644 (file)
@@ -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