gcc-defs.exp (dg-additional-files-options): Extend regsub for dg-additional-files to also match BOL.
2013-11-06 James Lemke <jwlemke@codesourcery.com> * lib/gcc-defs.exp (dg-additional-files-options): Extend regsub for dg-additional-files to also match BOL. From-SVN: r204462
This commit is contained in:
parent
6dbe09581a
commit
b6e168f33a
2 changed files with 6 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
2013-11-06 James Lemke <jwlemke@codesourcery.com>
|
||||
|
||||
* lib/gcc-defs.exp (dg-additional-files-options): Extend regsub for
|
||||
dg-additional-files to also match BOL.
|
||||
|
||||
2013-11-06 Joseph Myers <joseph@codesourcery.com>
|
||||
|
||||
* gcc.dg/torture/c99-contract-1.c: New test.
|
||||
|
|
|
@ -245,7 +245,7 @@ proc dg-additional-files-options { options source } {
|
|||
set additional_sources ""
|
||||
}
|
||||
if { $additional_files != "" } then {
|
||||
regsub -all " " $additional_files " [file dirname $source]/" additional_files
|
||||
regsub -all "^| " $additional_files " [file dirname $source]/" additional_files
|
||||
set to_download [concat $to_download $additional_files]
|
||||
set additional_files ""
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue