Error messages like this
error no.4:No such variable on line 892 (reported by my error handler)
are helpful, but it would be even more helpful if they could have access to the name of the missing variable, which I assume has to be known. Especially as sometimes it does not seem to be a valid complaint.
error messages to specify missing variable
- cicciocb
- Site Admin
- Posts: 2101
- Joined: Mon Feb 03, 2020 1:15 pm
- Location: Toulouse
- Has thanked: 450 times
- Been thanked: 1389 times
- Contact:
Re: error messages to specify missing variable
Yes I understand the point and I'll try to implement this.
Eventually I could just return the position, on the line, where the error is detected (i.e. No such variable on line 892:22 for an error at the position 22)
Eventually I could just return the position, on the line, where the error is detected (i.e. No such variable on line 892:22 for an error at the position 22)