Dynamic allocation of needed user variables (exehead grew 512 bytes).

Independed user vars in uninstaller and installer


git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2656 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
ramon18 2003-06-17 23:59:13 +00:00
parent 2ff0e96a38
commit ab91077049
10 changed files with 197 additions and 92 deletions

View file

@ -164,7 +164,11 @@ int CEXEBuild::process_script(FILE *filepointer, char *filename)
return ret;
}
#define PRINTHELP() { print_help(line.gettoken_str(0)); return PS_ERROR; }
#ifdef NSIS_SUPPORT_NAMED_USERVARS
#define PRINTHELP() { if ( !b_abort_compile ) print_help(line.gettoken_str(0)); return PS_ERROR; }
#else
#define PRINTHELP() { print_help(line.gettoken_str(0)); return PS_ERROR; }
#endif
int CEXEBuild::doParse(const char *str)