forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitf69ff0c
committed
Give 'a_expr ::= a_expr Op' production a slightly lower precedence than
Op, so that the sequence 'a_expr Op Op a_expr' will be parsed asa_expr Op (Op a_expr) not (a_expr Op) Op a_expr as formerly. In otherwords, prefer treating user-defined operators as prefix operators totreating them as postfix operators, when there is an ambiguity.Also clean up a couple of other infelicities in production priorityassignment --- for example, BETWEEN wasn't being given the intendedpriority, but that of AND.1 parentedfca4b commitf69ff0c
1 file changed
+9
-9
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
| 14 | + | |
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| |||
383 | 383 | | |
384 | 384 | | |
385 | 385 | | |
| 386 | + | |
386 | 387 | | |
387 | 388 | | |
388 | 389 | | |
389 | | - | |
390 | | - | |
| 390 | + | |
391 | 391 | | |
392 | 392 | | |
393 | 393 | | |
394 | 394 | | |
395 | | - | |
| 395 | + | |
396 | 396 | | |
397 | 397 | | |
398 | 398 | | |
| |||
4355 | 4355 | | |
4356 | 4356 | | |
4357 | 4357 | | |
4358 | | - | |
| 4358 | + | |
4359 | 4359 | | |
4360 | 4360 | | |
4361 | 4361 | | |
| |||
4463 | 4463 | | |
4464 | 4464 | | |
4465 | 4465 | | |
4466 | | - | |
| 4466 | + | |
4467 | 4467 | | |
4468 | 4468 | | |
4469 | 4469 | | |
4470 | 4470 | | |
4471 | 4471 | | |
4472 | | - | |
| 4472 | + | |
4473 | 4473 | | |
4474 | 4474 | | |
4475 | 4475 | | |
| |||
4529 | 4529 | | |
4530 | 4530 | | |
4531 | 4531 | | |
4532 | | - | |
| 4532 | + | |
4533 | 4533 | | |
4534 | 4534 | | |
4535 | 4535 | | |
| |||
4591 | 4591 | | |
4592 | 4592 | | |
4593 | 4593 | | |
4594 | | - | |
| 4594 | + | |
4595 | 4595 | | |
4596 | 4596 | | |
4597 | 4597 | | |
| |||
0 commit comments
Comments
(0)