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:
parent
b854780268
commit
d9c75bbd01
1 changed files with 2 additions and 2 deletions
|
|
@ -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 */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue