applied patch #1372048 - added /NONFATAL switch to !include statement

git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4437 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
kichik 2005-12-03 09:45:17 +00:00
parent 90a7765cd6
commit b1be974447
4 changed files with 38 additions and 6 deletions

View file

@ -1,3 +1,6 @@
!ifndef file_is_included
!define file_is_included
Name preprocessor
OutFile preprocessor.exe
@ -48,5 +51,16 @@ d\
i\
f
# this should just give a warning, not an error
!include /NONFATAL file_that_doesnt_exist.nsh
# this should include this file just one time.
!include preprocessor.nsi
Section
SectionEnd
!else
# this should just give a warning, not an error
!include /NONFATAL another_file_that_doesnt_exist.nsh
!endif