summaryrefslogtreecommitdiff
path: root/src/parser/Makefile.antlr_tracing
diff options
context:
space:
mode:
Diffstat (limited to 'src/parser/Makefile.antlr_tracing')
-rw-r--r--src/parser/Makefile.antlr_tracing21
1 files changed, 21 insertions, 0 deletions
diff --git a/src/parser/Makefile.antlr_tracing b/src/parser/Makefile.antlr_tracing
new file mode 100644
index 000000000..087554c52
--- /dev/null
+++ b/src/parser/Makefile.antlr_tracing
@@ -0,0 +1,21 @@
+# -*-makefile-*-
+#
+# This makefile is included from parser directories in order to
+# do antlr tracing. THIS IS VERY MUCH A HACK, and is only enabled
+# if CVC4_TRACE_ANTLR is defined (and not 0). In ANTLR 3.2, we
+# have to #define
+#
+
+ifeq ($(CVC4_TRACE_ANTLR),)
+else
+
+ifeq ($(CVC4_TRACE_ANTLR),0)
+else
+
+AM_CPPFLAGS += -DCVC4_TRACE_ANTLR
+ANTLR_OPTS += -trace
+
+endif
+
+endif
+
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback