[llvm-commits] [llvm] r48342 - /llvm/trunk/test/lib/llvm.exp
Tanya Lattner
tonic at nondot.org
Thu Mar 13 15:02:53 PDT 2008
Author: tbrethou
Date: Thu Mar 13 17:02:51 2008
New Revision: 48342
URL: http://llvm.org/viewvc/llvm-project?rev=48342&view=rev
Log:
Fix error in testing for END. notation.
Patch by Julien Lerouge. Thanks!
Modified:
llvm/trunk/test/lib/llvm.exp
Modified: llvm/trunk/test/lib/llvm.exp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/lib/llvm.exp?rev=48342&r1=48341&r2=48342&view=diff
==============================================================================
--- llvm/trunk/test/lib/llvm.exp (original)
+++ llvm/trunk/test/lib/llvm.exp Thu Mar 13 17:02:51 2008
@@ -119,7 +119,7 @@
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
More information about the llvm-commits
mailing list