Skip to content

Commit

Permalink
Fix memory profiler
Browse files Browse the repository at this point in the history
  • Loading branch information
sjoelund authored and OpenModelica-Hudson committed Apr 21, 2016
1 parent 18210f4 commit c6e84de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Compiler/Template/CodegenCFunctions.tpl
Expand Up @@ -4154,7 +4154,7 @@ template modelicaLine(builtin.SourceInfo info)
::=
if boolOr(acceptMetaModelicaGrammar(), Flags.isSet(Flags.GEN_DEBUG_SYMBOLS))
then (if Flags.isSet(OMC_RECORD_ALLOC_WORDS)
then '/*#modelicaLine <%infoStr(info)%>*/<%\n%><% if intEq(-1, stringFind(infoStr(info),".interface.mo")) then 'mmc_set_current_pos("<%infoStr(info)%>");<%\n%>' %>'
then '/*#modelicaLine <%infoStr(info)%>*/<%\n%><% match info case SOURCEINFO() then (if intEq(-1, stringFind(fileName,".interface.mo")) then 'mmc_set_current_pos("<%infoStr(info)%>");<%\n%>') %>'
else '/*#modelicaLine <%infoStr(info)%>*/<%\n%>'
)
end modelicaLine;
Expand Down

0 comments on commit c6e84de

Please sign in to comment.