summaryrefslogtreecommitdiff
path: root/pyssg.xyz/live/static/hl/languages/bnf.min.js
blob: 2a91672f793b2d15a9ff3d23c108082201660b51 (plain)
1
2
3
4
5
hljs.registerLanguage("bnf",(()=>{"use strict";return e=>({
name:"Backus\u2013Naur Form",contains:[{className:"attribute",begin:/</,end:/>/
},{begin:/::=/,end:/$/,contains:[{begin:/</,end:/>/
},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]
}]})})());