fix renaming for begin/end

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8758 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
Marcelo Matus 2006-02-09 16:43:24 +00:00
commit 1d4edd3b43

View file

@ -3,6 +3,7 @@
/* Warnings for Ruby keywords */
#define RUBYKW(x) %keywordwarn("'" `x` "' is a ruby keyword, and it will renamed as 'C_"`x`"'",rename="C_%s") `x`
#define RUBYBN(x) %builtinwarn("'" `x` "' is a built-in name") "::"`x`
/*
@ -34,7 +35,6 @@ RUBYKW(do);
RUBYKW(if);
RUBYKW(redo);
RUBYKW(true);
RUBYKW(begin);
RUBYKW(else);
RUBYKW(in);
RUBYKW(rescue);
@ -45,12 +45,14 @@ RUBYKW(module);
RUBYKW(retry);
RUBYKW(unless);
RUBYKW(case);
RUBYKW(end);
RUBYKW(next);
RUBYKW(return);
RUBYKW(until);
RUBYKW("defined");
RUBYBN(begin);
RUBYBN(end);
#undef RUBYKW
#endif //__ruby_rubykw_swg__