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 e21a68bca7
commit c21cfe37ec
1 changed files with 1 additions and 1 deletions

View File

@ -119,7 +119,7 @@ proc RunLLVMTests { test_source_files } {
foreach line [split [read $testFileId] \n] {
# 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
# if the line is continued, concatenate and continue the loop