diff options
author | Paul Ouellette <oue.paul18@gmail.com> | 2022-02-17 18:24:03 -0500 |
---|---|---|
committer | Quentin Carbonneaux <quentin@c9x.me> | 2022-02-24 13:11:41 +0100 |
commit | 979385718b9f047ea69bb49459faaf27e3470c75 (patch) | |
tree | 05de585b8eca25134d576cbc794b2d25a1d0e1c7 | |
parent | e04a2cd281ce34d985933489b7a9562658a5b07f (diff) | |
download | roux-979385718b9f047ea69bb49459faaf27e3470c75.tar.gz |
parse: allow string after first data item
-rw-r--r-- | parse.c | 2 |
1 files changed, 1 insertions, 1 deletions
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) |