]> git.ipfire.org Git - thirdparty/vala.git/commit
parser: Better handling of misplaced switch sections
authorRico Tzschichholz <ricotz@ubuntu.com>
Tue, 2 Nov 2021 12:22:00 +0000 (13:22 +0100)
committerRico Tzschichholz <ricotz@ubuntu.com>
Tue, 2 Nov 2021 12:22:00 +0000 (13:22 +0100)
commit2215b53bdfa1d95e54e8363bd53e0ff834950ece
tree6f2b5987412250725b2ae97e3adc4ea9bb9e0de9
parentc655e653fce25f44cf10b2fbed564aadcff7235f
parser: Better handling of misplaced switch sections

Fixes https://gitlab.gnome.org/GNOME/vala/issues/1246
tests/Makefile.am
tests/parser/switch-section-outside-switch.test [new file with mode: 0644]
vala/valaparser.vala
vala/valaswitchsection.vala