- | TOKEN '(' TOKEN ')' ';' {
- if(strcmp($<id>1,"init")==0) {
- push_init_arg($<id>3,FALSE);
- push_function(INIT_METHOD, NULL, $<id>1,
- NULL, NULL,$<line>2,0);
- } else if(strcmp($<id>1,"class_init")==0) {
- push_init_arg($<id>3,TRUE);
- push_function(CLASS_INIT_METHOD, NULL,
- $<id>1, NULL, NULL,$<line>2,0);
- } else {
- g_free($<id>1);
- g_free($<id>3);
- yyerror(_("parse error"));
- YYERROR;
- }
- }
- | TOKEN '(' TOKEN ')' '{' CCODE {