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

Brian G brian at westwoodsvcs.com
Sat Feb 6 03:28:57 CET 2021


There are no tokens there fore one needs to writer a parser..... There is already one there
--
Thanks
Brian Friday, 05 February 2021, 05:47PM -08:00 from Bruce  adamnt42 at gmail.com :

>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
>
>----[  http://gambaswiki.org/wiki/doc/netiquette ]----
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20210206/63b69015/attachment-0001.htm>


More information about the User mailing list