From de4c25a001fea438fc3d71fa3b2a71f8545028a7 Mon Sep 17 00:00:00 2001 From: akr Date: Wed, 26 Jan 2011 13:45:42 +0000 Subject: * template/id.h.tmpl: parenthesize macro arguments. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30658 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- template/id.h.tmpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'template/id.h.tmpl') diff --git a/template/id.h.tmpl b/template/id.h.tmpl index 29548de8f4..5ad91452ec 100644 --- a/template/id.h.tmpl +++ b/template/id.h.tmpl @@ -131,7 +131,7 @@ enum ruby_method_ids { #ifdef tLAST_TOKEN struct ruby_method_ids_check { #define ruby_method_id_check_for(name, value) \ - int checking_for_##name[name == value ? 1 : -1] + int checking_for_##name[name == (value) ? 1 : -1] % tokens.map do |token, value| ruby_method_id_check_for(<%=token%>, <%=value%>); % end -- cgit v1.2.3