Ensure that case labels are always printed with the same indentation as their switch.
authorChristoph Mallon <christoph.mallon@gmx.de>
Tue, 27 Mar 2012 11:09:09 +0000 (13:09 +0200)
committerChristoph Mallon <christoph.mallon@gmx.de>
Tue, 27 Mar 2012 11:26:33 +0000 (13:26 +0200)
commit63db10af327d68a92cbcf66f3f6d2baf2f409ce7
treeea10a1fd5c69539c191c5dc6e76c9f4bad279668
parentb5f55d5face51dc750428d3303b96c044e3a6e01
Ensure that case labels are always printed with the same indentation as their switch.

Now we print
  switch (x) {
  case 0:
   if (y) {
  case 1:
   f();
   }
  }
instead of
  switch (x) {
  case 0:
   if (y) {
   case 1:
   f();
   }
  }
ast.c