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:
Dave Beazley 2003-02-19 13:51:38 +00:00
commit 67424ecc84

View file

@ -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");
} }
; ;