summaryrefslogtreecommitdiff
path: root/src/options/module_template.h
diff options
context:
space:
mode:
authorMathias Preiner <mathias.preiner@gmail.com>2019-12-17 13:43:44 -0800
committerGitHub <noreply@github.com>2019-12-17 13:43:44 -0800
commite9499c41f405df8b42fd9ae10004b1b91a869106 (patch)
treefa1475f43a3e61b8f6ffdcb903b65919eba28661 /src/options/module_template.h
parent9b2914ed9f7b14ecf535ffe9e1328d0fa042e072 (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.h')
-rw-r--r--src/options/module_template.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/options/module_template.h b/src/options/module_template.h
index 2ffe070d2..e3eb30fe1 100644
--- a/src/options/module_template.h
+++ b/src/options/module_template.h
@@ -32,8 +32,9 @@ namespace CVC4 {
namespace options {
-${decls}$
+${modes}$
+${decls}$
} // namespace options
@@ -44,7 +45,6 @@ namespace options {
${inls}$
-
} // namespace options
} // namespace CVC4
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback