diff options
author | Aina Niemetz <aina.niemetz@gmail.com> | 2021-04-14 11:56:47 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-14 18:56:47 +0000 |
commit | e5c26181dab76704ad9a47126585fe2ec9d6cac2 (patch) | |
tree | 4f9d5a275091b73e825e0105be457c2b57f67d31 /src/include/cvc5parser_private.h | |
parent | b6db4446a28d498af8fb4e629392985dfe2a976c (diff) |
Rename public and private headers in src/include. (#6352)
Diffstat (limited to 'src/include/cvc5parser_private.h')
-rw-r--r-- | src/include/cvc5parser_private.h | 32 |
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 */ |