Re: Redefining default rule

[email protected]
Newsgroups gmane.comp.lex.flex.general
Organization TLDZ
Message-ID <[email protected]>
What version of flex are you using? Does the problem exhibit itself if
you only include the one rule in a scanner?

Try leaving off the start condition.



On Thursday, 29 December 2005,11:56 +0100, Huong-Ly Mai wrote:

> Hello,
> 
> I would like to redefine the flex default rule "unmatched scanner input is 
> echoed to stdout" into another rule.
> 
> I tried this : <*>.      { action_to_be_taken;}
> but at compilation time, it says : bad start condition name and bad start 
> condition list.
> 
> when I declare this rule with all the start conditions that I have (30) 
> <s1,s2...s30>, it is ok, but it is not the nicest way to declare this....
> Hence I'd like to know if it is possible to redefine the flex default 
> rule. If yes, how should I declare it?
> 
> Thanks in advance for your help!
> 
> 
> 
> 
> _______________________________________________
> Help-flex mailing list
> [email protected]
> http://lists.gnu.org/mailman/listinfo/help-flex

-- 
Will Estes
http://tldz.org/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.