Skip to content
Snippets Groups Projects
Commit 920f7f3d authored by Oliver Heidmann's avatar Oliver Heidmann
Browse files

fixed seqfault that happend when the first operator had no '-'

parent 78003b51
No related branches found
No related tags found
No related merge requests found
......@@ -330,6 +330,10 @@ public:
int numOut = node->numOut;
if (numOut == -1) numOut = 1;
if(numOut >= end - cur_arg){
throw MissingOutFileException("Missing outfile");
}
for (auto it = end - numOut; it != end; it++)
{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment