summaryrefslogtreecommitdiff
path: root/src/include/cvc5parser_private.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/cvc5parser_private.h')
-rw-r--r--src/include/cvc5parser_private.h32
1 files changed, 32 insertions, 0 deletions
diff --git a/src/include/cvc5parser_private.h b/src/include/cvc5parser_private.h
new file mode 100644
index 000000000..aec3a09a5
--- /dev/null
+++ b/src/include/cvc5parser_private.h
@@ -0,0 +1,32 @@
+/******************************************************************************
+ * Top contributors (to current version):
+ * Morgan Deters, Tim King
+ *
+ * This file is part of the cvc5 project.
+ *
+ * Copyright (c) 2009-2021 by the authors listed in the file AUTHORS
+ * in the top-level source directory and their institutional affiliations.
+ * All rights reserved. See the file COPYING in the top-level source
+ * directory for licensing information.
+ * ****************************************************************************
+ *
+ * Inclusion of this file marks a header as private and generates a warning
+ * when the file is included improperly.
+ */
+
+#ifndef __CVC4PARSER_PRIVATE_H
+#define __CVC4PARSER_PRIVATE_H
+
+#if !(defined(__BUILDING_CVC4PARSERLIB) \
+ || defined(__BUILDING_CVC4PARSERLIB_UNIT_TEST))
+# error A private CVC4 parser header was included when not building the parser library or private unit test code.
+#endif /* ! (__BUILDING_CVC4PARSERLIB || __BUILDING_CVC4PARSERLIB_UNIT_TEST) \
+ */
+
+#include "cvc5parser_public.h"
+// It would be nice to #include "cvc4autoconfig.h" here, but there are conflicts
+// with antlr3's autoheader stuff, which they export :(
+//
+// #include "cvc4autoconfig.h"
+
+#endif /* __CVC4PARSER_PRIVATE_H */
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback