Fixed problem with reference return types.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@679 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
b767800ad8
commit
3014f0e1c5
1 changed files with 1 additions and 1 deletions
|
|
@ -1560,7 +1560,7 @@ declaration : ID { $$.id = $1;
|
||||||
}
|
}
|
||||||
| AND ID {
|
| AND ID {
|
||||||
$$.id = $2;
|
$$.id = $2;
|
||||||
$$.is_pointer = 1;
|
$$.is_pointer = 0;
|
||||||
$$.is_reference = 1;
|
$$.is_reference = 1;
|
||||||
if (!CPlusPlus) {
|
if (!CPlusPlus) {
|
||||||
Printf(stderr,"%s : Line %d. Warning. Use of C++ Reference detected. Use the -c++ option.\n", input_file, line_number);
|
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