Page MenuHomePhabricator

D13977.id33717.diff
No OneTemporary

D13977.id33717.diff

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 = '5.6.1';
+ const EXPECTED_VERSION = '5.6.2';
/**
* The XHPAST build version.
diff --git a/support/xhpast/xhpast.cpp b/support/xhpast/xhpast.cpp
--- a/support/xhpast/xhpast.cpp
+++ b/support/xhpast/xhpast.cpp
@@ -14,7 +14,7 @@
int main(int argc, char* argv[]) {
if (argc != 1) {
// Coupling: modify also src/parser/xhpast/bin/PhutilXHPASTBinary.php
- cout << "5.6.1\n";
+ cout << "5.6.2\n";
return 0;
}
@@ -108,9 +108,9 @@
r = node->r_tok;
}
- printf("[%u, %d, %d", node->type, l, r);
+ printf("[%u,%d,%d", node->type, l, r);
if (!node->children.empty()) {
- printf(", [");
+ printf(",[");
for (xhpast::node_list_t::iterator ii = node->children.begin();;) {
print_node(*ii);
if (++ii != node->children.end()) {

File Metadata

Mime Type
text/plain
Expires
Sat, Mar 22, 5:37 PM (1 w, 4 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7705409
Default Alt Text
D13977.id33717.diff (1 KB)

Event Timeline