Actions for Javas class_declaration

2008-11-20 Thread Andreas Leppert
Hello, I've seen this which stands for a Java Class Declaration: class_declaration: modifiers CLASS_TK identifier super interfaces { create_class ($1, $3, $4, $5); } class_body {;} | CLASS_TK identifier super interfaces { create_class (0, $2, $3, $4); } class_body

Re: Actions for Javas class_declaration

2008-11-20 Thread Hans Aberg
On 20 Nov 2008, at 09:05, Andreas Leppert wrote: I've seen this which stands for a Java Class Declaration: class_declaration: modifiers CLASS_TK identifier super interfaces { create_class ($1, $3, $4, $5); } class_body {;} | CLASS_TK identifier super interfaces { create_

Re: Actions for Javas class_declaration

2008-11-20 Thread Di-an JAN
On Thu, 20 Nov 2008, Andreas Leppert wrote: Hello, I've seen this which stands for a Java Class Declaration: class_declaration: modifiers CLASS_TK identifier super interfaces { create_class ($1, $3, $4, $5); } class_body {;} | CLASS_TK identifier super interfaces { crea

Re: Actions for Javas class_declaration

2008-11-20 Thread Andreas Leppert
>> Furthermore, I would have expected something like this: >> >> modifiers CLASS_TK identifier super interfaces class_body >> { create_class ($1, $3, $4, $5, $6); } >> >> I mean the body of a class should be attached to the class declaration, >> shouldn't it? > > We need to consider the rest o