Some checks failed
Build & Deploy / 🔍 Prepare (push) Successful in 20s
Build & Deploy / 🧪 QA (push) Failing after 34s
Build & Deploy / 🏗️ Build (push) Has started running
Build & Deploy / 🚀 Deploy (push) Has been cancelled
Build & Deploy / 🧪 Smoke Test (push) Has been cancelled
Build & Deploy / ⚡ Lighthouse (push) Has been cancelled
Build & Deploy / 🔔 Notify (push) Has been cancelled
31 lines
606 B
Plaintext
31 lines
606 B
Plaintext
Prism.languages['linker-script'] = {
|
|
'comment': {
|
|
pattern: /(^|\s)\/\*[\s\S]*?(?:$|\*\/)/,
|
|
lookbehind: true,
|
|
greedy: true
|
|
},
|
|
'identifier': {
|
|
pattern: /"[^"\r\n]*"/,
|
|
greedy: true
|
|
},
|
|
|
|
'location-counter': {
|
|
pattern: /\B\.\B/,
|
|
alias: 'important'
|
|
},
|
|
|
|
'section': {
|
|
pattern: /(^|[^\w*])\.\w+\b/,
|
|
lookbehind: true,
|
|
alias: 'keyword'
|
|
},
|
|
'function': /\b[A-Z][A-Z_]*(?=\s*\()/,
|
|
|
|
'number': /\b(?:0[xX][a-fA-F0-9]+|\d+)[KM]?\b/,
|
|
|
|
'operator': />>=?|<<=?|->|\+\+|--|&&|\|\||::|[?:~]|[-+*/%&|^!=<>]=?/,
|
|
'punctuation': /[(){},;]/
|
|
};
|
|
|
|
Prism.languages['ld'] = Prism.languages['linker-script'];
|