Skip to content

Commit

Permalink
[Janitor mode] Fix whitespace
Browse files Browse the repository at this point in the history
git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@22972 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
OpenModelica-Hudson committed Oct 27, 2014
1 parent dff9b25 commit de29fb1
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions Compiler/Main/Main.mo
Expand Up @@ -302,15 +302,15 @@ protected
String file_ext;
algorithm
lst := System.strtok(inFilename, ".");

if listEmpty(lst) then
outIsModelicaFile := false;
else
file_ext := List.last(lst);
outIsModelicaFile := file_ext == "mo" or file_ext == "mof";
end if;
end isModelicaFile;

protected function isEmptyOrFirstIsModelicaFile
input list<String> libs;
algorithm
Expand Down Expand Up @@ -418,15 +418,15 @@ algorithm
case false
equation
Print.printErrorBuf("Failed to load library: " +& inLib +& "!\n");
then
then
fail();

case true
equation
Print.printErrorBuf("Failed to parse file: " +& inLib +& "!\n");
then
fail();

end matchcontinue;
end loadLib;

Expand Down Expand Up @@ -636,7 +636,7 @@ algorithm
else
Print.printBuf("Failed to initialize Corba! Is another OMC already running?\n");
Print.printBuf("Exiting!\n");
end try;
end try;
end interactivemodeCorba;

protected function serverLoopCorba
Expand Down

0 comments on commit de29fb1

Please sign in to comment.