summaryrefslogtreecommitdiff
path: root/src/parser/parser.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/parser/parser.h')
-rw-r--r--src/parser/parser.h10
1 files changed, 8 insertions, 2 deletions
diff --git a/src/parser/parser.h b/src/parser/parser.h
index b0ef2328f..2317835ff 100644
--- a/src/parser/parser.h
+++ b/src/parser/parser.h
@@ -602,9 +602,15 @@ public:
* For each symbol defined by the datatype, if a symbol with name already exists,
* then if doOverload is true, we create overloaded operators.
* else if doOverload is false, the existing expression is shadowed by the new expression.
+ *
+ * flags specify information about the datatype, e.g. whether it should be
+ * printed out as a definition in models or not
+ * (see enum in expr_manager_template.h).
*/
- std::vector<DatatypeType>
- mkMutualDatatypeTypes(std::vector<Datatype>& datatypes, bool doOverload=false);
+ std::vector<DatatypeType> mkMutualDatatypeTypes(
+ std::vector<Datatype>& datatypes,
+ bool doOverload = false,
+ uint32_t flags = ExprManager::DATATYPE_FLAG_NONE);
/** make flat function type
*
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback