diff --git a/check.t b/check.t index 5938e8a..702625e 100644 --- a/check.t +++ b/check.t @@ -1,4 +1,4 @@ -# $MirOS: src/bin/mksh/check.t,v 1.798 2017/10/14 21:09:46 tg Exp $ +# $MirOS: src/bin/mksh/check.t,v 1.799 2017/10/17 23:45:16 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/14 + @(#)MIRBSD KSH R56 2017/10/17 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/14 + @(#)LEGACY KSH R56 2017/10/17 description: Check base version of legacy shell stdin: diff --git a/lex.c b/lex.c index f450221..e75ab2c 100644 --- a/lex.c +++ b/lex.c @@ -23,7 +23,7 @@ #include "sh.h" -__RCSID("$MirOS: src/bin/mksh/lex.c,v 1.239 2017/05/05 22:53:29 tg Exp $"); +__RCSID("$MirOS: src/bin/mksh/lex.c,v 1.240 2017/10/17 23:45:18 tg Exp $"); /* * states while lexing word @@ -284,15 +284,6 @@ yylex(int cf) } afree(tmp, ATEMP); break; - } else { - Source *s; - - s = pushs(SREREAD, - source->areap); - s->start = s->str = - s->u.freeme = tmp; - s->next = source; - source = s; } } *wp++ = CHAR; diff --git a/sh.h b/sh.h index 606987c..096f1bc 100644 --- a/sh.h +++ b/sh.h @@ -182,9 +182,9 @@ #endif #ifdef EXTERN -__RCSID("$MirOS: src/bin/mksh/sh.h,v 1.848 2017/10/14 21:09:48 tg Exp $"); +__RCSID("$MirOS: src/bin/mksh/sh.h,v 1.849 2017/10/17 23:45:19 tg Exp $"); #endif -#define MKSH_VERSION "R56 2017/10/14" +#define MKSH_VERSION "R56 2017/10/17" /* arithmetic types: C implementation */ #if !HAVE_CAN_INTTYPES