summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMorgan Deters <mdeters@gmail.com>2012-06-28 09:42:09 +0000
committerMorgan Deters <mdeters@gmail.com>2012-06-28 09:42:09 +0000
commit2f282e67ed10bd58c24cdc14ec53857b79e59a35 (patch)
treeaf137886cccef4ea65e5c8c172e9299c7e2d17b8
parent86eb789dfb6b79a964912ac8289c2ecb28628667 (diff)
fix a link error on church, due to Antlr #defining "true" and "false" :-( --for now, just #undef them after the #includesmtcomp2012-resubmission
-rw-r--r--src/parser/tptp/tptp.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/parser/tptp/tptp.cpp b/src/parser/tptp/tptp.cpp
index 065c62824..ab7ce5422 100644
--- a/src/parser/tptp/tptp.cpp
+++ b/src/parser/tptp/tptp.cpp
@@ -22,6 +22,10 @@
#include "parser/tptp/tptp.h"
#include "parser/antlr_input.h"
+// ANTLR defines these, which is really bad!
+#undef true
+#undef false
+
namespace CVC4 {
namespace parser {
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback