initialize and destroy
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2615 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
2b611d8f70
commit
e1bbe6ff1b
2 changed files with 8 additions and 0 deletions
|
@ -27,6 +27,10 @@ CEXEBuild::~CEXEBuild()
|
|||
|
||||
CEXEBuild::CEXEBuild()
|
||||
{
|
||||
linecnt = 0;
|
||||
fp = 0;
|
||||
curfilename = 0;
|
||||
|
||||
display_info=1;
|
||||
display_script=1;
|
||||
display_errors=1;
|
||||
|
|
|
@ -37,6 +37,10 @@ int CEXEBuild::process_script(FILE *filepointer, char *filename)
|
|||
return PS_ERROR;
|
||||
}
|
||||
int ret=parseScript();
|
||||
|
||||
fp = 0;
|
||||
curfilename = 0;
|
||||
|
||||
if (ret == PS_ENDIF) ERROR_MSG("!endif: stray !endif\n");
|
||||
if (IS_PS_ELSE(ret)) ERROR_MSG("!else: stray !else\n");
|
||||
if (m_linebuild.getlen())
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue