C++ compilation.
[idzebra-moved-to-github.git] / dfa / lexer.h
index 1178063..305223e 100644 (file)
@@ -1,18 +1,35 @@
 /*
- * Copyright (C) 1994, Index Data I/S 
+ * Copyright (C) 1994-1999, Index Data
  * All rights reserved.
  * Sebastian Hammer, Adam Dickmeiss
  *
  * $Log: lexer.h,v $
- * Revision 1.1  1994-09-26 10:16:55  adam
+ * Revision 1.4  1999-05-26 07:49:12  adam
+ * C++ compilation.
+ *
+ * Revision 1.3  1999/02/02 14:50:11  adam
+ * Updated WIN32 code specific sections. Changed header.
+ *
+ * Revision 1.2  1995/01/24 16:00:22  adam
+ * Added -ansi to CFLAGS.
+ * Some changes to the dfa module.
+ *
+ * Revision 1.1  1994/09/26  10:16:55  adam
  * First version of dfa module in alex. This version uses yacc to parse
  * regular expressions. This should be hand-made instead.
  *
  */
 
+#ifdef __cplusplus
+extern "C" {
+#endif
 
-int        read_file      ( const char *, DFA ** );
+int        read_file      ( const char *, struct DFA * );
 void       error          ( const char *, ... );
 
 extern int ccluse;
 
+#ifdef __cplusplus
+}
+#endif
+