diff options
Diffstat (limited to 'decls_cgen.c')
-rw-r--r-- | decls_cgen.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/decls_cgen.c b/decls_cgen.c index d9ba325..7e91e2a 100644 --- a/decls_cgen.c +++ b/decls_cgen.c @@ -188,6 +188,10 @@ static bool cgen_decls_block(CGenerator *g, Block *b) { } static bool cgen_decls_decl(CGenerator *g, Declaration *d) { + if (d->flags & DECL_FOREIGN) { + /* TODO */ + return true; + } if (!cgen_decls_type(g, &d->type)) return false; if (cgen_fn_is_direct(g, d)) { |