diff --git a/Source/SWIG1.1/parser.yxx b/Source/SWIG1.1/parser.yxx index dd9e7c1ce..c1c14d214 100644 --- a/Source/SWIG1.1/parser.yxx +++ b/Source/SWIG1.1/parser.yxx @@ -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);