Skip to content

Commit

Permalink
Update ceylon.js to new class names
Browse files Browse the repository at this point in the history
  • Loading branch information
isagalaev committed Oct 20, 2015
1 parent a369dd1 commit 450a8c5
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions src/languages/ceylon.js
Expand Up @@ -16,7 +16,6 @@ function(hljs) {
// 7.4.2 Documentation
var DOCUMENTATION =
'doc by license see throws tagged';
var LANGUAGE_ANNOTATIONS = DECLARATION_MODIFIERS + ' ' + DOCUMENTATION;
var SUBST = {
className: 'subst', excludeBegin: true, excludeEnd: true,
begin: /``/, end: /``/,
Expand Down Expand Up @@ -54,16 +53,16 @@ function(hljs) {

return {
keywords: {
keyword: KEYWORDS,
annotation: LANGUAGE_ANNOTATIONS
keyword: KEYWORDS + ' ' + DECLARATION_MODIFIERS,
meta: DOCUMENTATION
},
illegal: '\\$[^01]|#[^0-9a-fA-F]',
contains: [
hljs.C_LINE_COMMENT_MODE,
hljs.COMMENT('/\\*', '\\*/', {contains: ['self']}),
{
// compiler annotation
className: 'annotation',
className: 'meta',
begin: '@[a-z]\\w*(?:\\:\"[^\"]*\")?'
}
].concat(EXPRESSIONS)
Expand Down

0 comments on commit 450a8c5

Please sign in to comment.