Hacker News new | past | comments | ask | show | jobs | submit login

What is the "..." operator? I have never seen that before. I can't find any references to it. Is that a macro specific to this project? [I checked the post above, but it doesn't match this source code exactly (and doesn't have ... as an operator).]



It's a GNU extension that lets you define ranges in switch statements' cases: https://gcc.gnu.org/onlinedocs/gcc/Case-Ranges.html




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: