Typecheck inline C code
This commit is contained in:
parent
975185c5df
commit
8f5a40b944
@ -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));
|
||||
|
Loading…
Reference in New Issue
Block a user