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
F13235678: D21064.id50183.diff
Tue, May 21, 6:09 AM
F13215717: D21064.id.diff
Fri, May 17, 7:22 PM
F13190587: D21064.diff
Sat, May 11, 12:11 PM
F13184465: D21064.diff
Fri, May 10, 7:03 PM
F13173827: D21064.id.diff
Tue, May 7, 9:07 PM
Unknown Object (File)
Sun, Apr 28, 7:34 AM
Unknown Object (File)
Thu, Apr 25, 9:10 PM
Unknown Object (File)
Apr 10 2024, 1:15 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