]> vcs.slashdirt.org Git - sw/tic2json.git/commitdiff

vcs.slashdirt.org Git - sw/tic2json.git/commitdiff

git git / sw / tic2json.git / commitdiff
? search:
summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 0a7e50f)
tic2json: tic2json_main(): fix dictionary frame delimiter
2021年9月28日 21:22:46 +0000 (23:22 +0200)
2021年9月28日 21:22:46 +0000 (23:22 +0200)
Fixes: 3099940

diff --git a/tic2json.c b/tic2json.c
index 277ad231ee661e3602b1f384cbe9f30920a93d80..a540b96cb340aafc8916b58218839bc44b43aa6e 100644 (file)
--- a/tic2json.c
+++ b/tic2json.c
@@ -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;
tic2json TIC parser/converter
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /