We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f4d5e2f commit 8a859deCopy full SHA for 8a859de
1 file changed
PrismSharp.SourceGenerator/prismjs/prism-nasm.js
@@ -5,6 +5,11 @@
5
// The 'instruction' token is intentionally last as a catch-all for any
6
// unmatched word — in this format, that's always a mnemonic.
7
Prism.languages.nasm = {
8
+ // Annotations: "; MethodName()" or "; module.dll+0x1234"
9
+ 'comment': {
10
+ pattern: /;.*/,
11
+ greedy: true
12
+ },
13
// Address at line start: "000A ", "0032 ".
14
// PrismSharp's JS→C# pipeline strips regex flags (toJSON returns .source only),
15
// so /m doesn't work. Instead, use lookbehind with (^|\n) to anchor to line start.
0 commit comments