This can be demonstrated by trying to compile the following program. This, of course will fail as the file to be included is nonsensical and does not exist, but the error msgbox shows the attempted replacements. (A_WinDir is included to show that the replacements are shown in the msgbox.)
I believe that the problem lies in the file lib\AhkType.ahk, which was updated recently. This file/function is called by ScriptParser.ahk (145) and Compiler.ahk (35), and it is the latter call that is returning false.
Code: Select all
#include Version=+%A_AhkVersion%+ PtrSize=+%A_PtrSize%+ IsUnicode=+%A_IsUnicode%+ A_WinDir=+%A_WinDir%+
Please note that I have forked Ahk2Exe to TAC109 on GitHub, where I am working on the Compiler Directives enhancements in the Edge branch. I would have fixed this problem myself, but it looks rather complicated.