Var/Func: Render function parameters using comma, not semicolon

A bit larger follow-up to what Tim pointed out: Function prototype descriptions
previously used semicolons to separate parameters.

Switch to use commas when a RecordType is used as function parameter.
Use existing "func_args" naming for consistency.
This commit is contained in:
Arne Welzel 2023-10-04 16:33:22 +02:00
parent 8ede22f6ec
commit 8109bbc52f
22 changed files with 50 additions and 32 deletions

View file

@ -718,7 +718,7 @@ public:
void AddFieldsDirectly(const type_decl_list& types, bool add_log_attr = false);
void DescribeReST(ODesc* d, bool roles_only = false) const override;
void DescribeFields(ODesc* d) const;
void DescribeFields(ODesc* d, bool func_args = false) const;
void DescribeFieldsReST(ODesc* d, bool func_args) const;
bool IsFieldDeprecated(int field) const