projects
/
p5sagit/p5-mst-13.2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
typo fix
[p5sagit/p5-mst-13.2.git]
/
x2p
/
s2p.PL
diff --git
a/x2p/s2p.PL
b/x2p/s2p.PL
index
2f617e7
..
be092c2
100644
(file)
--- a/
x2p/s2p.PL
+++ b/
x2p/s2p.PL
@@
-552,6
+552,11
@@
EOT
substr($_,$i-1,1) = '$';
}
}
+ elsif ($c eq '@') {
+ substr($_, $i, 0) = '\\';
+ $i++;
+ $len++;
+ }
elsif ($c eq '&' && $repl) {
substr($_, $i, 0) = '$';
$i++;
@@
-797,6
+802,7
@@
sub fetchpat {
}
}
$addr =~ s/\t/\\t/g;
+ $addr =~ s/\@/\\@/g;
&simplify($addr);
$addr;
}