Skip to content
Snippets Groups Projects
Commit eb3da7fb authored by Uwe Schulzweida's avatar Uwe Schulzweida
Browse files

expr: check number of arguments.

parent 537bc238
No related branches found
No related tags found
No related merge requests found
......@@ -382,6 +382,7 @@ Expr(void *process)
bool readsCommandLine = cdoOperatorF2(operatorID);
operatorInputArg(cdoOperatorEnter(operatorID));
operatorCheckArgc(1);
char *exprs = readsCommandLine ? exprs_from_arg(operatorArgv()[0]) : exprs_from_file(operatorArgv()[0]);
......
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