R - fix duplicate generation of 'self' parameter.
Fixes director_keywords test case.
This commit is contained in:
parent
1891b82e00
commit
5fb344e0e6
1 changed files with 4 additions and 0 deletions
|
|
@ -3,6 +3,7 @@
|
|||
*/
|
||||
|
||||
#define RKW(x) %keywordwarn("'" `x` "' is a R keyword, renaming to '_" `x`"'", rename="_%s") `x`
|
||||
#define RSWIGKW(x) %keywordwarn("'" `x` "' is a SWIG R reserved parameter name, renaming to '_" `x`"'", rename="_%s") `x`
|
||||
|
||||
/*
|
||||
Warnings for R reserved words taken from
|
||||
|
|
@ -29,4 +30,7 @@ RKW(NA_real_);
|
|||
RKW(NA_complex_);
|
||||
RKW(NA_character_);
|
||||
|
||||
RSWIGKW(self);
|
||||
|
||||
#undef RKW
|
||||
#undef RSWIGKW
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue