eolian-cxx: Fixed a bug in the generator.

It was not considering the variable name correctly.
This commit is contained in:
Savio Sena 2014-07-23 17:07:40 -03:00
parent 2979f8dcef
commit dcb75cdc1d
1 changed files with 1 additions and 1 deletions

View File

@ -97,7 +97,7 @@ operator<<(std::ostream& out, to_cxx const& x)
<< ", " << type_ownership(x._type) << ");";
}
else
out << "_tmp_ret";
out << x._varname;
return out;
}