From 4e7e67c9125155001621871a51bc1923d0b447cc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matthias=20K=C3=B6ppe?= Date: Wed, 30 Aug 2000 20:18:54 +0000 Subject: [PATCH] Fixed %init directive warning. git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@733 626c5289-ae23-0410-ae9c-e8d60b6d4f22 --- Source/SWIG1.1/parser.yxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);