Skip to content

Commit

Permalink
Merge pull request #61 from JoranHonig/pr/cancun
Browse files Browse the repository at this point in the history
feat(solidity): cancun support
  • Loading branch information
JoranHonig authored May 26, 2024
2 parents 46d266b + 44b8859 commit 2243dd9
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion grammar.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// Precedence is used by the parser to determine which rule to apply when there are two rules that can be applied.
// We use the PREC dict to globally define rule pprecidence
// We use the PREC dict to globally define rule precedence
const PREC = {
COMMENT: 1,
STRING: 2,
Expand Down Expand Up @@ -441,6 +441,9 @@ module.exports = grammar({
'keccak256',
'pop',
'mload',
'mcopy',
'tload',
'tstore',
'mstore',
'mstore8',
'sload',
Expand Down Expand Up @@ -479,6 +482,9 @@ module.exports = grammar({
'origin',
'gasprice',
'blockhash',
'blobhash',
'basefee',
'blobfee',
'coinbase',
'timestamp',
'number',
Expand Down

0 comments on commit 2243dd9

Please sign in to comment.