History log of /PHP-8.3/Zend/zend_language_parser.y (Results 126 – 150 of 611)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: php-5.6.13RC1
# 7568d5cb 18-Aug-2015 Márcio Almada

fixes a syntactical inconsistency with group use and leading `\`

discussion: http://news.php.net/php.internals/87774


Revision tags: php-7.0.0RC1, php-5.6.12, php-5.5.28, php-7.0.0beta3, php-5.4.44, php-5.6.12RC1, php-7.0.0beta2, php-7.0.0beta1, php-5.6.11, php-5.5.27, php-5.4.43
# 4bd22cf1 29-Jun-2015 Dmitry Stogov

Improved zend_string API (Francois Laupretre)

Squashed commit of the following:

commit d96eab8d79b75ac83d49d49ae4665f948d15a804
Author: Francois Laupretre <francois@tekwire.net>

Improved zend_string API (Francois Laupretre)

Squashed commit of the following:

commit d96eab8d79b75ac83d49d49ae4665f948d15a804
Author: Francois Laupretre <francois@tekwire.net>
Date: Fri Jun 26 01:23:31 2015 +0200

Use the new 'ZSTR' macros in the rest of the code.

Does not change anything to the generated code (thanks to compat macros) but cleaner.

commit b3526439104ac7a89a8e0c79dbebf33b22bd01b8
Author: Francois Laupretre <francois@tekwire.net>
Date: Thu Jun 25 13:45:06 2015 +0200

Improve zend_string API

Add missing methods

show more ...


Revision tags: php-5.6.11RC1, php-5.5.27RC1, php-7.0.0alpha2
# a684e6ad 20-Jun-2015 Nikita Popov

Drop unnecessary %prec

Leftover from a previous implementation


Revision tags: php-5.5.26, php-7.0.0alpha1, php-5.6.10, php-5.4.42, POST_PHP7_NSAPI_REMOVAL, PRE_PHP7_NSAPI_REMOVAL, php-5.6.10RC1, php-5.5.26RC1
# 438d17e7 26-May-2015 Xinchen Hui

Even fake token better to be in upper case


# 31f3eeb0 25-May-2015 Bob Weinand

Fix tokenizer test due to recent changes


# 69b54ba9 25-May-2015 Bob Weinand

Also unreserve T_CLASS


# 36c3c474 25-May-2015 Bob Weinand

Set %expect to 0 in parser (Using %prec)


# 21ccdf63 25-May-2015 Bob Weinand

Rebuild scanner, add NEWS/UPGRADING


Revision tags: php-5.5.25, php-5.6.9, php-5.4.41, php-5.6.9RC1, php-5.5.25RC1, php-5.6.8, php-5.5.24, php-5.4.40
# 11075938 05-Apr-2015 Márcio Almada

ext tokenizer port + cleanup unused lexer states

we basically added a mechanism to store the token stream during parsing
and exposed the entire parser stack on the tokenizer extension th

ext tokenizer port + cleanup unused lexer states

we basically added a mechanism to store the token stream during parsing
and exposed the entire parser stack on the tokenizer extension through
an opt in flag: token_get_all($src, TOKEN_PARSE).

this change allows easy future language enhancements regarding context
aware parsing & scanning without further maintance on the tokenizer
extension while solves known inconsistencies "parseless" tokenizer
extension has when it handles `__halt_compiler()` presence.

show more ...


Revision tags: php-5.6.8RC1, php-5.5.24RC1, php-5.6.7, php-5.5.23, php-5.4.39
# a75decd4 09-Mar-2015 Márcio Almada

implement context sensitive language with lexical feedback

The implementation has no regression risks, has an even smaller footprint
compared to the previous attempt involving a pure lex

implement context sensitive language with lexical feedback

The implementation has no regression risks, has an even smaller footprint
compared to the previous attempt involving a pure lexical approach, is higly
predictable and higly configurable.

To turn a word semi-reserved you only need to edit the "SEMI_RESERVED" parser rule,
it's an inclusive list of all the words that should be matched as T_STRING on specific contexts.
Example:

```
method_modifiers function returns_ref indentifier '(' parameter_list ')' ...
```

instead of:

```
method_modifiers function returns_ref T_STRING '(' parameter_list ')' ...
```

TODO: port ext tokenizer

show more ...


# f2f890a2 26-Apr-2015 Nikita Popov

More cleanup (mainly retab)


# 49608e06 26-Apr-2015 krakjoe

Rebase Joe's anon classes implementation


# cc70a465 06-Apr-2015 Nikita Popov

Fix bug #60022


# a8bf1c5d 21-Mar-2015 Nikita Popov

Throw ParseException from lexer

Primarily to avoid getting fatal errors from token_get_all().

Implemented using a magic E_ERROR token, which the lexer emits to
force a parser fa

Throw ParseException from lexer

Primarily to avoid getting fatal errors from token_get_all().

Implemented using a magic E_ERROR token, which the lexer emits to
force a parser failure.

show more ...


# eeb8eced 16-Mar-2015 Xinchen Hui

Improved parser (make use_type reuseable)


# 22d6cc7c 07-Mar-2015 Márcio Almada

fix compilation warnings, rename batch_use to group_use


Revision tags: php-5.6.7RC1, php-5.5.23RC1, POST_PHP7_EREG_MYSQL_REMOVALS, PRE_PHP7_EREG_MYSQL_REMOVALS, php-5.6.6, php-5.5.22, php-5.4.38, POST_PHP7_REMOVALS, PRE_PHP7_REMOVALS, php-5.6.6RC1, php-5.5.22RC1
# 344fc25b 30-Jan-2015 Márcio Almada

require trailing T_NS_SEPARATOR #1005


# fbde890e 29-Jan-2015 Márcio Almada

allow non mixed use declarations, CC @nikic #1005

```
use function N\S { foo, bar, etc };
use const N\S { FOO, BAR, ETC };
```

Related tests:

```
make test

allow non mixed use declarations, CC @nikic #1005

```
use function N\S { foo, bar, etc };
use const N\S { FOO, BAR, ETC };
```

Related tests:

```
make test -j4 TESTS="-m Zend/tests/ns_0{88..92}*.phpt"
```

All namespace tests:

```
make test -j4 TESTS="Zend/tests/ns_*.phpt"
```

show more ...


Revision tags: php-5.5.21, php-5.6.5, php-5.4.37
# 275e7276 19-Jan-2015 Márcio Almada

first implementation of batch use compilation


# b4a142ab 06-Mar-2015 Bob Weinand

Added yield from operator


# fcdb6e08 20-Feb-2015 Nikita Popov

WIP


# cbbaea08 29-Jan-2015 Andrea Faulds

Fix merge error


Revision tags: php-5.5.21RC1, php-5.6.5RC1
# 75a225d0 27-Dec-2014 Andrea Faulds

Do not make scalar type hints reserved words, merely reserve class name


Revision tags: POST_NATIVE_TLS_MERGE, PRE_NATIVE_TLS_MERGE, php-5.5.20, php-5.4.36, php-5.6.4
# c3c0f531 13-Dec-2014 Andrea Faulds

Scalar type hints with ZPP casting rules


# e9f99e3d 09-Feb-2015 Márcio Almada

Márcio Almada remove dead tokens: T_CHARACTER, T_BAD_CHARACTER.


12345678910>>...25