This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [Ada] g-regpat fix


> > 	* 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]