0

Update to 8.0

This commit is contained in:
Rogaboru Kujimoshi
2014-06-08 21:04:39 +04:00
parent 81d0115677
commit a52831ccdb
134 changed files with 10392 additions and 4999 deletions

View File

@@ -0,0 +1,49 @@
/*
Language: Makefile
Author: Ivan Sagalaev <maniac@softwaremaniacs.org>
*/
function(hljs) {
var VARIABLE = {
className: 'variable',
begin: /\$\(/, end: /\)/,
contains: [hljs.BACKSLASH_ESCAPE]
};
return {
aliases: ['mk', 'mak'],
contains: [
hljs.HASH_COMMENT_MODE,
{
begin: /^\w+\s*\W*=/, returnBegin: true,
relevance: 0,
starts: {
className: 'constant',
end: /\s*\W*=/, excludeEnd: true,
starts: {
end: /$/,
relevance: 0,
contains: [
VARIABLE
]
}
}
},
{
className: 'title',
begin: /^[\w]+:\s*$/
},
{
className: 'phony',
begin: /^\.PHONY:/, end: /$/,
keywords: '.PHONY', lexemes: /[\.\w]+/
},
{
begin: /^\t+/, end: /$/,
contains: [
hljs.QUOTE_STRING_MODE,
VARIABLE
]
}
]
};
}