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);