summaryrefslogtreecommitdiff
path: root/src/tools/tool-options.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/tools/tool-options.h')
-rw-r--r--src/tools/tool-options.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/tools/tool-options.h b/src/tools/tool-options.h
index f45569648..0ed0f27fb 100644
--- a/src/tools/tool-options.h
+++ b/src/tools/tool-options.h
@@ -135,6 +135,15 @@ struct ToolOptions : public Options {
Options::Arguments::Zero,
[](Options* o, const std::string& argument) {
setTypeSystem(TypeSystem::Equirecursive);
+ })
+ .add("--hybrid",
+ "",
+ "Force all GC type definitions to be parsed using the isorecursive "
+ "hybrid type system.",
+ ToolOptionsCategory,
+ Options::Arguments::Zero,
+ [](Options* o, const std::string& argument) {
+ setTypeSystem(TypeSystem::Isorecursive);
});
}