This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

case ranges in C++ (extension)


Hi Mark,

GCC up to 3.3 accepted this:

  switch (i) {
    case 1 ... 10: /* bla */
  }

also in C++.  This extension was dropped with the new parser.  I don't
know if knowingly, but at least I don't find any deprecation messages.  C
still accepts it.  Would reimplementing this be accepted?


Ciao,
Michael.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]