summaryrefslogtreecommitdiff
path: root/FlexLexer.h
diff options
context:
space:
mode:
authorVern Paxson <vern@ee.lbl.gov>1997-06-23 19:48:11 +0000
committerVern Paxson <vern@ee.lbl.gov>1997-06-23 19:48:11 +0000
commit1347dbdd395dc7d8e0513dd9080cd5b78f97ea6b (patch)
tree8e6edfbebc667ab7f3a2e4b80be8904e1308e40f /FlexLexer.h
parent507319e5695932ec442895dabfb9d18a9fc20e33 (diff)
wrapped with extern "C++"
Diffstat (limited to 'FlexLexer.h')
-rw-r--r--FlexLexer.h4
1 files changed, 4 insertions, 0 deletions
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