Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F15449137
D11639.id28054.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Referenced Files
None
Subscribers
None
D11639.id28054.diff
View Options
diff --git a/src/parser/xhpast/bin/PhutilXHPASTBinary.php b/src/parser/xhpast/bin/PhutilXHPASTBinary.php
--- a/src/parser/xhpast/bin/PhutilXHPASTBinary.php
+++ b/src/parser/xhpast/bin/PhutilXHPASTBinary.php
@@ -8,7 +8,7 @@
* This is the version that would be obtained with an up-to-date XHPAST
* build. The //actual// XHPAST build version may vary.
*/
- const EXPECTED_VERSION = 'xhpast version 5.5.8/1g';
+ const EXPECTED_VERSION = '5.5.8/1h';
/**
* The XHPAST build version.
@@ -21,8 +21,7 @@
/**
* Builds XHPAST automatically.
*
- * Attempts to build the XHPAST binary automatically. Throws a
- * @{class:CommandException} in the event of a failure.
+ * Attempts to build the XHPAST binary automatically.
*
* @return void
*/
@@ -45,7 +44,7 @@
// Test the binary.
if (!self::isAvailable()) {
- throw new Exception('xhpast is broken.');
+ throw new Exception(pht('xhpast is broken.'));
}
self::$version = null;
diff --git a/support/xhpast/xhpast.cpp b/support/xhpast/xhpast.cpp
--- a/support/xhpast/xhpast.cpp
+++ b/support/xhpast/xhpast.cpp
@@ -15,8 +15,8 @@
vector<string> files;
if (argc != 1) {
- //coupling: modify also libphutil/src/parser/xhpast/bin/xhpast_parse.php
- cout << "xhpast version 5.5.8/1g\n";
+ //coupling: modify also libphutil/src/parser/xhpast/bin/PhutilXHPASTBinary.php
+ cout << "5.5.8/1h\n";
return 0;
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Mar 29, 8:30 AM (2 w, 3 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7386759
Default Alt Text
D11639.id28054.diff (1 KB)
Attached To
Mode
D11639: Make the output of `xhpast --version` more compact
Attached
Detach File
Event Timeline
Log In to Comment