shithub: mc

Download patch

ref: f7074d00acc613446d00e89743bd1e62fa85598f
parent: badfd2569a0a0e823f8ad8a7be041dd52a1e2903
author: Ori Bernstein <[email protected]>
date: Thu Oct 25 07:46:43 EDT 2012

Revert "Fix formatting for slice type."

This reverts commit badfd2569a0a0e823f8ad8a7be041dd52a1e2903.

--- a/parse/type.c
+++ b/parse/type.c
@@ -414,7 +414,7 @@
             break;
         case Tyslice:
             p += tybfmt(p, end - p, t->sub[0]);
-            p += snprintf(p, end - p, "[:]");
+            p += snprintf(p, end - p, "[,]");
             break;
         case Tyarray:
             p += tybfmt(p, end - p, t->sub[0]);