Skip to content
Snippets Groups Projects
  • Alexandre Oliva's avatar
    a759bfc7
    accept <case> and [cond] in ChangeLog · a759bfc7
    Alexandre Oliva authored
    
    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: default avatarMartin Liska <mliska@suse.cz>
    accept <case> and [cond] in ChangeLog
    Alexandre Oliva authored
    
    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: default avatarMartin Liska <mliska@suse.cz>