mirror of
https://github.com/compiler-explorer/compiler-explorer.git
synced 2026-12-02 18:28:21 -06:00
Fix bad asm highlighting
This commit is contained in:
+1
-1
@@ -37,7 +37,7 @@ CodeMirror.defineMode("asm", function () {
|
||||
};
|
||||
}
|
||||
|
||||
var x86_32regName = /[re]?(ax|bx|cx|dx|si|di|bp|ip|sp)/;
|
||||
var x86_32regName = /\b[re]?(ax|bx|cx|dx|si|di|bp|ip|sp)\b/;
|
||||
var x86_64regName = /r[\d]+[d]?/;
|
||||
var x86_xregName = /[xy]mm\d+/;
|
||||
var x86_keywords = /PTR|BYTE|[DQ]?WORD|XMMWORD|YMMWORD/;
|
||||
|
||||
Reference in New Issue
Block a user