summaryrefslogtreecommitdiffhomepage
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorJo-Philipp Wich <jo@mein.io>2021-03-31 10:07:04 +0200
committerJo-Philipp Wich <jo@mein.io>2021-03-31 12:11:02 +0200
commit97bf297aebaca893734edc5d90a225479494c218 (patch)
treee38835ca0566911bd9313eeb98f21aa0aca5e5e2 /CMakeLists.txt
parentf0e2a6494b7553a89611bd7062459071119dae3c (diff)
compiler: ensure that alternative if/for/while syntax has own block scope
The `if ...: endif`, `for ...: endfor`, `while ...: endwhile` etc. syntax statements are supposed to have their own lexical scope, like curly brace blocks in normal statements. Without this, local variable declarations within such blocks would incorrectly shift stack offsets for the remainder of the program. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'CMakeLists.txt')
0 files changed, 0 insertions, 0 deletions