Free parse result under -c
This commit is contained in:
parent
b4d13fac3d
commit
a8ebc596d6
Notes:
git
2024-11-23 03:25:20 +00:00
5
ruby.c
5
ruby.c
@ -2566,7 +2566,10 @@ process_options(int argc, char **argv, ruby_cmdline_options_t *opt)
|
|||||||
if (dump & DUMP_BIT(syntax)) {
|
if (dump & DUMP_BIT(syntax)) {
|
||||||
printf("Syntax OK\n");
|
printf("Syntax OK\n");
|
||||||
dump &= ~DUMP_BIT(syntax);
|
dump &= ~DUMP_BIT(syntax);
|
||||||
if (!dump) return Qtrue;
|
if (!dump) {
|
||||||
|
dispose_result();
|
||||||
|
return Qtrue;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (dump & DUMP_BIT(parsetree)) {
|
if (dump & DUMP_BIT(parsetree)) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user