Skip to content

Commit 6add768

Browse files
authoredNov 22, 2021
Eiffel: Removed non-standard use of builtin name (#3198)
1 parent 336edee commit 6add768

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed
 

‎components/prism-eiffel.js

+1-4
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,7 @@ Prism.languages.eiffel = {
2222
'keyword': /\b(?:across|agent|alias|all|and|as|assign|attached|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,
2323
'boolean': /\b(?:False|True)\b/i,
2424
// Convention: class-names are always all upper-case characters
25-
'class-name': {
26-
'pattern': /\b[A-Z][\dA-Z_]*\b/,
27-
'alias': 'builtin'
28-
},
25+
'class-name': /\b[A-Z][\dA-Z_]*\b/,
2926
'number': [
3027
// hexa | octal | bin
3128
/\b0[xcb][\da-f](?:_*[\da-f])*\b/i,

‎components/prism-eiffel.min.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)
Please sign in to comment.