Skip to content
This repository was archived by the owner on Oct 2, 2020. It is now read-only.
This repository was archived by the owner on Oct 2, 2020. It is now read-only.

Token Highlighting in Assembler Error Reports Highlights Wrong Token #1

@joebobmiles

Description

@joebobmiles

Noticed that when running tests to check error reporting that the token highlighting is off. If the token being highlighted is the first token on a line, the highlight starts at the second character of the token. If it's any but the first token, the highlight starts too early. These seem to be simple one off errors, but I haven't dove into the code yet to figure out why.

In addition to the highlight start issue, the highlight doesn't highlight the whole token, it only highlights one character. I think I know why this is happening, the suspect being our clever (for the sake of being clever) printf() format string trick we picked up from StackOverflow.

Metadata

Metadata

Assignees

Labels

bugSomething isn't workinggood first issueGood for newcomers

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions