summaryrefslogtreecommitdiffhomepage
path: root/src/variable.c
diff options
context:
space:
mode:
authorFranck Verrot <[email protected]>2015-06-24 13:07:07 +0200
committerFranck Verrot <[email protected]>2015-06-24 13:07:07 +0200
commit25885072858582d3d2f985b405a8e84d58f716e8 (patch)
tree7cd94d959d042a2ae227c99545513aa66fba8027 /src/variable.c
parent5161909cd7efe783d63270914c0f4b6463c272b5 (diff)
downloadmruby-25885072858582d3d2f985b405a8e84d58f716e8.tar.gz
mruby-25885072858582d3d2f985b405a8e84d58f716e8.zip
Remove unnecessary backticks.
Dr Markus Kuhn published in 1999 an article [1] explaining in details why we shouldn't use the ASCII grave accent (0x60) as a left quotation. Backticks have been used most notably to produce nice-looking LaTeX documents but it doesn't seem to be an issue on modern platforms and for the oldest ones, there are workarounds as mentioned by Dr Kuhn. [1]: https://www.cl.cam.ac.uk/~mgk25/ucs/quotes.html
Diffstat (limited to 'src/variable.c')
-rw-r--r--src/variable.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/variable.c b/src/variable.c
index 3e451df05..1b2ad56a7 100644
--- a/src/variable.c
+++ b/src/variable.c
@@ -563,7 +563,7 @@ MRB_API void
mrb_iv_check(mrb_state *mrb, mrb_sym iv_name)
{
if (!mrb_iv_p(mrb, iv_name)) {
- mrb_name_error(mrb, iv_name, "`%S' is not allowed as an instance variable name", mrb_sym2str(mrb, iv_name));
+ mrb_name_error(mrb, iv_name, "'%S' is not allowed as an instance variable name", mrb_sym2str(mrb, iv_name));
}
}