(flex.info)I am trying to port code from AT&T lex that uses yysptr and yysbuf.


Next: Is there a way to make flex treat NULL like a regular character? Prev: How do I match any string not matched in the preceding rules? Up: FAQ
Enter node , (file) or (file)node

I am trying to port code from AT&T lex that uses yysptr and yysbuf.
===================================================================

Those are internal variables pointing into the AT&T scanner's input
buffer.  I imagine they're being manipulated in user versions of the
'input()' and 'unput()' functions.  If so, what you need to do is
analyze those functions to figure out what they're doing, and then
replace 'input()' with an appropriate definition of 'YY_INPUT'.  You
shouldn't need to (and must not) replace 'flex''s 'unput()' function.


automatically generated by info2www version 1.2.2.9