BNF correction: No >= or <= allowed in this spec

This commit is contained in:
Victor Fernandes 2017-02-21 14:54:07 -05:00
parent 3a0a477225
commit 6b6226bba9
1 changed files with 3 additions and 11 deletions

View File

@ -124,7 +124,7 @@
<string concatenation operator> -> one of <string concatenation operator> -> one of
<< <<
<relational operator> -> one of <relational operator> -> one of
> < == <> > < == <>
@ -255,16 +255,8 @@
#### 3.3.4 Relational Expression #### 3.3.4 Relational Expression
``` ```
<relational expression> -> <relational expression> ->
<primary a_relational expression> == <primary a_relational expression> <primary a_relational expression> <relational operator> <primary a_relational expression>
| <primary a_relational expression> <= <primary a_relational expression> | <primary s_relational expression> <relational operator> <primary s_relational expression>
| <primary a_relational expression> >= <primary a_relational expression>
| <primary a_relational expression> > <primary a_relational expression>
| <primary a_relational expression> < <primary a_relational expression>
| <primary s_relational expression> == <primary s_relational expression>
| <primary s_relational expression> <= <primary s_relational expression>
| <primary s_relational expression> >= <primary s_relational expression>
| <primary s_relational expression> > <primary s_relational expression>
| <primary s_relational expression> < <primary s_relational expression>
<primary a_relational expression> -> <primary a_relational expression> ->
<floating-point literal> <floating-point literal>