I also remember such limitations, but that was quite some time ago. -Steve
----- Original Message ---- From: Tony Balinski <[EMAIL PROTECTED]> To: NEdit development list <[email protected]> Sent: Monday, March 10, 2008 12:06:45 PM Subject: Re: smartIndent.c: remove static Quoting Steve LoBasso <[EMAIL PROTECTED]>: > The variables being static was probably written as a speed optimization and > nothing more. > > The current state is fragile but stable. Meaning that it will survive minor > maintenance but is a potential land mine to any major code manipulation at > a later date. I have a feeling this was done to allow initialisation of a whole structure which, in older C compilers, could only be done with static or global variables. I know I hit these limitations in the past. Is it just me? Am I getting that old? > Removing the static would be safe. I have no problem with that. -- NEdit Develop mailing list - [email protected] http://www.nedit.org/mailman/listinfo/develop ____________________________________________________________________________________ Never miss a thing. Make Yahoo your home page. http://www.yahoo.com/r/hs -- NEdit Develop mailing list - [email protected] http://www.nedit.org/mailman/listinfo/develop
