Page MenuHomePhabricator

Mostly align parser to PHP 5.5.8
ClosedPublic

Authored by epriestley on Jan 21 2014, 9:35 PM.
Tags
None
Referenced Files
F13324078: D8033.diff
Fri, Jun 14, 10:47 PM
F13315392: D8033.diff
Wed, Jun 12, 1:08 PM
F13270527: D8033.diff
Wed, May 29, 9:52 AM
F13255507: D8033.diff
Sat, May 25, 5:47 AM
F13241532: D8033.id.diff
Wed, May 22, 10:03 PM
F13240033: D8033.id18156.diff
Wed, May 22, 9:34 AM
F13235449: D8033.diff
Tue, May 21, 5:24 AM
F13214259: D8033.diff
Fri, May 17, 9:36 AM
Subscribers

Details

Summary

Ref T4334. Adds support for: traits; yield; short array syntax; callable; finally.

Test Plan

Unit tests. Attempted to use PHPAST web view to verify I didn't build the trees wrong.

{F103626}

Generally, these changes are difficult to verify by inspection, and errors only become clear once the tree is in use. So probably not everything is quite correct, but it should be relatively close.

Diff Detail

Branch
ast9
Lint
Lint Warnings
SeverityLocationCodeMessage
Warningsupport/xhpast/parser.y:564TXT3Line Too Long
Unit
Tests Passed