lots'o'fixes in the output routines; still a looong way to go.
This commit is contained in:
@@ -866,6 +866,9 @@ function parse($TEXT, exigent_mode) {
|
||||
init = is("keyword", "var")
|
||||
? (next(), var_(true))
|
||||
: expression(true, true);
|
||||
if (init instanceof AST_Var) {
|
||||
init.inline = true;
|
||||
}
|
||||
if (is("operator", "in")) {
|
||||
if (init instanceof AST_Var && init.definitions.length > 1)
|
||||
croak("Only one variable declaration allowed in for..in loop");
|
||||
|
||||
Reference in New Issue
Block a user