mirror of
https://github.com/ProvableHQ/leo.git
synced 2024-11-24 07:48:04 +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"in"
|
||||||
/ %s"let"
|
/ %s"let"
|
||||||
/ %s"public"
|
/ %s"public"
|
||||||
|
/ %s"record"
|
||||||
/ %s"return"
|
/ %s"return"
|
||||||
/ %s"scalar"
|
/ %s"scalar"
|
||||||
/ %s"string"
|
/ %s"string"
|
||||||
@ -393,8 +394,13 @@ circuit-declaration = %s"circuit" "{" circuit-component-declaration
|
|||||||
|
|
||||||
circuit-component-declaration = identifier ":" type
|
circuit-component-declaration = identifier ":" type
|
||||||
|
|
||||||
|
record-declaration = %s"record" "{" circuit-component-declaration
|
||||||
|
*( "," circuit-component-declaration )
|
||||||
|
[ "," ] "}"
|
||||||
|
|
||||||
declaration = function-declaration
|
declaration = function-declaration
|
||||||
/ circuit-declaration
|
/ circuit-declaration
|
||||||
|
/ record-declaration
|
||||||
|
|
||||||
file = *declaration
|
file = *declaration
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user