From c2f9904abe59fb0e08685dca555e4e1d6591bfc1 Mon Sep 17 00:00:00 2001 From: Matevz Jekovec Date: Mon, 3 Aug 2009 15:42:54 +0000 Subject: [PATCH] Fixed compilation error. git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2009-matevz@11492 626c5289-ae23-0410-ae9c-e8d60b6d4f22 --- Source/CParse/parser.y | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/CParse/parser.y b/Source/CParse/parser.y index 6335b03f9..29d821ea5 100644 --- a/Source/CParse/parser.y +++ b/Source/CParse/parser.y @@ -2941,7 +2941,7 @@ c_declaration : c_decl { appendChild($$,firstChild($5)); } } - | c_lambda_decl { Swig_warning("Swig doesn't produce wrapper code for lambda expressions and closures yet.") $$ = $1; } + | c_lambda_decl { Swig_warning(WARN_LANG_NATIVE_UNIMPL, cparse_file, cparse_line,"Swig doesn't produce wrapper code for lambda expressions and closures yet.\n"); $$ = $1; } ; /* ------------------------------------------------------------