Your Name 1912bcd25b
Some checks failed
Lint / build (20) (push) Has been cancelled
Playwright Tests / test (push) Has been cancelled
chore: sync all remaining local workspace changes
2026-05-08 11:26:57 +08:00

38 lines
1.3 KiB
JavaScript

/*
* Extracted from browser-delivered Turbopack chunk: 939e07c76f4b30f0.294c1bf0d6.js
* Module id: 568945
* For reading/searching only; this factory depends on the original Turbopack runtime.
*/
const moduleFactory = (e, t, i) => {
"use strict";
function r(e) {
e.languages.nasm = {
comment: /;.*$/m,
string: /(["'`])(?:\\.|(?!\1)[^\\\r\n])*\1/,
label: {
pattern: /(^\s*)[A-Za-z._?$][\w.?$@~#]*:/m,
lookbehind: !0,
alias: "function",
},
keyword: [
/\[?BITS (?:16|32|64)\]?/,
{ pattern: /(^\s*)section\s*[a-z.]+:?/im, lookbehind: !0 },
/(?:extern|global)[^;\r\n]*/i,
/(?:CPU|DEFAULT|FLOAT).*$/m,
],
register: {
pattern:
/\b(?:st\d|[xyz]mm\d\d?|[cdt]r\d|r\d\d?[bwd]?|[er]?[abcd]x|[abcd][hl]|[er]?(?:bp|di|si|sp)|[cdefgs]s)\b/i,
alias: "variable",
},
number:
/(?:\b|(?=\$))(?:0[hx](?:\.[\da-f]+|[\da-f]+(?:\.[\da-f]+)?)(?:p[+-]?\d+)?|\d[\da-f]+[hx]|\$\d[\da-f]*|0[oq][0-7]+|[0-7]+[oq]|0[by][01]+|[01]+[by]|0[dt]\d+|(?:\d+(?:\.\d+)?|\.\d+)(?:\.?e[+-]?\d+)?[dt]?)\b/i,
operator: /[\[\]*+\-\/%<>=&|$!]/,
};
}
(t.exports = r), (r.displayName = "nasm"), (r.aliases = []);
};
export default moduleFactory;