Skip to content

Commit

Permalink
- kill tabs.
Browse files Browse the repository at this point in the history
git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@15148 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
adeas31 committed Feb 11, 2013
1 parent 1c3e090 commit 9a82b7a
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions Compiler/scripts/convert_lines.pl
Expand Up @@ -30,7 +30,7 @@ sub trim{
# handles file paths like /c/Test/foo.mo, c:/Test/foo.mo, c:\Test\foo.mo
if ($trimmedLine =~ /^ *..#modelicaLine .([A-Za-z0-9.\/\\:]*):([0-9]*):[0-9]*-[0-9]*:[0-9]*...$/) {
eval {
if ($^O eq "msys") {
if ($^O eq "msys") {
$myString = $1;
$myString =~ s/\\/\//g; # convert back slashes to forward slashes
# split the file location
Expand All @@ -45,14 +45,14 @@ sub trim{
} else {
$inStmtFile = abs_path($myString);
}
} else {
$inStmtFile = abs_path($1); # Absolute paths makes GDB a _lot_ happier;
}
};
if ($@) {
$dir = getcwd();
$inStmtFile = $dir + "/" + $1;
}
} else {
$inStmtFile = abs_path($1); # Absolute paths makes GDB a _lot_ happier;
}
};
if ($@) {
$dir = getcwd();
$inStmtFile = $dir + "/" + $1;
}
$inStmtLine = $2;
$inStmt = 1;
} elsif ($line =~ /^ *..#endModelicaLine/) {
Expand Down

0 comments on commit 9a82b7a

Please sign in to comment.