From 2ce0606f147fde7cab9d05edad77033dd81f916f Mon Sep 17 00:00:00 2001 From: "Yukihiro \"Matz\" Matsumoto" Date: Fri, 28 Mar 2025 08:20:44 +0900 Subject: [PATCH] guides/symbol.md: 'punctuation' is uncountable; close #6488 Issue #6488 is addressed by fixing spelling. --- doc/guides/symbol.md | 2 +- include/mruby/presym.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/guides/symbol.md b/doc/guides/symbol.md index dcdb58459..913cb495c 100644 --- a/doc/guides/symbol.md +++ b/doc/guides/symbol.md @@ -71,7 +71,7 @@ header. For `MRB_OPSYM()`, specify the names corresponding to operators (see `MRuby::Presym::OPERATORS` in `lib/mruby/presym.rb` for the names that can be specified for it). Other than that, describe only word characters -excluding leading and ending punctuations. +excluding leading and ending punctuation. These macros are converted to static symbol IDs at compile time, unless preallocate symbols are disabled by `conf.disable_presym`. In that case, diff --git a/include/mruby/presym.h b/include/mruby/presym.h index 7c6374ad1..cb6922218 100644 --- a/include/mruby/presym.h +++ b/include/mruby/presym.h @@ -30,7 +30,7 @@ * For `MRB_OPSYM`, specify the names corresponding to operators (see * `MRuby::Presym::OPERATORS` in `lib/mruby/presym.rb` for the names that * can be specified for it). Other than that, describe only word characters - * excluding leading and ending punctuations. + * excluding leading and ending punctuation. * * These macros are expanded to `mrb_intern_lit` if presym is disabled, * therefore the mruby state variable is required. The above macros can be