summaryrefslogtreecommitdiff
path: root/src/mp-equation-private.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mp-equation-private.h')
-rw-r--r--src/mp-equation-private.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/mp-equation-private.h b/src/mp-equation-private.h
index 319e916..9885a8f 100644
--- a/src/mp-equation-private.h
+++ b/src/mp-equation-private.h
@@ -22,6 +22,12 @@
#include "mp-equation.h"
+/* An opaque pointer. */
+#ifndef YY_TYPEDEF_YY_SCANNER_T
+#define YY_TYPEDEF_YY_SCANNER_T
+typedef void* yyscan_t;
+#endif /* YY_TYPEDEF_YY_SCANNER_T */
+
typedef struct MPEquationParserState MPEquationParserState;
/* State for parser */