Re: [fpc-pascal] IsValidIdent() with dots

2016-03-23 Thread Juha Manninen
On Wed, Mar 23, 2016 at 10:52 AM, Mattias Gaertner wrote: > FPC 3.1.1 has Ok, it cannot be used yet. I will make it conditional later. Thanks. Juha ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org

Re: [fpc-pascal] IsValidIdent() with dots

2016-03-23 Thread Mattias Gaertner
On Wed, 23 Mar 2016 10:28:15 +0200 Juha Manninen wrote: > Hi > > Is there a function like IsValidIdent but accepting also dots (.), > as in name "TForm1.Action1Execute"? FPC 3.1.1 has function IsValidIdent(const Ident: string; AllowDots: Boolean = False;

Re: [fpc-pascal] IsValidIdent() with dots

2016-03-23 Thread Michael Van Canneyt
On Wed, 23 Mar 2016, Juha Manninen wrote: Hi Is there a function like IsValidIdent but accepting also dots (.), as in name "TForm1.Action1Execute"? While fixing a bug: http://bugs.freepascal.org/view.php?id=25954 I copied and modified IsValidIdent. It was easy to do, sure, but I would

[fpc-pascal] IsValidIdent() with dots

2016-03-23 Thread Juha Manninen
Hi Is there a function like IsValidIdent but accepting also dots (.), as in name "TForm1.Action1Execute"? While fixing a bug: http://bugs.freepascal.org/view.php?id=25954 I copied and modified IsValidIdent. It was easy to do, sure, but I would prefer to reuse an existing function especialy