Commit ddb53a69 authored by joni's avatar joni

...

parent b07bd5be
Pipeline #48 failed with stages
......@@ -21,7 +21,7 @@ int main(int argc, char* argv[])
{
//try {
SentenceParser mainParser = SentenceParser(NULL);
mainParser.Load(readFile("simple.txt"));
mainParser.Load(readFile(argv[1]));
bool error = false;
for (Sentence* sentence = mainParser.Next(); sentence != NULL; sentence = mainParser.Next()) {
if (!sentence->Eval()) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment