title: How to continue parsing after an error in Antlr 4.4
body: <p>Does any one knows if there is an <code>ErrorStrategy</code> on Antlr4.4 to continue parsing after an error is found, i need to show all the errors found in the program but Antlr stop parsing after the first error is found, im using the <code>DefaultErrorStrategy</code>.</p>
  
  <p>This is my input, I should get error ond line 2 3 and 6 but it only reports the error on line 2.</p>
  
  <pre><code>class Program {
      bool
      bool test
      int prueba ;
      int prueba ;
      int test;
      bool    prueba
  }
  </code></pre>
  
  <p>The error is:</p>
  
  <pre><code>line 2:1 mismatched input 'bool' expecting {'boolean', 'int', 'void', '}'}
   bool
   ^^^^
  </code></pre>