bug-gawk
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Problematic syntax error format


From: Emanuele Torre
Subject: Re: Problematic syntax error format
Date: Mon, 13 Nov 2023 22:01:00 +0100
User-agent: Mutt/2.2.12 (2023-09-09)

On Mon, Nov 13, 2023 at 01:22:58PM -0700, arnold@skeeve.com wrote:
> Hello.
> 
> Thank you for taking the time to submit an issue.
> 
> 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:.

> In addition, it has been doing so for literally decades; changing it
> now would undoubtedly break things for other users.
> 

I guess you are right.

> 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

> 
> Best wishes,
> 
> Arnold

o/
 emanuele6



reply via email to

[Prev in Thread] Current Thread [Next in Thread]