new 7.3 command editor

Discussions about editing and cleaning data
Post Reply
AriSilva
Posts: 263
Joined: July 22nd, 2016, 3:55 pm

new 7.3 command editor

Post by AriSilva » September 17th, 2019, 5:36 pm

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.
Attachments
compiler.PNG
compiler.PNG (35.18 KiB) Viewed 110 times
Best
Ari

aaronw
Posts: 208
Joined: June 9th, 2016, 9:38 am
Location: Washington, DC

Re: new 7.3 command editor

Post by aaronw » September 18th, 2019, 6:04 pm

The line numbers of syntax errors aren't always exact. At the worst they are close, and we are working to improve them.

Gregory Martin
Posts: 1211
Joined: December 5th, 2011, 11:27 pm
Location: Washington, DC

Re: new 7.3 command editor

Post by Gregory Martin » September 19th, 2019, 9:00 am

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.

AriSilva
Posts: 263
Joined: July 22nd, 2016, 3:55 pm

Re: new 7.3 command editor

Post by AriSilva » September 19th, 2019, 6:58 pm

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 {}
Attachments
TCA_40_Menu.zip
(40.22 KiB) Downloaded 2 times
Best
Ari

Gregory Martin
Posts: 1211
Joined: December 5th, 2011, 11:27 pm
Location: Washington, DC

Re: new 7.3 command editor

Post by Gregory Martin » September 20th, 2019, 9:48 am

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.

Post Reply