title: Symfony2 doctrine:generate:entities throw Syntax Error?
body: <p><strong>when i am using the symfony2 shell and trying to run</strong> </p>
  
  <pre><code>doctrine:generate:entities [MyBundle] --path='src' 
  </code></pre>
  
  <p><strong>or</strong> </p>
  
  <pre><code>doctrine:generate:entities [MyBundle] 
  </code></pre>
  
  <p><strong>i got this error</strong> </p>
  
  <pre><code>[Syntax Error] Expected Doctrine\Common\Annotations\DocLexer::T_CLOSE_CURLY_BRACES, got '@' at position 255 in property
  </code></pre>
  
  <p><strong>so please any solutions ??</strong></p>
  
  <p><strong>thanks in advance</strong></p>