HomePhabricator

Include parentheses in n_ARRAY_VALUE_LIST node

Description

Include parentheses in n_ARRAY_VALUE_LIST node

Summary: Currently parsing array(1, 2, 3) results in a n_ARRAY_VALUE_LIST with a concrete string of 1, 2, 3. Compare this to list($x, $y) which results in a n_ASSIGNMENT_LIST with a concrete string of ($x, $y).

Test Plan: See next diff.

Reviewers: Blessed Reviewers, epriestley

Subscribers: Korvin

Differential Revision: https://secure.phabricator.com/D13858

Details

Provenance
joshuaspenceAuthored on
joshuaspencePushed on Aug 11 2015, 12:34 PM
Differential Revision
D13858: Include parentheses in n_ARRAY_VALUE_LIST node
Parents
rPHUf26954065e59: Use the configuration driven unit test engine
Branches
Unknown
Tags
Unknown