Removed now unnecessary check for number of files with SAS parser.
This commit is contained in:
parent
8bb25e9b90
commit
c6dc84f27f
@ -69,14 +69,6 @@ int main(int argc, char **argv)
|
||||
if (variablesMap.count("input"))
|
||||
{
|
||||
const auto &inputFiles = variablesMap["input"].as<std::vector<std::string>>();
|
||||
|
||||
if (inputFiles.size() > 1)
|
||||
{
|
||||
std::cerr << "Error: Only one input file allowed for SAS translation" << std::endl;
|
||||
printHelp();
|
||||
return EXIT_FAILURE;
|
||||
}
|
||||
|
||||
const auto sasDescription = plasp::sas::Description::fromFile(inputFiles.front());
|
||||
const auto sasTranslator = plasp::sas::TranslatorASP(sasDescription);
|
||||
sasTranslator.translate(std::cout);
|
||||
|
Reference in New Issue
Block a user