Fix #1940536, overactive preprocessor which was expanding defined(...) outside of #if and #elif preprocessor directives.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12441 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
65f377c422
commit
63af0a2d72
5 changed files with 54 additions and 4 deletions
4
Examples/test-suite/python/preproc_defined_runme.py
Normal file
4
Examples/test-suite/python/preproc_defined_runme.py
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
import preproc_defined
|
||||
|
||||
if preproc_defined.call_checking() != 1:
|
||||
raise RuntimeError
|
||||
Loading…
Add table
Add a link
Reference in a new issue