normalize cstring.i to use fragments, and add cwstring.i as a subproduct
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7406 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
e64517f6a7
commit
2e2617edce
11 changed files with 602 additions and 214 deletions
|
|
@ -1428,7 +1428,7 @@ declaration : swig_directive { $$ = $1; }
|
|||
if (!Swig_error_count()) {
|
||||
static int last_error_line = -1;
|
||||
if (last_error_line != cparse_line) {
|
||||
Swig_error(cparse_file, cparse_line,"Syntax error in input.\n");
|
||||
Swig_error(cparse_file, cparse_line,"Syntax error in input(1).\n");
|
||||
last_error_line = cparse_line;
|
||||
skip_decl();
|
||||
}
|
||||
|
|
@ -2831,7 +2831,7 @@ c_constructor_decl : storage_class type LPAREN parms RPAREN ctor_end {
|
|||
}
|
||||
}
|
||||
if (err) {
|
||||
Swig_error(cparse_file,cparse_line,"Syntax error in input.\n");
|
||||
Swig_error(cparse_file,cparse_line,"Syntax error in input(2).\n");
|
||||
}
|
||||
}
|
||||
;
|
||||
|
|
@ -3597,7 +3597,7 @@ cpp_members : cpp_member cpp_members {
|
|||
{
|
||||
static int last_error_line = -1;
|
||||
if (last_error_line != cparse_line) {
|
||||
Swig_error(cparse_file, cparse_line,"Syntax error in input.\n");
|
||||
Swig_error(cparse_file, cparse_line,"Syntax error in input(3).\n");
|
||||
last_error_line = cparse_line;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue