diff options
author | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2019-08-29 22:07:45 +0900 |
---|---|---|
committer | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2019-09-06 09:02:12 +0900 |
commit | 3754e155309ed430250781c616a6e52b54ef511d (patch) | |
tree | 6bd60f672da679421968e7577363b11b48e58795 /defs/id.def | |
parent | 092f31e7e23c0ee04df987f0c0f979d036971804 (diff) |
Warn local variables which conflict with new numbered parameters
Diffstat (limited to 'defs/id.def')
-rw-r--r-- | defs/id.def | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/defs/id.def b/defs/id.def index 9b3fb00ce8..6bfce29a9d 100644 --- a/defs/id.def +++ b/defs/id.def @@ -57,6 +57,19 @@ firstline, predefined = __LINE__+1, %[\ nil _ UScore + + # MUST be successive + _0 NUMPARAM_0 + _1 NUMPARAM_1 + _2 NUMPARAM_2 + _3 NUMPARAM_3 + _4 NUMPARAM_4 + _5 NUMPARAM_5 + _6 NUMPARAM_6 + _7 NUMPARAM_7 + _8 NUMPARAM_8 + _9 NUMPARAM_9 + "/*NULL*/" NULL empty? eql? |