Am 09.03.2011 02:17, schrieb Paul Ishenin:
>> 4. The syntax that was introduced by Borland is not very pascalish in my
>> opinion. So I'd like to change the syntax for mode ObjFPC a bit (sadly
>> this won't simplify the parser anymore because of the Delphi
>> compatibility).
>>
>> Delphi syntax:
>>
>> TypeIdentifier = class|record helper(ParentHelper) for ExtendedType
>>
>> Proposed FPC syntax:
>>
>> TypeIdentifier = helper(ParentHelper) for class|record ExtendedType
>>
>> What do you think? Maybe also the "class|record" part can be left out,
>> because this part is not saved in the objectdef and can be determined by
>> the compiler automatically.
> 
> I always think that if there is no need to create an incompatibility -
> better to not create it. 

For me it's one of the "implementor decides" cases :)
_______________________________________________
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply via email to