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@22837 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
OpenModelica-Hudson committed Oct 21, 2014
1 parent 7e6f28e commit d4a5709
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 12 deletions.
12 changes: 6 additions & 6 deletions Compiler/FrontEnd/Expression.mo
Expand Up @@ -10723,9 +10723,9 @@ algorithm
DAE.Exp exp;
Boolean b;

case (outExp, _)
equation
(exp, b) = traverseExp(inExp, traversingextendArrExp, false);
case (outExp, _)
equation
(exp, b) = traverseExp(inExp, traversingextendArrExp, false);
then
(exp, b);

Expand Down Expand Up @@ -10773,7 +10773,7 @@ algorithm
mat = makeMatrix(expl,j,j,{});
e_new = DAE.MATRIX(t,i,mat);
(e, b) = traverseExp(e_new, traversingextendArrExp, true);
then
then
(e, b);

// CASE for Matrix and checkModel is on
Expand Down Expand Up @@ -10820,7 +10820,7 @@ algorithm
expl = List.map1(crlst,Expression.makeCrefExp,ty);
e_new = DAE.ARRAY(t,true,expl);
(e, b) = traverseExp(e_new, traversingextendArrExp, true);
then
then
(e, b);

// CASE for Records
Expand All @@ -10831,7 +10831,7 @@ algorithm
true = intGt(i,0);
e_new = DAE.CALL(name,expl,DAE.CALL_ATTR(t,false,false,false,false,DAE.NO_INLINE(),DAE.NO_TAIL()));
(e, b) = traverseExp(e_new, traversingextendArrExp, true);
then
then
(e, b);

else (inExp, inExpanded);
Expand Down
2 changes: 1 addition & 1 deletion Compiler/Script/GlobalScriptDump.mo
Expand Up @@ -42,7 +42,7 @@ public import GlobalScript;

protected import Dump;
protected import List;

public function printIstmtsStr
"Prints a group of interactive statements to a string."
input GlobalScript.Statements inStatements;
Expand Down
10 changes: 5 additions & 5 deletions Compiler/Script/GlobalScriptUtil.mo
Expand Up @@ -465,18 +465,18 @@ protected function classHasLocalClasses
output Boolean res;
algorithm
res := match(cl)
local
local
list<Absyn.ClassPart> parts;

// A class with parts.
case (Absyn.CLASS(body= Absyn.PARTS(classParts = parts)))
case (Absyn.CLASS(body= Absyn.PARTS(classParts = parts)))
equation
res = partsHasLocalClass(parts);
then
res;

// An extended class with parts: model extends M end M;
case (Absyn.CLASS(body= Absyn.CLASS_EXTENDS(parts = parts)))
case (Absyn.CLASS(body= Absyn.CLASS_EXTENDS(parts = parts)))
equation
res = partsHasLocalClass(parts);
then
Expand All @@ -491,7 +491,7 @@ protected function partsHasLocalClass
output Boolean res;
algorithm
res := matchcontinue(inParts)
local
local
list<Absyn.ElementItem> elts;
list<Absyn.ClassPart> parts;

Expand All @@ -518,7 +518,7 @@ protected function eltsHasLocalClass
output Boolean res;
algorithm
res := matchcontinue(inElts)
local
local
list<Absyn.ElementItem> elts;

case Absyn.ELEMENTITEM(Absyn.ELEMENT(specification=Absyn.CLASSDEF(class_=_))) :: _ then true;
Expand Down

0 comments on commit d4a5709

Please sign in to comment.