githelper.git/
githelper.pike
Branch:
Tag:
Non-build tags
All tags
No tags
2010-09-05
2010-09-05 15:35:05 by Marcus Comstedt <marcus@mc.pp.se>
594051609c11a5762c19f6e6ef7b8f747f29230d (
9
lines) (+
7
/-
2
)
[
Show
|
Annotate
]
Branch:
master
Learn how to count... :)
66:
if (p2 > p && p2 < p3) { string r = replace(f[p..p2]); if (r) {
+
// werror("Replacing %O with %O\n", f[p..p2], r);
f = f[..p-1]+r+f[p2+1..]; p += sizeof(r);
-
} else p = p2+1;
+
} else
{
+
// werror("Not replacing %O\n", f[
p
..p2]);
+
p
= p2+1;
+
}
} else p += 3; } return f;
76:
static string clean_ident(string i) {
-
if(has_prefix(i, "$Id:") && sizeof(i/" ")==
3
)
+
if(has_prefix(i, "$Id:") && sizeof(i/" ")==
13
)
return "$Id$"; }