jeff-jenness / close

Automatically exported from code.google.com/p/close
0 stars 0 forks source link

Move local variable declarations to start of block, replace initialization with assignment #15

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What would you like added?

The parser should insert local decls in the local-variables subnode at the
start of the block.

Variable initialization, which is currently handled as a viviself, should
be handled as a standard assignment/binding to the so-far-unused variable.

How should it work?

Please provide test cases, if possible.

Please use labels and text to provide additional information.

Original issue reported on code.google.com by austin_h...@yahoo.com on 2 Jul 2009 at 4:48

GoogleCodeExporter commented 9 years ago

Original comment by austin_h...@yahoo.com on 11 Jul 2009 at 2:22