Skip to content

Commit

Permalink
- Added builtin classDirectory as a class instead of type only
Browse files Browse the repository at this point in the history
git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@7516 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
sjoelund committed Dec 20, 2010
1 parent 63bf40d commit 7e61783
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion Compiler/FrontEnd/Builtin.mo
Expand Up @@ -210,6 +210,12 @@ function print \"Not standard Modelica, but very useful for debugging.\"
annotation(__OpenModelica_Impure = true);
external \"builtin\";
end print;
function classDirectory \"Not standard Modelica\"
output String str;
annotation(__OpenModelica_Impure = true);
external \"builtin\";
end classDirectory;
"
;

Expand Down Expand Up @@ -3533,7 +3539,6 @@ algorithm
*/
env = Env.extendFrameT(env, "constrain", array1dimrealarray1dimrealarray1dimreal2array1dimreal);

env = Env.extendFrameT(env, "classDirectory", void2string);
env = initialEnvMetaModelica(env);

Absyn.PROGRAM(classes=initialClasses) = getInitialFunctions();
Expand Down

0 comments on commit 7e61783

Please sign in to comment.