diff options
author | Alan Wu <[email protected]> | 2024-08-27 19:15:37 -0400 |
---|---|---|
committer | GitHub <[email protected]> | 2024-08-27 23:15:37 +0000 |
commit | f2ac0130091708a10f37f5416be7edc71b05899b (patch) | |
tree | c2824404ec5272d1bd91c753f1e909a2e789de0a /vm.c | |
parent | 1729f47e72b22c3d13203548583e7d70c0b44427 (diff) |
Add RB_DEFAULT_PARSER preprocessor macro
This way there is one place to change for switching the default.
This also allows for building the same commit with different cppflags.
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/11473
Merged-By: XrXr
Diffstat (limited to 'vm.c')
-rw-r--r-- | vm.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -4456,7 +4456,7 @@ rb_ruby_verbose_ptr(void) return &cr->verbose; } -static bool prism; +static bool prism = (RB_DEFAULT_PARSER == 1); bool * rb_ruby_prism_ptr(void) |