ES4 draft: Error classes
lhansen at adobe.com
Thu Mar 20 09:52:17 PDT 2008
> -----Original Message-----
> From: Mike Shaver [mailto:mike.shaver at gmail.com]
> Sent: 20. mars 2008 09:44
> To: Lars Hansen
> Cc: P T Withington; es4-discuss Discuss
> Subject: Re: ES4 draft: Error classes
> On Thu, Mar 20, 2008 at 12:27 PM, Lars Hansen
> <lhansen at adobe.com> wrote:
> > A comment of this form preceded on the same line only by
> > /**es:context=<scheme>;<data>;<line>*/
> We did this with // comments in SpiderMonkey, because the
> directives are inherently related to a line, and it avoids
> questions about whether the line numbering indicates the
> first or last line of the comment containing the directive.
> We didn't care a lot about lines getting overlong, since
> they're virtually always produced by tools as a way for
> people to _not_ look at the source containing them. :)
OK, that's good feedback. What's the SpiderMonkey syntax?
It would be better to go with something that is already in
use, even if I expect the proposal here is a little more
The funny thing is that I went to some trouble in my previous
writeup to disallow line terminators without drawing the
obvious conclusion that I could switch to // style comments...
Yay, time for more coffee.
More information about the Es4-discuss