1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2025-02-01 05:01:59 +01:00

Fix error in testing for END. notation.

Patch by Julien Lerouge. Thanks!

llvm-svn: 48342
This commit is contained in:
Tanya Lattner 2008-03-13 22:02:51 +00:00
parent b479bf0d0c
commit 795aaef9d1

View File

@ -119,7 +119,7 @@ proc RunLLVMTests { test_source_files } {
foreach line [split [read $testFileId] \n] { foreach line [split [read $testFileId] \n] {
# if its the END. line then stop parsing (optimization for big files) # if its the END. line then stop parsing (optimization for big files)
if {[regexp {END.[ *]$} $line match endofscript]} { if {[regexp {END.[[:space:]]*$} $line match endofscript]} {
break break
# if the line is continued, concatenate and continue the loop # if the line is continued, concatenate and continue the loop