qbe

Internal scc patchset buffer for QBE
Log | Files | Refs | README | LICENSE

commit 979385718b9f047ea69bb49459faaf27e3470c75
parent e04a2cd281ce34d985933489b7a9562658a5b07f
Author: Paul Ouellette <oue.paul18@gmail.com>
Date:   Thu, 17 Feb 2022 18:24:03 -0500

parse: allow string after first data item

Diffstat:
Mparse.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 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)