Remove the -rename option in the Go language support. Do a much

better job of checking for name conflicts.  Ignore conflicting names
with a warning.  Adjust the testsuite accordingly.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12135 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
Ian Lance Taylor 2010-06-17 18:59:26 +00:00
commit 2970f53c21
18 changed files with 232 additions and 94 deletions

View file

@ -116,15 +116,6 @@ swig -go -help
or <tt>int64</tt>. The &lt;s&gt; argument should be 32 or 64.</td>
</tr>
<tr>
<td>-rename &lt;old&gt;=&lt;new&gt;</td>
<td>Rename &lt;old%gt; to &lt;new&gt; when processing the C/C++ code
and also the SWIG input file. This is a convenient way to rename
names in the C/C++ code which are the same expect for the first
letter, to avoid conflicts when applying the Go renaming rules
described below.</td>
</tr>
</table>
<H3><a name="Go_outputs"></a>20.2.2 Go Output Files</H3>