ash: only allow local variables in functions

Signed-off-by: Ron Yorston <rmy@pobox.com>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
Ron Yorston
2015-10-29 16:19:14 +00:00
committed by Denys Vlasenko
parent 3f221113a5
commit ef2386b80a
3 changed files with 5 additions and 0 deletions

View File

@@ -0,0 +1 @@
./local2.tests: local: line 1: not in a function