Create scopes for switches/whiles/do-whiles
commitccc165107518922af1829afe31a246f775302e44
authorPetr Skocik <pskocik@gmail.com>
Sun, 5 Mar 2023 21:31:40 +0000 (5 22:31 +0100)
committerPetr Skocik <pskocik@gmail.com>
Sun, 5 Mar 2023 21:31:40 +0000 (5 22:31 +0100)
tree2d7d4371535c0c24365cb37005e71ec663368a3f
parent29ae3ed4d5b83eec43598d6cd7949bccb41c8083
Create scopes for switches/whiles/do-whiles

The C standard has required this since at least C99.
A new scope should also be created for ifs, but that's currently
breaking tests2/122_vla_reuse.
tccgen.c
tests/tests2/129_scopes.c [new file with mode: 0644]
tests/tests2/129_scopes.expect [new file with mode: 0644]