diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-12-20 05:43:15 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-12-20 05:43:15 +0000 |
commit | f89238ec0d689f3989c55c4716da500b8c898900 (patch) | |
tree | ddf409196264dc90a3b096e7940f6bd8c5a21ae1 /symbol.h | |
parent | 766f9b4aff57b05a19589c55850d1a73f49d5d06 (diff) | |
download | ruby-f89238ec0d689f3989c55c4716da500b8c898900.tar.gz |
parse.y: ignore constant name captures
* parse.y (reg_named_capture_assign_iter): ignore non-local name
captures, including non-ASCII constant names.
[ruby-dev:50719] [Bug #15437]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66463 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'symbol.h')
-rw-r--r-- | symbol.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -98,6 +98,8 @@ is_global_name_punct(const int c) return (ruby_global_name_punct_bits[(c - 0x20) / 32] >> (c % 32)) & 1; } +int rb_enc_symname_type(const char *name, long len, rb_encoding *enc, unsigned int allowed_attrset); + RUBY_SYMBOL_EXPORT_BEGIN size_t rb_sym_immortal_count(void); |