Fix parsing setters/getters (allow keywords for name).
authorMihai Bazon <mihai@bazon.net>
Wed, 30 Oct 2013 09:50:22 +0000 (11:50 +0200)
committerMihai Bazon <mihai@bazon.net>
Wed, 30 Oct 2013 09:50:22 +0000 (11:50 +0200)
commitc5ed2292bf2b78fcfb6913ef8819bb53f9e80132
tree1d126e0b7289e1b7bbacecdbd7cc45e1222e70a6
parentb70670b69fbc3badd6186d6a6671754976bd36cb
Fix parsing setters/getters (allow keywords for name).

The "key" property was always "set" or "get", which didn't make much sense.
Now it'll be the actual name of the setter/getter (AST_Node), and the
AST_Accessor object itself, which represents the function, won't store any
name.

Close #319
lib/ast.js
lib/output.js
lib/parse.js