Changeset 434
- Timestamp:
- 03/29/07 00:11:20 (2 years ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/src/main/php/net/stubbles/reflection/annotations/parser/stubAnnotationParserAnnotationTypeState.php
r433 r434 46 46 $this->parser->setAnnotationType($this->type); 47 47 $this->parser->changeState(stubAnnotationParser::STATE_ANNOTATION); 48 return;48 return; 49 49 } 50 50 51 51 if (strlen($this->type) == 0 && preg_match('/^[a-zA-Z_]$/', $token) === false) { 52 52 throw new ReflectionException('Annotation type has to start with a letter or underscore, but starts with ' . $token); … … 54 54 throw new ReflectionException('Annotation type may contain letters, underscores, numbers and dots, but contains ' . $token); 55 55 } 56 56 57 57 $this->type .= $token; 58 58 }
