UNPKG

prism-react-editor

Version:

Lightweight, extensible code editor component for React apps

24 lines (23 loc) 643 B
import { l as languages } from "../../index-k28m3HFc.js"; languages["ld"] = languages["linker-script"] = { "identifier": /"[^\n"]*"/, "comment": { pattern: /(^|\s)\/\*[^]*?(?:$|\*\/)/g, lookbehind: true, greedy: true }, "location-counter": { pattern: /\B\.\B/, alias: "important" }, "section": { pattern: /(^|[^\w*])\.\w+/, lookbehind: true, alias: "keyword" }, "function": /\b[A-Z][A-Z_]*(?=\s*\()/, "number": /\b(?:0[xX][a-fA-F\d]+|\d+)[KM]?\b/, "operator": /->|--|\+\+|&&|\|\||::|[?:~]|>>=?|<<=?|[%&|^!=<>/*+-]=?/, "punctuation": /[(){},;]/ }; //# sourceMappingURL=linker-script.js.map