Branch: Tag:

2000-07-18

2000-07-18 06:02:16 by Martin Stjernholm <mast@lysator.liu.se>

Brute kludge to be able to compile without debug.

Rev: src/language.yacc:1.205

110:   /* This is the grammar definition of Pike. */      #include "global.h" - RCSID("$Id: language.yacc,v 1.204 2000/07/13 22:32:15 grubba Exp $"); + RCSID("$Id: language.yacc,v 1.205 2000/07/18 06:02:16 mast Exp $");   #ifdef HAVE_MEMORY_H   #include <memory.h>   #endif
646:    if (id) {    struct pike_string *new_type;    fprintf(stderr, "Defined, type:\n"); + #ifdef PIKE_DEBUG    simple_describe_type(id->type); -  + #endif       new_type = or_pike_types(s, id->type, 1);    free_string(s);    s = new_type;       fprintf(stderr, "Resulting type:\n"); -  + #ifdef PIKE_DEBUG    simple_describe_type(s); -  + #endif    } else {    my_yyerror("Lost identifier %s (%d).",    $4->u.sval.u.string->str, i);
662:    fprintf(stderr, "Not defined.\n");    }    fprintf(stderr, "New type:\n"); + #ifdef PIKE_DEBUG    simple_describe_type(s); -  + #endif    }    } else {    /* FIXME: Second pass reuses the type from the end of
679:    copy_shared_string(s, id->type);       fprintf(stderr, "Resulting type:\n"); + #ifdef PIKE_DEBUG    simple_describe_type(s); -  + #endif    }    } else {    my_yyerror("Identifier %s lost after first pass.",