[ABNF] merge #1752

This commit is contained in:
Eric McCarthy 2022-04-19 11:59:22 -07:00
parent 447e50f8b4
commit ac005628fe
2 changed files with 16 additions and 6 deletions

View File

@ -668,13 +668,21 @@ disjunctive-expression = conjunctive-expression
Go to: _[conjunctive-expression](#user-content-conjunctive-expression), [disjunctive-expression](#user-content-disjunctive-expression)_;
<a name="conditional-expression"></a>
<a name="binary-expression"></a>
```abnf
conditional-expression = disjunctive-expression
/ disjunctive-expression "?" expression ":" expression
binary-expression = disjunctive-expression
```
Go to: _[disjunctive-expression](#user-content-disjunctive-expression), [expression](#user-content-expression)_;
Go to: _[disjunctive-expression](#user-content-disjunctive-expression)_;
<a name="conditional-expression"></a>
```abnf
conditional-expression = binary-expression
/ binary-expression "?" expression ":" expression
```
Go to: _[binary-expression](#user-content-binary-expression), [expression](#user-content-expression)_;
<a name="expression"></a>

View File

@ -271,8 +271,10 @@ conjunctive-expression = equality-expression
disjunctive-expression = conjunctive-expression
/ disjunctive-expression "||" conjunctive-expression
conditional-expression = disjunctive-expression
/ disjunctive-expression "?" expression ":" expression
binary-expression = disjunctive-expression
conditional-expression = binary-expression
/ binary-expression "?" expression ":" expression
expression = conditional-expression