Changeset 17882


Ignore:
Timestamp:
2013-10-25T15:04:46+02:00 (10 years ago)
Author:
adeas31
Message:

#2441

  • Do not add the comment to enumeration literals initial values.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Compiler/Template/CodegenFMU.tpl

    r17700 r17882  
    672672  case SCONST(__) then '"<%Util.escapeModelicaStringToXmlString(string)%>"'
    673673  case BCONST(__) then if bool then "1" else "0"
    674   case ENUM_LITERAL(__) then '<%index%>/*ENUM:<%dotPath(name)%>*/'
     674  case ENUM_LITERAL(__) then '<%index%>'
    675675  else "*ERROR* initial value of unknown type"
    676676end initVal;
Note: See TracChangeset for help on using the changeset viewer.