This commit is contained in:
Ivan Shalganov 2013-09-21 23:24:22 +04:00
parent 5770c5aea9
commit 58c8f450b8
2 changed files with 19 additions and 4 deletions

View File

@ -1,12 +1,27 @@
Changelog
=========
### 1.4.4
### 1.4.7 (2013-09-19)
- Bug fixes
- Tests++
### 1.4.3
### 1.4.6 (2013-09-19)
- Bug fixes
- Tests++
### 1.4.5 (2013-09-15)
- Bug fixes
- Tests++
### 1.4.4 (2013-09-13)
- Bug fixes
- Tests++
### 1.4.3 (2013-09-10)
- Bug fixes

View File

@ -91,7 +91,7 @@ class Tokenizer
* @see http://docs.php.net/manual/en/tokens.php
* @var array groups of tokens
*/
private static $_macros = array(
public static $macros = array(
self::MACRO_STRING => array(
\T_ABSTRACT => 1, \T_ARRAY => 1, \T_AS => 1, \T_BREAK => 1, \T_BREAK => 1, \T_CASE => 1,
\T_CATCH => 1, \T_CLASS => 1, \T_CLASS_C => 1, \T_CLONE => 1, \T_CONST => 1, \T_CONTINUE => 1,
@ -255,7 +255,7 @@ class Tokenizer
}
} else {
if (isset(self::$_macros[$expect][$token])) {
if (isset(self::$macros[$expect][$token])) {
return true;
}
}