Fixed missing line break in %except warning message
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4349 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
45401fca51
commit
67424ecc84
1 changed files with 4 additions and 4 deletions
|
|
@ -1162,23 +1162,23 @@ echo_directive : ECHO HBLOCK {
|
||||||
except_directive : EXCEPT LPAREN ID RPAREN LBRACE {
|
except_directive : EXCEPT LPAREN ID RPAREN LBRACE {
|
||||||
skip_balanced('{','}');
|
skip_balanced('{','}');
|
||||||
$$ = 0;
|
$$ = 0;
|
||||||
Swig_warning(WARN_DEPRECATED_EXCEPT,cparse_file, cparse_line, "%%except is deprecated. Use %%exception instead.");
|
Swig_warning(WARN_DEPRECATED_EXCEPT,cparse_file, cparse_line, "%%except is deprecated. Use %%exception instead.\n");
|
||||||
}
|
}
|
||||||
|
|
||||||
| EXCEPT LBRACE {
|
| EXCEPT LBRACE {
|
||||||
skip_balanced('{','}');
|
skip_balanced('{','}');
|
||||||
$$ = 0;
|
$$ = 0;
|
||||||
Swig_warning(WARN_DEPRECATED_EXCEPT,cparse_file, cparse_line, "%%except is deprecated. Use %%exception instead.");
|
Swig_warning(WARN_DEPRECATED_EXCEPT,cparse_file, cparse_line, "%%except is deprecated. Use %%exception instead.\n");
|
||||||
}
|
}
|
||||||
|
|
||||||
| EXCEPT LPAREN ID RPAREN SEMI {
|
| EXCEPT LPAREN ID RPAREN SEMI {
|
||||||
$$ = 0;
|
$$ = 0;
|
||||||
Swig_warning(WARN_DEPRECATED_EXCEPT,cparse_file, cparse_line, "%%except is deprecated. Use %%exception instead.");
|
Swig_warning(WARN_DEPRECATED_EXCEPT,cparse_file, cparse_line, "%%except is deprecated. Use %%exception instead.\n");
|
||||||
}
|
}
|
||||||
|
|
||||||
| EXCEPT SEMI {
|
| EXCEPT SEMI {
|
||||||
$$ = 0;
|
$$ = 0;
|
||||||
Swig_warning(WARN_DEPRECATED_EXCEPT,cparse_file, cparse_line, "%%except is deprecated. Use %%exception instead.");
|
Swig_warning(WARN_DEPRECATED_EXCEPT,cparse_file, cparse_line, "%%except is deprecated. Use %%exception instead.\n");
|
||||||
}
|
}
|
||||||
;
|
;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue