mirror of
https://github.com/ruby/ruby.git
synced 2025-08-15 13:39:04 +02:00
Fix mistake in ujit command line parsing
This commit is contained in:
parent
2c866ce8f0
commit
a8d784888d
1 changed files with 1 additions and 1 deletions
2
ruby.c
2
ruby.c
|
@ -1441,7 +1441,7 @@ proc_options(long argc, char **argv, ruby_cmdline_options_t *opt, int envopt)
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
else if (strncmp("ujit", s, 4) == 0) {
|
else if (strncmp("ujit", s, 4) == 0) {
|
||||||
FEATURE_SET(opt->features, FEATURE_BIT(jit));
|
FEATURE_SET(opt->features, FEATURE_BIT(ujit));
|
||||||
}
|
}
|
||||||
else if (strcmp("yydebug", s) == 0) {
|
else if (strcmp("yydebug", s) == 0) {
|
||||||
if (envopt) goto noenvopt_long;
|
if (envopt) goto noenvopt_long;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue