Use %%except instead of %except in some format

strings. Reported by Ovidiu Toader, SF Bug #231923.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@1175 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
Matthias Köppe 2001-06-14 11:48:29 +00:00
commit d9c75bbd01

View file

@ -490,7 +490,7 @@ except_directive: EXCEPT LPAREN ID RPAREN LBRACE {
$$ = new_node("swig:exception",$1.filename,$1.line);
Setattr($$,"lang",$3.text);
Setattr($$,"code",t);
LParse_error($1.filename,$1.line,"Warning. Language specifier in %except is now ignored.\n");
LParse_error($1.filename,$1.line,"Warning. Language specifier in %%except is now ignored.\n");
}
/* A Generic Exception (no language specified) */
@ -505,7 +505,7 @@ except_directive: EXCEPT LPAREN ID RPAREN LBRACE {
| EXCEPT LPAREN ID RPAREN SEMI {
$$ = new_node("swig:exception",$1.filename,$1.line);
Setattr($$,"lang",$3.text);
LParse_error($1.filename,$1.line,"Warning. Language specifier in %except is now ignored.\n");
LParse_error($1.filename,$1.line,"Warning. Language specifier in %%except is now ignored.\n");
}
/* Generic clear */