mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Allow builtins as yul identifier paths in antlr grammar.
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user