GNU C allows the ellipsis (...) to be used in case statements to
indicate a range. However, it requires spaces around it to be valid.
Nindent stripped those off, put them back.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
switch (st->state) {
case st_init:
switch (ch) {
- case 1...5:
+ case 1 ... 5:
st->state = st_tbl;
st->parms[0] = ch;
break;
case 27:
st->reverse = 0;
break;
- case 30...37:
+ case 30 ... 37:
st->fg = ansi2pc[a - 30];
break;
case 38:
st->fg = 7;
st->underline = 0;
break;
- case 40...47:
+ case 40 ... 47:
st->bg = ansi2pc[a - 40];
break;
case 49:
case '*':
flags |= FL_SPLAT;
break;
- case '0'...'9':
+ case '0' ... '9':
width = (ch - '0');
state = st_width;
flags |= FL_WIDTH;