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
{;}
...
I have problems to understand the semantic action {;}. Does it mean "do
nothing" ? Why just not leave it blank?
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?
Thanks for the help!
Andreas Leppert
_______________________________________________
[email protected] http://lists.gnu.org/mailman/listinfo/help-bison