Added !define /intfmt
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@7173 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
dd117d4ba7
commit
e1141d9277
6 changed files with 44 additions and 6 deletions
|
@ -992,6 +992,12 @@ int CEXEBuild::pp_define(LineParser&line)
|
|||
|
||||
if (tc + onlyval1 != 6) goto badmathsyntax;
|
||||
}
|
||||
else if (!_tcsicmp(define, _T("/intfmt")))
|
||||
{
|
||||
if (line.getnumtokens() != 5) PRINTHELPEX(cmdnam)
|
||||
define = line.gettoken_str(2);
|
||||
_stprintf(value = mathbuf, line.gettoken_str(3), line.gettoken_int(4));
|
||||
}
|
||||
else
|
||||
{
|
||||
if (line.getnumtokens() >= 4) PRINTHELPEX(cmdnam)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue