Changed the parsing a conditional expression in a test status file to look for 'if...
authorsgjesse@chromium.org <sgjesse@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Fri, 31 Oct 2008 07:27:03 +0000 (07:27 +0000)
committersgjesse@chromium.org <sgjesse@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Fri, 31 Oct 2008 07:27:03 +0000 (07:27 +0000)
This change catches the regression from r646.
Review URL: http://codereview.chromium.org/8739

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@662 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

tools/test.py

index 5b3579b..10411a1 100755 (executable)
@@ -886,7 +886,7 @@ def ParseOperatorExpression(scan):
 def ParseConditionalExpression(scan):
   left = ParseOperatorExpression(scan)
   if not left: return None
-  while scan.HasMore() and (scan.Current() == 'IF'):
+  while scan.HasMore() and (scan.Current() == 'if'):
     scan.Advance()
     right = ParseOperatorExpression(scan)
     if not right: