Patrick,

A similar proposal has just been accepted for encoding/csv:

encoding/csv: add the ability to get the line number of a record #44221
https://github.com/golang/go/issues/44221

Peter

On Saturday, April 17, 2021 at 12:45:11 PM UTC-4 Patrick wrote:

> I have my own programming language (a bit similar to XSLT) and the XML can 
> be valid but there still might be an error such as an uninitialised 
> variable. I'd like to present feedback to the user on which line the error 
> occurred.
>
> I am thinking about opening an issue on GitHub and providing a (simple) 
> patch.
>
> Patrick
>

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/golang-nuts/f6b131fa-4231-4bd8-bbb7-d23806039adfn%40googlegroups.com.

Reply via email to