trailing comma in circuit construction expression

This commit is contained in:
gluax 2021-04-14 16:19:55 -04:00
parent 124235c15d
commit bd9297499e

View File

@ -756,7 +756,7 @@ array-expression = array-construction
; so they are syntactically identical but semantically different.
circuit-construction = circuit-type "{"
circuit-inline-element *( "," circuit-inline-element )
circuit-inline-element *( "," circuit-inline-element ) [ "," ]
"}"
circuit-inline-element = identifier ":" expression / identifier