summaryrefslogtreecommitdiff
path: root/src/parser/Makefile.antlr_tracing
diff options
context:
space:
mode:
authorMorgan Deters <mdeters@gmail.com>2011-04-23 05:15:56 +0000
committerMorgan Deters <mdeters@gmail.com>2011-04-23 05:15:56 +0000
commit57b8c4c8581d2d3ffcf3d3a1bb228271cb4d074a (patch)
tree1c1781cc83118e4bbd2ad6939b16734c30a69f1a /src/parser/Makefile.antlr_tracing
parent673d0e86b91094a58433c3ca71591fb0a0c60f84 (diff)
* reviewed BooleanSimplification, added documentation & unit test
* work around a lexer ambiguity in CVC grammar * add support for tracing antlr parser/lexer * add parsing support for more language features * initial parameterized types parsing work to support Andy's work
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