mirror of
https://github.com/ProvableHQ/leo.git
synced 2024-12-25 11:12:48 +03:00
[ABNF] Fix rule for circuit declarations.
The identifier had been neglected.
This commit is contained in:
parent
b940ad01fc
commit
f93ed1b15f
@ -399,9 +399,10 @@ function-parameters = function-parameter *( "," function-parameter ) [ "," ]
|
||||
function-parameter = [ %s"public" / %s"constant" / %s"const" ]
|
||||
identifier ":" type
|
||||
|
||||
circuit-declaration = %s"circuit" "{" circuit-component-declaration
|
||||
*( "," circuit-component-declaration )
|
||||
[ "," ] "}"
|
||||
circuit-declaration = %s"circuit" identifier
|
||||
"{" circuit-component-declaration
|
||||
*( "," circuit-component-declaration )
|
||||
[ "," ] "}"
|
||||
|
||||
circuit-component-declaration = identifier ":" type
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user