Branch: Tag:

1998-04-29

1998-04-29 00:21:13 by Fredrik Hübinette (Hubbe) <hubbe@hubbe.net>

line numbers should now be back on track again

Rev: src/program.c:1.89

4:   ||| See the files COPYING and DISCLAIMER for more information.   \*/   #include "global.h" - RCSID("$Id: program.c,v 1.88 1998/04/27 19:41:09 grubba Exp $"); + RCSID("$Id: program.c,v 1.89 1998/04/29 00:21:13 hubbe Exp $");   #include "program.h"   #include "object.h"   #include "dynamic_buffer.h"
598:    num_parse_error=0;       push_compiler_frame(); +  + #ifdef DEBUG    if(lex.current_file) -  store_linenumber(lex.current_line, lex.current_file); +  store_linenumber(last_pc, lex.current_file); + #endif   }      void start_new_program(void)
2073:    return "Optimizer";    }    + #if 0    if(prog->id != pid || offset < off) -  + #endif    {    cnt=prog->linenumbers;    off=line=0;
2159:    start_new_program();    compilation_depth=0;    -  start_line_numbering(); + /* start_line_numbering(); */       compiler_pass=1;    lex.pos=prog->str;