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

Commit

Permalink
Change getCommandLineOptions failure mode.
Browse files Browse the repository at this point in the history
- Change getCommandLineOptions to return fail() instead of false in case
  of failure.
  • Loading branch information
perost authored and OpenModelica-Hudson committed Feb 9, 2017
1 parent 57cdce5 commit 3f636cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Compiler/Script/CevalScript.mo
Original file line number Diff line number Diff line change
Expand Up @@ -947,7 +947,7 @@ algorithm
then (cache, ValuesUtil.makeStringArray(Flags.unparseFlags()), st);

case (cache, _, "getCommandLineOptions", _, st, _)
then (cache, Values.BOOL(false), st);
then (cache, Values.META_FAIL(), st);

case (cache,_,"clearCommandLineOptions",{},st,_)
equation
Expand Down

0 comments on commit 3f636cd

Please sign in to comment.