make agreed upon changes

This commit is contained in:
gluaxspeed 2021-10-25 06:43:09 -07:00
parent a34f36b9c1
commit 8600c13dd3

View File

@ -47,11 +47,11 @@ postfix-expression = primary-expression
/ postfix-expression "[" [expression] ".." [expression] "]"
; Also need to add a new static member variable declaration rule to allow for static constant members.
static-member-variable-declarations = static identifier ":" type = literal ";"
member-constant-declaration = %s"static" %s"const" identifier ":" type = literal ";"
; We then need to modify the circuit declartion rule.
circuit-declaration = %s"circuit" identifier
"{" [ static-member-variable-declarations ]
"{" *member-constant-declaration
[ member-variable-declarations ]
*member-function-declaration "}"
```