index 277ad231ee661e3602b1f384cbe9f30920a93d80..a540b96cb340aafc8916b58218839bc44b43aa6e 100644 (file)
@@ -456,6 +456,11 @@ void tic2json_main(FILE * yyin, int optflags)
ticinit();
tp.optflags = optflags;
+ if (tp.optflags & TIC2JSON_OPT_DICTOUT) {
+ tp.framedelims[0] = '{';
+ tp.framedelims[1] = '}';
+ }
+
#ifdef PRINT2BUF
ticbuf = buf;
ticbufavail = ticbufsize = size;