Fix chained print expressions.

Authored by pprkut on Jun 13 2018, 7:09 PM.

Description

Fix chained print expressions.

This causes 10 first/follow conflicts, where I'm not sure how
to solve them or if that would even be feasible to do. Example:

<? print 1 || print 2 || print 3; ?>

php-parser seems to handle this correctly, but conceptually it wouldn't
know if the second || belongs to the first booleanOrExpression or
is a new booleanOrExpression below the assignmentExpression of the
second print.

Reviewers: KDevelop

Subscribers: kdevelop-devel

Tags: KDevelop

Differential Revision: https://phabricator.kde.org/D13547

Details

Committed
pprkutAug 13 2018, 11:42 AM
Differential Revision
D13547: Expression syntax improvements
Parents
R52:ea9b7f55cc5b: Disallow some illegal expressions.
Branches
Unknown
Tags
Unknown