John Vandenberg has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/224379

Change subject: Map other assembler language to 'asm' or 'nasm'
......................................................................

Map other assembler language to 'asm' or 'nasm'

Add mappings for 6502acme, 6502tasm, 6502kickass,
68000devpac, dcpu16, m68k, mmix, mpasm, pic16, and z80.

Change-Id: If593f4ccbd158517824b6ceed43b7d6cf3b08080
---
M SyntaxHighlight_GeSHi.compat.php
1 file changed, 13 insertions(+), 1 deletion(-)


  git pull 
ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/SyntaxHighlight_GeSHi 
refs/changes/79/224379/1

diff --git a/SyntaxHighlight_GeSHi.compat.php b/SyntaxHighlight_GeSHi.compat.php
index 68d662e..6be48d0 100644
--- a/SyntaxHighlight_GeSHi.compat.php
+++ b/SyntaxHighlight_GeSHi.compat.php
@@ -25,6 +25,19 @@
 class GeSHi {
        /** @var array A mapping of GeSHi lexer names to compatible Pygments 
lexers. */
        public static $compatibleLexers = array(
+               // Assembler
+               'arm'       => 'asm',
+               '6502acme'  => 'asm',
+               '6502tasm'  => 'asm',
+               '6502kickass'=> 'asm',
+               '68000devpac'=> 'asm',
+               'dcpu16'    => 'asm',
+               'm68k'      => 'asm',
+               'mmix'      => 'nasm',
+               'mpasm'     => 'asm',
+               'pic16'     => 'asm',
+               'z80'       => 'asm',
+
                // BASIC
                'xbasic'    => 'basic',
                'thinbasic' => 'basic',
@@ -67,7 +80,6 @@
 
                // Miscellaneous
                'cadlisp'   => 'lisp',
-               'arm'       => 'asm',
                'j'         => 'objj',
                'java5'     => 'java',
                'php-brief' => 'php',

-- 
To view, visit https://gerrit.wikimedia.org/r/224379
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: If593f4ccbd158517824b6ceed43b7d6cf3b08080
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/SyntaxHighlight_GeSHi
Gerrit-Branch: master
Gerrit-Owner: John Vandenberg <jay...@gmail.com>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to