www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 22559] New: ImportC: support gnu case ranges


          Issue ID: 22559
           Summary: ImportC: support gnu case ranges
           Product: D
           Version: D2
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P1
         Component: dmd
          Assignee: nobody puremagic.com
          Reporter: dave287091 gmail.com

Gcc and clang have a case range extension for C which would map exactly to D’s
case range statements. See https://gcc.gnu.org/onlinedocs/gcc/Case-Ranges.html

I haven’t encountered any headers using this feature, but my personal C
programs use it as it is a nice extension.

Dec 02 2021