diff options
Diffstat (limited to '.travis/stp-r940-smtlib2.y.patch')
-rw-r--r-- | .travis/stp-r940-smtlib2.y.patch | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/.travis/stp-r940-smtlib2.y.patch b/.travis/stp-r940-smtlib2.y.patch new file mode 100644 index 00000000..212c0180 --- /dev/null +++ b/.travis/stp-r940-smtlib2.y.patch @@ -0,0 +1,24 @@ +diff --git a/src/parser/smtlib2.y b/src/parser/smtlib2.y +index a94bd6c..5263bf5 100644 +--- a/src/parser/smtlib2.y ++++ b/src/parser/smtlib2.y +@@ -64,6 +64,7 @@ + FatalError(""); + return 1; + } ++ int yyerror(void* AssertsQuery, const char* s) { return yyerror(s); } + + ASTNode querysmt2; + ASTVec assertionsSMT2; +@@ -72,9 +73,10 @@ + #define YYMAXDEPTH 104857600 + #define YYERROR_VERBOSE 1 + #define YY_EXIT_FAILURE -1 +-#define YYPARSE_PARAM AssertsQuery + %} + ++%parse-param {void* AssertsQuery} ++ + %union { + unsigned uintval; /* for numerals in types. */ + //ASTNode,ASTVec |