diff options
author | Michi Henning <michi@zeroc.com> | 2003-04-11 02:05:05 +0000 |
---|---|---|
committer | Michi Henning <michi@zeroc.com> | 2003-04-11 02:05:05 +0000 |
commit | ec015c58478614425e4824d9bf7d8f34e49bd91d (patch) | |
tree | dd1b94dc36272b200d2ec23ca3f1fd8d4af8ee77 /cpp/src/Slice/Parser.cpp | |
parent | Fixed ice_copy for bytes (diff) | |
download | ice-ec015c58478614425e4824d9bf7d8f34e49bd91d.tar.bz2 ice-ec015c58478614425e4824d9bf7d8f34e49bd91d.tar.xz ice-ec015c58478614425e4824d9bf7d8f34e49bd91d.zip |
Fixed but in semantic checks: test for whether an introduced identifier has
changed meaning was too stringent.
Diffstat (limited to 'cpp/src/Slice/Parser.cpp')
-rw-r--r-- | cpp/src/Slice/Parser.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cpp/src/Slice/Parser.cpp b/cpp/src/Slice/Parser.cpp index c3d9a1958b1..1a6e5bab206 100644 --- a/cpp/src/Slice/Parser.cpp +++ b/cpp/src/Slice/Parser.cpp @@ -1380,10 +1380,10 @@ Slice::Container::checkIntroduced(const string& scoped, ContainedPtr namedThing) // // Check if we have the introduced name in the map already... // - map<string, ContainedPtr, CICompare>::const_iterator it = _introducedMap.find(firstComponent); + map<string, ContainedPtr, CICompare>::const_iterator it = _introducedMap.find(namedThing->name()); if(it == _introducedMap.end()) { - _introducedMap[firstComponent] = namedThing; // No, insert it + _introducedMap[namedThing->name()] = namedThing; // No, insert it return true; } else |