From ea1cd66193d64bb1cd56c24f0db011eadbf558e6 Mon Sep 17 00:00:00 2001 From: Aleksey Veresov Date: Sun, 10 Jan 2021 02:37:23 +0300 Subject: Optimizations + human-readable translator output. --- src/csx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/csx.c') diff --git a/src/csx.c b/src/csx.c index 73f8690..440d732 100644 --- a/src/csx.c +++ b/src/csx.c @@ -229,7 +229,7 @@ static void *lookup_frame(const char *name) { pair_data *frame = context->head; while (type(frame) == type_pair) { - if (!strcmp(head(frame->head), name)) return frame->head; + if (head(frame->head) == name) return frame->head; frame = frame->tail; } return null; -- cgit v1.2.3