Ignore all commands but those who start with an exclamation mark in nested ignored if blocks too
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2946 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
f28bb70254
commit
abbab23ae4
1 changed files with 1 additions and 1 deletions
|
@ -238,7 +238,7 @@ int CEXEBuild::doParse(const char *str)
|
|||
while (*str == ' ' || *str == '\t') str++;
|
||||
|
||||
// if ignoring, ignore all lines that don't begin with !.
|
||||
if (cur_ifblock && cur_ifblock->ignore && *str!='!' && !last_line_had_slash) return PS_OK;
|
||||
if (cur_ifblock && (cur_ifblock->ignore || cur_ifblock->inherited_ignore) && *str!='!' && !last_line_had_slash) return PS_OK;
|
||||
|
||||
if (m_linebuild.getlen()>1) m_linebuild.resize(m_linebuild.getlen()-2);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue