diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-07-11 14:10:50 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-07-11 14:10:50 +0000 |
commit | 47adf5709ac68d483a7ea159195a5265f164bfea (patch) | |
tree | 16a90283a551c4ba24c231969d5949608a229d0f /template/id.h.tmpl | |
parent | f063a0b535e7f875c7fd134c8bd6ea4ac7e49196 (diff) | |
download | ruby-47adf5709ac68d483a7ea159195a5265f164bfea.tar.gz |
symbol.c: remove dependency on parse.h
* symbol.c (op_tbl): remove non-regular symbols.
* symbol.c (global_symbols): start from the next of the preserved
ID.
* symbol.c: (rb_id2str): op_tbl does not exceed tLAST_OP_ID.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46790 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'template/id.h.tmpl')
-rw-r--r-- | template/id.h.tmpl | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/template/id.h.tmpl b/template/id.h.tmpl index 0a480f438f..d7e10e9330 100644 --- a/template/id.h.tmpl +++ b/template/id.h.tmpl @@ -98,6 +98,7 @@ enum ruby_method_ids { % ids.values_at(*types).flatten.each do |token| t<%=token%>, % end + tNEXT_ID, % types.each do |type| % types = ids[type] or next % types.empty? and next |