Allow builtins as yul identifier paths in antlr grammar.

This commit is contained in:
Daniel Kirchner
2022-01-17 18:42:54 +01:00
parent 7b58afa94c
commit 2d0f6278bb
3 changed files with 11 additions and 1 deletions
+1 -1
View File
@@ -564,7 +564,7 @@ yulFunctionDefinition:
* While only identifiers without dots can be declared within inline assembly,
* paths containing dots can refer to declarations outside the inline assembly block.
*/
yulPath: YulIdentifier (YulPeriod YulIdentifier)*;
yulPath: YulIdentifier (YulPeriod (YulIdentifier | YulEVMBuiltin))*;
/**
* A call to a function with return values can only occur as right-hand side of an assignment or
* a variable declaration.