[前][次][番号順一覧][スレッド一覧]

ruby-changes:7749

From: akr <ko1@a...>
Date: Tue, 9 Sep 2008 20:59:48 +0900 (JST)
Subject: [ruby-changes:7749] Ruby:r19270 (trunk): fix typos.

akr	2008-09-09 20:59:40 +0900 (Tue, 09 Sep 2008)

  New Revision: 19270

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=19270

  Log:
    fix typos.

  Modified files:
    trunk/include/ruby/encoding.h
    trunk/include/ruby/ruby.h

Index: include/ruby/ruby.h
===================================================================
--- include/ruby/ruby.h	(revision 19269)
+++ include/ruby/ruby.h	(revision 19270)
@@ -265,7 +265,7 @@
 #define ID2SYM(x) (((VALUE)(x)<<RUBY_SPECIAL_SHIFT)|SYMBOL_FLAG)
 #define SYM2ID(x) RSHIFT((unsigned long)x,RUBY_SPECIAL_SHIFT)
 
-/* special contants - i.e. non-zero and non-fixnum constants */
+/* special constants - i.e. non-zero and non-fixnum constants */
 enum ruby_special_consts {
     RUBY_Qfalse = 0,
     RUBY_Qtrue  = 2,
Index: include/ruby/encoding.h
===================================================================
--- include/ruby/encoding.h	(revision 19269)
+++ include/ruby/encoding.h	(revision 19270)
@@ -53,7 +53,7 @@
 				   (RBASIC(obj)->flags & ~ENC_CODERANGE_MASK) | (cr))
 #define ENC_CODERANGE_CLEAR(obj) ENC_CODERANGE_SET(obj,0)
 
-/* assumed ASCII compatiblity */
+/* assumed ASCII compatibility */
 #define ENC_CODERANGE_AND(a, b) \
     (a == ENC_CODERANGE_7BIT ? b : \
      a == ENC_CODERANGE_VALID ? (b == ENC_CODERANGE_7BIT ? ENC_CODERANGE_VALID : b) : \

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]