Changeset View
Changeset View
Standalone View
Standalone View
support/xhpast/xhpast.cpp
| Show All 10 Lines | |||||
| int xhpast_process(std::string &in); | int xhpast_process(std::string &in); | ||||
| void print_node(xhpast::Node *node); | void print_node(xhpast::Node *node); | ||||
| int main(int argc, char* argv[]) { | int main(int argc, char* argv[]) { | ||||
| vector<string> files; | vector<string> files; | ||||
| if (argc != 1) { | if (argc != 1) { | ||||
| //coupling: modify also libphutil/src/parser/xhpast/bin/xhpast_parse.php | //coupling: modify also libphutil/src/parser/xhpast/bin/xhpast_parse.php | ||||
| cout << "xhpast version 5.5.8/1a\n"; | cout << "xhpast version 5.5.8/1b\n"; | ||||
| return 0; | return 0; | ||||
| } | } | ||||
| ifstream inputFile; | ifstream inputFile; | ||||
| istream *inputStream; | istream *inputStream; | ||||
| inputStream = &cin; | inputStream = &cin; | ||||
| std::stringbuf sb; | std::stringbuf sb; | ||||
| ▲ Show 20 Lines • Show All 102 Lines • Show Last 20 Lines | |||||