Skip to content

[BUG] Instruction misparsed and causes later lines to miscolor #11

Description

@blloyd75

Bug Description

Steps to Reproduce

  1. Open an assembly file.
  2. Add the following to the start of the file.
    .macro test_it TESTING:req
    .endm
  3. Note how .macro and .endm are blue.
  4. Add the following line above .macro
    .file 1 FILE
  5. Note how the .file is blue and now .macro is white
  6. Add ;: immediately below .file for .macro to again colorize blue.

Expected Behavior

Assembly lines should not cause later assembly lines to colorize differently.

Actual Behavior

Adding .file line causes later lines to colorize differently when it is added.

Screenshots

Environment

  • OS: Windows 11
  • ArmLS Version: 0.14.2

Additional Context

Possible Solution (Optional)

Without sources to the language server, a solution is difficult to suggest.

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