News:

PROTON pic BASIC Compilers for PIC, PIC24, dsPIC33

Main Menu

Labels starting with underscore not recognized

Started by trastikata, Jun 03, 2021, 11:56 AM

Previous topic - Next topic

trastikata

Hello John,

It seems that Positron Studio is not recognizing labels starting with an underscore. I was wondering if this is a bug because in Proton IDE I often used labels starting with an underline and it worked.

Regards

JohnB

It will recognise Labels containing and underscore but not starting with an underscore.  I recall somewhere in my distant memory labels were not permitted to start with a number of underscore.  If that is not the case now I will amend my RegEx's to accommodate an underscore.  They are allowed and supported by Studio of Variables and other identifiers.
JohnB