[fpc-devel] Proposal: Enhanced replacement for assignment operators

Alexander Klenin klenin at gmail.com
Fri Aug 6 17:21:07 CEST 2010


On Sat, Aug 7, 2010 at 01:50, Martin <fpc at mfriebe.de> wrote:
>  On 06/08/2010 15:45, Alexander Klenin wrote:
>
> I don't have a problem with "a mod b" => only with "a mod= b"
>
> mod is a keyword, it therefore follows the rule (as identifier)  that it
> consists of certain chars only (a-z, underscore, digits, but not leading)
>
> := += are symbols => they do not consist of said chars
>
> mod= is what exactly?

Whatever you would like it to be ;-)
Really, I can see how it may require a special case in the tokenizer,
but apart from that, who cares?
>From the syntax highlighting POV, it should IMO be a symbol,
like "mod" and "div".

-- 
Alexander S. Klenin



More information about the fpc-devel mailing list