mono: Add "out" as a reserved word

This will turn it into kw_out just like it is done for "in".
Otherwise it cannot be used as a parameter name, for example.
This commit is contained in:
Xavi Artigas 2020-02-17 12:35:00 +01:00
parent a4311f73ee
commit cf02feb9ba
1 changed files with 1 additions and 0 deletions

View File

@ -71,6 +71,7 @@ inline std::string escape_keyword(std::string const& name)
|| is_equal(name, "lock")
|| is_equal(name, "event")
|| is_equal(name, "in")
|| is_equal(name, "out")
|| is_equal(name, "object")
|| is_equal(name, "interface")
|| is_equal(name, "string")