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