changes abnf grammar

This commit is contained in:
damirka 2021-09-03 14:36:55 +03:00
parent 9bef8611e8
commit ab50d81473

View File

@ -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.