Eg. data $a = { w $b $c }
---
parse.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/parse.c b/parse.c
index 1912c8b..cfed548 100644
--- a/parse.c
+++ b/parse.c
@@ -1049,7 +1049,7 @@ parsedat(void cb(Dat *), Lnk *lnk)
err("constant literal expected");
cb(&d);
t = nextnl();
- } while (t == Tint || t == Tflts || t == Tfltd || t == Tstr);
+ } while (t == Tint || t == Tflts || t == Tfltd || t == Tstr || t == Tglo);
if (t == Trbrace)
break;
if (t != Tcomma)
--
2.37.3