NASM lexer: Macros with whitespace before it are not recognized

Issue #1021 new
jonasc
created an issue

Hi,

as you can see in the following demo, macros not starting at the beginning of the line are not recognized by the NASMLexer and instead issue error tokens: http://pygments.org/demo/531755/

I've attached a little change (swapping whitespace and macro rules) which fixes this.

Comments (1)

  1. Log in to comment