Skip to content

Commit

Permalink
- More listFirst -> listHead.
Browse files Browse the repository at this point in the history
git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@22318 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
perost committed Sep 16, 2014
1 parent c362bfd commit afc1870
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Compiler/Template/CodegenAdevs.tpl
Expand Up @@ -5163,7 +5163,7 @@ template tempDecl(String ty, Text &varDecls /*BUFP*/)
case "listGet_rettype"
case "listDelete_rettype"
case "listRest_rettype"
case "listFirst_rettype"
case "listHead_rettype"
case "arrayGet_rettype"
case "arrayCreate_rettype"
case "arrayList_rettype"
Expand Down
2 changes: 1 addition & 1 deletion Compiler/Template/CodegenC.tpl
Expand Up @@ -7497,7 +7497,7 @@ template algStmtForGeneric_impl(Exp exp, Ident iterator, String type,
<<
for (<%tvar%> = <%evar%>; !listEmpty(<%tvar%>); <%tvar%>=listRest(<%tvar%>))
{
<%iterName%> = listFirst(<%tvar%>);
<%iterName%> = listHead(<%tvar%>);
<%body%>
}
>>
Expand Down
2 changes: 1 addition & 1 deletion Compiler/Template/CodegenSparseFMI.tpl
Expand Up @@ -5453,7 +5453,7 @@ template tempDecl(String ty, Text &varDecls /*BUFP*/)
case "listGet_rettype"
case "listDelete_rettype"
case "listRest_rettype"
case "listFirst_rettype"
case "listHead_rettype"
case "arrayGet_rettype"
case "arrayCreate_rettype"
case "arrayList_rettype"
Expand Down

0 comments on commit afc1870

Please sign in to comment.