Branch: Tag:

1999-11-14

1999-11-14 23:05:31 by Martin Stjernholm <mast@lysator.liu.se>

Allow "unadorned" object type identifiers in some more places that
doesn't lead to reduce/reduce conflicts.

Rev: src/language.yacc:1.133

183:   /* This is the grammar definition of Pike. */      #include "global.h" - RCSID("$Id: language.yacc,v 1.132 1999/11/14 19:33:04 grubba Exp $"); + RCSID("$Id: language.yacc,v 1.133 1999/11/14 23:05:31 mast Exp $");   #ifdef HAVE_MEMORY_H   #include <memory.h>   #endif
862:    }    ;    - type4: type2 | identifier_type ; + type4: type4 '|' type8 { push_type(T_OR); } +  | type8 +  ;      type2: type2 '|' type3 { push_type(T_OR); }    | type3
881:    | F_FUNCTION_ID opt_function_type { push_type(T_FUNCTION); }    ;    + type8: type3 | identifier_type ; +    number_or_maxint: /* Empty */    {    $$ = mkintnode(MAX_INT32);