mirror of
https://github.com/python/cpython.git
synced 2025-09-01 14:38:00 +00:00
Fix some incorrect indentation around the main switch (#98177)
The `}` marked with `/* End instructions */` is the end of the switch. There is another pair of `{}` around the switch, which is vestigial from ancient times when it was `for (;;) { switch (opcode) { ... } }`. All `DISPATCH` macro calls should be inside that pair.
This commit is contained in:
parent
5ecf961640
commit
f5d71073e6
1 changed files with 19 additions and 20 deletions
|
@ -1152,12 +1152,11 @@ handle_eval_breaker:
|
||||||
|
|
||||||
{
|
{
|
||||||
/* Start instructions */
|
/* Start instructions */
|
||||||
#if USE_COMPUTED_GOTOS
|
#if !USE_COMPUTED_GOTOS
|
||||||
{
|
|
||||||
#else
|
|
||||||
dispatch_opcode:
|
dispatch_opcode:
|
||||||
switch (opcode) {
|
switch (opcode)
|
||||||
#endif
|
#endif
|
||||||
|
{
|
||||||
|
|
||||||
/* BEWARE!
|
/* BEWARE!
|
||||||
It is essential that any operation that fails must goto error
|
It is essential that any operation that fails must goto error
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue