Comment #5 on issue 1972 by [email protected]: Incorrect treatment of
unicode escapes in keywords
http://code.google.com/p/v8/issues/detail?id=1972
I absolutely agree that it's not clear :)
I read the "var" in the production for variable declarations as
a "terminal" (5.1.6), which says that it must be occur in the source
exactly as written (no escapes).
But then, the list of, e.g., keywords, are also given as terminals, but
they are really lists/sets of strings to compare (post-escape-resolution)
identifier names against.
(FWIW, the ES3 spec wasn't any better).
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev