Skip to content

Commit

Permalink
- correctly unparse WILD for saveTotalSCode
Browse files Browse the repository at this point in the history
git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@17551 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
adrpo committed Oct 5, 2013
1 parent b8a8b2f commit ffb07d7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Compiler/Template/AbsynDumpTpl.mo
Expand Up @@ -1014,7 +1014,7 @@ algorithm
case ( txt,
Absyn.WILD() )
equation
txt = Tpl.writeTok(txt, Tpl.ST_STRING("_"));
txt = Tpl.writeTok(txt, Tpl.ST_STRING("/*_*/"));
then txt;

case ( txt,
Expand Down
2 changes: 1 addition & 1 deletion Compiler/Template/AbsynDumpTpl.tpl
Expand Up @@ -196,7 +196,7 @@ match cref
case CREF_IDENT(__)
then '<%name%><%dumpSubscripts(subscripts)%>'
case CREF_FULLYQUALIFIED(__) then '.<%dumpCref(componentRef)%>'
case WILD(__) then '_'
case WILD(__) then '/*_*/'
case ALLWILD(__) then '__'
case CREF_INVALID(__) then 'INVALID(<%dumpCref(cref)%>'
end dumpCref;
Expand Down

0 comments on commit ffb07d7

Please sign in to comment.