georgjz / motorola-68k-assembly

A Language Extension for VS Code that adds syntax highlighting for the Motorola 68k and its variants. Supports multiple assemblers.
MIT License
10 stars 0 forks source link

Things get highlighted inside strings #21

Closed flamewing closed 3 years ago

flamewing commented 3 years ago

For example, in this fragment:

    dc.b    "Unhandled trap #0,d0 was triggered"

trap and d0 appear highlighted. This happens for all grammars. I noticed this in my debugger. Size specifiers (.b, .w, .l, .s) are also highlighted inside strings.

georgjz commented 3 years ago

I had that one before; it's because I moved the code for registers into a common file as to inject them into all grammars (instead of having duplicate code in all grammars). Seems like I'll have to roll that back.

georgjz commented 3 years ago

Should work again now. Gonna give the Z80 injection a shot next.