+Version 0.13.7.3 (2014-07-28)
+-----------------------------
+- Fixed CXX warning
+- Got rid of asciidoc build-time dependency
+
Version 0.13.7.2 (2014-07-27)
-----------------------------
- Included man page into dist, respect users CXXFLAGS.
RE2C = re2c$(EXEEXT)
RE2CFLAGS = -bi
-CLEANFILES = parser.cc y.tab.c y.tab.h scanner.cc re2c.1 .version htdocs/manual.html
+CLEANFILES = parser.cc y.tab.c y.tab.h scanner.cc .version
+if HAVE_ASCIIDOC
+ CLEANFILES += htdocs/manual.html
+endif HAVE_ASCIIDOC
+if HAVE_A2X
+ CLEANFILES += re2c.1
+endif HAVE_A2X
DISTCLEANFILES = makerpm re2c.spec README scanner.cc re2c$(EXEEXT)
man_MANS = re2c.1
+DOCS = $(man_MANS) htdocs/manual.html
EXTRA_SRC = README parser.y scanner.re y.tab.h CHANGELOG NO_WARRANTY \
doc examples test bootstrap/*.cc bootstrap/*.h lessons \
- $(man_MANS) $(DOCS_IN) $(DOCS_GEN)
+ $(DOCS)
EXTRA_DIST = $(EXTRA_SRC) makerpm.in re2c.spec.in re2c.spec README.in config_w32.h.in
EXTRA_ZIP = $(EXTRA_SRC) config_w32.h *.sln *.vcproj re2c.rules
test -x $(TESTS) || chmod +x $(TESTS)
./$(TESTS) --valgrind
-DOCS_IN = re2c.ad
-DOCS = re2c.1 htdocs/manual.html
-DOCS_GEN = ./re2c_docs.sh
-
docs: $(DOCS)
-
-$(DOCS): $(DOCS_GEN) $(DOCS_IN)
- $(DOCS_GEN)
+$(DOCS): re2c.ad
+ @if test $(A2X) = "yes"; then \
+ a2x -f manpage re2c.ad; \
+ fi
+ @if test $(ASCIIDOC) = "yes"; then \
+ mkdir -p htdocs; \
+ asciidoc -o htdocs/manual.html re2c.ad; \
+ fi
#define PACKAGE_NAME "re2c"
/* Define to the full name and version of this package. */
-#define PACKAGE_STRING "re2c 0.13.7.2"
+#define PACKAGE_STRING "re2c 0.13.7.3"
/* Define to the one symbol short name of this package. */
#define PACKAGE_TARNAME "re2c"
/* Define to the version of this package. */
-#define PACKAGE_VERSION "0.13.7.2"
+#define PACKAGE_VERSION "0.13.7.3"
/* The size of a `char', as computed by sizeof. */
#define SIZEOF_CHAR 1
#define STDC_HEADERS 1
/* Version number of package */
-#define VERSION "0.13.7.2"
+#define VERSION "0.13.7.3"
/* Define to empty if `const' does not conform to ANSI C. */
/* #undef const */
AC_PREREQ([2.57])
-AC_INIT(re2c, 0.13.7.2, re2c-general@lists.sourceforge.net)
+AC_INIT(re2c, 0.13.7.3, re2c-general@lists.sourceforge.net)
AM_INIT_AUTOMAKE(re2c, $PACKAGE_VERSION)
AC_CONFIG_SRCDIR(actions.cc)
AM_CONFIG_HEADER(config.h)
AC_PROG_CXX
AC_PROG_CC
AC_PROG_INSTALL
+AC_CHECK_PROG(ASCIIDOC, asciidoc, yes, no)
+AM_CONDITIONAL(HAVE_ASCIIDOC, [test "$ASCIIDOC" = yes])
+AC_CHECK_PROG(A2X, a2x, yes, no)
+AM_CONDITIONAL(HAVE_A2X, [test "$A2X" == yes])
if test "$GCC" = "yes"; then
AC_MSG_CHECKING([Testing GCC version])
</ul>
<hr />
<h1>Changelog</h1>
+ <h2>2014-07-27: 0.13.7.3</h2>
+ <li>Fixed CXX warning</li>
+ <li>Got rid of asciidoc build-time dependency</li>
<h2>2014-07-27: 0.13.7.2</h2>
<li>Included man page into dist, respect users CXXFLAGS.</li>
<h2>2014-07-26: 0.13.7.1</h2>
namespace re2c {
-struct RegExp; // forward
+class RegExp; // forward
class RangeSuffix
{
+++ /dev/null
-#!/bin/sh
-
-# generate re2c.1 from re2c.ad
-a2x -f manpage re2c.ad
-
-# generate htdocs/manual.html from re2c.ad
-mkdir -p htdocs
-asciidoc -o htdocs/manual.html re2c.ad
namespace re2c {
-struct RegExp; // forward
+class RegExp; // forward
RegExp * UTF16Symbol(utf16::rune r);
RegExp * UTF16Range(const Range * r);
namespace re2c {
-struct RegExp; // forward
+class RegExp; // forward
RegExp * UTF8Symbol(utf8::rune r);
RegExp * UTF8Range(const Range * r);