Fixed problem with reference return types.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@679 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
d7595ac9a9
commit
0ca0e356a3
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue