D13547: Expression syntax improvements
Heinz Wiesinger
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.
REVISION SUMMARY
- 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
second print.
REPOSITORY
R52 KDevelop: PHP Support
BRANCH
expressions
REVISION DETAIL
https://phabricator.kde.org/D13547
AFFECTED FILES
duchain/tests/duchain.cpp
duchain/tests/duchain.h
parser/php.g
To: pprkut
Cc: kdevelop-devel, antismap, iodelay, vbspam, njensen, geetamc, Pilzschaf, akshaydeo, surgenight, arrowdodger
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20180614/16ebb2d1/attachment.html>
More information about the KDevelop-devel
mailing list