Branch: Tag:

2018-12-21

2018-12-21 12:19:22 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Compiler: Fixed some COMPILER_DEBUG bugs.

3272:    if(idp) *idp=id;       CDFPRINTF("th(%ld) %p low_start_new_program() %s " -  "pass=%d: lock_depth:%d, compilation_depth:%d\n", +  "pass=%d: compilation_depth:%d\n",    (long)th_self(), p, name ? name->str : "-",    Pike_compiler->compiler_pass, -  lock_depth, c->compilation_depth); +  c->compilation_depth);       init_type_stack();   
3501:    }       CDFPRINTF("th(%ld) start_new_program(%ld, %s): " -  "lock_depth:%d, compilation_depth:%d\n", +  "compilation_depth:%d\n",    (long)th_self(), (long)line, file, -  lock_depth, c->compilation_depth); +  c->compilation_depth);       low_start_new_program(0, COMPILER_PASS_FIRST, 0, 0, 0);    store_linenumber(line,c->lex.current_file);
4690:          CDFPRINTF("th(%ld) %p end_first_pass(%d): " -  "lock_depth:%d, compilation_depth:%d\n", +  "compilation_depth:%d\n",    (long)th_self(), prog, finish, -  lock_depth, c->compilation_depth); +  c->compilation_depth);       c->compilation_depth--;