Fix __LINE__ and __FILE__ expansion in macros with no arguments
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12197 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
41bc29c9f0
commit
aa728ece67
3 changed files with 23 additions and 6 deletions
|
|
@ -45,5 +45,8 @@ public class preproc_line_file_runme {
|
|||
|
||||
if (SillyStruct.LINE_NUMBER != 41)
|
||||
throw new RuntimeException("preproc failure");
|
||||
|
||||
if (SillyMacroClass.LINE_NUM != 45)
|
||||
throw new RuntimeException("preproc failure");
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue