Page MenuHomePhabricator

Remove duplication of XHPAST version in PHP and C code
ClosedPublic

Authored by epriestley on Apr 7 2020, 9:04 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Nov 21, 8:05 AM
Unknown Object (File)
Thu, Nov 21, 8:03 AM
Unknown Object (File)
Wed, Nov 20, 1:06 PM
Unknown Object (File)
Wed, Nov 20, 1:06 PM
Unknown Object (File)
Wed, Nov 20, 4:50 AM
Unknown Object (File)
Mon, Nov 11, 3:05 AM
Unknown Object (File)
Sun, Nov 10, 10:32 AM
Unknown Object (File)
Sat, Nov 9, 8:44 AM
Subscribers
None

Details

Summary

Depends on D21063. Ref T13492. Currently, XHPAST defines a version in both PHP code and C code, and they must be kept in sync.

Switch to a single definition in PHP, then carry it through the build pipeline into C.

Test Plan

Did a clean rebuild of XHPAST, saw a version number carried in from PHP. Ran "xhpast --version".

Diff Detail

Repository
rARC Arcanist
Lint
Lint Not Applicable
Unit
Tests Not Applicable