summaryrefslogtreecommitdiff
path: root/src/parser/cvc
diff options
context:
space:
mode:
authorMathias Preiner <mathias.preiner@gmail.com>2018-10-20 14:53:19 -0700
committerAndres Noetzli <andres.noetzli@gmail.com>2018-10-20 14:53:19 -0700
commit0b515de430771d9bdc15fc29d41b391f1cc7c1fd (patch)
treeafa45c418e24d6479a470a0428db39a99be76cd9 /src/parser/cvc
parentf3e1b280ae2bcea29856b9a113633e7064a08faa (diff)
Remove antlr_undefines.h. (#2664)
Is not required anymore since we don't use autotools anymore.
Diffstat (limited to 'src/parser/cvc')
-rw-r--r--src/parser/cvc/Cvc.g8
-rw-r--r--src/parser/cvc/cvc_input.cpp7
2 files changed, 2 insertions, 13 deletions
diff --git a/src/parser/cvc/Cvc.g b/src/parser/cvc/Cvc.g
index 1a4541939..3eddf438f 100644
--- a/src/parser/cvc/Cvc.g
+++ b/src/parser/cvc/Cvc.g
@@ -495,10 +495,6 @@ Expr addNots(ExprManager* em, size_t n, Expr e) {
@lexer::includes {
-// This should come immediately after #include <antlr3.h> in the generated
-// files. See the documentation in "parser/antlr_undefines.h" for more details.
-#include "parser/antlr_undefines.h"
-
/** This suppresses warnings about the redefinition of token symbols between different
* parsers. The redefinitions should be harmless as long as no client: (a) #include's
* the lexer headers for two grammars AND (b) uses the token symbol definitions. */
@@ -523,10 +519,6 @@ Expr addNots(ExprManager* em, size_t n, Expr e) {
@parser::includes {
-// This should come immediately after #include <antlr3.h> in the generated
-// files. See the documentation in "parser/antlr_undefines.h" for more details.
-#include "parser/antlr_undefines.h"
-
#include <cassert>
#include <memory>
#include <stdint.h>
diff --git a/src/parser/cvc/cvc_input.cpp b/src/parser/cvc/cvc_input.cpp
index 4efe23ac5..17a670f40 100644
--- a/src/parser/cvc/cvc_input.cpp
+++ b/src/parser/cvc/cvc_input.cpp
@@ -14,13 +14,10 @@
** [[ Add file-specific comments here ]]
**/
-// These headers should be the first two included.
-// See the documentation in "parser/antlr_undefines.h" for more details.
-#include <antlr3.h>
-#include "parser/antlr_undefines.h"
-
#include "parser/cvc/cvc_input.h"
+#include <antlr3.h>
+
#include "expr/expr_manager.h"
#include "parser/antlr_input.h"
#include "parser/parser_exception.h"
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback