From: fennecdjay Date: Wed, 9 Oct 2019 22:43:09 +0000 (+0200) Subject: Revert ":bug: Fix match map" X-Git-Tag: nightly~2198^2~39 X-Git-Url: http://10.10.0.4:5575/?a=commitdiff_plain;h=3526757d97dd700461053ff27a3eb72820f6a890;p=gwion.git Revert ":bug: Fix match map" This reverts commit 698ea5a5d6279f489d8888d5f0615ea7195a4a57. --- diff --git a/include/match.h b/include/match.h index d28f5381..dbdb6a2f 100644 --- a/include/match.h +++ b/include/match.h @@ -7,13 +7,11 @@ struct Match_ { ANN static inline void match_map(struct Match_ * const match, Exp e) { const Map map = &match->map; - Exp next = NULL; map_init(map); do { - next = e->next; e->next = NULL; map_set(map, (vtype)e, 0); - } while((e = next)); + } while((e = e->next)); } ANN static inline void match_unmap(struct Match_ * const match) {