Added support for ES5's propertyname production.
authorlrn@chromium.org <lrn@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Mon, 2 Aug 2010 12:09:10 +0000 (12:09 +0000)
committerlrn@chromium.org <lrn@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Mon, 2 Aug 2010 12:09:10 +0000 (12:09 +0000)
commit24cf5459f50fc4becf92fc71b04a1ebed77347b1
tree784964dc1e30fbe81a86a1b95786ed033de0f4fb
parentf913595828bb7bc3c175e204ab2c75795c59fba3
Added support for ES5's propertyname production.
Object initialisers and dot-notation property access allows keywords in ES5.
Also allowed non-identifiers after "get" or "set" in an object initialiser.

Review URL: http://codereview.chromium.org/3047038

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@5165 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
src/parser.cc
src/runtime.cc
src/token.cc
src/token.h
test/mjsunit/object-literal.js
test/sputnik/sputnik.status