diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-12-15 06:13:24 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-12-15 06:13:24 +0000 |
commit | 3ab0a92bf1d9926f35dc7aaa1a7d8121d0a7ffcf (patch) | |
tree | ccab0a60906b67005b3e4d569d751776eb02bb82 /template | |
parent | e5b8c45d15a7fb1a37e0d9d7e9458189693f6cf9 (diff) | |
download | ruby-3ab0a92bf1d9926f35dc7aaa1a7d8121d0a7ffcf.tar.gz ruby-3ab0a92bf1d9926f35dc7aaa1a7d8121d0a7ffcf.tar.xz ruby-3ab0a92bf1d9926f35dc7aaa1a7d8121d0a7ffcf.zip |
* id.h, template/id.h.tmpl (ruby_method_ids): sees YYTOKENTYPE too.
[ruby-dev:37436]
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@20746 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'template')
-rw-r--r-- | template/id.h.tmpl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/template/id.h.tmpl b/template/id.h.tmpl index 1be4bad99..c16137cb5 100644 --- a/template/id.h.tmpl +++ b/template/id.h.tmpl @@ -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 |