[svn:parrot] r48204 - trunk/config/gen
fperrad at svn.parrot.org
fperrad at svn.parrot.org
Wed Jul 28 17:24:12 UTC 2010
Author: fperrad
Date: Wed Jul 28 17:24:11 2010
New Revision: 48204
URL: https://trac.parrot.org/parrot/changeset/48204
Log:
[win32] fix build (after r48179), handle backslash in string
Modified:
trunk/config/gen/config_pm.pm
Modified: trunk/config/gen/config_pm.pm
==============================================================================
--- trunk/config/gen/config_pm.pm Wed Jul 28 16:39:46 2010 (r48203)
+++ trunk/config/gen/config_pm.pm Wed Jul 28 17:24:11 2010 (r48204)
@@ -121,6 +121,8 @@
die "type of '$k' is not supported : $type\n";
}
# String
+ $v =~ s/\\/\\\\/g;
+ $v =~ s/\\\\"/\\"/g;
# escape unescaped double quotes
$v =~ s/(?<!\\)"/\\"/g;
$v =~ s/\n/\\n/g;
More information about the parrot-commits
mailing list