Greg Ewing <greg at cosc.canterbury.ac.nz> writes: > Hunter Peress <hunterp at fastmail.fm>: > >> a[1] + b[2] + c[3]...currently gives an error message that doesnt say >> which variable the list index error occurs in or at which index it occurs >> at > > This would be considerably improved if the error message could > just point out the position in the line instead of just the line > number. Any ideas how to do that? I guess you could obfuscate c_lnotab even more... > Especially when a statement spans more than one line -- currently > you can't even tell which line of a multi-line statement was the > culprit! This is occasionally very annoying, and is probably fixable -- would require pretty serious compiler hackery, though. Cheers, mwh -- 3. Syntactic sugar causes cancer of the semicolon. -- Alan Perlis, http://www.cs.yale.edu/homes/perlis-alan/quotes.html
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4