From 47adf5709ac68d483a7ea159195a5265f164bfea Mon Sep 17 00:00:00 2001 From: nobu Date: Fri, 11 Jul 2014 14:10:50 +0000 Subject: 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 --- template/id.h.tmpl | 1 + 1 file changed, 1 insertion(+) (limited to 'template/id.h.tmpl') 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 -- cgit v1.2.3