UNPKG

prism-react-editor

Version:

Lightweight, extensible code editor component for React apps

28 lines (27 loc) 1.13 kB
import { l as languages } from "../../index-k28m3HFc.js"; import { b as clikeString } from "../../patterns-Cp3h1ylA-DIMdJT1M.js"; languages.makefile = { "comment": /#(?:\\[^]|[^\\\n])*/, "string": clikeString(), "builtin-target": { pattern: /\.[A-Z][^:#=\s]+(?=\s*:(?!=))/, alias: "builtin" }, "target": { pattern: /^(?:[^:=\s]|[ ]+(?![\s:]))+(?=\s*:(?!=))/m, alias: "symbol", inside: { "variable": /\$+(?:(?!\$)[^(){}:#=\s]+|(?=[({]))/ } }, "variable": /\$+(?:(?!\$)[^(){}:#=\s]+|\([@*%<^+?][DF]\)|(?=[({]))/, // Directives "keyword": /-include\b|\b(?:define|else|endef|endif|export|ifn?def|ifn?eq|override|private|s?include|undefine|unexport|vpath)\b/, "function": { pattern: /(\()(?:abspath|addsuffix|and|basename|call|dir|error|eval|file|filter(?:-out)?|findstring|firstword|flavor|foreach|guile|if|info|join|lastword|load|notdir|or|origin|patsubst|realpath|shell|sort|strip|subst|suffix|value|warning|wildcard|word(?:list|s)?)(?=[ ])/, lookbehind: true }, "operator": /(?:::|[?:+!])?=|[|@]/, "punctuation": /[:;(){}]/ }; //# sourceMappingURL=makefile.js.map