Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

PATCH: test case for POSIX `for' syntax



Index: Test/A01grammar.ztst
===================================================================
RCS file: /cvsroot/zsh/zsh/Test/A01grammar.ztst,v
retrieving revision 1.1
diff -u -r1.1 A01grammar.ztst
--- Test/A01grammar.ztst        2001/04/02 12:29:57     1.1
+++ Test/A01grammar.ztst        2001/06/22 06:28:05
@@ -118,6 +118,15 @@
 >to
 >term
 
+  for name
+  in word to term; do
+    print $name
+  done
+0:`for' loop with newline before in keyword
+>word
+>to
+>term
+
   for (( name = 0; name < 3; name++ )); do
     print $name
   done

-andrej



Messages sorted by: Reverse Date, Date, Thread, Author