[tcljava-user] Error lines and errorInfo in jacl
Brought to you by:
mdejong
From: Jared H. <ho...@mo...> - 2008-06-04 14:48:59
|
So I see the open bug about reporting error line numbers in jacl. How do people work around this right now? I also see the $errorInfo variable being set in jacl, which would be useful if the error line numbers could be trusted. Unfortunately, any backslash newline continuations earlier in the file cause the line number here to be reported incorrectly (because these are parsed out before the error line is calculated). It seems to me that instead of parsing out the backslash-newlines they should be treated as a different type of token that is ignored for most purposes except for computing line numbers. I'm not fully versed enough in jacl to do the code changes yet, but does anyone have any thoughts on this issue? Maybe I should send this to the tcljava-dev mailing list. -Jared |