- push_function($<sigtype>2,NULL,
- $<id>4, $<id>8, $<cbuf>9,$<line>1,
- ccode_line,vararg);
+ push_function(the_scope, $<sigtype>3,NULL,
+ $<id>5, $<id>9, $<cbuf>10,$<line>1,
+ ccode_line, vararg, $<list>2);
+ }
+ | scope SIGNAL flags simplesigtype type TOKEN '(' funcargs ')' onerror codenocode {
+ if(!has_self) {
+ yyerror(_("signal without 'self' as "
+ "first parameter"));
+ YYERROR;
+ }
+ push_function(the_scope, $<sigtype>4, NULL,
+ $<id>6, $<id>10, $<cbuf>11, $<line>2,
+ ccode_line, vararg, $<list>3);
+ }
+ | VIRTUAL scope type TOKEN '(' funcargs ')' onerror codenocode {
+ if(!has_self) {
+ yyerror(_("virtual method without 'self' as "
+ "first parameter"));
+ YYERROR;
+ }
+ push_function(the_scope, VIRTUAL_METHOD, NULL, $<id>4,
+ $<id>8, $<cbuf>9, $<line>1,
+ ccode_line, vararg, NULL);