Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 56 lines (45 sloc) 1.984 kb
6b6bf4d @ko1 * blockinlining.c: remove "yarv" prefix.
ko1 authored
1 /**********************************************************************
2
12d2c8b @nobu stripped trailing spaces.
nobu authored
3 id.c -
6b6bf4d @ko1 * blockinlining.c: remove "yarv" prefix.
ko1 authored
4
5 $Author$
6 created at: Thu Jul 12 04:37:51 2007
7
d907cbc @ko1 * blockinlining.c, compile.c, compile.h, debug.c, debug.h,
ko1 authored
8 Copyright (C) 2004-2007 Koichi Sasada
6b6bf4d @ko1 * blockinlining.c: remove "yarv" prefix.
ko1 authored
9
10 **********************************************************************/
11
12 #include "ruby/ruby.h"
13
14 #include "id.h"
15
dc02325 @nobu * include/ruby/encoding.h (rb_enc_ispunct): added.
nobu authored
16 static void
6b6bf4d @ko1 * blockinlining.c: remove "yarv" prefix.
ko1 authored
17 Init_id(void)
18 {
5a647a3 @nobu * include/ruby/ruby.h (CONST_ID): constant ID cache for non-gcc.
nobu authored
19 #undef rb_intern
5f9c188 @nobu * include/ruby/ruby.h (rb_intern_const): tiny optimization.
nobu authored
20 #define rb_intern(str) rb_intern_const(str)
dc02325 @nobu * include/ruby/encoding.h (rb_enc_ispunct): added.
nobu authored
21 rb_encoding *enc = rb_usascii_encoding();
22
23 REGISTER_SYMID(idNULL, "");
38a6dfc @nobu * id.c (Init_id): use semicolons.
nobu authored
24 REGISTER_SYMID(idIFUNC, "<IFUNC>");
25 REGISTER_SYMID(idCFUNC, "<CFUNC>");
26 REGISTER_SYMID(idRespond_to, "respond_to?");
27
28 REGISTER_SYMID(id_core_set_method_alias, "core#set_method_alias");
29 REGISTER_SYMID(id_core_set_variable_alias, "core#set_variable_alias");
30 REGISTER_SYMID(id_core_undef_method, "core#undef_method");
31 REGISTER_SYMID(id_core_define_method, "core#define_method");
32 REGISTER_SYMID(id_core_define_singleton_method, "core#define_singleton_method");
33 REGISTER_SYMID(id_core_set_postexe, "core#set_postexe");
ee7f8d4 @ko1 * compile.c (compile_array, compile_array_):
ko1 authored
34 REGISTER_SYMID(id_core_hash_from_ary, "core#hash_from_ary");
35 REGISTER_SYMID(id_core_hash_merge_ary, "core#hash_merge_ary");
36 REGISTER_SYMID(id_core_hash_merge_ptr, "core#hash_merge_ptr");
3380974 @nobu * parse.y (assoc, parser_yylex): add syntax to splat keyword hash.
nobu authored
37 REGISTER_SYMID(id_core_hash_merge_kwd, "core#hash_merge_kwd");
dc02325 @nobu * include/ruby/encoding.h (rb_enc_ispunct): added.
nobu authored
38
39 REGISTER_SYMID(idEach, "each");
40 REGISTER_SYMID(idLength, "length");
f825d84 @ko1 * compile.c (iseq_specialized_instruction), insns.def (opt_size):
ko1 authored
41 REGISTER_SYMID(idSize, "size");
dc02325 @nobu * include/ruby/encoding.h (rb_enc_ispunct): added.
nobu authored
42 REGISTER_SYMID(idLambda, "lambda");
43 REGISTER_SYMID(idIntern, "intern");
44 REGISTER_SYMID(idGets, "gets");
45 REGISTER_SYMID(idSucc, "succ");
46 REGISTER_SYMID(idMethodMissing, "method_missing");
47 #if SUPPORT_JOKE
48 REGISTER_SYMID(idBitblt, "bitblt");
49 REGISTER_SYMID(idAnswer, "the_answer_to_life_the_universe_and_everything");
50 #endif
51 REGISTER_SYMID(idSend, "send");
52 REGISTER_SYMID(id__send__, "__send__");
53 REGISTER_SYMID(idInitialize, "initialize");
d31350f @nobu * id.c (Init_id): add underscore name.
nobu authored
54 REGISTER_SYMID(idUScore, "_");
6b6bf4d @ko1 * blockinlining.c: remove "yarv" prefix.
ko1 authored
55 }
Something went wrong with that request. Please try again.