Branch: Tag:

2001-06-25

2001-06-25 12:03:21 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Backported fix for [bug 1793] from Pike 7.3.

Rev: src/language.yacc:1.184

188:   /* This is the grammar definition of Pike. */      #include "global.h" - RCSID("$Id: language.yacc,v 1.183 2000/11/04 16:24:24 grubba Exp $"); + RCSID("$Id: language.yacc,v 1.184 2001/06/25 12:03:21 grubba Exp $");   #ifdef HAVE_MEMORY_H   #include <memory.h>   #endif
2497:    $$=mkefuncallnode("abs",    mkopernode("`/",    mkopernode("`-", mkefuncallnode("gethrvtime",0), -  mknode(F_COMMA_EXPR,$2, +  mknode(F_COMMA_EXPR, +  mknode(F_POP_VALUE, $2, NULL),    mkefuncallnode("gethrvtime",0))),    mkfloatnode((FLOAT_TYPE)1000000.0)));   #else
2506:    mkopernode("`-",    mknode(F_INDEX,mkefuncallnode("rusage",0),    mkintnode(GAUGE_RUSAGE_INDEX)), -  mknode(F_COMMA_EXPR,$2, +  mknode(F_COMMA_EXPR, mknode(F_POP_VALUE, $2, NULL),    mknode(F_INDEX,mkefuncallnode("rusage",0),    mkintnode(GAUGE_RUSAGE_INDEX)))),    mkfloatnode((FLOAT_TYPE)1000.0)));