Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F15408046
D13976.id.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
431 B
Referenced Files
None
Subscribers
None
D13976.id.diff
View Options
diff --git a/support/xhpast/parser.y b/support/xhpast/parser.y
--- a/support/xhpast/parser.y
+++ b/support/xhpast/parser.y
@@ -52,18 +52,6 @@
yyextra->error = error;
}
-/*
-
-TODO: Restore this.
-
-static void replacestr(string &source, const string &find, const string &rep) {
- size_t j;
- while ((j = source.find(find)) != std::string::npos) {
- source.replace(j, find.length(), rep);
- }
-}
-*/
-
%}
%expect 5
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Mar 19, 9:04 PM (13 h, 55 m)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7441878
Default Alt Text
D13976.id.diff (431 B)
Attached To
Mode
D13976: Remove unused replacestr function from XHPAST
Attached
Detach File
Event Timeline
Log In to Comment