Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
- Don't force the MetaModelica grammar for MDT. Use the preferences value if you want to set MetaModelica grammar.

git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@17053 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
adeas31 committed Sep 3, 2013
1 parent 4997fd7 commit ad97068
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions Compiler/Util/Flags.mo
Expand Up @@ -1469,15 +1469,12 @@ algorithm
then
();

// The corba session name needs to be sent to the C runtime, and if the name
// is mdt it also enables the MetaModelica grammar.
// The corba session name needs to be sent to the C runtime.
case (_, _)
equation
true = configFlagsIsEqualIndex(inFlag, CORBA_SESSION);
STRING_FLAG(data = corba_name) = inValue;
Corba.setSessionName(corba_name);
value = stringEqual(corba_name, "mdt");
Debug.bcall2(value, setConfigEnum, GRAMMAR, METAMODELICA);
then
();

Expand Down

0 comments on commit ad97068

Please sign in to comment.