ariya/esprima — pull request #296 by jeffmo (2014-12-05 18:12:24+00:00)
Title: Fix parsing of `import {} from "A";` and `export {};`

Previously empty import/export specifier lists wouldn't parse -- even though this is allowed in the spec:

https://people.mozilla.org/~jorendorff/es6-draft.html#sec-imports
https://people.mozilla.org/~jorendorff/es6-draft.html#sec-exports

This fixes the parser to allow empty import/export specifier lists

(Note that this depends on https://github.com/ariya/esprima/pull/295 -- so github includes that in the commit history of this PR)

https://code.google.com/p/esprima/issues/detail?id=615