mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-09-27 16:17:17 +00:00
Allow replacement of %% with %
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36044 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -68,6 +68,8 @@ proc substitute { line test tmpFile } {
|
|||||||
regsub -all {%s} $new_line $test new_line
|
regsub -all {%s} $new_line $test new_line
|
||||||
#replace %t with temp filenames
|
#replace %t with temp filenames
|
||||||
regsub -all {%t} $new_line [file join Output $tmpFile] new_line
|
regsub -all {%t} $new_line [file join Output $tmpFile] new_line
|
||||||
|
#replace %% with %
|
||||||
|
regsub -all {%%} $new_line % new_line
|
||||||
return $new_line
|
return $new_line
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user