Revision: 18827
Author:   [email protected]
Date:     Fri Jan 24 14:27:39 2014 UTC
Log:      Experimental lexer: tiny test fix.

[email protected]
BUG=

Review URL: https://codereview.chromium.org/140033005
http://code.google.com/p/v8/source/detail?r=18827

Modified:
 /branches/experimental/parser/tools/lexer_generator/run_lexing_tests.py

=======================================
--- /branches/experimental/parser/tools/lexer_generator/run_lexing_tests.py Mon Jan 13 10:59:06 2014 UTC +++ /branches/experimental/parser/tools/lexer_generator/run_lexing_tests.py Fri Jan 24 14:27:39 2014 UTC
@@ -46,7 +46,7 @@
   file_file = sys.argv[2]
   process_count = int(sys.argv[3])
   with open(file_file, 'r') as f:
-    test_files = f.read().split('\n')
+ test_files = [filename for filename in f.read().split('\n') if filename]

   with open('/dev/null', 'w') as dev_null:
     processes = []

--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
--- You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to