Aria

A low-level systems programming language
git clone git://git.m21c.me/Aria.git
Log | Files | Refs | README | LICENSE

commit 30635f0a904334e2f7fc4482f78c9638c561743e
parent 16b164e37b76fb6f0fe3ba6c08a802944077d6df
Author: m21c <ho*******@gmail.com>
Date:   Sat, 27 Jun 2026 22:14:58 +0200

read record: fix: no lhs on error

Diffstat:
Mcompiler.c | 2++
1 file changed, 2 insertions(+), 0 deletions(-)

diff --git a/compiler.c b/compiler.c @@ -3340,6 +3340,8 @@ readrecord(Source *source, bool isunion) recordnode->lhs = tokennode(source, NULL); gettok(source); } else { + recordnode->lhs = tokennode(source, NULL); + recordnode->kind = 0; error(getloc(source), "expected identifier"); }