Fixed stupid bug with !else ifdef
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@1924 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
aa7e7cc723
commit
0b59920ae8
1 changed files with 2 additions and 2 deletions
|
@ -142,6 +142,7 @@ parse_again:
|
|||
if (line.getnumtokens() == 1) PRINTHELP()
|
||||
if (!v) tkid = TOK_P_IFDEF;
|
||||
else tkid = TOK_P_IFNDEF;
|
||||
ignore=0; // process the ifdef
|
||||
}
|
||||
|
||||
if (tkid == TOK_P_IFNDEF || tkid == TOK_P_IFDEF)
|
||||
|
@ -187,8 +188,7 @@ parse_again:
|
|||
}
|
||||
if (!ignore)
|
||||
{
|
||||
int ret=doCommand(tkid,line,fp,curfilename,lineptr);
|
||||
if (ret != PS_OK) return ret;
|
||||
return doCommand(tkid,line,fp,curfilename,lineptr);
|
||||
}
|
||||
return PS_OK;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue