* 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:
anders_k 2015-11-05 21:05:23 +00:00
parent ce249976f7
commit d7ac356d0e
4 changed files with 15 additions and 3 deletions

View file

@ -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"))) {