Re: What's the correct behavior for "\8" and "\9"

2013-03-24 Thread Brendan Eich
Right. Here's SpiderMonkey's shell: js> "\8" "8" js> "\9" "9" js> "\08" "\x008" js> "\09" "\x009" js> "use strict"; "\8" "8" js> "use strict"; "\9" "9" js> "use strict"; "\08" typein:7:0 SyntaxError: octal literals and octal escape sequences are deprecated: typein:7:0 "use strict"; "\08" typein:7:

RE: What's the correct behavior for "\8" and "\9"

2013-03-24 Thread BelleveInvis
However, \8 and \9 DOES NOT belong to OctalEscapeSequences. There is NO octal number contains 8 or 9. Subject: Re: What's the correct behavior for "\8" and "\9" From: al...@wirfs-brock.com Date: Sun, 24 Mar 2013 17:22:13 -0700 CC: bren...@mozilla.com; es-discuss@mozilla.org To: infinte.c...@hotma

Re: What's the correct behavior for "\8" and "\9"

2013-03-24 Thread Allen Wirfs-Brock
On Mar 24, 2013, at 6:32 AM, BelleveInvis wrote: > However, even in the newest draft, "\8" still should cause a syntax error. > Should we change the production "EscapeCharacter ->DecimalDigit" into > "EscapeCharacter -> OctalDigit" in order to make 8 and 9 belongs to > NonEscapeCharacter? Pro

Re: Mutable Proto

2013-03-24 Thread Mark S. Miller
[+google-caja-discuss] On Sun, Mar 24, 2013 at 10:44 AM, Aymeric Vitte wrote: > > Le 22/03/2013 19:33, Mark S. Miller a écrit : > > On Fri, Mar 22, 2013 at 6:03 PM, Aymeric Vitte > wrote: > >> As far as I remember when I looked at it, there was a getfreevar >> function or something like this

RE: What's the correct behavior for "\8" and "\9"

2013-03-24 Thread BelleveInvis
However, even in the newest draft, "\8" still should cause a syntax error. Should we change the production "EscapeCharacter -> DecimalDigit" into "EscapeCharacter -> OctalDigit" in order to make 8 and 9 belongs to NonEscapeCharacter? > Date: Sat, 23 Mar 2013 13:58:41 -0700 > From: bren...@mozill

RE: What's the correct behavior for "\8" and "\9"

2013-03-24 Thread BelleveInvis
However, even in the newest draft, "\8" still should cause a syntax error. Should we change the production "EscapeCharacter -> DecimalDigit" into "EscapeCharacter -> OctalDigit" in order to make 8 and 9 belongs to NonEscapeCharacter? > Date: Sat, 23 Mar 2013 13:58:41 -0700 > From: bren...@mozill

Re: Mutable Proto

2013-03-24 Thread Aymeric Vitte
Le 22/03/2013 19:33, Mark S. Miller a écrit : On Fri, Mar 22, 2013 at 6:03 PM, Aymeric Vitte > wrote: As far as I remember when I looked at it, there was a getfreevar function or something like this parsing the code (or I misunderstood, see [1] but do