Method: AdLint::Cc1::FunctionTable#leave_scope

Defined in:
lib/adlint/cc1/object.rb

#leave_scopeObject



1113
1114
1115
1116
1117
1118
# File 'lib/adlint/cc1/object.rb', line 1113

def leave_scope
  @functions.pop.each_value do |fun|
    @memory_pool.free(fun.binding.memory)
  end
  @scope_stack.pop
end