changeset 10766:11b902b8ebdc

Accept Bison's NEWS format. * build-aux/announce-gen (print_news_deltas): Tweak $re_prefix.
author Paolo Bonzini <bonzini@gnu.org>
date Wed, 05 Nov 2008 10:09:21 +0100
parents f952c1fd228c
children 9b7cb85f19d8
files ChangeLog build-aux/announce-gen
diffstat 2 files changed, 7 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2008-11-05  Joel E. Denny  <jdenny@ces.clemson.edu>
+
+	Accept Bison's NEWS format.
+	* build-aux/announce-gen (print_news_deltas): Tweak
+	$re_prefix.
+
 2008-11-04  Bruno Haible  <bruno@clisp.org>
 
 	* modules/random_r (Maintainer): Add glibc.
--- a/build-aux/announce-gen
+++ b/build-aux/announce-gen
@@ -207,7 +207,7 @@
   # the first occurrence of $prev_version.
   my $in_items;
 
-  my $re_prefix = qr/\* (?:Noteworthy|Major) change/;
+  my $re_prefix = qr/(?:\* )?(?:Noteworthy c|Major c|C)(?i:hanges)/;
 
   open NEWS, '<', $news_file
     or die "$ME: $news_file: cannot open for reading: $!\n";