diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2024-02-25 17:43:52 -0500 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2024-02-25 17:43:52 -0500 |
| commit | 8f5a40b9445fa319f4855cba69e7a795de845307 (patch) | |
| tree | 74706d8fbc2e37be2c8dbe4ea6f5cd33f8948cb3 | |
| parent | 975185c5df6efff1c99f1951ee332220639cf958 (diff) | |
Typecheck inline C code
| -rw-r--r-- | typecheck.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/typecheck.c b/typecheck.c index 15e230e8..a83ba144 100644 --- a/typecheck.c +++ b/typecheck.c @@ -643,7 +643,7 @@ type_t *get_type(env_t *env, ast_t *ast) } case While: case For: return Type(VoidType); - + case InlineCCode: return Type(VoidType); case Unknown: code_err(ast, "I can't figure out the type of: %W", ast); } code_err(ast, "I can't figure out the type of: %s", ast_to_str(ast)); |
