diff options
author | Mathias Preiner <mathias.preiner@gmail.com> | 2019-12-17 13:43:44 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-12-17 13:43:44 -0800 |
commit | e9499c41f405df8b42fd9ae10004b1b91a869106 (patch) | |
tree | fa1475f43a3e61b8f6ffdcb903b65919eba28661 /src/options/module_template.cpp | |
parent | 9b2914ed9f7b14ecf535ffe9e1328d0fa042e072 (diff) |
Generate code for options with modes. (#3561)
This commit adds support for code generation of options with modes (enums). From now on option enums can be specified in the corresponding *.toml files without the need of extra code. All option enums are now in the options namespace.
Diffstat (limited to 'src/options/module_template.cpp')
-rw-r--r-- | src/options/module_template.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/options/module_template.cpp b/src/options/module_template.cpp index 46162845d..9ac94477c 100644 --- a/src/options/module_template.cpp +++ b/src/options/module_template.cpp @@ -16,6 +16,7 @@ **/ #include "options/options_holder.h" +#include "base/check.h" namespace CVC4 { @@ -26,6 +27,7 @@ namespace options { ${defs}$ +${modes}$ } // namespace options } // namespace CVC4 |