Skip to content
This repository was archived by the owner on May 18, 2019. It is now read-only.

Commit 71f4da2

Browse files
perostOpenModelica-Hudson
authored andcommitted
Fix setCommandLineOptions.
- Make setCommandLineOptions return false if it encounters any arguments that are not flags. Belonging to [master]: - #2066 - OpenModelica/OpenModelica-testsuite#800
1 parent 5148fef commit 71f4da2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Compiler/Script/CevalScript.mo

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -936,7 +936,7 @@ algorithm
936936
case (_,_,"setCommandLineOptions",{Values.STRING(str)},st,_)
937937
equation
938938
args = System.strtok(str, " ");
939-
_ = Flags.readArgs(args);
939+
{} = Flags.readArgs(args);
940940
then
941941
(FCore.emptyCache(),Values.BOOL(true),st);
942942

0 commit comments

Comments
 (0)