[2.0] Removed unnecessary parsing condition in the annotation parser.
This commit is contained in:
parent
f7fff511d1
commit
1987082c80
@ -145,9 +145,7 @@ class Parser
|
|||||||
}
|
}
|
||||||
|
|
||||||
while (true) {
|
while (true) {
|
||||||
if ($this->_lexer->lookahead['value'] == '*') {
|
if ($this->_lexer->lookahead['value'] == '@') {
|
||||||
$this->match('*');
|
|
||||||
} else if ($this->_lexer->lookahead['value'] == '@') {
|
|
||||||
$this->_isNestedAnnotation = false;
|
$this->_isNestedAnnotation = false;
|
||||||
$annot = $this->Annotation();
|
$annot = $this->Annotation();
|
||||||
if ($annot === false) {
|
if ($annot === false) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user