diff options
Diffstat (limited to 'scope.c')
-rw-r--r-- | scope.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -65,7 +65,7 @@ static bool block_enter(Block *b, Statement *stmts, U16 flags) { Declaration *decl = &stmt->decl; if (!add_ident_decls(b, decl, flags)) ret = false; - } else if (stmt->kind == STMT_INCLUDE) { + } else if ((stmt->flags & STMT_TYPED) && stmt->kind == STMT_INCLUDE) { if (!block_enter(b, stmt->inc.stmts, flags)) return false; } |