This thread contains a patchset. You're looking at the original emails,
but you may wish to use the patch review UI.
Review patch
2
2
[PATCH] gen.c: Fix warning which lets build fail
---
src/gen.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/gen.c b/src/gen.c
index 0703ca9..fface9d 100644
--- a/src/gen.c
+++ b/src/gen.c
@@ -222,8 +222,9 @@ gen_access_ident(struct gen_context *ctx, const struct scope_object *obj)
case O_CONST:
case O_TYPE:
case O_SCAN:
- abort(); // Invariant
+ break;
}
+ abort(); // Invariant
}
static void
--
2.42.0
Sorry, I forgot to modify the title: This is for harec.
thanks!
to git@git.sr.ht:~sircmpwn/harec
8b36c29..64dea19 master -> master