gcc: Case Ranges

1 
1 6.28 Case Ranges
1 ================
1 
1 You can specify a range of consecutive values in a single 'case' label,
1 like this:
1 
1      case LOW ... HIGH:
1 
1 This has the same effect as the proper number of individual 'case'
1 labels, one for each integer value from LOW to HIGH, inclusive.
1 
1  This feature is especially useful for ranges of ASCII character codes:
1 
1      case 'A' ... 'Z':
1 
1  *Be careful:* Write spaces around the '...', for otherwise it may be
1 parsed wrong when you use it with integer values.  For example, write
1 this:
1 
1      case 1 ... 5:
1 
1 rather than this:
1 
1      case 1...5:
1