help-flex
[Top][All Lists]
Advanced

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

Re: Enhancements in flex for error handling


From: John W. Millaway
Subject: Re: Enhancements in flex for error handling
Date: Mon, 21 May 2001 09:12:32 -0700 (PDT)

> using exit() ? If not, any references on how to go about modifying the
> skeleton scanner for this feature ?

You might get away with something like this (without having to modify the 
skeleton
code):   yyerror sets a flag, then resets the scanner, pointing the input to
/dev/null.
The parser will have to check the error flag, of course.

-John




__________________________________________________
Do You Yahoo!?
Yahoo! Auctions - buy the things you want at great prices
http://auctions.yahoo.com/



reply via email to

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