[Webkit-unassigned] [Bug 32722] Allow Reserved Words in Property Accessors

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Jan 6 10:25:51 PST 2010


--- Comment #2 from Patrick Mueller <pmuellr at yahoo.com>  2010-01-06 10:25:50 PST ---
Created an attachment (id=45967)
 --> (https://bugs.webkit.org/attachment.cgi?id=45967)
attempted patch 

It's been forever since I played with bison, and I never played with it much to
begin with.  But thought I'd look into this bug anyway.  

I've patched the grammar to add the required support - it passes the JSC tests,
and worked for a simple command-line JSC session using the built jsc:

   >  x = { true: 2 }
   [object Object]
   > x.true

My guess is that this will inflate the parser runtime a bit, since presumably
the string data for the existing keywords / reserved words now have to track
their values (presumably didn't before).  Thought I'd go ahead and post the
patch to see how kosher it looks though.

I'll go ahead and create some actual tests for this as well.

Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

More information about the webkit-unassigned mailing list