CYScope scope;
scope.parent_ = context.scope_;
context.scope_ = &scope;
-
statements_ = statements_->ReplaceAll(context);
-
context.scope_ = scope.parent_;
-
scope.Scope(context, statements_);
size_t offset(0);
}
void CYScope::Scope(CYContext &context, CYStatement *&statements) {
+ if (parent_ == NULL)
+ return;
+
CYDeclarations *last(NULL), *curr(NULL);
IdentifierOffsets offsets;