Minor cosmetic source code changes
This commit is contained in:
parent
5d71f91b29
commit
cd725fbe94
2 changed files with 3 additions and 2 deletions
|
|
@ -3530,6 +3530,7 @@ String *Language::makeParameterName(Node *n, Parm *p, int arg_num, bool setter)
|
||||||
// Some languages (C#) insist on calling the input variable "value" while
|
// Some languages (C#) insist on calling the input variable "value" while
|
||||||
// others (D, Java) could, in principle, use something different but this
|
// others (D, Java) could, in principle, use something different but this
|
||||||
// would require more work, and so we just use "value" for them too.
|
// would require more work, and so we just use "value" for them too.
|
||||||
|
// For setters the parameter name sometimes includes C++ scope resolution which needs removing.
|
||||||
Delete(arg);
|
Delete(arg);
|
||||||
arg = NewString("value");
|
arg = NewString("value");
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue