History log of /PHP-7.4/Zend/zend_language_parser.y (Results 101 – 125 of 553)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# d51fb69c 05-Dec-2014 Guilherme Blanco

Removed parsing support traits to have extends and implements.


# f48c2327 01-Dec-2014 Guilherme Blanco

Decoupled class declaration statement into more granular pieces.


# bdeb220f 13-Dec-2014 Anatol Belski

first shot remove TSRMLS_* things


# 094d409b 22-Nov-2014 Guilherme Blanco

Removed ZEND_ACC_FINAL_CLASS which is unnecessary. This also fixed some currently defined classes as final which were just not being considered as such before.


# c6d0c55a 07-Dec-2014 Nikita Popov

Fix arrow operator precedence

I accidentially added => as the highest-precedence operator...


# cf581178 28-Oct-2014 Anatol Belski

fix "inconsistent dll linkage" warning caused by bison

stdlib.h might not be always using _STDLIB_H, that will move bison
to redeclare the malloc/free prototypes.


# d9d16d2e 28-Oct-2014 Anatol Belski

fix datatype mismatch warnings


# c00424e4 15-Oct-2014 Anatol Belski

bring back all the TSRMLS_FETCH() stuff

for better comparability with the mainstream


# 06d0230a 26-Sep-2014 Anatol Belski

cleanup TSRMLS_FETCH


# d11734b4 25-Sep-2014 Anatol Belski

reworked the patch, less new stuff but worky

TLS is already used in TSRM, the way exporting the tsrm cache through
a thread local variable is not portable. Additionally, the current

reworked the patch, less new stuff but worky

TLS is already used in TSRM, the way exporting the tsrm cache through
a thread local variable is not portable. Additionally, the current
patch suffers from bugs which are hard to find, but prevent it to
be worky with apache. What is done here is mainly uses the idea
from the RFC patch, but

- __thread variable is removed
- offset math and declarations are removed
- extra macros and definitions are removed

What is done merely is

- use an inline function to access the tsrm cache. The function uses
the portable tsrm_tls_get macro which is cheap
- all the TSRM_* macros are set to placebo. Thus this opens the way
remove them later

Except that, the logic is old. TSRMLS_FETCH will have to be done once
per thread, then tsrm_get_ls_cache() can be used. Things seeming to be
worky are cli, cli server and apache. I also tried to enable bz2
shared and it has worked out of the box. The change is yet minimal
diffing to the current master bus is a worky start, IMHO. Though will
have to recheck the other previously done SAPIs - embed and cgi.

The offsets can be added to the tsrm_resource_type struct, then
it'll not be needed to declare them in the userspace. Even the
"done" member type can be changed to int16 or smaller, then adding
the offset as int16 will not change the struct size. As well on the
todo might be removing the hashed storage, thread_id != thread_id and
linked list logic in favour of the explicit TLS operations.

show more ...


# b3aebda9 20-Sep-2014 krakjoe

native tls initial patch


# 69e7c9d8 16-Sep-2014 Nikita Popov

Initial coalesce operator implementation


Revision tags: php-5.5.17RC1, php-5.4.33RC1
# 545fd516 29-Aug-2014 Nikita Popov

Don't distinguish between ast/list in parser

This removes the need to use $<ast>{n} or $<list>$ casts in the
reduction actions.

Keeping the distinction in the parser doesn't rea

Don't distinguish between ast/list in parser

This removes the need to use $<ast>{n} or $<list>$ casts in the
reduction actions.

Keeping the distinction in the parser doesn't really give us any
benefit and only makes changing the grammar harder.

show more ...


# 25d57aac 29-Aug-2014 Nikita Popov

Introduce optional_expr


# c6a5c3c6 29-Aug-2014 Nikita Popov

Remove parenthesis_expr

This was necessary previously to handle yields, now it only clutters
up the grammar.


# 7722d2c5 29-Aug-2014 Nikita Popov

Simplify `argument` production


Revision tags: php-5.6.0
# f3b629c9 26-Aug-2014 Nikita Popov

Move =&new deprecation message into compiler


# f8abb9a4 26-Aug-2014 Nikita Popov

Handle remaining magic constants in parser as well

As far as I can see the !filename case cannot occur, so I dropped
it.


# 49b4e12e 26-Aug-2014 Nikita Popov

Add backup_doc_comment production

Bison can't detect the type of a mid-rule action, even if it accesses
$<str>$, so need to create a separate rule for this.


# b7876e73 26-Aug-2014 Nikita Popov

eval() with parse error uses clean shutdown now


Revision tags: POST_AST_MERGE, PRE_AST_MERGE, POST_64BIT_BRANCH_MERGE, PRE_64BIT_BRANCH_MERGE
# 6c687e0d 21-Aug-2014 Nikita Popov

Add type annotations to parser

Conflicts:

Zend/zend_language_parser.y


# c3e3c98e 25-Aug-2014 Anatol Belski

master renames phase 1


Revision tags: php-5.5.16, php-5.4.32
# 458f67cd 18-Aug-2014 Nikita Popov

Fix encoding declaration handling

As the encoding declaration influences lexing it needs to be
immidiately handled in the parser.


# ef5f3390 16-Aug-2014 Nikita Popov

Implement a[0] syntax from merge


# 8ee2a4a9 16-Aug-2014 Anatol Belski

first shot on merging the core fro the int64 branch


12345678910>>...23