1
0
Fork 0
mirror of https://we.phorge.it/source/arcanist.git synced 2024-11-09 16:32:39 +01:00
phorge-arcanist/support/xhpast
epriestley e03431def8 Fix XHPAST parsing of variadic calls
Summary:
Depends on D21066. Ref T13492. The switch of unit test data to stable/readable output exposed this bug in parsing of variadic calls: some nodes are not given types properly.

Fix the parser and update the test.

Test Plan: Ran the test, which now works.

Maniphest Tasks: T13492

Differential Revision: https://secure.phabricator.com/D21067
2020-04-07 14:33:37 -07:00
..
bin Remove duplication of XHPAST version in PHP and C code 2020-04-07 14:31:11 -07:00
ast.hpp Fully merge "libphutil/" into "arcanist/" 2020-02-12 15:17:38 -08:00
astnode.hpp Fully merge "libphutil/" into "arcanist/" 2020-02-12 15:17:38 -08:00
build-xhpast.php Merge utility/support changes from "wilds" to "master" 2020-02-13 14:10:09 -08:00
Makefile Remove duplication of XHPAST version in PHP and C code 2020-04-07 14:31:11 -07:00
parser.y Fix XHPAST parsing of variadic calls 2020-04-07 14:33:37 -07:00
parser.yacc.cpp Fix XHPAST parsing of variadic calls 2020-04-07 14:33:37 -07:00
parser.yacc.hpp Revert xhpast changes that impacted builds under Bison 2.3 2020-04-07 14:29:19 -07:00
parser_nodes.php Fully merge "libphutil/" into "arcanist/" 2020-02-12 15:17:38 -08:00
README Fully merge "libphutil/" into "arcanist/" 2020-02-12 15:17:38 -08:00
scanner.l Fully merge "libphutil/" into "arcanist/" 2020-02-12 15:17:38 -08:00
scanner.lex.cpp Revert xhpast changes that impacted builds under Bison 2.3 2020-04-07 14:29:19 -07:00
scanner.lex.hpp Revert xhpast changes that impacted builds under Bison 2.3 2020-04-07 14:29:19 -07:00
xhpast.cpp Remove duplication of XHPAST version in PHP and C code 2020-04-07 14:31:11 -07:00

= Building =

Normally, you can build `xhpast` by running `make`, which will create a binary
in this directory:

  xhpast/ $ make

You can run `make install` to copy that binary to the right place in libphutil
so that libphutil, Phabricator, Diviner, etc., can use xhpast.

If you are developing `xhpast`, you need to `make parser scanner xhpast`
instead to regenerate the parser and scanner:

  xhpast/ $ make parser scanner xhpast

We ship the generated parser and scanner and do not rebuild them by default to
prevent users from needing to install flex and bison and fiddle around with
flex versions.