William S Fulton
34e663a61a
Test a different C# keyword rename
...
Worked around warning in java jdk-15:
warning: 'sealed' may become a restricted type name in a future release
and may be unusable for type declarations or as the element type of an array
Adding sealed to the list of automatically renamed keywords in Java does
not seem prudent.
2021-03-20 09:49:30 +00:00
Vadim Zeitlin
cb426b1074
Enable keyword arguments for keyword_rename unit test
...
This is required for the recently added Python test checking that an
argument clashing with a Python keyword is also renamed when using
keyword arguments and fixes this test failure when using -builtin Python
option.
2019-01-17 01:25:43 +01:00
William S Fulton
7d4af72dde
Revert "Fix when is 'self' used as a parameter name in Python"
...
This reverts commit a6efdb7999 .
2014-10-29 09:42:11 +00:00
William S Fulton
3eb626fda6
Revert "Don't use C++ features when building test code as C."
...
This reverts commit 6d93d57ab0 .
2014-10-29 09:42:04 +00:00
Vadim Zeitlin
6d93d57ab0
Don't use C++ features when building test code as C.
...
This fixes the build after a6efdb7 which added a method to a test used in both
C++ and C test cases.
2014-10-29 00:55:49 +01:00
William S Fulton
a6efdb7999
Fix when is 'self' used as a parameter name in Python
...
Fix corner case for variable names called 'self' after merging in patch #201
2014-10-28 07:07:44 +00:00
William S Fulton
52c106d27f
Revert unnecessary changes in keyword_rename test
2014-02-27 20:23:32 +00:00
Artem Serebriyskiy
ce2760f77e
Fixes for examples. Wrapped keywords into guardian in keyword_rename test
2014-02-19 13:34:49 +04:00
William S Fulton
ca5327d0da
Remove Lua specifics from keyword_rename testcase
2013-11-09 14:54:36 +00:00
Artem Serebriyskiy
89bc5576c9
More tests
2013-11-09 14:54:35 +00:00
Artem Serebriyskiy
c9279ab0e7
More tests
2013-11-09 14:54:34 +00:00
Ian Lance Taylor
5af2978f77
Add support for the Go programming language.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12108 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2010-06-10 01:13:31 +00:00
William S Fulton
415186c1f4
revert mistaken checkin
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10959 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-11-28 23:37:13 +00:00
William S Fulton
93f0390322
UTL - Fix some incorrect acceptance of types in the STL, eg a double * element passed into a vector<int *> constructor would be accepted, but the ensuing behaviour was undefined. Now the type conversion correctly raises an exception
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10958 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-11-28 23:35:46 +00:00
William S Fulton
d798adbbb7
'byte' is already used in Ruby on windows, so use another keyword
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10542 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-06-21 19:07:51 +00:00
William S Fulton
a1e23610d6
remove raise as keyword test- it conflicts with _raise in LIBCMT on windows
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10537 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-06-21 11:42:48 +00:00
William S Fulton
9c323f4a70
Add R keyword support. Rename keywords for successful compilation of Java and C# code. More consistent keyword warnings across the different languages.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10530 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-06-19 20:02:13 +00:00
Haoyu Bai
32617f7804
fixed keyword_rename.ctest tese case, caused by a mistake in Swig/naming.c
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10519 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-06-07 13:40:51 +00:00
Haoyu Bai
aec1473a6e
Added a test case for keyword renaming.
...
Now it works for Python in SWIG's -c++ mode,
but in C mode it doesn't work! (you can try with make keyword_rename.ctest)
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10518 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-06-07 11:20:07 +00:00