State *s;
uint i;
+ bool hasFillLabels = (0<=vFillIndexes);
+ if (hasFillLabels==true && label!=0)
+ {
+ std::cerr << "re2c : error : multiple /*!re2c blocks aren't supported when -f is specified\n";
+ exit(1);
+ }
+
+
findSCCs();
head->link = head;
vFillIndexes = orgVFillIndexes;
oline = nOrgOline;
- bool hasFillLabels = (0<=vFillIndexes);
-
oline++;
o << "\n#line " << ++oline << " \"" << outputFileName << "\"\n";
.ds rx regular expression
.ds lx \fIl\fP-expression
\"$Log$
+\"Revision 1.16 2005/04/23 08:45:10 helly
+\"- Issue an error with -f option if multiple /*!re2c blocks are used
+\"
\"Revision 1.15 2005/04/22 22:15:52 helly
\"- Change original fprintf base -d patch by Derick to use YYDEBUG() lines
\"
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.
+
Please see examples/push.re for push-model scanner.
.SH "SCANNER SPECIFICATIONS"