]> git.ipfire.org Git - thirdparty/vala.git/commit
parser: Accept comma-separated list in case-statements of switchs
authorJukka-Pekka Iivonen <jp0409@jippii.fi>
Fri, 26 Mar 2010 14:12:00 +0000 (15:12 +0100)
committerRico Tzschichholz <ricotz@ubuntu.com>
Wed, 13 Dec 2017 21:12:54 +0000 (22:12 +0100)
commit1a1d042d969a93393bf9a7064c943ccd0ec00fc1
treeac6fb9d461f85b05fd4bef6b3edf30d55b80b889
parent32b35098583703f25e600eebd3e628c433e39c4c
parser: Accept comma-separated list in case-statements of switchs

  switch (i) {
  case 0, 1, 2:
    break;
  }

https://bugzilla.gnome.org/show_bug.cgi?id=614015
tests/Makefile.am
tests/parser/switch-statement.vala [new file with mode: 0644]
vala/valaparser.vala