[Gambas-user] Can INCLUDE be parsed as a key word

Bruce adamnt42 at gmail.com
Sat Feb 6 02:44:04 CET 2021


On 6/2/21 11:50 am, Brian G wrote:
> Any line that start with a #, every symbol in the line gets the type of highlight.preprocessor
> 
> Thank You
> Brian G
> 
> ----- Original Message -----
> From: "Benoît Minisini" <g4mba5 at gmail.com>
> To: "Gambas mailing list" <user at lists.gambas-basic.org>
> Sent: Friday, February 5, 2021 5:16:44 PM
> Subject: Re: [Gambas-user] Can INCLUDE be parsed as a key word
> 
> Le 06/02/2021 à 02:00, Brian G a écrit :
>> Using #include is pretty difficult as the evaluator marks everything on the line as highlight.preprocessor and adds a space between everything except sometime it does not!.
>>
>> I don't think this is a good way to do it as I now have to write a parser for the # lines!
>>
>> Thank You
>> Brian G
>>
> 
> Besides "#Include" not yet included in the list of keywords, I don't
> know what you are talking about.
> 

Sounds logical to me. All the line is a preprocessor instruction.
b


More information about the User mailing list