summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPerberos <[email protected]>2012-07-31 20:19:23 -0300
committerPerberos <[email protected]>2012-07-31 20:19:23 -0300
commitf6d05dad1665b9490e53f453cdd17294b9efee55 (patch)
tree4bc58f5ee61596f860a304638b32d71c4998c318
parent678188bdadef4853b88031b8d5277b81bdfb5f3c (diff)
downloadmate-calc-f6d05dad1665b9490e53f453cdd17294b9efee55.tar.bz2
mate-calc-f6d05dad1665b9490e53f453cdd17294b9efee55.tar.xz
adding hack to fix bison decls mess
-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 */