mirror of
				https://github.com/ethereum/solidity
				synced 2023-10-03 13:03:40 +00:00 
			
		
		
		
	Merge pull request #4569 from ethereum/grammar-assembly
Update grammar.txt for inline assembly
This commit is contained in:
		
						commit
						bc13365a7b
					
				| @ -154,8 +154,9 @@ Ufixed = 'ufixed' | ( 'ufixed' [0-9]+ 'x' [0-9]+ ) | ||||
| 
 | ||||
| InlineAssemblyBlock = '{' AssemblyItem* '}' | ||||
| 
 | ||||
| AssemblyItem = Identifier | FunctionalAssemblyExpression | InlineAssemblyBlock | AssemblyLocalBinding | AssemblyAssignment | AssemblyLabel | NumberLiteral | StringLiteral | HexLiteral | ||||
| AssemblyLocalBinding = 'let' Identifier ':=' FunctionalAssemblyExpression | ||||
| AssemblyAssignment = ( Identifier ':=' FunctionalAssemblyExpression ) | ( '=:' Identifier ) | ||||
| AssemblyItem = Identifier | FunctionalAssemblyExpression | InlineAssemblyBlock | AssemblyVariableDeclaration | AssemblyAssignment | AssemblyLabel | NumberLiteral | StringLiteral | HexLiteral | ||||
| AssemblyExpression = Identifier | FunctionalAssemblyExpression | NumberLiteral | StringLiteral | HexLiteral | ||||
| AssemblyVariableDeclaration = 'let' Identifier ':=' AssemblyExpression | ||||
| AssemblyAssignment = ( Identifier ':=' AssemblyExpression ) | ( '=:' Identifier ) | ||||
| AssemblyLabel = Identifier ':' | ||||
| FunctionalAssemblyExpression = Identifier '(' AssemblyItem? ( ',' AssemblyItem )* ')' | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user