Skip to content

Commit 2155696

Browse files
committed
Make sourceInfo() testsuite-friendly
git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@23162 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
1 parent aed7ecd commit 2155696

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Compiler/Util/Util.mo

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1627,7 +1627,7 @@ algorithm
16271627
case (true,_)
16281628
algorithm
16291629
newName := if System.os() == "Windows_NT" then System.stringReplace(name, "\\", "/") else name;
1630-
(i,strs) := System.regex(newName, "^(.*/testsuite/)?(.*/lib/omlibrary/)?(.*/build/)?(.*)$", 5, true, false);
1630+
(i,strs) := System.regex(newName, "^(.*/Compiler/)?(.*/testsuite/)?(.*/lib/omlibrary/)?(.*/build/)?(.*)$", 6, true, false);
16311631
friendly := listGet(strs,i);
16321632
then
16331633
friendly;

0 commit comments

Comments
 (0)