From 551b5d149923b290d6f7d2cb1408d40c0e1fc2a8 Mon Sep 17 00:00:00 2001 From: Andrey Borzenkov Date: Fri, 22 Jun 2001 06:35:54 +0000 Subject: 15038: test case for 15023 --- Test/A01grammar.ztst | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) (limited to 'Test') diff --git a/Test/A01grammar.ztst b/Test/A01grammar.ztst index b400b3fce..70bc1c15f 100644 --- a/Test/A01grammar.ztst +++ b/Test/A01grammar.ztst @@ -116,6 +116,15 @@ 0:`for' loop >word >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 @@ -165,7 +174,7 @@ *) print 3 ;; esac -0:`case' loop, old syntax +0:`case', old syntax >2 word=Trinity @@ -179,7 +188,7 @@ (*) print 3 ;; esac -0:`case' loop, new syntax +0:`case', new syntax >2 word=Hilary @@ -193,7 +202,7 @@ (*) print 3 ;; esac -0:`case' loop, new syntax, cascaded +0:`case', new syntax, cascaded >1 >2 >3 -- cgit 1.4.1