From 8923d2a61824b0856839d52f3bf52aedb86fd827 Mon Sep 17 00:00:00 2001 From: Mikael Magnusson Date: Thu, 26 Dec 2019 03:54:17 +0100 Subject: Add SHORT_REPEAT option --- Src/parse.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Src/parse.c') diff --git a/Src/parse.c b/Src/parse.c index 08919b2da..10c9b4c29 100644 --- a/Src/parse.c +++ b/Src/parse.c @@ -1593,7 +1593,7 @@ par_repeat(int *cmplx) if (tok != ZEND) YYERRORV(oecused); zshlex(); - } else if (unset(SHORTLOOPS)) { + } else if (unset(SHORTLOOPS) && unset(SHORTREPEAT)) { YYERRORV(oecused); } else par_save_list1(cmplx); -- cgit v1.2.3