Eugene, I'm not a big expert with esprima, but do you use tolerant option like explained at http://esprima.org/doc/ ?
2016-03-12 10:25 GMT+01:00 Eugene Melekhov <[email protected]>: > Angelo, > > One more thing about parser tolerance. esprima for example throws an > exception parsing this "relatively simple" > declarations: > > //function foo(a, b {} > > //function foo(a, b, c,) {} > > //function foo(a, b, {} {} > > > > Yes sure, but it seems that Shift doesn't support tolerant parser which > is very required for a JS editor. See > https://github.com/shapesecurity/shift-java/issues/93 > > > -- > Eugene Melekhov > > _______________________________________________ > wtp-dev mailing list > [email protected] > To change your delivery options, retrieve your password, or unsubscribe > from this list, visit > https://dev.eclipse.org/mailman/listinfo/wtp-dev >
_______________________________________________ wtp-dev mailing list [email protected] To change your delivery options, retrieve your password, or unsubscribe from this list, visit https://dev.eclipse.org/mailman/listinfo/wtp-dev
