Skip to content

Commit

Permalink
- Use System.escapedString instead of System.stringReplace
Browse files Browse the repository at this point in the history
git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@15151 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
adeas31 committed Feb 11, 2013
1 parent 7e534e4 commit 32a0350
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Compiler/Script/Interactive.mo
Original file line number Diff line number Diff line change
Expand Up @@ -8348,8 +8348,9 @@ algorithm
str_eline := intString(el);
str_ecol := intString(ec);
dim_str := getClassDimensions(cdef);
file := System.stringReplace(file, "\\", "/");
//file := System.stringReplace(file, "\\", "/");
file := Util.testsuiteFriendly(file);
file := System.escapedString(file,false);
res_1 := stringAppendList(
{"{\"",res,"\",\"",cmt,"\",\"",file,"\",{",strPartial,",",
strFinal,",",strEncapsulated,"},{\"",str_readonly,"\",",str_sline,",",
Expand Down

0 comments on commit 32a0350

Please sign in to comment.