mirror of
https://github.com/ProvableHQ/leo.git
synced 2024-12-26 11:45:00 +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-type = "[" type ";" array-dimensions "]"
|
||||||
|
|
||||||
array-dimensions = natural
|
array-dimension = natural / "_"
|
||||||
/ "(" natural *( "," natural ) ")"
|
|
||||||
|
array-dimensions = array-dimension
|
||||||
|
/ "(" array-dimension *( "," array-dimension ) ")"
|
||||||
|
|
||||||
; Scalar and the remaining types form all the types.
|
; Scalar and the remaining types form all the types.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user