From ee578dfbee02289a11a5a850bcfabb362f7e8543 Mon Sep 17 00:00:00 2001 From: helly Date: Sat, 8 Apr 2006 21:33:02 +0000 Subject: [PATCH] - Update docu --- htdocs/manual.html | 13 +++++++------ re2c.1.in | 10 +++++++--- 2 files changed, 14 insertions(+), 9 deletions(-) diff --git a/htdocs/manual.html b/htdocs/manual.html index 6c608d7e..9698f77c 100755 --- a/htdocs/manual.html +++ b/htdocs/manual.html @@ -7,7 +7,7 @@

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).

VERSION INFORMATION

-

This manpage describes re2c, version 0.10.1.

+

This manpage describes re2c, version 0.10.2.


Index

@@ -693,6 +694,6 @@ specification for each start condition (as illustrated in the above example).

This document was created by man2html, using the manual pages.
-Time: 23:55:44 GMT, Februar 18, 2006

+Time: 22:32:44 GMT, April 8, 2006

diff --git a/re2c.1.in b/re2c.1.in index 59be37e6..eca42680 100644 --- a/re2c.1.in +++ b/re2c.1.in @@ -7,6 +7,9 @@ .ds rx regular expression .ds lx \fIl\fP-expression \"$Log$ +\"Revision 1.42 2006/04/08 21:33:02 helly +\"- Update docu +\" \"Revision 1.41 2006/02/28 18:46:42 helly \"- Updates before release \" @@ -367,9 +370,10 @@ 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. -- 2.50.1