From 89a34be0e13adf46cec9224f20271c3eca8487c6 Mon Sep 17 00:00:00 2001 From: Victorien Elvinger Date: Sat, 5 Dec 2015 00:08:46 +0100 Subject: [PATCH] Fix coma errors --- components/prism-eiffel.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/prism-eiffel.js b/components/prism-eiffel.js index da57cb04db..2ae04e4fdc 100644 --- a/components/prism-eiffel.js +++ b/components/prism-eiffel.js @@ -14,7 +14,7 @@ Prism.languages.eiffel = { '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/gi, 'boolean': /\b(?:True|False)\b/gi, // Convention: class-names are always all upper-case characters - 'class-name': /\b[A-Z][\dA-Z_]*\b/g + 'class-name': /\b[A-Z][\dA-Z_]*\b/g, 'number': [ // hexa | octal | bin /\b0[xcb][\da-f](?:_*[\da-f])*\b/ig, @@ -22,5 +22,5 @@ Prism.languages.eiffel = { /(?:\d(?:_*\d)*)?\.(?:(?:\d(?:_*\d)*)?[eE][+-]?)?\d(?:_*\d)*|\d(?:_*\d)*\.?/g ], 'punctuation': /:=|<<|>>|\(\||\|\)|->|\.(?=\w)|[{}[\];(),:?]/g, - 'operator': /\\\\|\|\.\.\||\.\.|\/[~\/]?|[><\/]=?|[-+*^=~]/g, + 'operator': /\\\\|\|\.\.\||\.\.|\/[~\/]?|[><\/]=?|[-+*^=~]/g };