Tick processor 
<https://chromium.googlesource.com/v8/v8.git/+/refs/heads/master/tools/linux-tick-processor>
 shows 
errors when it parses lines in v8.log with a regular expression containing 
commas.

Two examples:

1. Line

code-creation,RegExp,6,10482353,0x2f967888f80,947,
"^[A-Za-z0-9][A-Za-z0-9!#$&^_-]{0\,126}$"

produces error "line 1234: unknown code state: undefined"

2. Line

code-creation,RegExp,6,10482114,0x2f967887f20,1689,"^ 
*([A-Za-z0-9][A-Za-z0-9!#$&^_-]{0\,126})\\/([A-Za-z0-9][A-Za-z0-9!#$&^_.+-]{0\,126})
 
*$"

produces error "line 1234: unknown code state: 126}) *$""

It's because the log file is being read as plain CSV 
<https://chromium.googlesource.com/v8/v8.git/+/refs/heads/master/tools/csvparser.js#86>,
 
but regular expression may contain commas and should be treated as a single 
field. Instead of this, parser passes the rest of RegExp after comma into 
the next parsed field.

Could someone fix this problem?

-- 
-- 
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].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/v8-dev/ef84f53b-96bf-4073-9828-74ceac0a35e8%40googlegroups.com.

Reply via email to