Skip to content

Commit

Permalink
- fix indentation
Browse files Browse the repository at this point in the history
git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@25057 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
lochel committed Mar 12, 2015
1 parent a15b84d commit fa61ca6
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions Compiler/BackEnd/BackendDAEUtil.mo
Expand Up @@ -1594,17 +1594,17 @@ protected
String ts_str;
algorithm
try
SOME(SCode.COMMENT(annotation_ = SOME(ann))) := comment;
val := SCode.getNamedAnnotation(ann, "tearingSelect");
ts_str := Absyn.crefIdent(Absyn.expCref(val));
ts := match(ts_str)
SOME(SCode.COMMENT(annotation_=SOME(ann))) := comment;
val := SCode.getNamedAnnotation(ann, "tearingSelect");
ts_str := Absyn.crefIdent(Absyn.expCref(val));
ts := match(ts_str)
case "always" then SOME(BackendDAE.ALWAYS());
case "prefer" then SOME(BackendDAE.PREFER());
case "avoid" then SOME(BackendDAE.AVOID());
case "never" then SOME(BackendDAE.NEVER());
case "default" then SOME(BackendDAE.DEFAULT());
else NONE();
end match;
case "prefer" then SOME(BackendDAE.PREFER());
case "avoid" then SOME(BackendDAE.AVOID());
case "never" then SOME(BackendDAE.NEVER());
case "default" then SOME(BackendDAE.DEFAULT());
else NONE();
end match;
else
ts := NONE();
end try;
Expand Down

0 comments on commit fa61ca6

Please sign in to comment.