summaryrefslogtreecommitdiff
path: root/tests/test_whiley.py
diff options
context:
space:
mode:
authorMatth?us G. Chajdas <dev@anteru.net>2019-05-21 18:30:17 +0200
committerMatth?us G. Chajdas <dev@anteru.net>2019-05-21 18:30:17 +0200
commit8202e648945351366bd0c465d72953fae40f4783 (patch)
tree404d0eab5b44e68a20c61c2b0b85771007da7223 /tests/test_whiley.py
parentdcbf0c89d9ff12723d21410104b40739689e7afd (diff)
downloadpygments-8202e648945351366bd0c465d72953fae40f4783.tar.gz
Fix directive parsing in NasmLexer (fixes #1517.)
Directives were parsed independent of whitespace after them, which caused the cpuid instruction to be parsed as CPU & id, instead of cpuid. We now expect a whitespace character after a directive, which seems to match the Nasm documentation.
Diffstat (limited to 'tests/test_whiley.py')
0 files changed, 0 insertions, 0 deletions