Added FlushINI
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2319 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
2bae57a3ac
commit
1c6dc531e6
5 changed files with 16 additions and 0 deletions
|
@ -3265,6 +3265,11 @@ int CEXEBuild::doCommand(int which_token, LineParser &line, FILE *fp, const char
|
|||
line.gettoken_str(2),vname,space,line.gettoken_str(1));
|
||||
}
|
||||
return add_entry(&ent);
|
||||
case TOK_FLUSHINI:
|
||||
ent.which=EW_WRITEINI;
|
||||
ent.offsets[3]=add_string(line.gettoken_str(1));
|
||||
SCRIPT_MSG("FlushINI: %s\n",line.gettoken_str(1));
|
||||
return add_entry(&ent);
|
||||
case TOK_WRITEINISTR:
|
||||
ent.which=EW_WRITEINI;
|
||||
ent.offsets[0]=add_string(line.gettoken_str(2));
|
||||
|
@ -3287,6 +3292,7 @@ int CEXEBuild::doCommand(int which_token, LineParser &line, FILE *fp, const char
|
|||
#else//!NSIS_SUPPORT_INIFILES
|
||||
case TOK_DELETEINISEC:
|
||||
case TOK_DELETEINISTR:
|
||||
case TOK_FLUSHINI:
|
||||
case TOK_WRITEINISTR:
|
||||
case TOK_READINISTR:
|
||||
ERROR_MSG("Error: %s specified, NSIS_SUPPORT_INIFILES not defined.\n", line.gettoken_str(0));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue