Page 1 of 1

new 7.3 command editor

Posted: September 17th, 2019, 5:36 pm
by AriSilva
The compiler detects the errors, but the editor is pointing to different lines.
Or the line numbers are wrong.
Please look at the picture.
The errors are in lines 903 and 905, but the red dots are in 888 and 890.

Re: new 7.3 command editor

Posted: September 18th, 2019, 6:04 pm
by aaronw
The line numbers of syntax errors aren't always exact. At the worst they are close, and we are working to improve them.

Re: new 7.3 command editor

Posted: September 19th, 2019, 9:00 am
by Gregory Martin
Are you using a beta version of 7.3? There was a problem with line numbers not matching in an early version but we thought that we fixed it for the final release. If you're using the released version, can you send us this application and we'll fix it.

Re: new 7.3 command editor

Posted: September 19th, 2019, 6:58 pm
by AriSilva
Attached.
In order to reproduce the error, change the function name liberarReserva() in line 912 to anything.
It might be related to count (or not) commented lines or lines in commented blocks {}

Re: new 7.3 command editor

Posted: September 20th, 2019, 9:48 am
by Gregory Martin
You're right that this is still an error. The issue is that all of the comments before PROC GLOBAL aren't getting added to the line count. If they're removed, the line numbers are correct.

We'll fix this for the next release.