|
From: | John Millaway |
Subject: | Re: passing argument to yylex (flex++ and pure parser) |
Date: | Wed, 18 Sep 2002 17:21:05 -0400 (EDT) |
> Another possibility would be that somebody can tell me how to use fstream and > iostream objects without the c++ > option declaration (but on a pure parser) You'll need to override YY_INPUT and pass the fstream object through yyextra. This is all in the manual.
[Prev in Thread] | Current Thread | [Next in Thread] |