mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-12-29 11:02:01 +00:00
(parse_changelog): Add another test for defined value to
quiet warnings from Perl 5.005 and above.
This commit is contained in:
parent
177ab8cec1
commit
3eb7ddf329
@ -1,5 +1,5 @@
|
||||
#! /usr/bin/perl
|
||||
# $Id: grep-changelog,v 1.4 2001/07/20 09:59:19 gerd Exp $
|
||||
# $Id: grep-changelog,v 1.5 2001/07/20 10:02:06 gerd Exp $
|
||||
|
||||
# Copyright (C) 1999, 2000, 2001 Free Software Foundation, Inc.
|
||||
#
|
||||
@ -183,6 +183,8 @@ sub parse_changelog ($) {
|
||||
}
|
||||
}
|
||||
|
||||
last unless defined $line;
|
||||
|
||||
if ($line =~ /^\s*\*/) {
|
||||
# LINE is the first line of a ChangeLog entry. Print
|
||||
# previous entry if it matches.
|
||||
|
Loading…
Reference in New Issue
Block a user