History log of /PHP-8.2/Zend/zend_language_parser.y (Results 126 – 150 of 627)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
# 00865ae2 25-Nov-2015 Xinchen Hui

Improved fix for Fully qualified (leading backslash) type names must fail

it now all fails with COMPILE_ERROR instead of syntax error for T_ARRAY
but COMPILE_ERROR for int

Revision tags: php-7.0.0RC8, php-7.0.0RC7, php-5.6.16RC1, php-5.6.15, php-7.0.0RC6, php-7.0.1, php-5.6.15RC1, php-7.0.0RC5
# e3e92e96 12-Oct-2015 Nikita Popov

Fixed bug #70430

# 06f38d36 15-Oct-2015 Nikita Popov

Reindent zend_yytnamerr

Separating this whitespace change from the next diff.

# ddb6d780 06-Oct-2015 Márcio Almada

Fix bug #70650

Revision tags: php-5.5.30, php-5.6.14, php-7.0.0RC4, php-5.6.14RC1, php-7.0.0RC3
# c08b3922 04-Sep-2015 Márcio Almada

adds missing tokens to list of semi-reserved words and regenerates test suite

Revision tags: php-5.6.13, php-7.0.0RC2, php-5.5.29, php-5.4.45
# 186b0f37 20-Aug-2015 Nikita Popov

Don't allow leading \ in group use decl list

We recently added support for "use \Foo\{Bar}". This commit drops
support for the reverse "use Foo\{\Bar}". Those two got mixed up
in the

Don't allow leading \ in group use decl list

We recently added support for "use \Foo\{Bar}". This commit drops
support for the reverse "use Foo\{\Bar}". Those two got mixed up
in the initial implementation.

show more ...

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

# f3e124d5 14-Apr-2015 Bob Weinand

Merge branch 'coroutineDelegation' of https://github.com/bwoebi/php-src


# 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

12345678910>>...26