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

Brian G brian at westwoodsvcs.com
Sat Feb 6 02:00:30 CET 2021


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

----- Original Message -----
From: "Benoît Minisini" <g4mba5 at gmail.com>
To: "Gambas mailing list" <user at lists.gambas-basic.org>
Sent: Thursday, February 4, 2021 5:28:02 PM
Subject: Re: [Gambas-user] Can INCLUDE be parsed as a key word

Le 05/02/2021 à 02:03, Brian G a écrit :
> It may be hard to change now as many people may already be using it. I 
> will just parse for it. No issues
> 
> --
> Thanks
> Brian

No, you can continue to support INCLUDE as a deprecated feature (by 
printing a warning eventually if you encounter it). But Only '#Include' 
will be supported by the Gambas parser.

-- 
Benoît Minisini

----[ http://gambaswiki.org/wiki/doc/netiquette ]----


More information about the User mailing list