Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Happy New Year | Xinchen Hui | 2013-01-01 | 4 | -4/+4 |
| | |||||
* | Fix test failed due to new Token T_YIELD | Xinchen Hui | 2012-09-02 | 1 | -10/+10 |
| | |||||
* | Merge remote-tracking branch 'php-src/master' into addGeneratorsSupport | Nikita Popov | 2012-08-20 | 3 | -5/+125 |
|\ | | | | | | | | | | | | | | | | | Merging master to fix Windows build Conflicts: Zend/zend_language_scanner.c Zend/zend_language_scanner_defs.h Zend/zend_vm_def.h | ||||
| * | add finally | Stanislav Malyshev | 2012-08-19 | 1 | -1/+3 |
| | | |||||
| * | Merge branch 'pull-request/31' | Stanislav Malyshev | 2012-08-19 | 2 | -4/+122 |
| |\ | | | | | | | | | | | | | * pull-request/31: Fix lexing of nested heredoc strings in token_get_all() | ||||
| | * | Fix lexing of nested heredoc strings in token_get_all() | Nikita Popov | 2012-03-31 | 2 | -4/+122 |
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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()). | ||||
* | | Add T_YIELD in tokenizer_data.c | Nikita Popov | 2012-07-22 | 8 | -20/+22 |
|/ | | | | | Also had to fix up some tokenizer tests that were affected by the token number changes. | ||||
* | - Year++ | Felipe Pena | 2012-01-01 | 4 | -5/+5 |
| | |||||
* | Fixed bug #54084 (token_get_all with regards to __halt_compiler is not ↵ | Stanislav Malyshev | 2011-11-08 | 3 | -20/+331 |
| | | | | binary safe) | ||||
* | - Drop T_SCALAR_CAST | Felipe Pena | 2011-08-16 | 1 | -2/+2 |
| | |||||
* | Callable typehint following the rules of is_callable($arg, false); | Hannes Magnusson | 2011-08-16 | 1 | -0/+4 |
| | |||||
* | Added __TRAIT__ magic constant [TRAITS] [DOC] | Stefan Marr | 2011-07-31 | 1 | -35/+76 |
| | | | | | | | # __TRAIT__ behaves like __CLASS__ more or less but is constraint to traits. # Since traits are not types, there are not many valid use cases, and trying # to use __TRAIT__ to make traits more like classes is discouraged. | ||||
* | Added: SKIP when tokenizer extension is not available | Stefan Marr | 2011-07-31 | 21 | -0/+42 |
| | |||||
* | - Make usage of new PHP_FE_END macro | Felipe Pena | 2011-07-25 | 1 | -1/+1 |
| | |||||
* | and clean the tokenizer too | Stanislav Malyshev | 2011-06-03 | 1 | -4/+0 |
| | |||||
* | forgot tokenizer... | Stanislav Malyshev | 2011-05-15 | 1 | -16/+0 |
| | |||||
* | Fixed bug #54089 (token_get_all() does not stop after __halt_compiler). | Ilia Alshanetsky | 2011-02-28 | 3 | -47/+54 |
| | |||||
* | - Year++ | Felipe Pena | 2011-01-01 | 4 | -4/+4 |
| | |||||
* | Set svn properties | Johannes Schlüter | 2010-11-22 | 1 | -1/+1 |
| | |||||
* | - Update tokenizer data | Johannes Schlüter | 2010-11-22 | 2 | -1/+25 |
| | |||||
* | - token_get_all now returns false on error, not "", returns array on success | Johannes Schlüter | 2010-05-30 | 1 | -2/+3 |
| | |||||
* | Fixed tests | Ilia Alshanetsky | 2010-05-24 | 19 | -1093/+1093 |
| | |||||
* | Fixed tests | Ilia Alshanetsky | 2010-05-20 | 18 | -602/+602 |
| | |||||
* | revert change #298288: Remove old dsp/dsw/makefile files | Rob Richards | 2010-04-28 | 1 | -0/+108 |
| | |||||
* | - Fixed tests | Felipe Pena | 2010-04-26 | 18 | -608/+608 |
| | |||||
* | Remove old dsp/dsw/makefile files, these arent used by the build system ↵ | Kalle Sommer Nielsen | 2010-04-21 | 1 | -108/+0 |
| | | | | anymore and are barely updated nor available for all extensions | ||||
* | sed -i "s#1997-2009#1997-2010#g" **/*.c **/*.h **/*.php | Sebastian Bergmann | 2010-01-03 | 3 | -3/+3 |
| | |||||
* | Fixed bug #47038 (Memory leak in include) | Dmitry Stogov | 2009-03-25 | 1 | -4/+1 |
| | |||||
* | MFH: fix tokenizer makefile dependencies on parser/scanner files when built ↵ | Brian Shire | 2009-03-02 | 1 | -1/+2 |
| | | | | dynamically. (See bug #38762) | ||||
* | MFH: Bump copyright year, 3 of 3. | Sebastian Bergmann | 2008-12-31 | 3 | -3/+3 |
| | |||||
* | - Bug #46957 (The tokenizer returns deprecated values) | Felipe Pena | 2008-12-27 | 1 | -0/+2 |
| | |||||
* | - MFH: Added 'static' into ZEND_BEGIN_ARG_INFO_EX macro | Felipe Pena | 2008-11-17 | 1 | -2/+0 |
| | |||||
* | - Revert ZEND_BEGIN_ARG_INFO change | Felipe Pena | 2008-11-02 | 1 | -0/+2 |
| | |||||
* | - MFH: Added 'static' into ZEND_BEGIN_ARG_INFO_EX macro | Felipe Pena | 2008-10-24 | 1 | -2/+0 |
| | |||||
* | . Added support for using static HEREDOCs to initialize static variables and ↵ | Dmitry Stogov | 2008-07-26 | 2 | -5/+1 |
| | | | | | | | | class members or constants. (Matt) . Improved syntax highlighting and consistency for variables in double-quoted strings and literal text in HEREDOCs and backticks. (Matt) . Optimized interpolated strings to use one less opcode. (Matt) | ||||
* | - MFH: suppress signedness warnings | Moriyoshi Koizumi | 2008-07-25 | 1 | -2/+2 |
| | |||||
* | - Fixed folding | Felipe Pena | 2008-06-23 | 1 | -1/+1 |
| | |||||
* | - Added arginfo | Felipe Pena | 2008-06-23 | 1 | -2/+14 |
| | |||||
* | Fixed memory leak | Dmitry Stogov | 2008-06-11 | 1 | -0/+4 |
| | |||||
* | Fix WS. | Felipe Pena | 2008-03-30 | 1 | -248/+252 |
| | | | | | # My editor accidentally changed tab to space, sorry. | ||||
* | - Added T_GOTO | Felipe Pena | 2008-03-30 | 19 | -866/+868 |
| | | | | | - Fixed tests | ||||
* | Adding tokenizer test | Steve Seear | 2008-03-19 | 1 | -0/+88 |
| | |||||
* | - Rewrite scanner to be based on re2c instead of flex | Marcus Boerger | 2008-03-16 | 3 | -73/+6 |
| | | | | | | | | | 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 | ||||
* | Added NOWDOC | Dmitry Stogov | 2008-02-12 | 1 | -1/+1 |
| | |||||
* | HNY | Stanislav Malyshev | 2008-02-12 | 2 | -3/+3 |
| | |||||
* | add T_DIR | Stanislav Malyshev | 2008-02-12 | 1 | -1/+3 |
| | |||||
* | remove unused PHP_EXTNAME_API macros. | Nuno Lopes | 2008-01-03 | 1 | -6/+0 |
| | | | | | #in preparation for the gcc 4 visibility patch | ||||
* | MFH: Bump copyright year, 2 of 2. | Sebastian Bergmann | 2007-12-31 | 3 | -3/+3 |
| | |||||
* | Fix test | Hannes Magnusson | 2007-12-16 | 1 | -0/+2 |
| | |||||
* | New testcases for token_get_all() function | Raghubansh Kumar | 2007-12-14 | 20 | -0/+11305 |
| |