Ensuring input to contain only one SAS description.
This commit is contained in:
parent
be09230410
commit
854ade5fa9
@ -165,6 +165,11 @@ void Description::parseContent(utils::Parser &parser)
|
||||
parseGoalSection(parser);
|
||||
parseOperatorSection(parser);
|
||||
parseAxiomSection(parser);
|
||||
|
||||
parser.skipWhiteSpace();
|
||||
|
||||
if (!parser.atEndOfStream())
|
||||
throw utils::ParserException(parser, "Expected end of SAS description");
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////////////////////////
|
||||
|
Reference in New Issue
Block a user