Branch: Tag:

2000-03-03

2000-03-03 01:31:13 by Fredrik Hübinette (Hubbe) <hubbe@hubbe.net>

bugfix

Rev: src/language.yacc:1.166
Rev: src/testsuite.in:1.280

188:   /* This is the grammar definition of Pike. */      #include "global.h" - RCSID("$Id: language.yacc,v 1.165 2000/02/17 13:48:20 grubba Exp $"); + RCSID("$Id: language.yacc,v 1.166 2000/03/03 01:31:13 hubbe Exp $");   #ifdef HAVE_MEMORY_H   #include <memory.h>   #endif
1450:         local_name_list: new_local_name -  | local_name_list ',' { $<n>$=$<n>0; } new_local_name { $$=mknode(F_ARG_LIST,$1,$4); } +  | local_name_list ',' { $<n>$=$<n>0; } new_local_name { $$=mknode(F_COMMA_EXPR,mkcastnode(void_type_string,$1),$4); }    ;      local_name_list2: new_local_name2 -  | local_name_list2 ',' { $<n>$=$<n>0; } new_local_name { $$=mknode(F_ARG_LIST,$1,$4); } +  | local_name_list2 ',' { $<n>$=$<n>0; } new_local_name { $$=mknode(F_COMMA_EXPR,mkcastnode(void_type_string,$1),$4); }    ;      statements: { $$=0; }