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@23033 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
OpenModelica-Hudson committed Oct 29, 2014
1 parent e4dba6c commit 7f15d5e
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
10 changes: 5 additions & 5 deletions Compiler/FrontEnd/ClassLoader.mo
Expand Up @@ -295,7 +295,7 @@ algorithm
true = System.regularFileExists(file);
cl = parsePackageFile(file,encoding,false,w1,id);
ei = Absyn.makeClassElement(cl);
cps = mergeBefore(Absyn.PUBLIC({ei}),acc);
cps = mergeBefore(Absyn.PUBLIC({ei}),acc);
end if;
then cps;

Expand Down Expand Up @@ -423,7 +423,7 @@ algorithm
true = numError == Error.getNumErrorMessages();
Error.addSourceMessage(Error.INTERNAL_ERROR,{"getPackageContentNames failed for unknown reason"},info);
then fail();

end matchcontinue;
end getPackageContentNames;

Expand Down Expand Up @@ -580,9 +580,9 @@ algorithm
Boolean b, b1;
String n1,n2;
list<String> rest1,rest2;

case (_,{},_) then (names,true);

case (n1::rest1,n2::rest2,_)
equation
if (n1 ==& n2)
Expand All @@ -594,7 +594,7 @@ algorithm
b1 = false;
end if;
then (rest1,b1);

end matchcontinue;
end matchCompNames;

Expand Down
10 changes: 5 additions & 5 deletions Compiler/FrontEnd/ComponentReference.mo
Expand Up @@ -685,7 +685,7 @@ algorithm
str2 = Types.unparseType(ty);
strrest = debugPrintComponentRefTypeStr(cr);
str = stringAppendList({str," [",str2,"] ", ".", strrest});
end if;
end if;
then
str;

Expand Down Expand Up @@ -2550,7 +2550,7 @@ algorithm
case DAE.CREF_QUAL(ident = s,subscriptLst = subs,componentRef = cr)
equation
if (Config.modelicaOutput())
then
then
printComponentRef2(s, subs);
Print.printBuf("__");
printComponentRef(cr);
Expand All @@ -2573,13 +2573,13 @@ algorithm
local
DAE.Ident s;
list<DAE.Subscript> l;

case (s,{})
equation
Print.printBuf(s);
then
();

case (s,l)
equation
if (Config.modelicaOutput())
Expand All @@ -2596,7 +2596,7 @@ algorithm
end if;
then
();

end matchcontinue;
end printComponentRef2;

Expand Down

0 comments on commit 7f15d5e

Please sign in to comment.