[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Problematic syntax error format
From: |
arnold |
Subject: |
Re: Problematic syntax error format |
Date: |
Tue, 14 Nov 2023 00:41:59 -0700 |
User-agent: |
Heirloom mailx 12.5 7/5/10 |
Hi.
> > Gawk is following the GNU Coding Standards in the format
> > of its messages. See
> > https://www.gnu.org/prep/standards/standards.html#Errors.
>
> Hmm, to be fair, GNU Awk is printing
>
> program: filename:location: message
>
> but that page only specifies
>
> program:filename:location: message
> program: message
>
> either without filename:location: or without the space between program:
> and filename:location:.
You're probably right, but again, it's too late in the game to change it.
> > I suspect that Vim can be customized to understand a different format
> > of output for its :make command; please check its help and perhaps
> > do some Internet searching.
>
> Well, yes, I guess I could add some custom error formats for GNU awk
>
> :let &efm = 'awk: %f:%l: %m,gawk: %f:%l: %m,' . &efm
That looks like it might work.
Best wishes,
Arnold