Fixed %init directive warning.

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@733 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
Matthias Köppe 2000-08-30 20:18:54 +00:00
commit 7baa90abee

View file

@ -941,7 +941,7 @@ statement : INCLUDE STRING LBRACE {
/* Init directive--to avoid errors in other modules */
| INIT ID initlist {
Printf(stderr,"%s : Line %d. Warning. %init directive is deprecated (ignored).\n", input_file,line_number);
Printf(stderr,"%s : Line %d. Warning. %%init directive is deprecated (ignored).\n", input_file,line_number);
for (i = 0; i < $3.count; i++)
if ($3.names[i]) free($3.names[i]);
free($3.names);