changeset 118:27f35bee46f6

[project @ 1993-09-20 08:19:36 by jwe] Allow for command to assign to an index expression, not just an identifier.
author jwe
date Mon, 20 Sep 1993 08:19:36 +0000
parents 8bb67882a31a
children 32de07939aa7
files src/parse.y
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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)
 		      {