diff options
author | Matth?us G. Chajdas <dev@anteru.net> | 2019-06-22 21:01:26 +0200 |
---|---|---|
committer | Matth?us G. Chajdas <dev@anteru.net> | 2019-06-22 21:01:26 +0200 |
commit | f8e695a96d367c513cad3c711d99161c9d65daa3 (patch) | |
tree | 4b124a4d2efad0256437517ecf5b4e228b87dbea /LICENSE | |
parent | 1e89285bd1264d9ca50b3385bb39b13c57f1c39b (diff) | |
download | pygments-f8e695a96d367c513cad3c711d99161c9d65daa3.tar.gz |
Make the NasmLexer the default for *.asm.
NASM is much more popular than TASM, but get_lexer_for_filename('.asm') would
return TASM. Resolved by changing the NASM priority to 1, and adding an
analyse_text implementation to both NasmLexer and TasmLexer to help resolve
which one to use (PROC should be fairly common in TASM code.)
Diffstat (limited to 'LICENSE')
0 files changed, 0 insertions, 0 deletions