now 'defined' as variable name is fixed
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6573 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
67b4c4816d
commit
53306bdc3e
3 changed files with 33 additions and 14 deletions
10
Examples/test-suite/python/preproc_runme.py
Normal file
10
Examples/test-suite/python/preproc_runme.py
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
import preproc
|
||||
|
||||
if preproc.endif != 1:
|
||||
raise RuntimeError
|
||||
|
||||
if preproc.define != 1:
|
||||
raise RuntimeError
|
||||
|
||||
if preproc.defined != 1:
|
||||
raise RuntimeError
|
||||
Loading…
Add table
Add a link
Reference in a new issue