summaryrefslogtreecommitdiffhomepage
path: root/doc
diff options
context:
space:
mode:
Diffstat (limited to 'doc')
-rw-r--r--doc/guides/symbol.md14
1 files changed, 7 insertions, 7 deletions
diff --git a/doc/guides/symbol.md b/doc/guides/symbol.md
index 3613cf1ad..6943b2e26 100644
--- a/doc/guides/symbol.md
+++ b/doc/guides/symbol.md
@@ -57,13 +57,13 @@ To save RAM, `mruby` can use compile-time allocation of some symbols. You can
use following macros to get preallocated symbols by including `mruby/presym.h`
header.
- * `MRB_SYM(xor)` //=> xor (Word characters)
- * `MRB_SYM_B(xor)` //=> xor! (Method with Bang)
- * `MRB_SYM_Q(xor)` //=> xor? (Method with Question mark)
- * `MRB_SYM_E(xor)` //=> xor= (Method with Equal)
- * `MRB_CVSYM(xor)` //=> @@xor (Class Variable)
- * `MRB_IVSYM(xor)` //=> @xor (Instance Variable)
- * `MRB_OPSYM(xor)` //=> ^ (Operator)
+ * `MRB_SYM(xor)` //=> xor (Word characters)
+ * `MRB_SYM_B(xor)` //=> xor! (Method with Bang)
+ * `MRB_SYM_Q(xor)` //=> xor? (Method with Question mark)
+ * `MRB_SYM_E(xor)` //=> xor= (Method with Equal)
+ * `MRB_CVSYM(xor)` //=> @@xor (Class Variable)
+ * `MRB_IVSYM(xor)` //=> @xor (Instance Variable)
+ * `MRB_OPSYM(xor)` //=> ^ (Operator)
For `MRB_OPSYM()`, specify the names corresponding to operators (see
`MRuby::Presym::OPERATORS` in `lib/mruby/presym.rb` for the names that