# 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 -r 8bb67882a31a -r 27f35bee46f6 src/parse.y --- a/src/parse.y Mon Sep 20 08:17:53 1993 +0000 +++ b/src/parse.y Mon Sep 20 08:19:36 1993 +0000 @@ -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) {