Skip to content

(armasm) Line comments do not seem to be handled correctly #2408

Description

@memmam

I was referred to make this bug report by Discord support after seeing this behavior in Discord, which uses highlight.js.

When highlighting ARM assembly, # comments and // comments are not treated as comments but instead as live code. This leads to incorrect highlighting that can span the entirety of the code, see the included screenshot.

Example (from Discord)

Activity

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

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions