From 1987082c80a81160ba1b618e2e7f47edf7de25d9 Mon Sep 17 00:00:00 2001 From: romanb Date: Wed, 15 Jul 2009 10:31:19 +0000 Subject: [PATCH] [2.0] Removed unnecessary parsing condition in the annotation parser. --- lib/Doctrine/Common/Annotations/Parser.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/lib/Doctrine/Common/Annotations/Parser.php b/lib/Doctrine/Common/Annotations/Parser.php index b058b64a5..42d14e311 100644 --- a/lib/Doctrine/Common/Annotations/Parser.php +++ b/lib/Doctrine/Common/Annotations/Parser.php @@ -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) {