ariya/esprima — pull request #110 by gregglind (2012-09-14 20:19:24+00:00)
Title: starless generators options and code

http://code.google.com/p/esprima/issues/detail?id=331

* testing this requires testing several code statements

function a(){yield 1} // works with option on, but not when false

* the option is ugly. Could it have a shorter name?

Issues:

1. Is 'option' the right approach? Without some way of handling that current moz code allow_starless_yield, but doesn't understand *, esprima can't work on existing Moz code that yields.

2. I don't know how to write the tests such that they options in the runner. Suggest a stub? Tests will come then.