Skip to content

Commit

Permalink
Fixed typename & strings for OMEdit logs
Browse files Browse the repository at this point in the history
  • Loading branch information
adeas31 authored and OpenModelica-Hudson committed Mar 3, 2017
1 parent d130cee commit 94c1c9b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Compiler/Template/GenerateAPIFunctionsTpl.tpl
Expand Up @@ -286,8 +286,8 @@ end getQtInArgBoxed;
template getQtCommandLogText(Text name, DAE.Type ty)
::=
match ty
case T_CODE(ty=C_TYPENAME(__))
case T_STRING(__) then '<%name%>'
case T_CODE(ty=C_TYPENAME(__)) then '<%name%>'
case T_STRING(__) then 'QString("\""+<%name%>+"\"")'
case T_INTEGER(__)
case T_REAL(__) then 'QString::number(<%name%>)'
case T_BOOL(__) then 'QString(<%name%> ? "true" : "false")'
Expand Down

0 comments on commit 94c1c9b

Please sign in to comment.