#
8012faea |
| 09-May-2019 |
Tomas Votruba |
[PHP 7.4] Add array spread
|
Revision tags: v4.2.1, v4.2.0 |
|
#
af8c7296 |
| 05-Jan-2019 |
Tomas Votruba |
Add PHP 7.4 typed properties support
|
Revision tags: v4.1.1 |
|
#
f42bbc24 |
| 30-Nov-2018 |
Nikita Popov |
Avoid default action for error production error is not necessarily going to have a semantic value, make sure that the default action $$=$1 is not used. Fixes #551.
|
#
3d0f7843 |
| 25-Oct-2018 |
Nikita Popov |
Support error recovery for missing return type The return type is set to "null" in this case. Fixes #544.
|
Revision tags: v4.1.0, v4.0.4, v4.0.3 |
|
#
aac539ef |
| 07-Jul-2018 |
Nikita Popov |
Adjust test output Whoops, forgot to commit this part.
|
#
f967b867 |
| 07-Jul-2018 |
Nikita Popov |
Improve error recovery in arrays Similarly to missing semicolons, the error is not indicated in the AST. Fixes #512.
|
Revision tags: v4.0.2 |
|
#
7b201b63 |
| 13-May-2018 |
Nikita Popov |
Error recovery for functions without body
|
#
01e85a26 |
| 12-May-2018 |
Nikita Popov |
Support recovery for param without variable We store an Expr\Error for the variable in this case.
|
#
fa99c3fb |
| 28-Apr-2018 |
Nikita Popov |
Recover from foreach without as
|
#
7208b1c7 |
| 30-Mar-2018 |
Nikita Popov |
Improve error recovery in classes (#492)
|
Revision tags: v4.0.1 |
|
#
91a462ce |
| 10-Mar-2018 |
Nikita Popov |
PHP 7.3: Add support for trailing commas in calls RFC: https://wiki.php.net/rfc/trailing-comma-function-calls
|
Revision tags: v4.0.0, v3.1.5, v4.0.0beta1, v3.1.4, v4.0.0alpha3, v3.1.3, v4.0.0alpha2, v3.1.2, v4.0.0alpha1, v3.1.1, v3.1.0 |
|
#
7f862ac2 |
| 28-Jun-2017 |
Nikita Popov |
Add support for trailing comma in group use
|
Revision tags: v3.0.6 |
|
#
3da18976 |
| 28-Apr-2017 |
Nikita Popov |
Distinguish between implicit/explicit alias The UseUse::$alias node can now be null if an alias is not explicitly given. As such "use Foo\Bar" and "use Foo\Bar as Bar" are now repres
Distinguish between implicit/explicit alias The UseUse::$alias node can now be null if an alias is not explicitly given. As such "use Foo\Bar" and "use Foo\Bar as Bar" are now represented differently. The UseUse->getAlias() method replicates the previous semantics, by returning "Bar" in both cases.
show more ...
|
#
a6846e3b |
| 28-Apr-2017 |
Nikita Popov |
Always use Identifier nodes The parser will now always generate Identifier nodes (for non-namespaced identifiers). This obsoletes the useIdentifierNodes parser option. Node
Always use Identifier nodes The parser will now always generate Identifier nodes (for non-namespaced identifiers). This obsoletes the useIdentifierNodes parser option. Node constructors still accepts strings and will implicitly create an Identifier wrapper. Identifier implement __toString(), so that outside of strict-mode many things continue to work without changes.
show more ...
|
Revision tags: v3.0.5 |
|
#
d5873b17 |
| 26-Feb-2017 |
Nikita Popov |
Adjust the end attributes on the stack as well
|
#
48ec654d |
| 26-Feb-2017 |
Nikita Popov |
Make Expr\Error nodes empty Resolves issue #359.
|
#
c12a4c82 |
| 26-Feb-2017 |
Nikita Popov |
Fix start attribute assignment for Error in ClassConstFetch
|
Revision tags: v3.0.4 |
|
#
a8eb2fc6 |
| 08-Feb-2017 |
Nikita Popov |
Support recovery from invalid trailing commas
|
#
62877b5d |
| 05-Feb-2017 |
Nikita Popov |
Recover from missing semicolons on statements
|
Revision tags: v3.0.3 |
|
#
953f8c96 |
| 19-Jan-2017 |
Nikita Popov |
Perform automated test update
|
Revision tags: v3.0.2, v3.0.1, v3.0.0 |
|
#
27281e91 |
| 23-Nov-2016 |
Nikita Popov |
Fix attribute assignment for Error nodes
|
#
e52ffc44 |
| 22-Nov-2016 |
Nikita Popov |
Support recovery from Foo::
|
#
c5cdd5ad |
| 21-Nov-2016 |
Nikita Popov |
Support recovery from free-standing $
|
#
c0630f81 |
| 21-Nov-2016 |
Nikita Popov |
Support recovery for new without class name
|
Revision tags: v3.0.0beta2, v3.0.0beta1, v2.1.1 |
|
#
977cbab8 |
| 25-Jul-2016 |
Nikita Popov |
Decrement errorState when recovering from -> error It's likely that an error after -> will trigger another one due to missing semicolon without shifting a single token. We prevent an
Decrement errorState when recovering from -> error It's likely that an error after -> will trigger another one due to missing semicolon without shifting a single token. We prevent an immediate failure in this case by manually setting errorState to 2, which will suppress the duplicate error message, but allow error recovery.
show more ...
|