blob: 3cb79a52f0b66ca9d81f31b2440597d87bc7975a (
plain)
1
2
3
4
5
6
7
8
|
Prism.languages.gcode = {
comment: /;.*|\B\(.*?\)\B/,
string: { pattern: /"(?:""|[^"])*"/, greedy: !0 },
keyword: /\b[GM]\d+(?:\.\d+)?\b/,
property: /\b[A-Z]/,
checksum: { pattern: /(\*)\d+/, lookbehind: !0, alias: 'number' },
punctuation: /[:*]/,
};
|