[fpc-pascal] IsValidIdent() and identifiers escaped with &
Jürgen Hestermann
juergen.hestermann at gmx.de
Sun Feb 5 23:09:33 CET 2017
Am 2017-02-05 um 20:26 schrieb Sven Barth:
>
> > Is that a valid identifier?
> > Here
> > http://wiki.lazarus.freepascal.org/Identifiers
> > it says:
> > Rules for identifiers:
> > Must begin with a letter from the English alphabet or an underscore (_).
> > Can be followed by alphanumeric characters (alphabetic characters and numerals), or the underscore (_).
> > May not contain special characters, such as:
> >
> > ~ ! @ # $ % ^ & * ( ) + ` - = { } [ ] : " ; ' < > ? , . / | \
>
> http://freepascal.org/docs-html/current/ref/refse4.html#x16-150001.4
>
Strange!
Why was it added to use reserved words as an identifier?
What is the use of that?
It seems http://wiki.lazarus.freepascal.org/Identifiers needs an update too.
More information about the fpc-pascal
mailing list