Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make bison use reentrant #21

Open
wants to merge 12 commits into
base: master
Choose a base branch
from
3 changes: 2 additions & 1 deletion src/hashtab.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,8 @@ hash_table::expand_hash_table (void)
}
yaep_free (alloc, entries);
*this = (*new_htab);
yaep_free (new_htab->alloc, new_htab);
new_htab->entries = nullptr;
delete new_htab;
}

/* The following variable is used for debugging. Its value is number
Expand Down
Loading