summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-09-09 11:59:40 +0000
committerakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-09-09 11:59:40 +0000
commita729be8433c2b1fb1057ca04d99b7408dd7d25a0 (patch)
tree365ebbb02fc6a8ebe14236775ad3ea0a4a4a0310 /include
parent8c2d4076f0e54c9229bc8380e569832d32af1d41 (diff)
fix typos.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19270 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'include')
-rw-r--r--include/ruby/encoding.h2
-rw-r--r--include/ruby/ruby.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/include/ruby/encoding.h b/include/ruby/encoding.h
index 28a89765f3..49ec29ac86 100644
--- a/include/ruby/encoding.h
+++ b/include/ruby/encoding.h
@@ -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) : \
diff --git a/include/ruby/ruby.h b/include/ruby/ruby.h
index e7ce62700c..d8ae11b204 100644
--- a/include/ruby/ruby.h
+++ b/include/ruby/ruby.h
@@ -265,7 +265,7 @@ VALUE rb_ull2inum(unsigned LONG_LONG);
#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,