Skip to content

Commit

Permalink
- Fixed bootstrapping.
Browse files Browse the repository at this point in the history
git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@21525 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
perost committed Jul 16, 2014
1 parent 13574ec commit aa070cc
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions Compiler/FrontEnd/InstUtil.mo
Expand Up @@ -649,19 +649,14 @@ public function isBuiltInClass "
Author: BZ, this function identifies built in classes."
input String className;
output Boolean b;
protected
Boolean b;
algorithm
b := match(className)
case("Real") then true;
case("Integer") then true;
case("String") then true;
case("Boolean") then true;
// BTH
case("Clock") equation
b = Util.if_(Flags.getConfigBool(Flags.SYNCHRONOUS_FEATURES), true, false);
then b;

case("Clock") then Util.if_(Flags.getConfigBool(Flags.SYNCHRONOUS_FEATURES), true, false);
else false;
end match;
end isBuiltInClass;
Expand Down

0 comments on commit aa070cc

Please sign in to comment.