On 29 Dec 2009, at 16:36, Mike Samuel wrote:
> 2009/12/28 Waldemar Horwat <[email protected]>:
>> Mike Samuel wrote:
>>> 
>>> That's the case right now, except that to escape a backtick one does
>>> $\`  instead of \`.
>> 
>> Having `\`` not do what I'd expect escaping to do truly surprised me.  I
>> thought that this was just a bug in the grammar when I read the wiki page.
>> 
>> The grammar has other bugs having to do with \ characters inside identifiers
>> and QuasiLiteralBodyParts.
> 
> Are you referring to problems with something like like
>  `$foo\u0061\u0020`
> where the Identifier production consumes both escape sequences but the
> second makes the identifier illegal?
> 
> So an dentifier production that would limit the UnicodeEscapeSequence
> to matching classes (L*, Mc, Mb, Nd, Nl, Pc) and the single codepoints
> (_, $, ZWNJ, ZWJ).
> 


Has there been any feedback on quasi-literal at any of the TC39 meeting(s)?
_______________________________________________
es-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es-discuss

Reply via email to