diff options
author | Ember Sawady <ecs@d2evs.net> | 2022-09-14 12:20:28 +0000 |
---|---|---|
committer | Quentin Carbonneaux <quentin@c9x.me> | 2022-09-15 09:09:30 +0200 |
commit | bdaf8d374e5054c7f0a006f6bc038ee08d165fd3 (patch) | |
tree | 6956a4ce7331110ccf1efa5ce12354113389898b /parse.c | |
parent | 0715a395dfb50d890043df718959cd9229de226f (diff) | |
download | roux-bdaf8d374e5054c7f0a006f6bc038ee08d165fd3.tar.gz |
Fix parsing of multiple globals in datadef
Eg. data $a = { w $b $c }
Diffstat (limited to 'parse.c')
-rw-r--r-- | parse.c | 2 |
1 files changed, 1 insertions, 1 deletions
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) |