Keyword change const -> constant.

pull/1/head
Christian 10 years ago committed by chriseth
parent 7bafd0988f
commit fa993205e1
  1. 4
      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";

Loading…
Cancel
Save