digitalmars.D - Problem with the D spec.
- Paul Bonser <misterpib gmail.com> Feb 01 2005
- zwang <nehzgnaw gmail.com> Feb 01 2005
- Paul Bonser <misterpib gmail.com> Feb 01 2005
This is infinitely recursive... Declarator2: BasicType2 Declarator2 ( Declarator2 ) ( Declarator2 ) DeclaratorSuffixes After trying for days to find the problem with my D grammar, I just noticed this...no wonder if wouldn't work. Can anyone tell me what this is supposed to be? -- -PIB -- "C++ also supports the notion of *friends*: cooperative classes that are permitted to see each other's private parts." - Grady Booch
Feb 01 2005
I suppose it should be:
Declarator2:
BasicType2 Declarator2
BasicType2
( Declarator2 )
( Declarator2 ) DeclaratorSuffixes
Paul Bonser wrote:
This is infinitely recursive...
Declarator2:
BasicType2 Declarator2
( Declarator2 )
( Declarator2 ) DeclaratorSuffixes
After trying for days to find the problem with my D grammar, I just
noticed this...no wonder if wouldn't work.
Can anyone tell me what this is supposed to be?
Feb 01 2005
Thanks, that did it...got past that problem. Now I just have to figure out why it doesn't expect a semicolon at the end of an expression....ah well, hopefully this will be done soon and I can get to doing something useful with it :) zwang wrote:I suppose it should be: Declarator2: BasicType2 Declarator2 BasicType2 ( Declarator2 ) ( Declarator2 ) DeclaratorSuffixes Paul Bonser wrote:This is infinitely recursive... Declarator2: BasicType2 Declarator2 ( Declarator2 ) ( Declarator2 ) DeclaratorSuffixes After trying for days to find the problem with my D grammar, I just noticed this...no wonder if wouldn't work. Can anyone tell me what this is supposed to be?
-- -PIB -- "C++ also supports the notion of *friends*: cooperative classes that are permitted to see each other's private parts." - Grady Booch
Feb 01 2005








Paul Bonser <misterpib gmail.com>