thanks
huan-hua
It's probably way too late for you to care about this now, but I keep
seeing this unanswered message everytime I scan this group so I figured I
would give it a shot.
> we have a hashmap that is an attribute of the class,
Are you using C++ or Java?
> and the first time we look up the data in the hashmap it is there, but
> then when we look it up again in another iteration of the same method, it
> is gone.
If you make it an attribute of a class ... each instance of that class has
a different hashmap. So if you give each expression node a hashmap, each
one gets a different hashmap. If you want all instances of a class to share
the same hashmap, there are ways to do that.
If not, we could probably help you if you posted the source code containing
the mysterious lookup that fails the second time.
- Wes