- Update to version 1.3:

* Added option: ``--stadfa``.
  * Added warning: ``-Wsentinel-in-midrule``.
  * Added generic API primitives:
    + ``YYSTAGPD``
    + ``YYMTAGPD``
  * Added configurations:
    + ``re2c:sentinel = 0;``
    + ``re2c:define:YYSTAGPD = "YYSTAGPD";``
    + ``re2c:define:YYMTAGPD = "YYMTAGPD";``
  * Worked on reproducible builds

OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/re2c?expand=0&rev=35
This commit is contained in:
Martin Pluskal 2020-02-05 08:55:22 +00:00 committed by Git OBS Bridge
parent 22bf414e08
commit 62ffe94f58
4 changed files with 26 additions and 11 deletions

View File

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

3
re2c-1.3.tar.xz Normal file
View File

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

View File

@ -1,3 +1,18 @@
-------------------------------------------------------------------
Wed Feb 5 08:52:11 UTC 2020 - Martin Pluskal <mpluskal@suse.com>
- Update to version 1.3:
* Added option: ``--stadfa``.
* Added warning: ``-Wsentinel-in-midrule``.
* Added generic API primitives:
+ ``YYSTAGPD``
+ ``YYMTAGPD``
* Added configurations:
+ ``re2c:sentinel = 0;``
+ ``re2c:define:YYSTAGPD = "YYSTAGPD";``
+ ``re2c:define:YYMTAGPD = "YYMTAGPD";``
* Worked on reproducible builds
-------------------------------------------------------------------
Wed Aug 14 15:37:39 UTC 2019 - Martin Pluskal <mpluskal@suse.com>

View File

@ -1,7 +1,7 @@
#
# spec file for package re2c
#
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2020 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -17,12 +17,12 @@
Name: re2c
Version: 1.2.1
Version: 1.3
Release: 0
Summary: Tool for generating C-based recognizers from regular expressions
License: SUSE-Public-Domain
Group: Development/Libraries/C and C++
URL: http://re2c.org/
URL: https://re2c.org/
Source: https://github.com/skvadrik/re2c/releases/download/%{version}/%{name}-%{version}.tar.xz
BuildRequires: bison
BuildRequires: gcc-c++
@ -40,13 +40,13 @@ terms of size and speed.
%build
%configure
%if 0%{?do_profiling}
make %{?_smp_mflags} CFLAGS="%{optflags} %{cflags_profile_generate}" V=1
%make_build CFLAGS="%{optflags} %{cflags_profile_generate}"
# do not run profiling in parallel for reproducible builds (boo#1040589 boo#1102408)
make CFLAGS="%{optflags} %{cflags_profile_generate}" check
make %{?_smp_mflags} clean
make %{?_smp_mflags} CFLAGS="%{optflags} %{cflags_profile_feedback}" V=1
%make_build CFLAGS="%{optflags} %{cflags_profile_generate}" check
%make_build clean
%make_build CFLAGS="%{optflags} %{cflags_profile_feedback}"
%else
make %{?_smp_mflags} CFLAGS="%{optflags}"
%make_build CFLAGS="%{optflags}"
%endif
%install