Re: [fpc-pascal] with in classes/records

2018-09-09 Thread Michael Van Canneyt
On Sun, 9 Sep 2018, Sven Barth via fpc-pascal wrote: Am 09.09.2018 um 16:16 schrieb Michael Van Canneyt: On Sun, 9 Sep 2018, Ryan Joseph wrote: It seems syntacticly possible that default properties could be recursive by having a default property reference a record/class with another defa

Re: [fpc-pascal] with in classes/records

2018-09-09 Thread Sven Barth via fpc-pascal
Am 09.09.2018 um 16:16 schrieb Michael Van Canneyt: On Sun, 9 Sep 2018, Ryan Joseph wrote: It seems syntacticly possible that default properties could be recursive by having a default property reference a record/class with another default property. Should that be allowed? I don't think so.

Re: [fpc-pascal] Resource compilation

2018-09-09 Thread Martok
> I happened to have an old win8 sdk around (vs community edition didn't seem > to have "RC"). Anyway: > > http://www.stack.nl/~marcov/funkyres.res Thank you! Funky indeed, I'll mark that down as a Reshacker bug then. Off to String stuff then. -- Regards, Martok

Re: [fpc-pascal] Resource compilation

2018-09-09 Thread Marco van de Voort
In our previous episode, Martok said: > However, there's an issue I hope somebody can help with. Binutils has this > test > case: > > > > Every Resource compiler I

Re: [fpc-pascal] Resource compilation

2018-09-09 Thread Martok
More Progress! I've since finished STRINGTABLE and VERSIONINFO as well as mathematical expressions. However, there's an issue I hope somebody can help with. Binutils has this test case:

Re: [fpc-pascal] with in classes/records

2018-09-09 Thread Michael Van Canneyt
On Sun, 9 Sep 2018, Ryan Joseph wrote: It seems syntacticly possible that default properties could be recursive by having a default property reference a record/class with another default property. Should that be allowed? I don't think so. Let's start with 1 level. For default arrays it's a

Re: [fpc-pascal] with in classes/records

2018-09-09 Thread Ryan Joseph
> On Sep 9, 2018, at 5:01 PM, Martin wrote: > > And how should the rules be for mixing with class helpers? (In case of > conflicting names) On the dev list Sven told me to use the tcallcandidates class to resolve overloads and I believe this handles searching class helpers also. So I guess

Re: [fpc-pascal] with in classes/records

2018-09-09 Thread Martin
On 09/09/2018 10:48, Ryan Joseph wrote: It seems syntacticly possible that default properties could be recursive by having a default property reference a record/class with another default property. Should that be allowed? And how should the rules be for mixing with class helpers? (In case of

Re: [fpc-pascal] with in classes/records

2018-09-09 Thread Ryan Joseph
It seems syntacticly possible that default properties could be recursive by having a default property reference a record/class with another default property. Should that be allowed? type THelperB = record field: integer; end; type THelperA = record