Skip to content

Commit

Permalink
Indentation
Browse files Browse the repository at this point in the history
git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@22840 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
sjoelund committed Oct 21, 2014
1 parent 41a7c0b commit 6a7a337
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions Compiler/Template/CodegenCpp.tpl
Expand Up @@ -2358,13 +2358,13 @@ case func as EXTERNAL_FUNCTION(extReturn= return) then
* The function has annotation(Include=...>)
* the external function definition should be present
* in one of these files and have this prototype:
* extern <%extReturnType(extReturn)%> <%fn_name%>(<%fargsStrEscaped%>);
*/
* extern <%extReturnType(extReturn)%> <%fn_name%>(<%fargsStrEscaped%>);
*/
>>
else
<<
extern <%extReturnType(return)%> <%extName%>(<%fargsStr%>);/*extern c*/
>>
extern <%extReturnType(return)%> <%extName%>(<%fargsStr%>);/*extern c*/
>>
end match
end extFunDef;

Expand Down Expand Up @@ -3043,8 +3043,8 @@ match arg
case SIMEXTARG(outputIndex=oi, isArray=false, type_=ty, cref=c) then
match oi case 0 then
<<
/*testarg<%extVarName2(c)%>*/
>>
/*testarg<%extVarName2(c)%>*/
>>
else
let cr = '<%extVarName2(c)%>'
match useTuple
Expand Down Expand Up @@ -10866,7 +10866,7 @@ case CREF(ty= t as DAE.T_ARRAY(__)) then
match context
case SIMULATION_CONTEXT(__) then
<<
<%lhsStr%>.assign(<%rhsStr%> )/*blabla*/;
<%lhsStr%>.assign(<%rhsStr%> )/*blabla*/;
>>
else
'<%lhsStr%>.assign(<%rhsStr%>);'
Expand Down

0 comments on commit 6a7a337

Please sign in to comment.