Commit 937aa1d
committed
Preserve for loop expression location after doDecl call
Restore currentLoc and currentExpLoc after the doDecl call in the FOR statement handler to prevent the increment expression from inheriting the initialization location.1 parent 7797529 commit 937aa1d
1 file changed
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6864 | 6864 | | |
6865 | 6865 | | |
6866 | 6866 | | |
| 6867 | + | |
| 6868 | + | |
6867 | 6869 | | |
6868 | 6870 | | |
6869 | 6871 | | |
| |||
0 commit comments