summaryrefslogtreecommitdiff
path: root/include/ruby/internal/stdalign.h
diff options
context:
space:
mode:
authorMatt Valentine-House <matt@eightbitraptor.com>2023-10-05 20:41:41 +0100
committergit <svn-admin@ruby-lang.org>2023-10-06 12:21:03 +0000
commit7db4ce13ed051bc422c5db594bb41edbaeb1ae35 (patch)
treebeeea6a29e4a88fd696ef1ea106df57c872ce680 /include/ruby/internal/stdalign.h
parent723318f5d7a6475f69fc0d095a4149547b6050a3 (diff)
[ruby/prism] Introduce transparent scopes.
A transparent scope is a scope that cannot have local variables added to it's local table. When a local is added to it's table, it instead gets added to the first non-transparent parent scope. This is used in for loops to ensure the correct depth for local variables inside the body https://github.com/ruby/prism/commit/ddb8e82253 Co-Authored-By: Kevin Newton <kddnewton@gmail.com>
Diffstat (limited to 'include/ruby/internal/stdalign.h')
0 files changed, 0 insertions, 0 deletions