From fa993205e12358b9e763ed74da2372761088d54b Mon Sep 17 00:00:00 2001 From: Christian Date: Wed, 7 Jan 2015 09:54:47 +0100 Subject: [PATCH] Keyword change const -> constant. --- mode-solidity.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mode-solidity.js b/mode-solidity.js index 79f26dd3db..f9bd8f76d4 100644 --- a/mode-solidity.js +++ b/mode-solidity.js @@ -63,12 +63,12 @@ var JavaScriptHighlightRules = function(options) { "variable.language": "this|bool|address|" + intTypes, "keyword": - "contract|const|" + + "contract|constant|" + "struct|mapping|break|continue|delete|else|for|function|" + "if|new|return|returns|var|while|" + "private|public", "storage.type": - "const|var|function", + "constant|var|function", "constant.language.boolean": "true|false" }, "identifier"); var kwBeforeRe = "case|do|else|finally|in|instanceof|return|throw|try|typeof|yield|void";