Commit c8909ddd authored by Benjamin Peterson's avatar Benjamin Peterson

break out switch at correct place

parent 205ad613
......@@ -822,8 +822,8 @@ PyAST_FromNode(const node *n, PyCompilerFlags *flags, const char *filename,
}
res = Interactive(stmts, arena);
break;
}
break;
default:
PyErr_Format(PyExc_SystemError,
"invalid node %d for PyAST_FromNode", TYPE(n));
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment