Commit Graph

88 Commits

Author SHA1 Message Date
Dmitry Stogov
478acfd8b4 . Added support for using static HEREDOCs to initialize static variables and 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)
2008-07-26 15:30:28 +00:00
Moriyoshi Koizumi
bb35ab45bb - MFH: suppress signedness warnings 2008-07-25 03:42:01 +00:00
Felipe Pena
f2d0da3c29 - Fixed folding 2008-06-23 17:28:06 +00:00
Felipe Pena
ca0166605c - Added arginfo 2008-06-23 17:17:46 +00:00
Dmitry Stogov
8d260b6b71 Fixed memory leak 2008-06-11 07:45:44 +00:00
Felipe Pena
f8b3482861 Fix WS.
# My editor accidentally changed tab to space, sorry.
2008-03-30 22:01:44 +00:00
Felipe Pena
b3ded59e3e - Added T_GOTO
- Fixed tests
2008-03-30 21:48:24 +00:00
Steve Seear
4c2b3336a2 Adding tokenizer test 2008-03-19 17:43:50 +00:00
Marcus Boerger
af316021e8 - Rewrite scanner to be based on re2c instead of flex
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
2008-03-16 21:06:55 +00:00
Dmitry Stogov
82b31e01ae Added NOWDOC 2008-02-12 09:28:01 +00:00
Stanislav Malyshev
ad7e2f8712 HNY 2008-02-12 00:45:14 +00:00
Stanislav Malyshev
3ffa0df5e7 add T_DIR 2008-02-12 00:42:20 +00:00
Nuno Lopes
61eb7ae554 remove unused PHP_EXTNAME_API macros.
#in preparation for the gcc 4 visibility patch
2008-01-03 16:20:33 +00:00
Sebastian Bergmann
d1dded8751 MFH: Bump copyright year, 2 of 2. 2007-12-31 07:17:19 +00:00
Hannes Magnusson
70b10b2b39 Fix test 2007-12-16 19:17:54 +00:00
Raghubansh Kumar
035dc8bdf6 New testcases for token_get_all() function 2007-12-14 16:21:33 +00:00
Antony Dovgal
90e650fb25 T_IMPORT nuked 2007-11-07 09:18:52 +00:00
Johannes Schlüter
059b506d38 - Merge minor namespace related stuff (README and tokenizer) 2007-09-28 21:02:19 +00:00
Dmitry Stogov
6c810b0d4c Improved memory usage by movig constants to read only memory. (Dmitry, Pierre) 2007-09-27 18:00:48 +00:00
Pierre Joye
6387c99f83 - fix win32 build 2007-08-01 15:13:40 +00:00
Johannes Schlüter
8566193449 - MFH: Use a script to generate tokenizer data from zend_language_parser.h 2007-07-31 23:24:11 +00:00
Hannes Magnusson
c0dd1f4d0b MFH 2007-05-28 12:19:41 +00:00
foobar
efcdcd80b6 - Allow build without flex/bison installed (fixes builddir != srcdir build
when using distributed sources which inlude pre-generated bison/flex
  output. See bug #38762 for more..)
2007-05-24 21:40:41 +00:00
Dmitry Stogov
80d2409fd8 Improved compilation of heredocs and interpolated strings. (Matt, Dmitry) 2007-05-18 13:12:05 +00:00
Antony Dovgal
3aaf8bbdb7 fix test 2007-04-10 10:49:16 +00:00
Johannes Schlüter
8591b20d4e - MFH: Added linenumbers to array returned by token_get_all() 2007-04-08 00:18:38 +00:00
Martin Kraemer
9c62ddde34 Typo 2007-03-14 09:58:14 +00:00
Antony Dovgal
e8d2c9489d MFH: nuke skeleton leftovers 2007-01-12 12:17:32 +00:00
Sebastian Bergmann
4223aa4d5e MFH: Bump year. 2007-01-01 09:36:18 +00:00
Ilia Alshanetsky
f496f5014a Removed pointless callbacks. 2006-06-20 22:39:15 +00:00
Dmitry Stogov
1dbaae2795 Added automatic module globals management 2006-06-15 18:33:09 +00:00
Ilia Alshanetsky
09dec62672 Fixed tokenizer tests 2006-04-20 01:06:58 +00:00
Derick Rethans
0839cadef6 - Fixed broken test case. 2006-01-04 10:31:58 +00:00
foobar
5bd93221a8 bump year and license version 2006-01-01 12:51:34 +00:00
Antony Dovgal
c92ae847c7 add missing skipif conditions
fix existing ones
2005-12-21 11:42:06 +00:00
Ilia Alshanetsky
3ce27140dc Fixed bug #35655 (whitespace following end of heredoc is lost). 2005-12-13 20:55:42 +00:00
foobar
3e669bc950 MFH: nuke php3 legacy 2005-12-06 02:28:41 +00:00
Antony Dovgal
bd8df0b32a add 2 new tests
now we have one extension absolutely covered by tests, yay! =)
2005-12-01 18:22:11 +00:00
Antony Dovgal
9c2183f622 add new test
improve gcov stats =)
2005-11-30 23:34:08 +00:00
Ilia Alshanetsky
331726338b tokenizer fixes for bug #35382
Bug fixing news
2005-11-27 06:41:32 +00:00
foobar
592e78ab87 MFH: - Fixed bug #35179 (tokenizer extension needs T_HALT_COMPILER) 2005-11-10 07:50:59 +00:00
Dmitry Stogov
7c3bdf444d Fixed bug #34782 (token_get_all() gives wrong result) 2005-10-21 09:32:40 +00:00
foobar
23e671a51e - Bumber up year 2005-08-03 14:08:58 +00:00
foobar
4cf9d27072 - Fixed bug #28930 (PHP sources pick wrong header files generated by bison) 2004-12-30 15:18:24 +00:00
Hartmut Holzgraefe
cc0894b788 more visa to sibira ;) 2004-03-24 18:43:23 +00:00
Derick Rethans
0d4352ced8 - Fixed bug #24550 (tokenizing with __METHOD__ crash) (Patch by Greg Beaver) 2004-03-08 08:02:02 +00:00
Derick Rethans
d4fc693702 - CLONE, not CLOSE 2004-03-02 17:51:46 +00:00
Derick Rethans
0d6131cf4a - Added "clone" to the list of tokens. (Patch by Greg Beaver) 2004-03-02 17:49:49 +00:00
Ilia Alshanetsky
dc9f52f039 Fix test. 2004-02-16 17:09:08 +00:00
Jan Lehnardt
023e12cf3a - fix #27197 for Greg (cellog@php.net) 2004-02-10 14:40:39 +00:00