diff --git a/src/parser/xhpast/bin/xhpast_parse.php b/src/parser/xhpast/bin/xhpast_parse.php index 3ec86fe..20f3074 100644 --- a/src/parser/xhpast/bin/xhpast_parse.php +++ b/src/parser/xhpast/bin/xhpast_parse.php @@ -1,67 +1,67 @@ write($data); return $future; } function xhpast_build() { $root = phutil_get_library_root('phutil'); execx('%s', $root.'/../scripts/build_xhpast.sh'); } function xhpast_version() { static $version; if ($version === null) { $bin = xhpast_get_binary_path(); if (Filesystem::pathExists($bin)) { list($err, $stdout) = exec_manual('%s --version', $bin); if (!$err) { $version = trim($stdout); } } } return $version; }