[fpc-devel] class abstract, class sealed implementation. please review.

Michael Van Canneyt michael at freepascal.org
Mon Oct 19 10:36:40 CEST 2009



On Mon, 19 Oct 2009, Jonas Maebe wrote:

>
> On 17 Oct 2009, at 08:22, Paul Ishenin wrote:
>
>> Alexander Klenin wrote:
>>> 3) This patch introduces new keyword -- what about backwards
>>> compatibility? The code like:
>>> type T = class sealed: Boolean; end;
>>> will stop compiling after the patch. Maybe it is better to use another 
>>> syntax?
>>> 
>> Same with any other keywords. If we want to compile delphi projects then we 
>> need to support delphi syntax.
>
> Are they real keywords in Delphi? E.g., a lot of modifiers such as "default" 
> and "register" are not keywords. You can perfectly declare variables of 
> procedures with these names.

Modifiers are never keywords in Delphi.

Michael.



More information about the fpc-devel mailing list