mirror of
https://github.com/ProvableHQ/leo.git
synced 2024-11-23 23:23:50 +03:00
Merge branch 'record-type' of https://github.com/AleoHQ/leo into record-type
This commit is contained in:
commit
389b4692aa
@ -96,6 +96,7 @@ keyword = %s"address"
|
||||
/ %s"in"
|
||||
/ %s"let"
|
||||
/ %s"public"
|
||||
/ %s"record"
|
||||
/ %s"return"
|
||||
/ %s"scalar"
|
||||
/ %s"string"
|
||||
@ -393,8 +394,13 @@ circuit-declaration = %s"circuit" "{" circuit-component-declaration
|
||||
|
||||
circuit-component-declaration = identifier ":" type
|
||||
|
||||
record-declaration = %s"record" "{" circuit-component-declaration
|
||||
*( "," circuit-component-declaration )
|
||||
[ "," ] "}"
|
||||
|
||||
declaration = function-declaration
|
||||
/ circuit-declaration
|
||||
/ record-declaration
|
||||
|
||||
file = *declaration
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user