Skip to content

Commit b6ea36d

Browse files
committed
Update syntax for Solidity 0.7.5
1 parent d60545d commit b6ea36d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

solidity.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ function hljsDefineSolidity(hljs) {
141141
excludeBegin: true,
142142
excludeEnd: true,
143143
keywords: {
144-
built_in: 'slot offset'
144+
built_in: 'slot offset length'
145145
},
146146
relevance: 2,
147147
};
@@ -343,8 +343,8 @@ function hljsDefineSolidity(hljs) {
343343
beginKeywords: 'pragma', end: ';',
344344
lexemes: SOL_LEXEMES_RE,
345345
keywords: {
346-
keyword: 'pragma solidity experimental',
347-
built_in: 'ABIEncoderV2 SMTChecker'
346+
keyword: 'pragma solidity experimental abicoder',
347+
built_in: 'ABIEncoderV2 SMTChecker v1 v2'
348348
},
349349
contains: [
350350
hljs.C_LINE_COMMENT_MODE,

0 commit comments

Comments
 (0)