mirror of
https://github.com/fenom-template/fenom.git
synced 2023-08-10 21:13:07 +03:00
Fixes
This commit is contained in:
parent
5770c5aea9
commit
58c8f450b8
19
CHANGELOG.md
19
CHANGELOG.md
|
@ -1,12 +1,27 @@
|
||||||
Changelog
|
Changelog
|
||||||
=========
|
=========
|
||||||
|
|
||||||
### 1.4.4
|
### 1.4.7 (2013-09-19)
|
||||||
|
|
||||||
- Bug fixes
|
- Bug fixes
|
||||||
- Tests++
|
- 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
|
- Bug fixes
|
||||||
|
|
||||||
|
|
|
@ -91,7 +91,7 @@ class Tokenizer
|
||||||
* @see http://docs.php.net/manual/en/tokens.php
|
* @see http://docs.php.net/manual/en/tokens.php
|
||||||
* @var array groups of tokens
|
* @var array groups of tokens
|
||||||
*/
|
*/
|
||||||
private static $_macros = array(
|
public static $macros = array(
|
||||||
self::MACRO_STRING => array(
|
self::MACRO_STRING => array(
|
||||||
\T_ABSTRACT => 1, \T_ARRAY => 1, \T_AS => 1, \T_BREAK => 1, \T_BREAK => 1, \T_CASE => 1,
|
\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,
|
\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 {
|
} else {
|
||||||
|
|
||||||
if (isset(self::$_macros[$expect][$token])) {
|
if (isset(self::$macros[$expect][$token])) {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user