Mark List::append/insert deprecated in favor of push_back/push_front for consistency with Queue

This commit is contained in:
Tim Wojtulewicz 2019-07-19 14:53:01 -07:00 committed by Jon Siwek
parent d2d5043bf0
commit 6144f459e1
39 changed files with 221 additions and 211 deletions

View file

@ -194,13 +194,13 @@ ID* install_ID(const char* name, const char* module_name,
void push_existing_scope(Scope* scope)
{
scopes.append(scope);
scopes.push_back(scope);
}
void push_scope(ID* id, attr_list* attrs)
{
top_scope = new Scope(id, attrs);
scopes.append(top_scope);
scopes.push_back(top_scope);
}
Scope* pop_scope()