Reviewers: ulan,

Message:
Committed patchset #1 manually as r18827 (presubmit successful).

Description:
Experimental lexer: tiny test fix.

[email protected]
BUG=

Committed: https://code.google.com/p/v8/source/detail?r=18827

Please review this at https://codereview.chromium.org/140033005/

SVN Base: https://v8.googlecode.com/svn/branches/experimental/parser

Affected files (+1, -1 lines):
  M tools/lexer_generator/run_lexing_tests.py


Index: tools/lexer_generator/run_lexing_tests.py
diff --git a/tools/lexer_generator/run_lexing_tests.py b/tools/lexer_generator/run_lexing_tests.py index 0ef6bb9ee0a84e47a71f7114f7dfb4e43ac9caa9..2dc5ccaf692125f075b31e2314cc2af00bde69ed 100644
--- a/tools/lexer_generator/run_lexing_tests.py
+++ b/tools/lexer_generator/run_lexing_tests.py
@@ -46,7 +46,7 @@ if __name__ == '__main__':
   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