Commit 76ad898
committed
Fix MAP literals parsing
- Fixes apache#2204
- Make map_field parsing aware of Colon token.
- This regression was likely introduced in apache#2124
- Added some tests for this.
- Not sure how the existing tests are passing, but I have verified
that the new tests catch this bug (they fail without the fix).1 parent e4c5500 commit 76ad898
2 files changed
+55
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3503 | 3503 | | |
3504 | 3504 | | |
3505 | 3505 | | |
3506 | | - | |
| 3506 | + | |
| 3507 | + | |
3507 | 3508 | | |
3508 | 3509 | | |
3509 | 3510 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13584 | 13584 | | |
13585 | 13585 | | |
13586 | 13586 | | |
| 13587 | + | |
| 13588 | + | |
| 13589 | + | |
| 13590 | + | |
13587 | 13591 | | |
13588 | 13592 | | |
13589 | 13593 | | |
| |||
13648 | 13652 | | |
13649 | 13653 | | |
13650 | 13654 | | |
| 13655 | + | |
| 13656 | + | |
| 13657 | + | |
| 13658 | + | |
| 13659 | + | |
| 13660 | + | |
| 13661 | + | |
| 13662 | + | |
| 13663 | + | |
| 13664 | + | |
| 13665 | + | |
| 13666 | + | |
| 13667 | + | |
| 13668 | + | |
| 13669 | + | |
| 13670 | + | |
| 13671 | + | |
| 13672 | + | |
| 13673 | + | |
| 13674 | + | |
| 13675 | + | |
| 13676 | + | |
| 13677 | + | |
| 13678 | + | |
| 13679 | + | |
| 13680 | + | |
| 13681 | + | |
| 13682 | + | |
| 13683 | + | |
| 13684 | + | |
| 13685 | + | |
| 13686 | + | |
| 13687 | + | |
| 13688 | + | |
| 13689 | + | |
| 13690 | + | |
| 13691 | + | |
| 13692 | + | |
| 13693 | + | |
| 13694 | + | |
| 13695 | + | |
| 13696 | + | |
| 13697 | + | |
| 13698 | + | |
| 13699 | + | |
| 13700 | + | |
| 13701 | + | |
| 13702 | + | |
| 13703 | + | |
13651 | 13704 | | |
13652 | 13705 | | |
13653 | 13706 | | |
| |||
0 commit comments