It would be handy to be able to cause the compiler to dump the complete script after preprocessing to file.
This would make it much easier to examine the exact preprocessor behavior, and resolve issues in large projects with many includes.
Request by amayo (at) divxcorp [dotcom]
Logged In: YES
user_id=970495
Originator: NO
i support this request :)
and i think it would be the best way, to refactor makensis, so that it works on the scripts in 2pass mode.
1. preprocessor runs over the whole thing and resolves any macros, defines, !if blocks, removes (inline)comment blocks/lines and kits splitted lines (splitted by /).
2. script processor runs over the cleaned up script, checks the syntax and adds the commands to the code block.
Logged In: YES
user_id=584402
Originator: NO
Me too.
Logged In: NO
another benefit of multipass:
compiler can warn if it detects possible stack corruption.
Compiler switches for this was added in 3.0 Beta 1 (
/PPOor/SAFEPPO).