summaryrefslogtreecommitdiff
path: root/template/id.h.tmpl
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-12-15 06:13:24 (GMT)
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-12-15 06:13:24 (GMT)
commit13aaff3e9f471e2ecdca968476c34d66778730f4 (patch)
treeccab0a60906b67005b3e4d569d751776eb02bb82 /template/id.h.tmpl
parent465bad4147f014a406083831552b95317c019841 (diff)
* 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
Diffstat (limited to 'template/id.h.tmpl')
-rw-r--r--template/id.h.tmpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/template/id.h.tmpl b/template/id.h.tmpl
index 1be4bad..c16137c 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