diff options
author | Aleksey Veresov <aleksey@veresov.pro> | 2021-01-10 02:37:23 +0300 |
---|---|---|
committer | Aleksey Veresov <aleksey@veresov.pro> | 2021-01-10 02:37:23 +0300 |
commit | ea1cd66193d64bb1cd56c24f0db011eadbf558e6 (patch) | |
tree | 9447d65fc7c31833842dcb8564a45a60c9ec2c14 /src | |
parent | a0f273300aec59d31eb332e531efd8249fc67f20 (diff) | |
download | csx-ea1cd66193d64bb1cd56c24f0db011eadbf558e6.tar csx-ea1cd66193d64bb1cd56c24f0db011eadbf558e6.tar.xz csx-ea1cd66193d64bb1cd56c24f0db011eadbf558e6.zip |
Optimizations + human-readable translator output.
Diffstat (limited to 'src')
-rw-r--r-- | src/csx.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; |