protected UnpackStatement unpack_stmt()
{
UnpackStatement s;
s = null;
StatementModifier m = null;
try { // for error handling
s=unpack();
{
switch ( LA(1) )
{
case IF:
case UNLESS:
case WHILE:
{
m=stmt_modifier();
break;
}
case EOL:
case EOS:
{
break;
}
default:
{
throw new NoViableAltException(LT(1), getFilename());
}
}
}
eos();
if (0==inputState.guessing)
{
s.Modifier = m;
}
}
catch (RecognitionException ex)
{
if (0 == inputState.guessing)
{
reportError(ex, "unpack_stmt");
recover(ex,tokenSet_82_);
}
else
{
throw ex;
}
}
return s;
}