From 3014f0e1c5c675c07fd11480dd0d929f5ba3e65d Mon Sep 17 00:00:00 2001 From: Dave Beazley Date: Sat, 19 Aug 2000 22:17:46 +0000 Subject: [PATCH] Fixed problem with reference return types. git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@679 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 fd150d050..93d3a7198 100644 --- a/Source/SWIG1.1/parser.yxx +++ b/Source/SWIG1.1/parser.yxx @@ -1560,7 +1560,7 @@ declaration : ID { $$.id = $1; } | AND ID { $$.id = $2; - $$.is_pointer = 1; + $$.is_pointer = 0; $$.is_reference = 1; if (!CPlusPlus) { Printf(stderr,"%s : Line %d. Warning. Use of C++ Reference detected. Use the -c++ option.\n", input_file, line_number);