ignored invalid preprocessor commands in ignored blocks

git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4909 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
kichik 2007-01-27 15:54:28 +00:00
parent 60c3a6165e
commit 910ed492ab
4 changed files with 12 additions and 1 deletions

View file

@ -297,6 +297,14 @@ void CEXEBuild::print_help(char *commandname)
}
bool CEXEBuild::is_valid_token(char *s)
{
for (int x = 0; x < TOK__LAST; x ++)
if (!stricmp(tokenlist[x].name,s))
return true;
return false;
}
int CEXEBuild::get_commandtoken(char *s, int *np, int *op, int *pos)
{
int x;