Fix #2149523 - Incorrect line number reporting in errors after parsing macros. Remove extraneous extra line in preprocessed output which would sometimes lead to error/warning messages two lines after the end of the file
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12211 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
f6cd7912e3
commit
122bc852f9
6 changed files with 73 additions and 9 deletions
11
Examples/test-suite/errors/pp_macro_inline_unterminated.i
Normal file
11
Examples/test-suite/errors/pp_macro_inline_unterminated.i
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
%module xxx
|
||||
|
||||
%define foo(a,x)
|
||||
int ii;
|
||||
%enddef
|
||||
|
||||
%inline %{
|
||||
struct Struct {
|
||||
foo(2,
|
||||
};
|
||||
%}
|
||||
Loading…
Add table
Add a link
Reference in a new issue