-Version 0.11.3 (????-??-??)
+Version 0.11.3 (2007-??-??)
---------------------------
+- Added new option --no-generation-date.
+- Fixed issue with long form of switches.
Version 0.11.2 (2007-03-01)
---------------------------
{
in = &i;
- o << "/* Generated by re2c " PACKAGE_VERSION " on ";
- time_t now = time(&now);
- o.write(ctime(&now), 24);
+ o << "/* Generated by re2c " PACKAGE_VERSION;
+ if (!bNoGenerationDate)
+ {
+ o << " on ";
+ time_t now = time(&now);
+ o.write(ctime(&now), 24);
+ }
o << " */\n";
o << sourceFileInfo;
extern bool uFlag;
extern bool wFlag;
+extern bool bNoGenerationDate;
+
extern bool bSinglePass;
extern bool bFirstPass;
extern bool bLastPass;
</ul>
<hr />
<h1>Changelog</h1>
+<h2>2007-??-??: 0.11.3</h2>
+<ul>
+<li>Added new option --no-generation-date.</li>
+<li>Fixed issue with long form of switches.</li>
+</ul>
<h2>2007-03-01: 0.11.2</h2>
<ul>
<li>Added inplace configuration 're2c:yyfill:parameter'.</li>
<body>
<h1>RE2C</h1>
Section: User Commands (1)<br />
-Updated: 20 Feb 2007<br />
+Updated: 21 Mar 2007<br />
<a href="#index">Index</a>
<hr />
<a name="lbAB" id="lbAB"> </a>
<i>YYDEBUG</i> that is called like a function with two parameters: <i>void
YYDEBUG(int state, char current)</i>. The first parameter receives the state or
-1 and the second parameter receives the input at the current cursor.<br /><br /></dd>
+<dt><b>--no-generation-date</b></dt>
+<dd>Suppress date output in the generated output so that it only shows the re2c
+version.</dd>
<dt><b>-e</b></dt>
<dd>Cross-compile from an ASCII platform to an EBCDIC one.<br /><br /></dd>
<dt><b>-f</b></dt>
<br />
<hr />
<p>This document was created by man2html, using the manual pages.<br />
-Time: 00:00:00 GMT, February 20, 2007</p>
+Time: 00:00:00 GMT, March 21, 2007</p>
</body>
</html>
bool uFlag = false;
bool wFlag = false;
+bool bNoGenerationDate = false;
+
bool bSinglePass = false;
bool bFirstPass = true;
bool bLastPass = false;
mbo_opt_struct('V', 0, "vernum"),
mbo_opt_struct('w', 0, "wide-chars"),
mbo_opt_struct('1', 0, "single-pass"),
+ mbo_opt_struct(10, 0, "no-generation-date"),
mbo_opt_struct('-', 0, NULL) /* end of args */
};
"-1 --single-pass Force single pass generation, this cannot be combined\n"
" with -f and disables YYMAXFILL generation prior to last\n"
" re2c block.\n"
+ "\n"
+ "--no-generation-date Suppress date output in the generated output so that it\n"
+ " only shows the re2c version.\n"
;
}
default:
usage();
return 2;
+
+ case 10:
+ bNoGenerationDate = true;
+ break;
}
}
{
in = &i;
- o << "/* Generated by re2c " PACKAGE_VERSION " on ";
- time_t now = time(&now);
- o.write(ctime(&now), 24);
+ o << "/* Generated by re2c " PACKAGE_VERSION;
+ if (!bNoGenerationDate)
+ {
+ o << " on ";
+ time_t now = time(&now);
+ o.write(ctime(&now), 24);
+ }
o << " */\n";
o << sourceFileInfo;
\fB-1\fP
Force single pass generation, this cannot be combined with -f and disables
YYMAXFILL generation prior to last \*(re block.
+.TP
+\fb--no-generation-date\fP
+Suppress date output in the generated output so that it only shows the re2c
+version.
.SH "INTERFACE CODE"
Unlike other scanner generators, \*(re does not generate complete scanners:
the user must supply some interface code.