Skip to content

Wrap some multi-line macros in do { ... } while(0) in {codegen,compile}.c #120017

Closed
@picnixz

Description

@picnixz

Feature or enhancement

Proposal:

Follow-up from the following observation (I'm sending a PR just after):

There are similar patterns in compile.c, maybe it is also worth taking a look? 🤔

Originally posted by @sobolevn in #119981 (comment)

Has this already been discussed elsewhere?

No response given

Links to previous discussion of this feature:

No response

Linked PRs

Metadata

Metadata

Assignees

No one assigned

    Labels

    interpreter-core(Objects, Python, Grammar, and Parser dirs)type-featureA feature request or enhancement

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions