aboutsummaryrefslogtreecommitdiffstats
path: root/internal
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2023-07-13 17:59:19 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2023-07-13 22:59:26 +0900
commitdb3b8f84f5b4d5357576a9ecd7ba81ccfe02b8ec (patch)
tree0bca4db6533c41a4e3d0aa1f0a4a6c066d101286 /internal
parentdbbc3583ba432c279f07b1fa0afb0a8a9ba50c91 (diff)
downloadruby-db3b8f84f5b4d5357576a9ecd7ba81ccfe02b8ec.tar.gz
Set backtrace length limit at last
Command line options should have higher precedence than the same options in shebang and `RUBYOPT`.
Diffstat (limited to 'internal')
-rw-r--r--internal/cmdlineopt.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/internal/cmdlineopt.h b/internal/cmdlineopt.h
index 4958044d78..b2e38bbb47 100644
--- a/internal/cmdlineopt.h
+++ b/internal/cmdlineopt.h
@@ -23,6 +23,7 @@ typedef struct ruby_cmdline_options {
ruby_features_t features;
ruby_features_t warn;
unsigned int dump;
+ int backtrace_length_limit;
#if USE_RJIT
struct rb_rjit_options rjit;
#endif