-Version 0.13.0 (2007-??-??)
+Version 0.13.0 (2007-06-24)
---------------------------
- Added -c and -t to generate scanners with (f)lex-like condition support.
- Fixed issue with short form of switches and parameter if not first switch.
# $Id$
+WINBUILDDIR = Release-2003
+
bin_PROGRAMS = re2c
-win_BINARIES = Release-2005/re2c.exe
+win_BINARIES = $(WINBUILDDIR)/re2c.exe
re2c_SOURCES = code.cc dfa.cc main.cc parser.cc actions.cc scanner.re substr.cc\
translate.cc scanner.cc mbo_getopt.cc \
basics.h dfa.h globals.h ins.h parser.h re.h scanner.h \
rpm-files: $(bin_PROGRAMS) $(EXTRA_DIST)
rpm: dist
- rpmbuild -ta re2c-$(PACKAGE_VERSION).tar.gz
+ rpmbuild -ba re2c.spec
src-rpm: dist
- rpmbuild -ts re2c-$(PACKAGE_VERSION).tar.gz
+ cp -f re2c-$(PACKAGE_VERSION).tar.gz `rpm --eval "%{_sourcedir}"`
+ cp -f re2c.spec `rpm --eval "%{_specdir}"`
+ rpmbuild -bs re2c.spec
cp -f `rpm --eval "%{_srcrpmdir}"`/re2c-$(PACKAGE_VERSION)-$(PACKAGE_RELEASE).src.rpm .
zip: $(bin_PROGRAMS) $(EXTRA_ZIP)
zipinfo -1 re2c-$(PACKAGE_VERSION)-src.zip | grep .svn | xargs zip -d re2c-$(PACKAGE_VERSION)-src.zip >/dev/null
zipinfo -1 re2c-$(PACKAGE_VERSION)-src.zip | grep .cvsignore | xargs zip -d re2c-$(PACKAGE_VERSION)-src.zip >/dev/null
if test -f re2c-$(PACKAGE_VERSION)-bin.zip; then rm -f re2c-$(PACKAGE_VERSION)-bin.zip; fi
- if test -f Release-2005/re2c.exe; then \
+ if test -f $(WINBUILDDIR)/re2c.exe; then \
zip -q -o -9 -j re2c-$(PACKAGE_VERSION)-bin.zip $(win_BINARIES); \
fi;
/* Define to empty if the keyword `volatile' does not work. Warning: valid
code using `volatile' can become incorrect without. Disable with care. */
/* #undef volatile */
+
+#ifndef vsnprintf
+#define vsnprintf _vsnprintf
+#endif
AC_PREREQ([2.57])
-AC_INIT(re2c, 0.13.0.dev, re2c-general@lists.sourceforge.net)
+AC_INIT(re2c, 0.13.1.dev, re2c-general@lists.sourceforge.net)
AM_INIT_AUTOMAKE(re2c, $PACKAGE_VERSION)
AC_CONFIG_SRCDIR(actions.cc)
AM_CONFIG_HEADER(config.h)
</ul>
<hr />
<h1>Changelog</h1>
-<h2>2007-??-??: 0.13.0</h2>
+<h2>2007-06-24: 0.13.0</h2>
<ul>
<li>Added -c and -t to generate scanners with (f)lex-like condition support.</li>
<li>Fixed issue with short form of switches and parameter if not first switch.</li>
generated scanners has its own precondition. The precondition is given by the
interface define <b>YYGETCONDITON</b> and must be of type <b>YYCONDTYPE</b>.
</p><p>
-There are two special conditons. First the rules of the condition '*' are
+There are two special rule types. First the rules of the condition '*' are
merged to all conditions. And second the empty condition list allows to
provide a code block that does not have a scanner part. Meaning it does not
allow any regular expression. The condition value referring to this special
generated blocks has its own precondition. The precondition is given by the
interface define \fBYYGETCONDITON\fP and must be of type \fBYYCONDTYPE\fP.
.LP
-There are two special conditons. First the rules of the condition '*' are
+There are two special rule types. First the rules of the condition '*' are
merged to all conditions. And second the empty condition list allows to
provide a code block that does not have a scanner part. Meaning it does not
allow any regular expression. The condition value referring to this special
#endif
+#if defined(_MSC_VER) && !defined(vsnprintf)
+#define vsnprintf _vsnprintf
+#endif
+
#endif
}
inline Token::Token(const Token& oth)
- : text(oth.text)
+ : text(oth.text.to_string().c_str())
, newcond(oth.newcond ? new Str(*oth.newcond) : NULL)
, line(oth.line)
{