mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* template/id.h.tmpl: parenthesize macro arguments.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30658 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
ab083dc640
commit
de4c25a001
2 changed files with 5 additions and 1 deletions
|
|
@ -1,3 +1,7 @@
|
||||||
|
Wed Jan 26 22:45:16 2011 Tanaka Akira <akr@fsij.org>
|
||||||
|
|
||||||
|
* template/id.h.tmpl: parenthesize macro arguments.
|
||||||
|
|
||||||
Wed Jan 26 22:28:49 2011 CHIKANAGA Tomoyuki <nagachika00@gmail.com>
|
Wed Jan 26 22:28:49 2011 CHIKANAGA Tomoyuki <nagachika00@gmail.com>
|
||||||
|
|
||||||
* vm_eval.c (rb_throw_obj): add GC guard to prevent intermediate
|
* vm_eval.c (rb_throw_obj): add GC guard to prevent intermediate
|
||||||
|
|
|
||||||
|
|
@ -131,7 +131,7 @@ enum ruby_method_ids {
|
||||||
#ifdef tLAST_TOKEN
|
#ifdef tLAST_TOKEN
|
||||||
struct ruby_method_ids_check {
|
struct ruby_method_ids_check {
|
||||||
#define ruby_method_id_check_for(name, value) \
|
#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|
|
% tokens.map do |token, value|
|
||||||
ruby_method_id_check_for(<%=token%>, <%=value%>);
|
ruby_method_id_check_for(<%=token%>, <%=value%>);
|
||||||
% end
|
% end
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue