help-flex
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Mystery: Why does yylineno cause backing up tables?


From: John W. Millaway
Subject: Re: Mystery: Why does yylineno cause backing up tables?
Date: Fri, 4 Jan 2002 13:23:46 -0800 (PST)

(Rephrase of my question.) 
Why are the following three lines in the flex source?

    if ( do_yylineno )
        /* This should really be "maintain_backup_tables = true" */
        reject_really_used = true;

Note: The variable "do_yylineno" is true only if %option yylineno has been
specified. The variable "reject_really_used" is set if you have used REJECT()
in your actions, and causes the big performance penalty by including all the
REJECT handling code in your scanner.


__________________________________________________
Do You Yahoo!?
Send your FREE holiday greetings online!
http://greetings.yahoo.com



reply via email to

[Prev in Thread] Current Thread [Next in Thread]