Re: Fortran: Add range-based diagnostic

2024-10-18 Thread Jerry D
On 10/18/24 3:35 PM, Tobias Burnus wrote: This patch was motivated by David's talk at Cauldron – and by getting rather bad locations for some diagnostics, where I wanted to use the column number to ensure that all items are found. The main problem was a missing gobbling of spaces, but still rang

Fortran: Add range-based diagnostic

2024-10-18 Thread Tobias Burnus
idea whether it helps or not. Presumably not. Fortran: Add range-based diagnostic GCC's diagnostic engine gained a while ago support for ranges, i.e. instead of pointing at a single character '^', it can also have a '^~' range. This patch adds support for this and add