On Mon, 14 Aug 2006, Paul Eggert wrote:

> "Joel E. Denny" <[EMAIL PROTECTED]> writes:
> 
> >  2006-08-14  Joel E. Denny  <[EMAIL PROTECTED]>
> >  
> > +   * src/scan-gram.l (braces_level, context_state): Make these globals
> > +   static.
> 
> Those aren't globals -- they are local variables for the scanner.
> So this change hurts performance and makes the scanner less reentrant.

Ugh, sorry, I missed the %%.

> Is this change really needed?

No, I've just been trying to eliminate globals as I encounter them.

> If not, can you please undo it, and
> review other changes you've checked in recently for similar problems?

I will.

Joel


Reply via email to