summaryrefslogtreecommitdiff
path: root/template/id.h.tmpl
diff options
context:
space:
mode:
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 1be4bad997..c16137cb5a 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