Fix a couple of typos

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12209 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
Olly Betts 2010-09-08 02:43:32 +00:00
commit 52819796ca
2 changed files with 5 additions and 5 deletions

View file

@ -10,7 +10,7 @@ Version 2.0.1 (in progress)
2010-09-03: wsfulton
Fix erroneous line numbers in error messages for macro expansions, for example,
the error message now points to instantation of the macro, ie the last line here:
the error message now points to instantiation of the macro, ie the last line here:
#define MACRO2(a, b)
@ -28,7 +28,7 @@ Version 2.0.1 (in progress)
%}
2010-09-02: wsfulton
Fix line numbers in error and warning messages which were accumulately one
Fix line numbers in error and warning messages which were cumulatively one
less than they should have been after parsing each %include/%import - bug
introduced in swig-1.3.32. Also fix line numbers in error and warning messages
when new line characters appear between the %include / %import statement and

View file

@ -29,11 +29,11 @@ const int NUMBER_UNIQUE(thing) = -2; /* resolves to thing28 */
#define MYLINE2 __LINE__
#ifdef SWIGJAVA
%javaconst(1);
#endif
%{
struct SillyStruct {
int num;
/* static const int line_num = __LINE__; */
struct SillyStruct { int num; /* static const int line_num = __LINE__; */
};
%}
struct SillyStruct {