Home GnuPG

Regnerate XHPAST with Bison 3.0.4
f27bc7f9ca83Unpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

Description

Regnerate XHPAST with Bison 3.0.4

Summary:
See rARC3ffed59. I think that test failure is some sort of weird parser generator bug in Bison 3.0.2 that appears to affect Ubuntu and OS X, at a minimum.

I don't immediately see what the acutal issue is, nor can I find anything suspicious in the changelog. However, I can reproduce the issue reliably locally (OS X).

If I do this:

$ git checkout master
$ git clean -df
$ ./scripts/build_xhpast.php

...I get test failures in arc.

If I do this:

$ git checkout bison304 # This change
$ git clean -df
$ ./scripts/build_xhpast.php

...I get clean tests.

The actual AST/parser look fine to me from careful inspection, too.

Test Plan: Added a now-passing unit test.

Reviewers: chad, richardvanvelzen

Reviewed By: richardvanvelzen

Differential Revision: https://secure.phabricator.com/D15820

Details

Provenance
epriestley <git@epriestley.com>Authored on Apr 29 2016, 3:23 PM
Parents
rPHUTILb20064a108f7: Add basic support for return type hints to xhpast
Branches
Unknown
Tags
Unknown

Event Timeline

epriestley <git@epriestley.com> committed rPHUTILf27bc7f9ca83: Regnerate XHPAST with Bison 3.0.4 (authored by epriestley <git@epriestley.com>).Apr 29 2016, 3:54 PM