~mpu/qbe

This thread contains a patchset. You're looking at the original emails, but you may wish to use the patch review UI. Review patch
1

[PATCH qbe] Fix parsing of multiple globals in datadef

Details
Message ID
<20220914122028.4658-1-ecs@d2evs.net>
DKIM signature
pass
Download raw message
Patch: +1 -1
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
Details
Message ID
<d81f14c5-fb25-41fe-8aec-7fb4834202b0@www.fastmail.com>
In-Reply-To
<20220914122028.4658-1-ecs@d2evs.net> (view parent)
DKIM signature
pass
Download raw message
Thanks.

To c9x:git/qbe.git
   0715a39..bdaf8d3  master -> master
Reply to thread Export thread (mbox)