- update to 2.20:

- #61: Fix slow backtracking when parsing strings.
    - #99: Parser for FuncDecl incorrectly sets declname attribute on return type.
    - #310: Fix crash when file starts with a semicolon.
    - #313: Fix array type generation.
    - #314: Fix failed parsing of unnamed function parameters with array dim
      qualifiers.
    - #315: Fix pointer type generation.
    - #324: Fixes for u/l constant integer suffix.
    - #346: Fix error transforming an empty switch.
    - #350: Recognize integer multicharacter constants like 'ABCD'.
    - #363: Fix incorrect AST when parsing offsetof.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pycparser?expand=0&rev=27
This commit is contained in:
Dirk Mueller 2020-03-09 21:00:34 +00:00 committed by Git OBS Bridge
parent a05a5d17db
commit 30c072d111
4 changed files with 22 additions and 6 deletions

View File

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

3
pycparser-2.20.tar.gz Normal file
View File

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

View File

@ -1,3 +1,19 @@
-------------------------------------------------------------------
Mon Mar 9 20:59:13 UTC 2020 - Dirk Mueller <dmueller@suse.com>
- update to 2.20:
- #61: Fix slow backtracking when parsing strings.
- #99: Parser for FuncDecl incorrectly sets declname attribute on return type.
- #310: Fix crash when file starts with a semicolon.
- #313: Fix array type generation.
- #314: Fix failed parsing of unnamed function parameters with array dim
qualifiers.
- #315: Fix pointer type generation.
- #324: Fixes for u/l constant integer suffix.
- #346: Fix error transforming an empty switch.
- #350: Recognize integer multicharacter constants like 'ABCD'.
- #363: Fix incorrect AST when parsing offsetof.
-------------------------------------------------------------------
Wed Jan 9 21:51:00 UTC 2019 - Jonathan Brownell <jbrownell@suse.com>

View File

@ -1,7 +1,7 @@
#
# spec file for package python-pycparser
#
# Copyright (c) 2018 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
@ -18,12 +18,12 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-pycparser
Version: 2.19
Version: 2.20
Release: 0
Summary: C parser in Python
License: BSD-3-Clause
Group: Development/Languages/Python
Url: https://github.com/eliben/pycparser
URL: https://github.com/eliben/pycparser
Source0: https://files.pythonhosted.org/packages/source/p/pycparser/pycparser-%{version}.tar.gz
Source99: %{name}-rpmlintrc
Patch1: fix-lexer-build.patch