((BaseASParser)parser).blockDepth = 1;
while (buffer.LA(1) != ASTokenTypes.EOF)
parser.directive(container, NO_END_TOKEN);
problems.addAll(tokenizer.getTokenizationProblems());
problems.addAll(parser.getSyntaxProblems());
problems.addAll(container.runPostProcess(postProcess, containingScope));
}
catch (RecognitionException e)
{
parser.consumeParsingError(e);
problems.addAll(parser.getSyntaxProblems());