mirror of
https://github.com/ProvableHQ/leo.git
synced 2024-12-25 11:12:48 +03:00
changes abnf grammar
This commit is contained in:
parent
9bef8611e8
commit
ab50d81473
@ -678,8 +678,10 @@ tuple-type = "(" [ type 1*( "," type ) ] ")"
|
||||
|
||||
array-type = "[" type ";" array-dimensions "]"
|
||||
|
||||
array-dimensions = natural
|
||||
/ "(" natural *( "," natural ) ")"
|
||||
array-dimension = natural / "_"
|
||||
|
||||
array-dimensions = array-dimension
|
||||
/ "(" array-dimension *( "," array-dimension ) ")"
|
||||
|
||||
; Scalar and the remaining types form all the types.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user