From ee578dfbee02289a11a5a850bcfabb362f7e8543 Mon Sep 17 00:00:00 2001
From: helly RE2C
Section: User Commands (1)
-Updated: 18 Februar 2006
+Updated: 8 April 2006
Index
@@ -206,9 +206,10 @@ scanners that work in a "push" model, i.e. where data is fed to the scanner
chunk by chunk. When the scanner runs out of data to consume, it just stores
its state, and return to the caller. When more input data is fed to the
scanner, it resumes operations exactly where it left off.
At this point, the -f option only works with "mono-block" re2c scanners: if -the scanner is described with more than one /*!re2c ... */ block, re2c -f fails -with an error.
+When using the -f option re2c does not accept stdin because it has to do the +full generation process twice which means it has to read the input twice. That +means re2c would fail in case it cannot open the input twice or reading the +input for the first time influences the second read attempt.
Changes needed compared to the "pull" model.
1. User has to supply macros YYSETSTATE() YYGETSTATE(state)
2. The -f option inhibits declaration of yych and
@@ -669,7 +670,7 @@ specification for each start condition (as illustrated in the above example).
This manpage describes re2c, version 0.10.1.
+This manpage describes re2c, version 0.10.2.
This document was created by man2html, using the manual pages.
-Time: 23:55:44 GMT, Februar 18, 2006