Skip to content

Commit

Permalink
Generate correct boxptr code for String[:]
Browse files Browse the repository at this point in the history
git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@21313 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
sjoelund committed Jun 27, 2014
1 parent 919b557 commit 2168702
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Compiler/Template/CodegenC.tpl
Expand Up @@ -5830,8 +5830,8 @@ template functionBodyBoxedImpl(Absyn.Path name, list<Variable> funargs, list<Var
let &auxFunctionIgnore = buffer ""
let outputs = ( List.restOrEmpty(outvars) |> var hasindex i1 fromindex 1 =>
match var
case VARIABLE(__) then
if mmcConstructorType(ty) then
case v as VARIABLE(__) then
if mmcConstructorType(liftArrayListExp(v.ty,v.instDims)) then
let _ = varInit(var, "", &varDecls, &outputAllocIgnore, &varFreesIgnore, &auxFunctionIgnore)
", &" + funArgName(var)
else
Expand Down

0 comments on commit 2168702

Please sign in to comment.