protected void macro_compound_stmt(
Block b
)
{
IToken begin = null;
StatementCollection statements = null;
try { // for error handling
if ((LA(1)==COLON) && (tokenSet_78_.member(LA(2))))
{
single_line_block(b);
}
else if ((LA(1)==COLON) && (LA(2)==INDENT)) {
{
match(COLON);
begin = LT(1);
match(INDENT);
if (0==inputState.guessing)
{
b.LexicalInfo = ToLexicalInfo(begin);
statements = b.Statements;
}
macro_block(statements);
end(b);
}
}
else
{
throw new NoViableAltException(LT(1), getFilename());
}
}
catch (RecognitionException ex)
{
if (0 == inputState.guessing)
{
reportError(ex, "macro_compound_stmt");
recover(ex,tokenSet_22_);
}
else
{
throw ex;
}
}
}