Branch: Tag:

2017-12-11

2017-12-11 18:05:19 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Compiler: Add symbolic constants COMPILER_PASS_*.

This is in preparation for adding more passes.

91:   #define THIS_COMPILATION ((struct compilation *)(Pike_fp->current_storage))   #define MAYBE_THIS_COMPILATION ((Pike_fp && compilation_program && (Pike_fp->context->prog == compilation_program))?THIS_COMPILATION:NULL)    + /* Complier passes */ + #define COMPILER_PASS_NONE 0 + #define COMPILER_PASS_FIRST 1 + #define COMPILER_PASS_LAST 2 +    /* Flags. */   #define COMPILER_BUSY 1 /* The compiler is busy compiling. */   #define COMPILER_DONE 2 /* The compiler is finished compiling. */