Added LineParser::gettoken_intx with basic arithmetic expression handling for LoadAndSetImage, SectionSetFlags and SectionSetInstTypes.
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@7180 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
e73d05f1f5
commit
887d9f8723
8 changed files with 156 additions and 86 deletions
|
@ -189,6 +189,11 @@ ${ASSERT} '${OUT1} = 0xC0000000'
|
|||
!define /redef /intfmt OUT1 "0x%.3X" 42
|
||||
${ASSERT} '${OUT1} = 0x02A'
|
||||
|
||||
!pragma internal x OUT "0x10 | 0x40" ; NSD requires this when using LoadAndSetImage
|
||||
!if "${OUT}" <> 80
|
||||
!error "math expression failed"
|
||||
!endif
|
||||
|
||||
; end math functions
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue