diff options
author | Preston Pan <preston@nullring.xyz> | 2023-01-04 12:03:26 -0800 |
---|---|---|
committer | Preston Pan <preston@nullring.xyz> | 2023-01-04 12:03:26 -0800 |
commit | 4fc423446c5f093483a4f20094904fa8b4ff88ba (patch) | |
tree | 54d07d80c6de6c661d8fa6397ccbdb3b9d97cbad /src/visitor.c | |
parent | 2fe28946e426e241e87e8381d7a62e73b9278385 (diff) |
parsing mostly works
Diffstat (limited to 'src/visitor.c')
-rw-r--r-- | src/visitor.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/visitor.c b/src/visitor.c index 3c28245..a6fc040 100644 --- a/src/visitor.c +++ b/src/visitor.c @@ -41,6 +41,7 @@ bool is_built_in(ast_t *e) { strcmp(cmp, "cons") == 0) return true; + /* Comparison functions */ if (strcmp(cmp, "<") == 0 || strcmp(cmp, ">") == 0 || strcmp(cmp, "=") == 0 || strcmp(cmp, "<=") == 0 || strcmp(cmp, ">=") == 0 || strcmp(cmp, "eq") == 0) |