diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2025-10-19 23:45:50 -0400 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2025-10-19 23:45:50 -0400 |
| commit | 2230fadc3fb09bb21745a058f729b03c0515da2f (patch) | |
| tree | 9af89dfbc2c49328cf1e4a9acb847974dab4149d | |
| parent | 42447f4b68235b545cc0e1b91111079c155dc2f8 (diff) | |
Remove some unused imports and add missing comments
| -rw-r--r-- | src/parse/binops.c | 2 | ||||
| -rw-r--r-- | src/parse/expressions.c | 2 | ||||
| -rw-r--r-- | src/parse/files.c | 1 | ||||
| -rw-r--r-- | src/parse/suffixes.c | 1 | ||||
| -rw-r--r-- | src/parse/types.c | 2 |
5 files changed, 4 insertions, 4 deletions
diff --git a/src/parse/binops.c b/src/parse/binops.c index dd1ac3c2..ad3fff54 100644 --- a/src/parse/binops.c +++ b/src/parse/binops.c @@ -1,5 +1,5 @@ +// Parsing logic for binary operators #include <stdbool.h> -#include <string.h> #include "../ast.h" #include "../stdlib/util.h" diff --git a/src/parse/expressions.c b/src/parse/expressions.c index 5be48b89..b43e4f3a 100644 --- a/src/parse/expressions.c +++ b/src/parse/expressions.c @@ -11,12 +11,10 @@ #include "controlflow.h" #include "errors.h" #include "expressions.h" -#include "files.h" #include "functions.h" #include "numbers.h" #include "suffixes.h" #include "text.h" -#include "types.h" #include "utils.h" ast_t *parse_parens(parse_ctx_t *ctx, const char *pos) { diff --git a/src/parse/files.c b/src/parse/files.c index 2dbe0e8f..23e940e9 100644 --- a/src/parse/files.c +++ b/src/parse/files.c @@ -1,3 +1,4 @@ +// Parsing logic for parsing files #include <gc.h> #include <setjmp.h> diff --git a/src/parse/suffixes.c b/src/parse/suffixes.c index 7493a65d..85e20721 100644 --- a/src/parse/suffixes.c +++ b/src/parse/suffixes.c @@ -1,7 +1,6 @@ // Logic for parsing various suffixes that can go after an expression #include <stdbool.h> -#include <string.h> #include "../ast.h" #include "../stdlib/print.h" diff --git a/src/parse/types.c b/src/parse/types.c index 8ecc602e..2da0b5ff 100644 --- a/src/parse/types.c +++ b/src/parse/types.c @@ -1,3 +1,5 @@ +// Parsing logic for parsing type annotations + #include <stdarg.h> #include <stdbool.h> #include <string.h> |
