diff options
author | DongHun Kwak <dh0128.kwak@samsung.com> | 2016-11-21 16:16:30 +0900 |
---|---|---|
committer | DongHun Kwak <dh0128.kwak@samsung.com> | 2016-11-21 16:16:31 +0900 |
commit | 8c6815748c240ce509579c78b571c56bd083dc60 (patch) | |
tree | 3b3ad0fe4d07d49fc34f81f023898b6533fcaef3 | |
parent | 5c4e625be50a4e025cd8750414c1c2e5e94cb050 (diff) | |
download | re2c-8c6815748c240ce509579c78b571c56bd083dc60.tar.gz re2c-8c6815748c240ce509579c78b571c56bd083dc60.tar.bz2 re2c-8c6815748c240ce509579c78b571c56bd083dc60.zip |
Imported Upstream version 0.13.7.3
Change-Id: I9163a4c8a179e18074a48494690af0a6f0298b59
Signed-off-by: DongHun Kwak <dh0128.kwak@samsung.com>
-rw-r--r-- | CHANGELOG | 5 | ||||
-rwxr-xr-x | Makefile.am | 26 | ||||
-rw-r--r-- | config_w32.h | 6 | ||||
-rw-r--r-- | configure.in | 6 | ||||
-rwxr-xr-x | htdocs/index.html | 3 | ||||
-rw-r--r-- | range_suffix.h | 2 | ||||
-rwxr-xr-x | re2c_docs.sh | 8 | ||||
-rw-r--r-- | utf16_regexp.h | 2 | ||||
-rw-r--r-- | utf8_regexp.h | 2 |
9 files changed, 36 insertions, 24 deletions
@@ -1,3 +1,8 @@ +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. diff --git a/Makefile.am b/Makefile.am index 017691d4..26ea27de 100755 --- a/Makefile.am +++ b/Makefile.am @@ -20,15 +20,22 @@ YFLAGS = -d 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 @@ -95,11 +102,12 @@ vtests: all $(TESTS) 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 diff --git a/config_w32.h b/config_w32.h index 6f23e275..700f8392 100644 --- a/config_w32.h +++ b/config_w32.h @@ -59,13 +59,13 @@ #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 @@ -83,7 +83,7 @@ #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 */ diff --git a/configure.in b/configure.in index d945e91a..30a595c7 100644 --- a/configure.in +++ b/configure.in @@ -1,5 +1,5 @@ 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) @@ -16,6 +16,10 @@ AC_PROG_YACC 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]) diff --git a/htdocs/index.html b/htdocs/index.html index 3225fbec..9b1cce23 100755 --- a/htdocs/index.html +++ b/htdocs/index.html @@ -68,6 +68,9 @@ </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> diff --git a/range_suffix.h b/range_suffix.h index 148873f1..82c6065b 100644 --- a/range_suffix.h +++ b/range_suffix.h @@ -8,7 +8,7 @@ namespace re2c { -struct RegExp; // forward +class RegExp; // forward class RangeSuffix { diff --git a/re2c_docs.sh b/re2c_docs.sh deleted file mode 100755 index 8fbce9b1..00000000 --- a/re2c_docs.sh +++ /dev/null @@ -1,8 +0,0 @@ -#!/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 diff --git a/utf16_regexp.h b/utf16_regexp.h index 19c1853f..c8ed3dab 100644 --- a/utf16_regexp.h +++ b/utf16_regexp.h @@ -5,7 +5,7 @@ namespace re2c { -struct RegExp; // forward +class RegExp; // forward RegExp * UTF16Symbol(utf16::rune r); RegExp * UTF16Range(const Range * r); diff --git a/utf8_regexp.h b/utf8_regexp.h index e2468b20..2ce1d8fe 100644 --- a/utf8_regexp.h +++ b/utf8_regexp.h @@ -5,7 +5,7 @@ namespace re2c { -struct RegExp; // forward +class RegExp; // forward RegExp * UTF8Symbol(utf8::rune r); RegExp * UTF8Range(const Range * r); |