# HG changeset patch # User jwe # Date 748513176 0 # Node ID 27f35bee46f6641ebfbdf49e1ca82a4376bcfc42 # Parent 8bb67882a31af09061154c60537e9a84614424c9 [project @ 1993-09-20 08:19:36 by jwe] Allow for command to assign to an index expression, not just an identifier. diff --git a/src/parse.y b/src/parse.y --- a/src/parse.y +++ b/src/parse.y @@ -567,7 +567,7 @@ looping--; $$ = new tree_while_command ($2, $4); } - | FOR identifier '=' expression optsep opt_list END + | FOR variable '=' expression optsep opt_list END { if ($7 != for_end && $7 != simple_end) {