|
![](/i/fill.gif) |
Phillippe:
My reply wasn't intended to provide a suggestion to you.
Rather, I was stating for the record my observations.
One might expect that #undef before #local would
have no effect.... and if the latter is broken,
perhaps the former is as well.
This group is not the correct forum for me to discuss
how you should write your POV code.
The implementation of local scope is, I think, flawed.
My reading of the source code is that the way it is done (in parse.c)
is to save the old variable as a temporary variable but use
the old definition as a template for the new definition.
I think it would be better to forget about the old
symbol table reference :
1. rename the old symbol to a temporary name
2. create a new symbol table entry in the current
scope "from scratch"
I agree this "feature" seriously comprimises the
abstraction offered by the #local construct.
Dan
Philippe Debar wrote:
> Dan Connelly wrote in message <360CDC9A.FA6A3850@flash.net>...
>> ...
> Yes, of course it does...
--
http://www.flash.net/~djconnel/
Post a reply to this message
|
![](/i/fill.gif) |