History log of /PHP-8.3/Zend/zend_language_scanner.l (Results 176 – 200 of 540)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
Revision tags: 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, php-5.5.30, php-5.6.14, php-7.0.0RC4, php-5.6.14RC1, php-7.0.0RC3, php-5.6.13, php-7.0.0RC2, php-5.5.29, php-5.4.45, php-5.6.13RC1, 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
# a49ce7bb 09-Jul-2015 Nikita Popov

Don't return T_ERROR from token_get_all()

This turned out to be rather inconvenient after all. Instead just
return the same output we did on PHP 5. If people want to have an
error, u

Don't return T_ERROR from token_get_all()

This turned out to be rather inconvenient after all. Instead just
return the same output we did on PHP 5. If people want to have an
error, use TOKEN_PARSE.

show more ...

# d91aad59 09-Jul-2015 Nikita Popov

Fix bug #69430

Don't throw from token_get_all() unless TOKEN_PARSE is used. Errors
are reported as T_ERROR tokens.

Revision tags: php-5.5.27, php-5.4.43
# a1a83bf5 07-Jul-2015 Aaron Piotrowski

Switch code on thrown TypeError and ParseError to 0, update related tests

# ce2cd892 04-Jul-2015 Kalle Sommer Nielsen

Replace references to PHP_WIN32 and TSRM_WIN32 with ZEND_WIN32 in Zend/, this also fixes 1 instance of where fflush(stderr) was misplaced (zend_extensions.c)

# ed1b6487 03-Jul-2015 Aaron Piotrowski

Switch position of ce in exception ce variable names

# f9e9d3a4 03-Jul-2015 Aaron Piotrowski

Cleanup exception ce API

Removed recently added functions to get Error ce's and marked the old functions
fetching default_exception_ce and error_exception_ce as deprecated.

Revision tags: php-5.6.11RC1, php-5.5.27RC1, php-7.0.0alpha2
# 110e0a5a 14-Jun-2015 Aaron Piotrowski

Merge branch 'master' into throwable-interface

# Conflicts:
# Zend/zend_language_scanner.c
# Zend/zend_language_scanner.l
# ext/simplexml/tests/SimpleXMLElement

Merge branch 'master' into throwable-interface

# Conflicts:
# Zend/zend_language_scanner.c
# Zend/zend_language_scanner.l
# ext/simplexml/tests/SimpleXMLElement_xpath.phpt

show more ...


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
# d042d088 16-May-2015 Aaron Piotrowski

Remodel exceptions based on Throwable interface

Added Throwable interface that exceptions must
implement in order to be thrown. BaseException
was removed, EngineException renamed to

Remodel exceptions based on Throwable interface

Added Throwable interface that exceptions must
implement in order to be thrown. BaseException
was removed, EngineException renamed to
Error, and TypeException and ParseException
renamed to TypeError and ParseError. Exception
and Error no longer extend a common base
class, rather they both implement the Throwable
interface.

show more ...

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 ...

# a9a67999 25-Apr-2015 Bob Weinand

Add line_start/end info to main op_array

# d2607a01 20-Apr-2015 Nikita Popov

Move more stuff to file_context

Introduce helper macro FC(x) for CG(file_context).x.

end_compilation() now handled by file_context_end().

While at it, dropped zval wrapper

Move more stuff to file_context

Introduce helper macro FC(x) for CG(file_context).x.

end_compilation() now handled by file_context_end().

While at it, dropped zval wrapper for ticcks.

show more ...

# 0381c1b7 20-Apr-2015 Nikita Popov

Fixed bug #69388

Renamed compiler_context to oparray_context. Introduced per-file
file_context. Moved import tables into the file_context.

context_stack no longer exists, instea

Fixed bug #69388

Renamed compiler_context to oparray_context. Introduced per-file
file_context. Moved import tables into the file_context.

context_stack no longer exists, instead keeping backups of contexts
on C stack. Same for file contexts.

TODO: Move more things out of CG into file_context. There should be
a number of other things that we should not try to reuse in nested
compilations.

show more ...

# 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 ...

# acfc31c0 01-Apr-2015 Dmitry Stogov

Use zend_error_noreturn() for fatal errors

# d146d150 19-Mar-2015 Dmitry Stogov

Optimize zend_string_realloc() add more specialized versions zend_string_extend() and zend_string_truncate()

# f1a6c06f 17-Mar-2015 Nikita Popov

Support ParseException for require etc

# b4a142ab 06-Mar-2015 Bob Weinand

Added yield from operator

Revision tags: php-5.6.7RC1, php-5.5.23RC1, POST_PHP7_EREG_MYSQL_REMOVALS, PRE_PHP7_EREG_MYSQL_REMOVALS
# 2fa8d67a 03-Mar-2015 Dmitry Stogov

Use zend_string* instead of char* for opened_patch handling. Avoid reallocations and improve string reuse.

Revision tags: 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, php-5.5.21, php-5.6.5, php-5.4.37
# 797dee59 19-Jan-2015 Andrea Faulds

Blast off to space.

# b494aa0b 22-Jan-2015 Dmitry Stogov

Fixed compiler reenterability

# 1010b0ea 19-Jan-2015 Sara Golemon

Provide compiler hook for altering the AST pre-compilation.

# 218d83d2 18-Jan-2015 Xinchen Hui

Fixed annoying incompatible pointer type warning

# 5f29b980 09-Jan-2015 Andrea Faulds

Error on invalid octal (fixes PHPSadness #31)

Further error checks

12345678910>>...22