From 979385718b9f047ea69bb49459faaf27e3470c75 Mon Sep 17 00:00:00 2001 From: Paul Ouellette Date: Thu, 17 Feb 2022 18:24:03 -0500 Subject: parse: allow string after first data item --- parse.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'parse.c') diff --git a/parse.c b/parse.c index fb8b509..c9638fd 100644 --- a/parse.c +++ b/parse.c @@ -1047,7 +1047,7 @@ parsedat(void cb(Dat *), Lnk *lnk) err("constant literal expected"); cb(&d); t = nextnl(); - } while (t == Tint || t == Tflts || t == Tfltd); + } while (t == Tint || t == Tflts || t == Tfltd || t == Tstr); if (t == Trbrace) break; if (t != Tcomma) -- cgit 1.4.1