Maintenance update to 0.13.5 - a couple of segfaults fixed and

some new features. Regen plist while there.
This commit is contained in:
sthen 2008-09-19 00:26:42 +00:00
parent 9fa5b7d0e0
commit abe1272a3e
4 changed files with 20 additions and 16 deletions

View File

@ -1,8 +1,8 @@
# $OpenBSD: Makefile,v 1.3 2007/10/12 21:23:17 sthen Exp $
# $OpenBSD: Makefile,v 1.4 2008/09/19 00:26:42 sthen Exp $
COMMENT= C-based regular expression scanner generator
DISTNAME= re2c-0.13.1
DISTNAME= re2c-0.13.5
CATEGORIES= devel
HOMEPAGE= http://re2c.org/

View File

@ -1,5 +1,5 @@
MD5 (re2c-0.13.1.tar.gz) = 1haKbBjVkS6Y2TQ7M/2tlw==
RMD160 (re2c-0.13.1.tar.gz) = ZLnYTP7P/s3oZTaNe5JzXIZGSh0=
SHA1 (re2c-0.13.1.tar.gz) = 6eEPJ5W/3rLRzH3pJe1dvZvog1M=
SHA256 (re2c-0.13.1.tar.gz) = GkcDXdDyg9vGwJZGea/fbyyXW0YkGdGICsN53IgLp0o=
SIZE (re2c-0.13.1.tar.gz) = 633551
MD5 (re2c-0.13.5.tar.gz) = SpfY937W0sdsi9hApD9WMw==
RMD160 (re2c-0.13.5.tar.gz) = Sz0zkHKqC5CK/HiyGLuW0d595yo=
SHA1 (re2c-0.13.5.tar.gz) = PTNO+rU6SgUaKxibSahJ4TUjtsA=
SHA256 (re2c-0.13.5.tar.gz) = 86mVE5r0degKMCB9AnKLHgBlsMqt5zdel0yxsUhhZow=
SIZE (re2c-0.13.5.tar.gz) = 782725

View File

@ -1,12 +1,16 @@
$OpenBSD: patch-dfa_cc,v 1.1.1.1 2007/05/16 14:10:57 steven Exp $
--- dfa.cc.orig Mon Apr 16 22:22:28 2007
+++ dfa.cc Mon May 7 02:01:10 2007
$OpenBSD: patch-dfa_cc,v 1.2 2008/09/19 00:26:43 sthen Exp $
Our isprint() has a different idea of which chars are printable
than the system on which the regression tests were written.
--- dfa.cc.orig Fri Sep 19 00:41:00 2008
+++ dfa.cc Fri Sep 19 00:41:39 2008
@@ -12,7 +12,7 @@ void prtChOrHex(std::ostream& o, uint c, bool useTalx)
{
int oc = (int)(re2c::wFlag || !useTalx ? c : re2c::talx[c]);
- if ((oc < 256) && isprint(oc))
+ if ((oc < 128) && isprint(oc))
- if ((oc < 256) && (isprint(oc) || isspace(oc)))
+ if ((oc < 128) && (isprint(oc) || isspace(oc)))
{
o << '\'';
prtCh(o, oc);
o << (DFlag ? '"' : '\'');
prtCh(o, c);

View File

@ -1,3 +1,3 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2007/05/16 14:10:57 steven Exp $
bin/re2c
@comment $OpenBSD: PLIST,v 1.2 2008/09/19 00:26:43 sthen Exp $
@bin bin/re2c
@man man/man1/re2c.1