Commit 1987082c authored by romanb's avatar romanb

[2.0] Removed unnecessary parsing condition in the annotation parser.

parent f7fff511
......@@ -145,9 +145,7 @@ class Parser
}
while (true) {
if ($this->_lexer->lookahead['value'] == '*') {
$this->match('*');
} else if ($this->_lexer->lookahead['value'] == '@') {
if ($this->_lexer->lookahead['value'] == '@') {
$this->_isNestedAnnotation = false;
$annot = $this->Annotation();
if ($annot === false) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment