[committed] diagnostics: add line numbers to source (PR other/84889)

Joseph Myers joseph@codesourcery.com
Thu Aug 9 15:40:00 GMT 2018


On Thu, 9 Aug 2018, David Malcolm wrote:

> This patch adds a left margin to the lines of source (and annotations)
> printed by diagnostic_show_locus, so that e.g. rather than:

To confirm: if the lines contain tabs anywhere, will the code replace them 
by spaces when a margin is added to ensure that all lines really do get 
consistently indented by the same amount as part of adding the left 
margin?

-- 
Joseph S. Myers
joseph@codesourcery.com



More information about the Gcc-patches mailing list