shithub: mc

Download patch

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

Fix formatting for slice type.

--- 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]);