This commit is contained in:
FlightControl
2018-10-20 12:42:00 +02:00
commit b20fa48c68
921 changed files with 997850 additions and 0 deletions
+33
View File
@@ -0,0 +1,33 @@
/*
Language: BackusNaur Form
Author: Oleg Efimov <efimovov@gmail.com>
*/
function(hljs){
return {
contains: [
// Attribute
{
className: 'attribute',
begin: /</, end: />/
},
// Specific
{
begin: /::=/,
starts: {
end: /$/,
contains: [
{
begin: /</, end: />/
},
// Common
hljs.C_LINE_COMMENT_MODE,
hljs.C_BLOCK_COMMENT_MODE,
hljs.APOS_STRING_MODE,
hljs.QUOTE_STRING_MODE
]
}
}
]
};
}