diff options
| author | Yukihiro "Matz" Matsumoto <[email protected]> | 2021-03-31 15:40:39 +0900 |
|---|---|---|
| committer | Yukihiro "Matz" Matsumoto <[email protected]> | 2021-03-31 15:41:19 +0900 |
| commit | a7ca5a9b6e5f56fcf2c48f8a03382b7961f1bac8 (patch) | |
| tree | a818d72ed257a041c898ac35a5c17979dd362701 /src | |
| parent | f2da051367b90d20db39a3faaafc5f97f1802e0f (diff) | |
| download | mruby-a7ca5a9b6e5f56fcf2c48f8a03382b7961f1bac8.tar.gz mruby-a7ca5a9b6e5f56fcf2c48f8a03382b7961f1bac8.zip | |
backtrace.c: change `missing-lineno` to `0` for cosmetic reason; #5394
Diffstat (limited to 'src')
| -rw-r--r-- | src/backtrace.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/backtrace.c b/src/backtrace.c index c69af5955..61d606869 100644 --- a/src/backtrace.c +++ b/src/backtrace.c @@ -205,7 +205,7 @@ mrb_unpack_backtrace(mrb_state *mrb, mrb_value backtrace) btline = mrb_format(mrb, "%s:%d", entry->filename, (int)entry->lineno); } else { //all that was left was the stack frame - btline = mrb_format(mrb, "%s:missing-lineno", entry->filename); + btline = mrb_format(mrb, "%s:0", entry->filename); } if (entry->method_id != 0) { mrb_str_cat_lit(mrb, btline, ":in "); |
