diff --git a/check.t b/check.t index 98f6747..ea414d3 100644 --- a/check.t +++ b/check.t @@ -1,4 +1,4 @@ -# $MirOS: src/bin/mksh/check.t,v 1.800 2017/12/15 13:35:34 tg Exp $ +# $MirOS: src/bin/mksh/check.t,v 1.801 2018/01/14 01:47:33 tg Exp $ # -*- mode: sh -*- #- # Copyright © 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, @@ -30,7 +30,7 @@ # (2013/12/02 20:39:44) http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/regress/bin/ksh/?sortby=date expected-stdout: - @(#)MIRBSD KSH R56 2017/10/17 + @(#)MIRBSD KSH R56 2018/01/14 description: Check base version of full shell stdin: @@ -39,7 +39,7 @@ name: KSH_VERSION category: !shell:legacy-yes --- expected-stdout: - @(#)LEGACY KSH R56 2017/10/17 + @(#)LEGACY KSH R56 2018/01/14 description: Check base version of legacy shell stdin: @@ -9026,6 +9026,15 @@ expected-stdout: .c:a b.c d..: .d:a b.c d..: --- +name: arrassign-eol +description: + Commands after array assignments are not permitted +stdin: + foo=(a b) env +expected-exit: e != 0 +expected-stderr-pattern: + /syntax error: unexpected 'env'/ +--- name: arrassign-fnc-none description: Check locality of array access inside a function diff --git a/sh.h b/sh.h index 4648e4a..53629b1 100644 --- a/sh.h +++ b/sh.h @@ -182,9 +182,9 @@ #endif #ifdef EXTERN -__RCSID("$MirOS: src/bin/mksh/sh.h,v 1.857 2018/01/14 01:44:02 tg Exp $"); +__RCSID("$MirOS: src/bin/mksh/sh.h,v 1.858 2018/01/14 01:47:36 tg Exp $"); #endif -#define MKSH_VERSION "R56 2017/10/17" +#define MKSH_VERSION "R56 2018/01/14" /* arithmetic types: C implementation */ #if !HAVE_CAN_INTTYPES