document GPR#234: Allow ``[]`` as a user-defined constructor
parent
e92e57d456
commit
7715890db2
|
@ -44,7 +44,7 @@ record-decl:
|
|||
'{' field-decl { ';' field-decl } [';'] '}'
|
||||
;
|
||||
constr-decl:
|
||||
(constr-name || '()') [ 'of' constr-args ]
|
||||
(constr-name || '[]' || '(::)') [ 'of' constr-args ]
|
||||
;
|
||||
constr-args:
|
||||
typexpr { '*' typexpr }
|
||||
|
|
Loading…
Reference in New Issue