|
From: | John W. Eaton |
Subject: | [Octave-bug-tracker] [bug #57239] errors in multiline constructs show incorrect line numbers |
Date: | Mon, 2 Dec 2019 15:16:35 -0500 (EST) |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Firefox/68.0 |
Follow-up Comment #4, bug #57239 (project octave): I don't think it's too hard to do. We probably need to store more info for each parse tree element. Currently we store a single line and column pair. We may need to store the beginning and ending location and we need to attach that to each token and tree object. Then I think we should be able to display the correct line and column info for any error. I've also noticed some incorrect column info, either off by one errors or problems with incrementing and storing in the wrong order. _______________________________________________________ Reply to this item at: <https://savannah.gnu.org/bugs/?57239> _______________________________________________ Message sent via Savannah https://savannah.gnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |