* Driver.cs : Percent patterns are not properly parsed since they are
in fact not separated by '.'
* Entry.cs : Escape '\' to "\\" (for Japanese yen-sign fix).
svn path=/trunk/mono/; revision=28879
+2004-06-05 Atsushi Enomoto <atsushi@ximian.com>
+
+ * Driver.cs : Percent patterns are not properly parsed since they are
+ in fact not separated by '.'
+ * Entry.cs : Escape '\' to "\\" (for Japanese yen-sign fix).
+
2004-06-05 Atsushi Enomoto <atsushi@ximian.com>
* Driver.cs :
}
part_one = format.Split (new char [1] {'.'}, 2);
- if (part_one.Length == 1)
- part_one = new string [] {part_one [0], String.Empty};
if (part_one.Length == 2) {
// assumed same for both positive and negative
// decimal digit side
else
break;
}
+ }
+
+ if (part_one.Length > 0) {
// percent grouping side
part_two = part_one [0].Split (',');
if (part_two.Length > 1) {
ret.AppendFormat ("\\x{0:x}", b);
in_hex = true;
} else {
+ if (b == '\\')
+ ret.Append ('\\');
ret.Append ((char) b);
in_hex = false;
}