summaryrefslogtreecommitdiff
path: root/FlexLexer.h
diff options
context:
space:
mode:
authorVern Paxson <vern@ee.lbl.gov>1993-12-11 10:27:02 +0000
committerVern Paxson <vern@ee.lbl.gov>1993-12-11 10:27:02 +0000
commit9731f329b92c3287a248c8495a5eb40597bdad1c (patch)
treed2ab1bb75839d6c8a3cbe6e7e55c633a4c3ed9a2 /FlexLexer.h
parentefb1cf6aa4c2cfa507fd90df763092598a761f24 (diff)
Added extern "C++" wrapper
Diffstat (limited to 'FlexLexer.h')
-rw-r--r--FlexLexer.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/FlexLexer.h b/FlexLexer.h
index f1616b4..1d5a66d 100644
--- a/FlexLexer.h
+++ b/FlexLexer.h
@@ -35,6 +35,8 @@
// If you want to create multiple lexer classes, you use the -P flag
// to rename each yyFlexLexer to some other xxFlexLexer.
+extern "C++" {
+
#include <iostream.h>
struct yy_buffer_state;
@@ -156,4 +158,7 @@ protected:
int yy_more_flag;
int yy_more_len;
};
+
+}
+
#endif