aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorp4bl0 <r _at_ uzy .dot. me>2012-07-18 16:30:26 (CEST)
committerp4bl0 <r _at_ uzy .dot. me>2012-07-18 16:30:26 (CEST)
commit84c077f73b641847527772f181a9bc857e5bb346 (patch)
tree697622ff85108c1cd49042761ba461fbedb217e8
parent421c072ed622afee197321259bb3788dd74e9c6a (diff)
downloadelispon-84c077f73b641847527772f181a9bc857e5bb346.zip
elispon-84c077f73b641847527772f181a9bc857e5bb346.tar.gz
print vector in square brackets
-rw-r--r--src/printer.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/printer.c b/src/printer.c
index cd05e6c..8ef5efd 100644
--- a/src/printer.c
+++ b/src/printer.c
@@ -122,12 +122,12 @@ Printer_printVector (Printer *self, Vector *vector)
size = Vector_size(vector);
- Port_printf(self->output, "(vector");
+ Port_printf(self->output, "[");
for (i = 0; i < size; i++) {
Port_printf(self->output, " ");
Printer_print(self, Vector_get(vector, i));
}
- Port_printf(self->output, ")");
+ Port_printf(self->output, " ]");
}
/* ----- */
Pablo Rauzy — generated by cgit