Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

PATCH: Avoid gcc case syntax



---
 Src/utils.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/Src/utils.c b/Src/utils.c
index 47567ff..fa64b82 100644
--- a/Src/utils.c
+++ b/Src/utils.c
@@ -3092,7 +3092,8 @@ morefmt:
 	    case '#':
 	    case '_':
 	    case '-':
-	    case '0' ... '9':
+	    case '0': case '1': case '2': case '3': case '4':
+	    case '5': case '6': case '7': case '8': case '9':
 		goto morefmt;
 strftimehandling:
 	    default:
-- 
2.5.0



Messages sorted by: Reverse Date, Date, Thread, Author