Skip to content

Commit

Permalink
- Generate record declarations
Browse files Browse the repository at this point in the history
- Generate CREF_QUAL
- Fixed bug in type generation: generate struct instead of modelica_struct


git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@4779 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
Rickard Lindberg committed Jan 14, 2010
1 parent 90d2375 commit 7795faa
Show file tree
Hide file tree
Showing 4 changed files with 1,138 additions and 1,052 deletions.
2 changes: 2 additions & 0 deletions Compiler/SimCode.mo
Expand Up @@ -1414,6 +1414,8 @@ algorithm
then (accRecDecls,rt_2);
case ((DAE.T_COMPLEX(complexClassType = ClassInf.RECORD(string = name), complexVarLst = varlst),_), accRecDecls, rt)
then (accRecDecls,rt);
case ((_,_), accRecDecls, rt)
then (accRecDecls,rt);
case ((_,_), accRecDecls, rt) then
(RECORD_DECL_FULL("#an odd record#", Absyn.IDENT("?noname?"), {}) :: accRecDecls ,rt);
end matchcontinue;
Expand Down

0 comments on commit 7795faa

Please sign in to comment.