summaryrefslogtreecommitdiff
path: root/LICENSE
diff options
context:
space:
mode:
authorMatth?us G. Chajdas <dev@anteru.net>2019-06-22 21:01:26 +0200
committerMatth?us G. Chajdas <dev@anteru.net>2019-06-22 21:01:26 +0200
commitf8e695a96d367c513cad3c711d99161c9d65daa3 (patch)
tree4b124a4d2efad0256437517ecf5b4e228b87dbea /LICENSE
parent1e89285bd1264d9ca50b3385bb39b13c57f1c39b (diff)
downloadpygments-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