Branch: Tag:

2001-08-13

2001-08-13 23:15:58 by Martin Stjernholm <mast@lysator.liu.se>

The macro PC conflicts with /usr/include/sys/reg.h on Solaris.

Rev: src/docode.c:1.128
Rev: src/las.c:1.262
Rev: src/las.h:1.52
Rev: src/peep.c:1.66
Rev: src/program.c:1.362

5:   \*/   /**/   #include "global.h" - RCSID("$Id: program.c,v 1.361 2001/08/02 22:24:10 hubbe Exp $"); + RCSID("$Id: program.c,v 1.362 2001/08/13 23:15:58 mast Exp $");   #include "program.h"   #include "object.h"   #include "dynamic_buffer.h"
4017:    Pike_compiler->last_file != current_file)    {    if((Pike_compiler->last_file != current_file) || -  (DO_NOT_WARN((INT32)(PC - Pike_compiler->last_pc)) == 127)) +  (DO_NOT_WARN((INT32)(PIKE_PC - Pike_compiler->last_pc)) == 127))    {    char *tmp;    INT32 remain = DO_NOT_WARN((INT32)current_file->len)<<
4031:    add_to_linenumbers(*tmp);    copy_shared_string(Pike_compiler->last_file, current_file);    } -  insert_small_number(DO_NOT_WARN((INT32)(PC-Pike_compiler->last_pc))); +  insert_small_number(DO_NOT_WARN((INT32)(PIKE_PC-Pike_compiler->last_pc)));    insert_small_number(current_line-Pike_compiler->last_line);    Pike_compiler->last_line = current_line; -  Pike_compiler->last_pc = DO_NOT_WARN((INT32)PC); +  Pike_compiler->last_pc = DO_NOT_WARN((INT32)PIKE_PC);    }   }