(flex.info)Why doesn't yyrestart() set the start state back to INITIAL?


Next: How can I match C-style comments? Prev: If I have a simple grammar cant I just parse it with flex? Up: FAQ
Enter node , (file) or (file)node

Why doesn't yyrestart() set the start state back to INITIAL?
============================================================

There are two reasons.  The first is that there might be programs that
rely on the start state not changing across file changes.  The second is
that beginning with 'flex' version 2.4, use of 'yyrestart()' is no
longer required, so fixing the problem there doesn't solve the more
general problem.


automatically generated by info2www version 1.2.2.9