Skip to content

local vars: clear-only variable tables should appear before long comments #179

Description

@micahcowan

(Minor enhancement)

Currently, when an empty, clearing variable table occurs on the same line as a long comment, you see something like:

a7ba: 38           @secAndRts      sec
a7bb: 60                           rts

                   ; clears carry if A is alphanumeric, sets otherwise
                   • Clear variables

a7bc: c9 30        IsAlNum         cmp     #$30                    ; < '0' (punctuation, or control chars)?
a7be: 90 fa                        bcc     @secAndRts
a7c0: c9 3a                        cmp     #$3a                    ; digit?

In such instances, I'd prefer the "Clear variables" remark appears above, as it has more to do with "ending" the variable table above it, than beginning something below, and can easily be lost amongst the comment if someone is searching for where the vars stop applying.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions