informative D8 compilation errors messages?

2 views
Skip to first unread message

Tom Machinski

unread,
Jan 4, 2010, 1:00:51 AM1/4/10
to v8-u...@googlegroups.com
Hi,

When trying to compile a JS source file, the D8 error messages that I
get by default are obtuse:

$ d8 comb.js
Uncaught: "SyntaxError: Unexpected identifier" (empty stack)

Can I get something more informative like the following (from SpiderMonkey):

$ smjs comb.js
comb.js:2: SyntaxError: missing ) after condition:
comb.js:2: if (k == 0 or r.length < k) {
comb.js:2: .............^

-- Tom

Reply all
Reply to author
Forward
0 new messages