Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(51)

Unified Diff: tools/gc_nvp_common.py

Issue 1422543005: [tools] Fix regexp grepping for GC NVP float values. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/gc_nvp_common.py
diff --git a/tools/gc_nvp_common.py b/tools/gc_nvp_common.py
index 7a9ad1c4bc85a6d5059651618283b5df07545068..5149e6f729d24631df4cef6b4ae7c94dda04ae9f 100644
--- a/tools/gc_nvp_common.py
+++ b/tools/gc_nvp_common.py
@@ -12,7 +12,7 @@ import re
def split_nvp(s):
t = {}
- for (name, value) in re.findall(r"(\w+)=([-\w]+)", s):
+ for (name, value) in re.findall(r"(\w+)=([-\w]+(?:\.[0-9]+)?)", s):
try:
t[name] = float(value)
except ValueError:
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698