- Update to version 1.0.2:

OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/re2c?expand=0&rev=24
This commit is contained in:
Martin Pluskal 2017-09-04 12:07:19 +00:00 committed by Git OBS Bridge
parent bc874b1b9c
commit 838a17fc0e
5 changed files with 54 additions and 22 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:48c12564297641cceb5ff05aead57f28118db6277f31e2262437feba89069e84
size 4892417

3
re2c-1.0.2.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:b0919585b50095a00e55b99212a81bc67c5fab61d877aca0d9d061aff3093f52
size 5805526

View File

@ -1,13 +1,13 @@
Index: re2c-0.16/src/conf/opt.h Index: re2c-1.0.2/src/conf/opt.h
=================================================================== ===================================================================
--- re2c-0.16.orig/src/conf/opt.h --- re2c-1.0.2.orig/src/conf/opt.h
+++ re2c-0.16/src/conf/opt.h +++ re2c-1.0.2/src/conf/opt.h
@@ -18,7 +18,7 @@ namespace re2c @@ -44,7 +44,7 @@ enum target_t
/* target */ \ CONSTOPT1 (target_t, target, TARGET_CODE) \
OPT1 (opt_t::target_t, target, CODE) \ CONSTOPT (std::string, output_file, "") \
/* fingerprint */ \ CONSTOPT (std::string, header_file, "") \
- OPT (bool, bNoGenerationDate, false) \ - CONSTOPT (bool, bNoGenerationDate, false) \
+ OPT (bool, bNoGenerationDate, true) \ + CONSTOPT (bool, bNoGenerationDate, true) \
OPT (bool, version, true) \ CONSTOPT (bool, version, true) \
/* regular expressions */ \ CONSTOPT (bool, cFlag, false) \
OPT (Enc, encoding, Enc ()) \ CONSTOPT (bool, fFlag, false) \

View File

@ -1,3 +1,37 @@
-------------------------------------------------------------------
Mon Sep 4 12:02:10 UTC 2017 - mpluskal@suse.com
- Update to version 1.0.2:
* Fixed bug #194 “Build with --enable-docs”
* Updated documentation.
- Changes for version 1.0.1:
* Fixed bug #193 “1.0 build failure on macOS: error: calling a
* private constructor of class re2c::Rule
- Changes for version 1.0:
* Added several new options
* Added new inplace confgurations
* Added warning -Wnondeterministic-tags
* Added fuzz-testing scripts
* Added paper “Tagged Deterministic Finite Automata with Lookahead”
* See provided CHANGELOG for full list of new features
* Fixed bugs:
+ #121 “trailing contexts are fundamentally broken”
+ #135 “In installation make check give syntax error”
+ #137 “run_tests.sh fail when running configure script with absolute path”
+ #138 “website improvement”
+ #141 “Tests under Windows”
+ #142 “segvault with null terminated input”
+ #145 “Values for enum YYCONDTYPE are not generated when default rules with conditions are used”
+ #147 “Please add symbol name to “cant find symbol” error message”
+ #152 “Line number in #line directive after enum YYCONDTYPE is 0-based”
+ #156 “Build with Visual Studio 14 2015: symbol name conflict”
+ #158 “Inconsistent forward declaration of struct/class vs definition”
+ #160 “Open text files with “wb” causes issues on Windows”
+ #162 “Reading files with “rb” causes issues in Windows”
+ #165 “Trailing context consumed if initial expression matches it”
+ #176 “re2c help message is too wide for most terminals”
+ #184 “Small documentation issue”
------------------------------------------------------------------- -------------------------------------------------------------------
Sat Jan 30 21:50:07 UTC 2016 - mpluskal@suse.com Sat Jan 30 21:50:07 UTC 2016 - mpluskal@suse.com

View File

@ -1,7 +1,7 @@
# #
# spec file for package re2c # spec file for package re2c
# #
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -17,7 +17,7 @@
Name: re2c Name: re2c
Version: 0.16 Version: 1.0.2
Release: 0 Release: 0
Summary: Tool for generating C-based recognizers from regular expressions Summary: Tool for generating C-based recognizers from regular expressions
License: SUSE-Public-Domain License: SUSE-Public-Domain
@ -27,7 +27,6 @@ Source: https://github.com/skvadrik/re2c/releases/download/%{version}/%{
Patch0: re2c-nogenerationdatedefault.patch Patch0: re2c-nogenerationdatedefault.patch
BuildRequires: bison BuildRequires: bison
BuildRequires: gcc-c++ BuildRequires: gcc-c++
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description %description
re2c is a tool for writing fast and flexible lexers. Unlike other such re2c is a tool for writing fast and flexible lexers. Unlike other such
@ -48,14 +47,13 @@ make %{?_smp_mflags} V=1
make check %{?_smp_mflags} make check %{?_smp_mflags}
%install %install
make DESTDIR=%{buildroot} install %{?_smp_mflags} %make_install
%files %files
%defattr(-,root,root,-)
%{_bindir}/re2c
%{_mandir}/man1/re2c.1*
%doc doc/*.ps doc/sample.bib %doc doc/*.ps doc/sample.bib
%doc README CHANGELOG %doc README CHANGELOG
%doc examples/ %doc examples/
%{_bindir}/re2c
%{_mandir}/man1/re2c.1%{ext_man}
%changelog %changelog