]> code.delx.au - gnu-emacs-elpa/commit
Generalize object literal parsing to support short-hand function/generator/getter...
authorStephen Hicks <sdh@google.com>
Mon, 27 Apr 2015 02:17:57 +0000 (19:17 -0700)
committerStephen Hicks <sdh@google.com>
Fri, 1 May 2015 07:01:06 +0000 (00:01 -0700)
commitc13eda48a6fa3af690cf36d799dc813de61f198a
treecbba6de4bd9114771393e0de36c7a47212df57e9
parentac93b9eef9b6ac44d187b9688d68a7a5f205b3fe
Generalize object literal parsing to support short-hand function/generator/getter/setter declarations with all kinds of keys (string, named, computed, numeric).

Previously only a subset of combinations were supported, but appear to be allowed by the spec.
js2-mode.el
tests/parser.el