aboutsummaryrefslogtreecommitdiffstats
path: root/rational.c
diff options
context:
space:
mode:
authorKazuki Yamaguchi <k@rhe.jp>2016-09-09 23:23:14 +0900
committerKazuki Yamaguchi <k@rhe.jp>2016-09-11 02:09:23 +0900
commit274113311883bf395d4970da97bd6b597eae705e (patch)
treeabaa6250bfad7a041ac329e75c1160259a037dc9 /rational.c
parent3bb183188d5ee8adee9ac36f7983853dc2f1a836 (diff)
downloadruby-topic/fix-throw-false.tar.gz
eval_intern.h: make TH_PUSH_TAG() initialize rb_vm_tag::tag with Qundeftopic/fix-throw-false
* eval_intern.h (TH_PUSH_TAG): initialize rb_vm_tag::tag with Qundef rather than 0 which is equal to Qfalse. Since Kernel#throw(obj) searches a tag with rb_vm_tag::tag == obj, throw(false) can find an unrelated tag which is not created by Kernel#catch.
Diffstat (limited to 'rational.c')
0 files changed, 0 insertions, 0 deletions