]> gcc.gnu.org Git - gcc.git/commit
accept <case> and [cond] in ChangeLog
authorAlexandre Oliva <oliva@adacore.com>
Tue, 7 Jul 2020 07:02:01 +0000 (09:02 +0200)
committerJakub Jelinek <jakub@redhat.com>
Thu, 17 Sep 2020 15:40:37 +0000 (17:40 +0200)
commit091aa93d0f4cc8c1af342e8711e87e8596d0d35a
treedbecb32bacdc026137ede1c5d1d67456f2183627
parentdf92586632d84ddee153efeab1375ed3e5e010d6
accept <case> and [cond] in ChangeLog

Only '(' and ':' currently terminate file lists in ChangeLog entries
in the ChangeLog parser.  This rules out such legitimate entries as:

* filename <CASE>:
* filename [COND]:

This patch extends the ChangeLog parser to recognize these forms.

for  contrib/ChangeLog

* gcc-changelog/git_commit.py: Support CASE and COND.
* gcc-changelog/test_patches.txt: Add test.
* gcc-changelog/test_email.py: Add test.

Co-Authored-By: Martin Liska <mliska@suse.cz>
(cherry picked from commit a759bfc7cf238b9fc5bf97884297fc69d8cdf2b5)
contrib/gcc-changelog/git_commit.py
contrib/gcc-changelog/test_email.py
contrib/gcc-changelog/test_patches.txt
This page took 0.068217 seconds and 6 git commands to generate.