Skip to content

Commit

Permalink
- Made more things work
Browse files Browse the repository at this point in the history
  • Loading branch information
sjoelund committed Oct 29, 2010
1 parent 862ae8c commit ee93614
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Compiler/Expression.mo
Expand Up @@ -3433,7 +3433,7 @@ algorithm
case (e,rel,ext_arg)
equation
str = ExpressionDump.printExpStr(e);
str = "Expression.traverseExp not implemented correctly: " +& str;
str = "Expression.traverseExp or one of the user-defined functions using it is not implemented correctly: " +& str;
Error.addMessage(Error.INTERNAL_ERROR, {str});
then
fail();
Expand Down
4 changes: 2 additions & 2 deletions Compiler/SimCode.mo
Expand Up @@ -2138,8 +2138,7 @@ algorithm
list<DAE.Exp> expl;
equation
true = RTOpts.acceptMetaModelicaGrammar();
expl = Algorithm.getAllExps(algorithm_);
expl = getMatchingExpsList(expl, matchMetarecordCalls);
expl = BackendDAEUtil.traverseAlgorithmExps(algorithm_, matchMetarecordCalls, {});
(accRecDecls,rt_2) = elaborateRecordDeclarationsForMetarecords(expl, accRecDecls, rt);
//TODO: ? what about rest ? , can be there something else after the ALGORITHM
(accRecDecls,rt_2) = elaborateRecordDeclarations(rest, accRecDecls, rt_2);
Expand Down Expand Up @@ -7441,6 +7440,7 @@ algorithm
e2 = Expression.makeCrefExp(cref,DAE.ET_FUNCTION_REFERENCE_VAR());
then
((e,e2::acc));
case itpl then itpl;
end matchcontinue;
end matchFnRefs;

Expand Down

0 comments on commit ee93614

Please sign in to comment.