From c01aaf60a5ae218a2a2b4de0788553a97519190c Mon Sep 17 00:00:00 2001 From: nobu Date: Sun, 16 Nov 2014 08:33:35 +0000 Subject: id.def: move IDs for exception * defs/id.def: add :mesg and :exception and move from other sources. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48457 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- io.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'io.c') diff --git a/io.c b/io.c index 7845cec73d..a5173a1d95 100644 --- a/io.c +++ b/io.c @@ -174,7 +174,8 @@ VALUE rb_default_rs; static VALUE argf; -static ID id_write, id_read, id_getc, id_flush, id_readpartial, id_set_encoding, id_exception; +#define id_exception idException +static ID id_write, id_read, id_getc, id_flush, id_readpartial, id_set_encoding; static VALUE sym_mode, sym_perm, sym_extenc, sym_intenc, sym_encoding, sym_open_args; static VALUE sym_textmode, sym_binmode, sym_autoclose; static VALUE sym_SET, sym_CUR, sym_END; @@ -12463,5 +12464,4 @@ Init_IO(void) #ifdef SEEK_HOLE sym_HOLE = ID2SYM(rb_intern("HOLE")); #endif - id_exception = rb_intern("exception"); } -- cgit v1.2.3