diff options
author | Michi Henning <michi@zeroc.com> | 2003-02-07 01:05:18 +0000 |
---|---|---|
committer | Michi Henning <michi@zeroc.com> | 2003-02-07 01:05:18 +0000 |
commit | 3ae3ebfc6153829b91c097841ad41505d5a486f5 (patch) | |
tree | c13719555a13ee128c985881928c70f3ba8c94ba /cpp/src/Slice/Scanner.l | |
parent | minor fix (diff) | |
download | ice-3ae3ebfc6153829b91c097841ad41505d5a486f5.tar.bz2 ice-3ae3ebfc6153829b91c097841ad41505d5a486f5.tar.xz ice-3ae3ebfc6153829b91c097841ad41505d5a486f5.zip |
Changed Java mapping for Operations interface. Interface Foo now creates
_FooOperations. "Operations" is no longer a reserved suffix for Slice
identifiers.
Diffstat (limited to 'cpp/src/Slice/Scanner.l')
-rw-r--r-- | cpp/src/Slice/Scanner.l | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/src/Slice/Scanner.l b/cpp/src/Slice/Scanner.l index d0e397d9c07..e52748f4293 100644 --- a/cpp/src/Slice/Scanner.l +++ b/cpp/src/Slice/Scanner.l @@ -406,7 +406,7 @@ checkIdentifier(const string& id) unit->warning("illegal underscore in identifier `" + id + "'"); } - static const string suffixBlacklist[] = { "Helper", "Holder", "Operations", "Prx", "Ptr" }; + static const string suffixBlacklist[] = { "Helper", "Holder", "Prx", "Ptr" }; for(size_t i = 0; i < sizeof(suffixBlacklist) / sizeof(*suffixBlacklist); ++i) { if(id.find(suffixBlacklist[i], id.size() - suffixBlacklist[i].size()) != string::npos) |