summaryrefslogtreecommitdiff
path: root/Zend/zend_language_scanner.h
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* - Update copyright yearAndi Gutmans2001-02-261-1/+1
|
* Unify the names of these last 3 files...Zeev Suraski2000-10-291-0/+56