summaryrefslogtreecommitdiffhomepage
path: root/src/load.c
diff options
context:
space:
mode:
authorYukihiro "Matz" Matsumoto <[email protected]>2020-08-27 10:23:50 +0900
committerYukihiro "Matz" Matsumoto <[email protected]>2020-10-12 18:20:06 +0900
commit7e3d22f09569b920c8e3dd31d7a0d03e925a06cc (patch)
tree4f54ca9134b50e597ba0f32a7cdf1f72fd7beecc /src/load.c
parent01dbbcd553813c8e26a5f1050822f9cc8e45f51d (diff)
downloadmruby-7e3d22f09569b920c8e3dd31d7a0d03e925a06cc.tar.gz
mruby-7e3d22f09569b920c8e3dd31d7a0d03e925a06cc.zip
Raname `mrb_exc_new_str_lit()` to `mrb_exc_new_lit()`.
It uses `mrb_str_new_lit()` internally, but it doesn't need to express it in the name of the function (macro).
Diffstat (limited to 'src/load.c')
-rw-r--r--src/load.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/load.c b/src/load.c
index b06b9ff37..2cc0f7557 100644
--- a/src/load.c
+++ b/src/load.c
@@ -625,7 +625,7 @@ void mrb_exc_set(mrb_state *mrb, mrb_value exc);
static void
irep_error(mrb_state *mrb)
{
- mrb_exc_set(mrb, mrb_exc_new_str_lit(mrb, E_SCRIPT_ERROR, "irep load error"));
+ mrb_exc_set(mrb, mrb_exc_new_lit(mrb, E_SCRIPT_ERROR, "irep load error"));
}
void mrb_codedump_all(mrb_state*, struct RProc*);