fixed bug #1299100 - File /nonfatal line not seen by relative jumps

git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4465 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
kichik 2005-12-31 14:23:57 +00:00
parent ccec5e08cb
commit 95dd28933b

View file

@ -4165,6 +4165,10 @@ int CEXEBuild::doCommand(int which_token, LineParser &line)
else
{
warning_fl("%sFile: \"%s\" -> no files found",(which_token == TOK_FILE)?"":"Reserve",line.gettoken_str(a));
// workaround for bug #1299100
// add a nop opcode so relative jumps will work as expected
add_entry_direct(EW_NOP);
}
}