Skip to content

Commit

Permalink
- Do not insert the ENUM comment in the XML file.
Browse files Browse the repository at this point in the history
git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@19911 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
adeas31 committed Apr 1, 2014
1 parent 8b6168a commit 866f0a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Compiler/Template/CodegenUtil.tpl
Expand Up @@ -131,7 +131,7 @@ template initValXml(Exp exp)
case RCONST(__) then real
case SCONST(__) then '<%Util.escapeModelicaStringToXmlString(string)%>'
case BCONST(__) then if bool then "true" else "false"
case ENUM_LITERAL(__) then '<%index%> /*ENUM:<%dotPath(name)%>*/'
case ENUM_LITERAL(__) then '<%index%>'
else error(sourceInfo(), 'initial value of unknown type: <%printExpStr(exp)%>')
end initValXml;

Expand Down

0 comments on commit 866f0a0

Please sign in to comment.