revert unfinished change (listed in mksh.hts)
This commit is contained in:
parent
d8b65ff642
commit
2f6fa6fb3d
3
funcs.c
3
funcs.c
@ -38,7 +38,7 @@
|
|||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
__RCSID("$MirOS: src/bin/mksh/funcs.c,v 1.253 2014/01/05 19:11:44 tg Exp $");
|
__RCSID("$MirOS: src/bin/mksh/funcs.c,v 1.254 2014/01/05 19:20:31 tg Exp $");
|
||||||
|
|
||||||
#if HAVE_KILLPG
|
#if HAVE_KILLPG
|
||||||
/*
|
/*
|
||||||
@ -3250,7 +3250,6 @@ test_primary(Test_env *te, bool do_eval)
|
|||||||
* so that something like test \( -f = -f \) is accepted
|
* so that something like test \( -f = -f \) is accepted
|
||||||
*/
|
*/
|
||||||
if ((te->flags & TEF_DBRACKET) || (&te->pos.wp[1] < te->wp_end &&
|
if ((te->flags & TEF_DBRACKET) || (&te->pos.wp[1] < te->wp_end &&
|
||||||
/*XXX TODO: !test_opin(b_ops_xsi, … */
|
|
||||||
!test_isop(TM_BINOP, te->pos.wp[1]))) {
|
!test_isop(TM_BINOP, te->pos.wp[1]))) {
|
||||||
if ((op = (*te->isa)(te, TM_UNOP))) {
|
if ((op = (*te->isa)(te, TM_UNOP))) {
|
||||||
/* unary expression */
|
/* unary expression */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user