Skip to content

[BUG] .set option in macro can incorrectly parse #12

Description

@blloyd75

Bug Description

Steps to Reproduce

  1. Create a small macro in an assembly file
    .macro saverestore2regs reg1:req, reg2:req, mode:req, size:req
    .set .Lcfa_offset, \size+\size
    .if \mode < 2
    .endif
    .endm

Expected Behavior

the .if should be the usual purplish color

Actual Behavior

the .if is white

Screenshots

Easy to replicate

Environment

  • OS: Windows 11
  • ArmLS Version: 0.16.0

Additional Context

It appears that macro parameters break this.

Logs/Error Messages

  • I have searched for existing bug reports
  • I have included all relevant information

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions