hachem.wtf
aboutsummaryrefslogtreecommitdiff
path: root/src/parser.c
diff options
context:
space:
mode:
authorhachem <im@hachem.wtf>2026-10-12 11:41:05 +0200
committerhachem <im@hachem.wtf>2026-10-12 11:41:05 +0200
commit62636576bce8e8121a3d70f63547fae40a52f697 (patch)
tree077dfe4f04235cce63b7abb1b05bb539232ae74a /src/parser.c
parentc0f000ea166a24781fcdbf23c080b203cd9b8ed7 (diff)
chore: refactor
Diffstat (limited to 'src/parser.c')
-rw-r--r--src/parser.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/parser.c b/src/parser.c
index b0e049c..1815562 100644
--- a/src/parser.c
+++ b/src/parser.c
@@ -279,8 +279,6 @@ static struct Expr* parse_postfix(struct Parser* parser)
while (match_token(parser, TOKEN_DOT))
{
- // an identifier is a member (data.len); an integer is a register size
- // suffix (r1.64), meaningful with the logical_registers extension
if (!check(parser, TOKEN_IDENTIFIER) && !check(parser, TOKEN_INTEGER))
{
error_at(parser, parser->current, "expected a member name or size after '.'");