-
Notifications
You must be signed in to change notification settings - Fork 208
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Switch case with ranges #1055
Comments
This isn't a bug per se, but a reasonable enhancement request--we don't yet support this nonstandard extension to C. I hadn't realized this extension existed, but it seems widely supported (by GCC, Clang, and Sun's compilers at least) so it might be worth handling. Doing so would involve checking |
thanks for checking |
Is it a bug that case with a range is not translated correctly?
here is a c code example
switch(5) {
case 3 … 7 : print(“1”);
default: print(“2”);
}
The text was updated successfully, but these errors were encountered: