Skip to content

Commit

Permalink
Fix #1293
Browse files Browse the repository at this point in the history
- Enable MetaModelica grammar when +c=mdt is given


git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@6155 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
sjoelund committed Sep 21, 2010
1 parent 95dff65 commit 737234b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Compiler/runtime/rtopts.c
Expand Up @@ -144,7 +144,8 @@ static int setCorbaSessionName(char *name)
int i;
int len=strlen(name);
if (len==0) return -1;

if (0 == strcmp("mdt",name)) /* There is no MDT release that enables MetaModelica grammar */
acceptedGrammar = GRAMMAR_METAMODELICA;
corbaSessionName = strdup(name);
return 0;
}
Expand Down

0 comments on commit 737234b

Please sign in to comment.