If this sequence of characters is inserted anywhere in a .GCB file:
"//*
it no longer finds the symbols.
Message: No symbols found in document xxxxxx.gcb
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Another test, but, this works as expected - as this is a comment.
//*
I will need an example source program to reproduce.
Also, I am using Program compiled by GCBASIC (1.01.00 2023-08-06 (Windows 64 bit) : Build 1260) for Microchip MPASM/MPLAB-X Assembler using FreeBASIC 1.07.1/2023-08-08 CRC29 - are you on the latest GCSTUDIO build?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
The error is from the editor and not the compiler.
(Sorry, I made a mistake in posting the question on the forum).
It shows up in the explorer window and doesn't show me the structure of the listing, so no variables, routines or #defines.
For example this line:
"// For serial reading"
positioned in any point of the listing it prevents the vision.
The sequence " // " makes the comment brighter in the program listing.
(The character * after // is not seen...)
This piece of code is enough to see the problem.
The program structure is not visible in the GCStudio editor.
If instead they delete the line (just delete the * symbol) the structure will be visible.
(line 414)
Fix ready on the Dev Preview Channel, please test. It works on my end.
The symbol provider now checks if a rem block start (//*) are inside of a string.
NOTE: if you add a string like this: "// a text for serial console" symbols will be present; but if you simply add // outside of a string it will be treated as a rem block start and you MUST close it.
Angel
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
If this sequence of characters is inserted anywhere in a .GCB file:
"//*
it no longer finds the symbols.
Message: No symbols found in document xxxxxx.gcb
Thanks.
Help me reproduce.
Issues "Missing closing double quote in Table source" - which is odd but not the error you are getting.
Another test, but, this works as expected - as this is a comment.
I will need an example source program to reproduce.
Also, I am using Program compiled by GCBASIC (1.01.00 2023-08-06 (Windows 64 bit) : Build 1260) for Microchip MPASM/MPLAB-X Assembler using FreeBASIC 1.07.1/2023-08-08 CRC29 - are you on the latest GCSTUDIO build?
The error is from the editor and not the compiler.
(Sorry, I made a mistake in posting the question on the forum).
It shows up in the explorer window and doesn't show me the structure of the listing, so no variables, routines or #defines.
For example this line:
"// For serial reading"
positioned in any point of the listing it prevents the vision.
The sequence " // " makes the comment brighter in the program listing.
(The character * after // is not seen...)
Last edit: jackjames 2023-08-13
Post or send me the GCB source. Thanks.
Post or send me the GCB source. Thanks.
This piece of code is enough to see the problem.
The program structure is not visible in the GCStudio editor.
If instead they delete the line (just delete the * symbol) the structure will be visible.
(line 414)
Last edit: jackjames 2023-08-13
Thank you for reporting and the same code.
@angel-spartan - this is an issue in GCCODE. This is probably within GCBlanguage-configuration.json
Fix ready on the Dev Preview Channel, please test. It works on my end.
The symbol provider now checks if a rem block start (//*) are inside of a string.
NOTE: if you add a string like this: "// a text for serial console" symbols will be present; but if you simply add // outside of a string it will be treated as a rem block start and you MUST close it.
Angel
The test is OK.
It's Ok for me.
Great news.
Great job Angel!!!!