summaryrefslogtreecommitdiff
path: root/Zend/zend_language_scanner.h
Commit message (Collapse)AuthorAgeFilesLines
* year++Xinchen Hui2018-01-021-1/+1
|
* Update copyright headers to 2017Sammy Kaye Powers2017-01-041-1/+1
|
* Make sure TOKEN_PARSE mode is thread safeNikita Popov2016-07-231-1/+2
| | | | | | Introduce an on_event_context passed to the on_event hook. Use this context to pass along the token array. Previously this was stored in a non-tls global :/
* Drop dup declare with inconsistent linkageNikita Popov2016-05-021-1/+0
| | | | This is already declared in zend_stream.h as ZEND_API.
* bump year which is missed in rev 49493a2Xinchen Hui2016-01-021-1/+1
|
* ext tokenizer port + cleanup unused lexer statesMárcio Almada2015-04-301-0/+4
| | | | | | | | | | | 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.
* Fixed compiler reenterabilityDmitry Stogov2015-01-221-0/+3
|
* bump yearXinchen Hui2015-01-151-1/+1
|
* trailing whitespace removalStanislav Malyshev2015-01-101-1/+1
|
* first shot remove TSRMLS_* thingsAnatol Belski2014-12-131-5/+5
|
* Use better data structures (incomplete)Dmitry Stogov2014-02-101-1/+1
|
* Bump yearXinchen Hui2014-01-031-1/+1
|
* Merge branch 'PHP-5.4' into PHP-5.5Stanislav Malyshev2013-08-041-1/+1
|\ | | | | | | | | | | | | | | * PHP-5.4: non living code related typo fixes Conflicts: Zend/zend_compile.c
| * non living code related typo fixesVeres Lajos2013-08-041-1/+1
| |
| * Happy New YearXinchen Hui2013-01-011-1/+1
| |
| * - Year++Felipe Pena2012-01-011-1/+1
| |
| * Fixed ZE specific compile warnings (Bug #55629)Dmitry Stogov2011-09-131-1/+1
| |
* | Happy New YearXinchen Hui2013-01-011-1/+1
| |
* | Fix lexing of nested heredoc strings in token_get_all()Nikita Popov2012-03-311-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This fixes bug #60097. Before two global variables CG(heredoc) and CG(heredoc_len) were used to track the current heredoc label. In order to support nested heredoc strings the *previous* heredoc label was assigned as the token value of T_START_HEREDOC and the language_parser.y assigned that to CG(heredoc). This created a dependency of the lexer on the parser. Thus the token_get_all() function, which accesses the lexer directly without also running the parser, was not able to tokenize nested heredoc strings (and leaked memory). Same applies for the source-code highlighting functions. The new approach is to maintain a heredoc_label_stack in the lexer, which contains all active heredoc labels. As it is no longer required, T_START_HEREDOC and T_END_HEREDOC now don't carry a token value anymore. In order to make the work with zend_ptr_stack in this context more convenient I added a new function zend_ptr_stack_top(), which retrieves the top element of the stack (similar to zend_stack_top()).
* | - Year++Felipe Pena2012-01-011-1/+1
| |
* | Fixed ZE specific compile warnings (Bug #55629)Dmitry Stogov2011-09-131-1/+1
|/
* - Year++Felipe Pena2011-01-011-1/+1
|
* - Avoid allocating extra buffers. This makes parsing with zend.multibyte ↵Moriyoshi Koizumi2010-12-201-2/+0
| | | | enabled as fast as with it disabled.
* * Refactor zend_multibyte facility.Moriyoshi Koizumi2010-12-191-2/+5
| | | | | Now mbstring.script_encoding is superseded by zend.script_encoding.
* Added multibyte suppport by default. Previosly php had to be compiled with ↵Dmitry Stogov2010-11-241-2/+0
| | | | --enable-zend-multibyte. Now it can be enabled or disabled throug zend.multibyte directive in php.ini
* sed -i "s#1998-2009#1998-2010#g" **/*.c **/*.h **/*.phpSebastian Bergmann2010-01-051-1/+1
|
* MFH: Bump copyright year, 3 of 3.Sebastian Bergmann2008-12-311-1/+1
|
* - Revived zend multibyteMoriyoshi Koizumi2008-07-241-4/+4
|
* implemented again zend-multibyte for PHP 5.3Rui Hirokawa2008-06-291-0/+16
|
* - Rewrite scanner to be based on re2c instead of flexMarcus Boerger2008-03-161-19/+9
| | | | | | | | | The full patch is available as: http://php.net/~helly/php-re2c-5.3-20080316.diff.txt This is against php-re2c repository version 98 An older patch against version 97 is available under: http://php.net/~helly/php-re2c-97-20080316.diff.txt
* MFH: Bump copyright year, 2 of 2.Sebastian Bergmann2007-12-311-1/+1
|
* MFH: Bump year.Sebastian Bergmann2007-01-011-1/+1
|
* - Update copyright notices to 2006Andi Gutmans2006-01-041-1/+1
|
* Bump up the yearfoobar2005-08-031-1/+1
|
* Nuke compile warning by using the LANG_SCNG macro insteadfoobar2004-01-171-1/+0
|
* TSRMLS fixWez Furlong2004-01-111-1/+1
|
* - This should fix the problem of conditional function decleration on theAndi Gutmans2004-01-111-0/+2
| | | | | | - same line of code not to work. You should re-evaluate your coding style - if you really code this way :)
* - Happy new year and PHP 5 for rest of the files too..foobar2004-01-081-1/+1
| | | | | # Should the LICENSE and Zend/LICENSE dates be updated too?
* - added script encoding support to Zend Engine 2.Masaki Fujimoto2003-08-111-0/+16
| | | | | | | this enables ZE2 to gracefully parse scripts written in UTF-8 (with BOM), UTF-16, UTF-32, Shift_JIS, ISO-2022-JP etc... (when configured with '--enable-zend-multibyte' and '--enable-mbstring')
* updating license information in the headers.James Cox2003-06-101-1/+1
|
* Implement simple stream support in the ZE scanners.Wez Furlong2003-02-181-1/+1
|
* - Added some missing CVS $Id$ tags, headers and footers.foobar2003-02-011-0/+9
|
* Bump year.Sebastian Bergmann2002-12-311-1/+1
|
* Happy New Year.Sebastian Bergmann2002-01-061-1/+1
|
* MFZE1Zeev Suraski2001-12-181-0/+3
|
* Update headers.Sebastian Bergmann2001-12-111-2/+2
|
* MFZE1 (nuke cplusplus code)Zeev Suraski2001-09-101-17/+0
|
* Merge from branch - move to standard C scanners in thread safe modeZeev Suraski2001-08-061-2/+2
|
* Redesigned thread safety mechanism - nua nuaZeev Suraski2001-07-281-1/+1
|
* Fix an inlineZeev Suraski2001-07-151-1/+0
|