Accept Bison's NEWS format.
authorPaolo Bonzini <bonzini@gnu.org>
Wed, 5 Nov 2008 09:09:21 +0000 (10:09 +0100)
committerPaolo Bonzini <bonzini@gnu.org>
Wed, 5 Nov 2008 09:10:43 +0000 (10:10 +0100)
* build-aux/announce-gen (print_news_deltas): Tweak $re_prefix.

ChangeLog
build-aux/announce-gen

index 799bde3..cee12e4 100644 (file)
--- 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.
index 6775665..78ca625 100755 (executable)
@@ -207,7 +207,7 @@ sub print_news_deltas ($$$)
   # 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";