summaryrefslogtreecommitdiff
path: root/error.c
diff options
context:
space:
mode:
authorYusuke Endoh <mame@ruby-lang.org>2020-05-15 01:22:56 +0900
committerGitHub <noreply@github.com>2020-05-15 01:22:56 +0900
commit39365b46e250162f278cb36aa148bc2a92b1b84a (patch)
tree4eb62c6d4143dd0bd095a8f6c0cd5b89f7a59a7f /error.c
parent531e4a35f4c9c772aae331281cad324c6806c603 (diff)
Merge pull request #3047 from mame/suppress-backtrace
Add `--suppress-backtrace=num` option to limit the backtrace length
Notes
Notes: Merged-By: mame <mame@ruby-lang.org>
Diffstat (limited to 'error.c')
-rw-r--r--error.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/error.c b/error.c
index 4912869e43..31ffc32723 100644
--- a/error.c
+++ b/error.c
@@ -64,6 +64,7 @@ VALUE rb_iseqw_local_variables(VALUE iseqval);
VALUE rb_iseqw_new(const rb_iseq_t *);
int rb_str_end_with_asciichar(VALUE str, int c);
+long rb_backtrace_length_limit = -1;
VALUE rb_eEAGAIN;
VALUE rb_eEWOULDBLOCK;
VALUE rb_eEINPROGRESS;