pycparser
pycparser copied to clipboard
Empty case statements
Hello, similarly to https://github.com/eliben/pycparser/issues/528, PyCParser does not accept case statements that do not have statements while GCC does.
Example:
int main() {
int i = 0;
switch (i) {
case 0:
i = 1;
case 1:
}
return i;
}
Is it possible for me to do a pull request with this feature?
Thank you in advance.
Yes, please go ahead and create a PR