This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [Ada] g-regpat fix
- From: Arnaud Charlet <charlet at adacore dot com>
- To: Andreas Schwab <schwab at suse dot de>
- Cc: gcc-patches at gcc dot gnu dot org, Emmanuel Briot <briot at adacore dot com>
- Date: Tue, 12 Jun 2007 19:16:42 +0200
- Subject: Re: [Ada] g-regpat fix
- References: <20070612133343.GA24943@adacore.com> <je4pldcm1h.fsf@sykes.suse.de>
> > * g-regpat.adb (Quote): Fix improper quoting of '.'
>
> This changelog entry does not fit to the actual change made to the file
> (and the checkin didn't modify ChangeLog).
Actually what's wrong is not the changelog, but the diff, which should have
been:
<<
--- g-regpat.adb
+++ g-regpat.adb
@@ -3562,7 +3562,7 @@
for J in Str'Range loop
case Str (J) is
when '^' | '$' | '|' | '*' | '+' | '?' | '{' |
- '}' | '[' | ']' | '(' | ')' | '\' =>
+ '}' | '[' | ']' | '(' | ')' | '\' | '.' =>
S (Last + 1) := '\';
S (Last + 2) := Str (J);
>>
Sorry about that.
This is because g-regpat.adb was subsequently renamed s-regpat.adb.
I verified that the committed changelog is accurate.
Arno