1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/include/ruby
nobu 94a0db11e7 * encoding.c (rb_enc_check): check for ASCII-compatibilities.
* parse.y (parser_tokadd_string, parser_parse_string,
  parser_here_document, parser_yylex): set encoding to US-ASCII.

* parse.y (rb_enc_symname_p): check if valid with encoding.

* parse.y (rb_intern3): let symbols have encoding.

* string.c (rb_str_hash): add encoding index.

* string.c (rb_str_comparable, rb_str_equal, rb_str_eql): check if
  compatible encoding.

* string.c (sym_inspect): made encoding aware.

* insns.def (opt_eq): compare with encoding.

* include/ruby/encoding.h (rb_enc_asciicompat): check if ASCII
  compatible.

* include/ruby/encoding.h (rb_enc_get_index): added prototype.

* include/ruby/intern.h (rb_str_comparable, rb_str_equal): ditto.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13518 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-09-26 09:39:08 +00:00
..
defines.h * include/ruby/defines.h (flush_register_windows): call "ta 0x03" 2007-08-29 02:15:03 +00:00
encoding.h * encoding.c (rb_enc_check): check for ASCII-compatibilities. 2007-09-26 09:39:08 +00:00
intern.h * encoding.c (rb_enc_check): check for ASCII-compatibilities. 2007-09-26 09:39:08 +00:00
io.h * encoding.c: provide basic features for M17N. 2007-08-25 03:29:39 +00:00
missing.h * include/ruby: moved public headers. 2007-06-10 03:06:15 +00:00
node.h * encoding.c: provide basic features for M17N. 2007-08-25 03:29:39 +00:00
oniguruma.h * array.c (rb_ary_cycle): typo in rdoc. a patch from Yugui 2007-09-06 12:33:45 +00:00
re.h * string.c (str_gsub): should not use mbclen2() which has broken API. 2007-08-29 19:16:02 +00:00
regex.h * array.c (rb_ary_cycle): typo in rdoc. a patch from Yugui 2007-09-06 12:33:45 +00:00
ruby.h * include/ruby/ruby.h (struct RBignum): embed digits in RBignum for 2007-09-01 12:02:36 +00:00
signal.h * encoding.c: provide basic features for M17N. 2007-08-25 03:29:39 +00:00
st.h * include/ruby/st.h (struct st_table): make num_entries bitfield 2007-09-02 14:40:47 +00:00
util.h * encoding.c: provide basic features for M17N. 2007-08-25 03:29:39 +00:00
win32.h * ext/dl/cfunc.c (rb_dlcfunc_call): adjust format. [ruby-dev:31222] 2007-07-15 13:24:39 +00:00