[ABNF] Fix rule for conditional expressions.

The test of the expression should have been a disjunctive expression. This was
an oversight when the rules were written.
This commit is contained in:
Alessandro Coglio 2021-08-16 18:06:27 -07:00
parent 8f7485977a
commit 80e2b14c8c

View File

@ -871,7 +871,7 @@ disjunctive-expression = conjunctive-expression
; Finally we have conditional expressions. ; Finally we have conditional expressions.
conditional-expression = disjunctive-expression conditional-expression = disjunctive-expression
/ conditional-expression / disjunctive-expression
"?" expression "?" expression
":" conditional-expression ":" conditional-expression