D13547: Expression syntax improvements
noreply at phabricator.kde.org
Thu Jun 14 19:18:14 UTC 2018
pprkut created this revision.
Restricted Application added a project: KDevelop.
Restricted Application added a subscriber: kdevelop-devel.
pprkut requested review of this revision.
- Disallow some illegal expressions.
- 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 handles 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
R52 KDevelop: PHP Support
Cc: kdevelop-devel, antismap, iodelay, vbspam, njensen, geetamc, Pilzschaf, akshaydeo, surgenight, arrowdodger
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the KDevelop-devel