* Added support for 0o octal radix prefix on number literals in the preprocessor
* The single parameter version of !if now also supports floats * Preprocessor now warns when invalid floating point numbers are used in math operations git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6633 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
ce249976f7
commit
d7ac356d0e
4 changed files with 15 additions and 3 deletions
|
@ -517,7 +517,7 @@ parse_again:
|
|||
logicneg++, line.eattoken();
|
||||
|
||||
if (line.getnumtokens() == 2)
|
||||
istrue = line.gettoken_int(1);
|
||||
istrue = line.gettoken_number(1) || line.gettoken_int(1);
|
||||
|
||||
else if (line.getnumtokens() == 3) {
|
||||
if (!_tcsicmp(line.gettoken_str(1),_T("/fileexists"))) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue