Re: [fpc-pascal] generic, specialize keywords in mode delphi in FPC trunk

2011-04-14 Thread Sven Barth

Am 14.04.2011 09:43, schrieb Paul Ishenin:

14.04.2011 15:13, Sven Barth wrote:

Ok, thanks. I created a branch here:
http://svn.freepascal.org/cgi-bin/viewvc.cgi/branches/svenbarth/generics/


Yes, but please wait with the start :) First you need to read generics
related threads on the core list. There were some unsolved problems on
which I stoped my work.


And here I thought I could jump into the cold water :P

Where can I access the core list archive?

Regards,
Sven
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


Re: [fpc-pascal] generic, specialize keywords in mode delphi in FPC trunk

2011-04-14 Thread Paul Ishenin

14.04.2011 15:13, Sven Barth wrote:

Ok, thanks. I created a branch here:
http://svn.freepascal.org/cgi-bin/viewvc.cgi/branches/svenbarth/generics/


Yes, but please wait with the start :) First you need to read generics 
related threads on the core list. There were some unsolved problems on 
which I stoped my work.


Best regards,
Paul Ishenin.
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


Re: [fpc-pascal] generic, specialize keywords in mode delphi in FPC trunk

2011-04-14 Thread Sven Barth

Am 14.04.2011 00:07, schrieb Paul Ishenin:

13.04.2011 21:51, Sven Barth wrote:

Would you mind if I'd try to continue/finish that work?


Please do.


Ok, thanks. I created a branch here:
http://svn.freepascal.org/cgi-bin/viewvc.cgi/branches/svenbarth/generics/

Regards,
Sven


___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


Re: [fpc-pascal] generic, specialize keywords in mode delphi in FPC trunk

2011-04-13 Thread Paul Ishenin

13.04.2011 21:51, Sven Barth wrote:

Would you mind if I'd try to continue/finish that work?


Please do.

Best regards,
Paul Ishenin
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


Re: [fpc-pascal] generic, specialize keywords in mode delphi in FPC trunk

2011-04-13 Thread Sven Barth

Am 12.04.2011 00:05, schrieb Paul Ishenin:

12.04.2011 4:22, cobines wrote:

Hello.

Following program:

program a;
{$mode delphi}
type
generic TGen = class end;
TSpc = specialize TGen;
begin
end.

compiles with FPC 2.4.2, but not with 2.5.1 rev. 17306:

a.pas(4,11) Fatal: Syntax error, "=" expected but "identifier TGEN" found
a.pas(5,21) Error: Identifier not found "specialize"
a.pas(5,21) Error: Error in type definition
a.pas(5,21) Fatal: Syntax error, ";" expected but "identifier TGEN" found

"generic" and "specialize" are not allowed in delphi mode in 2.5.1 but
they are required in 2.4.2.

Is this a conscious change? There is no mention of this on Wiki User
Changes 2.4.4 or User Changes Trunk pages.

In mode delphi FPC understands delphi generic syntax. I did not write a
line to the

User Changes Trunk because this work is not finished. But looking at my
free time I don't think it will be finished by me, so I will add a note
there today.


Would you mind if I'd try to continue/finish that work?

Regards,
Sven
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


Re: [fpc-pascal] generic, specialize keywords in mode delphi in FPC trunk

2011-04-11 Thread cobines
2011/4/12 Paul Ishenin :
> 12.04.2011 4:22, cobines wrote:
>>
>> Hello.
>>
>> Following program:
>>
>> program a;
>> {$mode delphi}
>> type
>>   generic TGen  = class end;
>>   TSpc = specialize TGen;
>> begin
>> end.
>>
>> compiles with FPC 2.4.2, but not with 2.5.1 rev. 17306:
>>
>> a.pas(4,11) Fatal: Syntax error, "=" expected but "identifier TGEN" found
>> a.pas(5,21) Error: Identifier not found "specialize"
>> a.pas(5,21) Error: Error in type definition
>> a.pas(5,21) Fatal: Syntax error, ";" expected but "identifier TGEN" found
>>
>> "generic" and "specialize" are not allowed in delphi mode in 2.5.1 but
>> they are required in 2.4.2.
>>
>> Is this a conscious change? There is no mention of this on Wiki User
>> Changes 2.4.4 or User Changes Trunk pages.
>
> In mode delphi FPC understands delphi generic syntax. I did not write a line
> to the
>
> User Changes Trunk because this work is not finished. But looking at my free
> time I don't think it will be finished by me, so I will add a note there
> today.


OK.
Thanks.

--
cobines
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


Re: [fpc-pascal] generic, specialize keywords in mode delphi in FPC trunk

2011-04-11 Thread Paul Ishenin

12.04.2011 4:22, cobines wrote:

Hello.

Following program:

program a;
{$mode delphi}
type
   generic TGen  = class end;
   TSpc = specialize TGen;
begin
end.

compiles with FPC 2.4.2, but not with 2.5.1 rev. 17306:

a.pas(4,11) Fatal: Syntax error, "=" expected but "identifier TGEN" found
a.pas(5,21) Error: Identifier not found "specialize"
a.pas(5,21) Error: Error in type definition
a.pas(5,21) Fatal: Syntax error, ";" expected but "identifier TGEN" found

"generic" and "specialize" are not allowed in delphi mode in 2.5.1 but
they are required in 2.4.2.

Is this a conscious change? There is no mention of this on Wiki User
Changes 2.4.4 or User Changes Trunk pages.
In mode delphi FPC understands delphi generic syntax. I did not write a 
line to the


User Changes Trunk because this work is not finished. But looking at my free 
time I don't think it will be finished by me, so I will add a note there today.

Best regards,
Paul Ishenin

___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


[fpc-pascal] generic, specialize keywords in mode delphi in FPC trunk

2011-04-11 Thread cobines
Hello.

Following program:

program a;
{$mode delphi}
type
  generic TGen = class end;
  TSpc = specialize TGen;
begin
end.

compiles with FPC 2.4.2, but not with 2.5.1 rev. 17306:

a.pas(4,11) Fatal: Syntax error, "=" expected but "identifier TGEN" found
a.pas(5,21) Error: Identifier not found "specialize"
a.pas(5,21) Error: Error in type definition
a.pas(5,21) Fatal: Syntax error, ";" expected but "identifier TGEN" found

"generic" and "specialize" are not allowed in delphi mode in 2.5.1 but
they are required in 2.4.2.

Is this a conscious change? There is no mention of this on Wiki User
Changes 2.4.4 or User Changes Trunk pages.

--
cobines
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal