diff options
author | Leo Tenenbaum <pommicket@gmail.com> | 2020-02-04 18:04:05 -0500 |
---|---|---|
committer | Leo Tenenbaum <pommicket@gmail.com> | 2020-02-04 18:04:05 -0500 |
commit | fa91b896505f2c35e35ddcb7b1fb61bf0eb6f815 (patch) | |
tree | 3c0b97c55251d6f6a741c09c6a9b81b1000f78bc /scope.c | |
parent | 3350b49826dcdf046835ec70a954122e1c21855d (diff) |
namespaces seem to be working now
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; } |