Commit 58ec50b
authored
Fix location for multivalue rules with generated bodies (#7129)
Since there is no body, the location of the head is a better option
than simply using the fist scanned token for location.
Fixes #7128
Signed-off-by: Anders Eknert <[email protected]>1 parent 555fe84 commit 58ec50b
2 files changed
+25
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
780 | 780 | | |
781 | 781 | | |
782 | 782 | | |
| 783 | + | |
| 784 | + | |
783 | 785 | | |
784 | 786 | | |
785 | 787 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4112 | 4112 | | |
4113 | 4113 | | |
4114 | 4114 | | |
| 4115 | + | |
| 4116 | + | |
| 4117 | + | |
| 4118 | + | |
| 4119 | + | |
| 4120 | + | |
| 4121 | + | |
| 4122 | + | |
| 4123 | + | |
| 4124 | + | |
| 4125 | + | |
| 4126 | + | |
| 4127 | + | |
| 4128 | + | |
| 4129 | + | |
| 4130 | + | |
| 4131 | + | |
| 4132 | + | |
| 4133 | + | |
| 4134 | + | |
| 4135 | + | |
| 4136 | + | |
| 4137 | + | |
4115 | 4138 | | |
4116 | 4139 | | |
4117 | 4140 | | |
| |||
0 commit comments