Thorsten Haude wrote:
The question is of course why they are static in the first place.
I don't know a whole lot about the macro interpreter, but...
If simply removing static was the right thing to do, the author or
commenter probably would have done it. There is probably a reason it's
there. Passing off a local variable to another routine, which may store
the value and use it later isn't a good idea.
Probably, it needs to be dynamically allocated and properly managed.
That's the way I read it that comment.
--
NEdit Develop mailing list - [email protected]
http://www.nedit.org/mailman/listinfo/develop