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
F15581475: D21064.diff
Wed, May 7, 11:11 AM
F15572926: D21064.id.diff
Mon, May 5, 6:20 PM
F15524227: D21064.diff
Mon, Apr 21, 6:43 AM
F15481297: D21064.id50183.diff
Tue, Apr 8, 7:55 PM
F15480672: D21064.id50189.diff
Tue, Apr 8, 3:38 PM
F15478424: D21064.id.diff
Apr 7 2025, 11:14 PM
F15474609: D21064.diff
Apr 6 2025, 10:11 AM
F15471557: D21064.diff
Apr 5 2025, 5:56 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