mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* id.h, template/id.h.tmpl (ruby_method_ids): sees YYTOKENTYPE too.
[ruby-dev:37436] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20746 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
465bad4147
commit
13aaff3e9f
3 changed files with 7 additions and 2 deletions
|
@ -1,3 +1,8 @@
|
|||
Mon Dec 15 15:13:22 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
* id.h, template/id.h.tmpl (ruby_method_ids): sees YYTOKENTYPE too.
|
||||
[ruby-dev:37436]
|
||||
|
||||
Mon Dec 15 15:02:24 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
* common.mk (EXTMK_ARGS): needs MINIRUBY for cross-compile.
|
||||
|
|
2
id.h
2
id.h
|
@ -32,7 +32,7 @@
|
|||
#define symCFUNC ID2SYM(idCFUNC)
|
||||
|
||||
enum ruby_method_ids {
|
||||
#ifndef tLAST_TOKEN
|
||||
#if !defined tLAST_TOKEN && !defined YYTOKENTYPE
|
||||
tUPLUS = 321,
|
||||
tUMINUS = 322,
|
||||
tPOW = 323,
|
||||
|
|
|
@ -54,7 +54,7 @@ end
|
|||
#define symCFUNC ID2SYM(idCFUNC)
|
||||
|
||||
enum ruby_method_ids {
|
||||
#ifndef tLAST_TOKEN
|
||||
#if !defined tLAST_TOKEN && !defined YYTOKENTYPE
|
||||
% tokens.each do |token, value|
|
||||
<%=token%> = <%=value%>,
|
||||
% end
|
||||
|
|
Loading…
Reference in a new issue