Skip to content

Commit

Permalink
- return file path with forward slashes or double back slashes. Forwa…
Browse files Browse the repository at this point in the history
…rd slashes are more better and they won't break the test suite.

git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@15145 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
adeas31 committed Feb 11, 2013
1 parent 754e837 commit d84dfb3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Compiler/Script/Interactive.mo
Original file line number Diff line number Diff line change
Expand Up @@ -8332,6 +8332,7 @@ protected
Boolean partialPrefix,finalPrefix,encapsulatedPrefix,isReadOnly;
Absyn.Restriction restr;
Absyn.ClassDef cdef;
Absyn.Class c;
Integer sl,sc,el,ec;
algorithm
path := Absyn.crefToPath(cr);
Expand All @@ -8347,6 +8348,7 @@ algorithm
str_eline := intString(el);
str_ecol := intString(ec);
dim_str := getClassDimensions(cdef);
file := System.stringReplace(file, "\\", "/");
file := Util.testsuiteFriendly(file);
res_1 := stringAppendList(
{"{\"",res,"\",\"",cmt,"\",\"",file,"\",{",strPartial,",",
Expand Down

0 comments on commit d84dfb3

Please sign in to comment.