Skip to content

Commit

Permalink
Merge branch 'working' of https://github.com/Conaclos/prism into Cona…
Browse files Browse the repository at this point in the history
…clos-working
  • Loading branch information
Golmote committed Sep 9, 2017
2 parents 4e67562 + 39f48c9 commit cd03587
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions components/prism-eiffel.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,11 @@ Prism.languages.eiffel = {
'char': /'(?:%'|.)+?'/,
'keyword': /\b(?:across|agent|alias|all|and|attached|as|assign|attribute|check|class|convert|create|Current|debug|deferred|detachable|do|else|elseif|end|ensure|expanded|export|external|feature|from|frozen|if|implies|inherit|inspect|invariant|like|local|loop|not|note|obsolete|old|once|or|Precursor|redefine|rename|require|rescue|Result|retry|select|separate|some|then|undefine|until|variant|Void|when|xor)\b/i,
'boolean': /\b(?:True|False)\b/i,
// Convention: class-names are always all upper-case characters
'class-name': {
'pattern': /\b[A-Z][\dA-Z_]*\b/g,
'alias': 'builtin'
},
'number': [
// hexa | octal | bin
/\b0[xcb][\da-f](?:_*[\da-f])*\b/i,
Expand Down

0 comments on commit cd03587

Please sign in to comment.