LEX Question

Rich Salz rsalz at bbn.com
Sat Feb 25 09:16:54 AEST 1989


In <1989Feb24.165832.9921 at utzoo.uucp> henry at utzoo.uucp (Henry Spencer) writes:
<... If you redefine input(), you
<have to provide your own buffering scheme, or have it provided for you
<by a library. ...

You will probably also want to arrange to increment yylineno on every
newline.  This is often done in the pattern/action part.
-- 
Please send comp.sources.unix-related mail to rsalz at uunet.uu.net.



More information about the Comp.lang.c mailing list