Branch: Tag:

2017-12-19

2017-12-19 14:56:00 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Compiler: Add an extra pass on demand.

94:   /* Complier passes */   #define COMPILER_PASS_NONE 0   #define COMPILER_PASS_FIRST 1 - #define COMPILER_PASS_LAST 2 + #define COMPILER_PASS_EXTRA 2 + #define COMPILER_PASS_LAST 3    - /* Flags. */ - #define COMPILER_BUSY 1 /* The compiler is busy compiling. */ - #define COMPILER_DONE 2 /* The compiler is finished compiling. */ + /* Flags for struct compilation. */ + #define COMPILER_BUSY 1 /* The compiler is busy. */ + #define COMPILER_DONE 2 /* The compiler is finished. */ + #define COMPILER_NEED_EXTRA_PASS 4 /* Run an extra pass. */      /* CompilerEnvironment function numbers. */   #define CE_REPORT_FUN_NUM 0